/* ═══════════════════════════════════════════════════
   THE BLINK — Alcyone
   Shared stylesheet. Single source of truth for tokens
   and components across every page.
   Page-specific rules stay inline in their own page.
   ═══════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════
   THE BLINK — Alcyone Style System
   Deep navy gradient · Plus Jakarta Sans · Coral-red accent
═══════════════════════════════════════════════════ */



*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}

:root{
  --navy:#09080f;
  --navy2:#0c0e1c;
  --mid:#11182e;
  --teal:#0d2f3f;
  --cream:#e8e4d8;
  --cream2:#f0ece2;
  --muted:rgba(232,228,216,.6);
  --stone:rgba(232,228,216,.16);
  --red:#e03528;
  --red2:#f0482e;
  --green:#4fc98e;
  --line:rgba(232,228,216,.1);
  --line-d:rgba(232,228,216,.06);

  /* The signature gradient */
  --grad:linear-gradient(165deg,#08080f 0%,#09091a 20%,#0b1128 45%,#0d1e38 65%,#0e2d42 82%,#0f3848 100%);

  --display:'Plus Jakarta Sans','Manrope',system-ui,sans-serif;
  --body:'Space Grotesk','Manrope',system-ui,sans-serif;
  --pad:clamp(24px,5vw,calc(80px*var(--k,1)));
  --max:calc(1560px*var(--k,1));
  /* large-screen scale: 1 up to 2199px, then steps up so 27"/32"/4K/TV
     viewports keep the same proportions as a 1440–1920 desktop.
     px clamp ceilings + content max-widths are written as calc(Npx*var(--k,1)). */
  --k:1;
}
@media(min-width:2200px){:root{--k:1.15}}
@media(min-width:2500px){:root{--k:1.3}}
@media(min-width:2900px){:root{--k:1.55}}
@media(min-width:3400px){:root{--k:1.85}}

html{overscroll-behavior-y:none;background:#09080f;scroll-behavior:smooth;font-size:calc(16px*var(--k,1))}
body{
  background:transparent;
  color:var(--cream);
  font-family:var(--body);
  line-height:1.5;
  overflow-x:hidden;
  cursor:auto;
  -webkit-font-smoothing:antialiased;
}
::selection{background:var(--red);color:var(--cream2)}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%;height:auto}
button{font-family:inherit;border:0;background:transparent;color:inherit;cursor:pointer}

body::before{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;background:var(--navy);background-image:var(--grad);transform:translateZ(0)}
/* ── NOISE ── */
body::after{content:'';position:fixed;inset:0;pointer-events:none;z-index:9500;
  opacity:.022;background-image:url(/media/grain.webp);background-size:min(100vw,100vh) min(100vw,100vh)}

/* ── CURSOR ── */
#cur{position:fixed;width:7px;height:7px;border-radius:50%;background:var(--red);
  pointer-events:none;z-index:9999;transform:translate(-50%,-50%)}
#cring{position:fixed;width:32px;height:32px;border-radius:50%;
  border:1px solid rgba(224,53,40,.4);pointer-events:none;z-index:9998;
  transform:translate(-50%,-50%);transition:width .3s,height .3s,border-color .3s}
#cring.big{width:52px;height:52px;border-color:rgba(224,53,40,.55)}

/* ── NAV ── */
.nav{position:fixed;top:0;left:0;right:0;z-index:700;
  display:flex;justify-content:space-between;align-items:center;
  padding:28px var(--pad);
  transition:padding .4s,background .5s,backdrop-filter .5s}
.nav.s{padding:15px var(--pad);background:rgba(8,8,15,.32);
  backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.nav-logo{font-family:var(--display);font-weight:200;letter-spacing:.38em;
  text-transform:uppercase;font-size:.82rem;color:var(--cream);
  display:flex;align-items:center;gap:.6rem}
.nav-logo img{height:26px;width:auto;display:block}
.nav-logo strong{font-weight:800;letter-spacing:.12em}
.nav-dot{width:7px;height:7px;border-radius:50%;background:var(--red);
  box-shadow:0 0 12px var(--red);
  animation:blink 2.4s ease-in-out infinite}
@keyframes blink{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.3;transform:scale(.7)}}
.nav-links{display:flex;gap:2rem;list-style:none}
.nav-links a{font-family:var(--body);font-size:.58rem;letter-spacing:.18em;
  text-transform:uppercase;color:rgba(232,228,216,.6);transition:color .2s;position:relative}
.nav-links a::after{content:'';position:absolute;left:0;bottom:-4px;
  width:0;height:1px;background:var(--red);transition:width .3s}
.nav-links a:hover,.nav-links a.active{color:var(--cream)}
.nav-links a:hover::after,.nav-links a.active::after{width:100%}
.nav-btn{font-family:var(--body);font-size:.62rem;letter-spacing:.2em;text-transform:uppercase;
  padding:8px 20px;border:1px solid rgba(224,53,40,.45);color:var(--cream);border-radius:5px;
  position:relative;overflow:hidden;transition:color .3s}
.nav-btn::before{content:'';position:absolute;inset:0;background:var(--red);
  transform:translateX(-101%);transition:transform .4s cubic-bezier(.16,1,.3,1)}
.nav-btn:hover::before{transform:translateX(0)}
.nav-btn span{position:relative;z-index:1}
.nav-right{display:flex;align-items:center;gap:20px}
/* hamburger — always available (opens the sliding sidebar) */
.nav-mobile{display:inline-flex;flex-direction:column;align-items:flex-end;justify-content:center;
  gap:6px;width:30px;height:30px;padding:0;border:0;background:none;color:var(--cream);cursor:pointer}
.nav-mobile span{display:block;height:1.5px;border-radius:2px;background:currentColor;
  transition:width .35s cubic-bezier(.16,1,.3,1),transform .35s cubic-bezier(.16,1,.3,1),opacity .25s}
.nav-mobile span:nth-child(1){width:26px}
.nav-mobile span:nth-child(2){width:17px}
.nav-mobile:hover span:nth-child(2){width:26px}
.nav-mobile.is-open span:nth-child(1){width:26px;transform:translateY(3.75px) rotate(45deg)}
.nav-mobile.is-open span:nth-child(2){width:26px;transform:translateY(-3.75px) rotate(-45deg)}

/* header stays sticky — never auto-hide on scroll-down */
body.fx .nav.nav-up{transform:none!important}

/* ── SLIDING SIDEBAR MENU ── */
html.menu-open{overflow:hidden}
.side-menu{position:fixed;inset:0;z-index:800;visibility:hidden;pointer-events:none}
.side-menu.open{visibility:visible;pointer-events:auto}
.sm-backdrop{position:absolute;inset:0;background:rgba(6,6,12,.66);
  backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);
  opacity:0;transition:opacity .5s ease}
.side-menu.open .sm-backdrop{opacity:1}
.sm-panel{position:absolute;top:0;right:0;bottom:0;
  width:clamp(320px,40vw,calc(560px*var(--k,1)));
  background:linear-gradient(200deg,#0e1120 0%,#0b0e1a 55%,#0a1420 100%);
  border-left:1px solid var(--line);
  box-shadow:-30px 0 80px rgba(0,0,0,.5);
  display:flex;flex-direction:column;
  padding:clamp(24px,3vw,calc(40px*var(--k,1))) clamp(24px,3.2vw,calc(48px*var(--k,1)));
  transform:translateX(100%);
  transition:transform .65s cubic-bezier(.16,1,.3,1);
  overflow-y:auto}
.side-menu.open .sm-panel{transform:translateX(0)}
.sm-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:auto}
.sm-label{font-family:var(--body);font-size:.48rem;letter-spacing:.42em;text-transform:uppercase;
  color:rgba(232,228,216,.55)}
.sm-close{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;
  border:1px solid var(--line);border-radius:50%;color:var(--cream);background:none;cursor:pointer;
  transition:border-color .3s,color .3s,transform .4s cubic-bezier(.16,1,.3,1)}
.sm-close svg{width:15px;height:15px}
.sm-close:hover{border-color:var(--red);color:var(--red);transform:rotate(90deg)}

/* links — staggered entrance, text-roll on hover */
.sm-links{display:flex;flex-direction:column;gap:clamp(.4rem,1vw,.9rem);
  padding:clamp(28px,4vw,calc(56px*var(--k,1))) 0}
.sm-links .roll{opacity:0;transform:translateY(22px);
  transition:opacity .55s ease,transform .55s cubic-bezier(.16,1,.3,1);
  transition-delay:calc(var(--i) * .055s + .2s)}
.side-menu.open .sm-links .roll{opacity:1;transform:none}

/* ── TEXT ROLL (ported from 21st.dev "Text Roll") ── */
.sm-links .roll{position:relative;display:block;overflow:hidden;width:fit-content;
  line-height:.9;font-family:var(--display);font-weight:800;
  font-size:clamp(2.1rem,3.6vw,3.1rem);letter-spacing:-.03em;text-transform:uppercase;
  color:var(--cream)}
.sm-links .roll-top,.sm-links .roll-bot{display:block;white-space:nowrap}
.sm-links .roll-bot{position:absolute;inset:0;color:var(--red)}
.sm-links .roll-top>span,.sm-links .roll-bot>span{display:inline-block;will-change:transform;
  transition:transform .42s ease-in-out;transition-delay:var(--d,0s)}
.sm-links .roll-bot>span{transform:translateY(100%)}
.sm-links .roll:hover .roll-top>span{transform:translateY(-100%)}
.sm-links .roll:hover .roll-bot>span{transform:translateY(0)}

/* footer block */
.sm-foot{display:grid;grid-template-columns:1fr auto;gap:2rem;
  padding-top:clamp(20px,2.5vw,calc(28px*var(--k,1)));border-top:1px solid var(--line)}
.sm-col{display:flex;flex-direction:column;gap:.45rem}
.sm-cap{font-family:var(--body);font-size:.44rem;letter-spacing:.32em;text-transform:uppercase;
  color:rgba(232,228,216,.5);margin-bottom:.3rem}
.sm-col a{font-size:.92rem;color:rgba(232,228,216,.6);transition:color .25s}
.sm-col a:hover{color:var(--cream)}
.sm-addr{font-size:.78rem;color:rgba(232,228,216,.55);line-height:1.6}
.sm-social{display:flex;gap:.7rem}
.sm-social a{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;
  border:1px solid var(--line);border-radius:50%;color:rgba(232,228,216,.55);
  transition:color .3s,border-color .3s,transform .35s cubic-bezier(.16,1,.3,1),background .3s}
.sm-social svg{width:16px;height:16px}
.sm-social a:hover{color:var(--cream);border-color:var(--red);background:rgba(224,53,40,.1);
  transform:translateY(-3px)}
.sm-base{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;
  margin-top:clamp(18px,2.2vw,calc(26px*var(--k,1)));padding-top:clamp(16px,2vw,calc(22px*var(--k,1)));border-top:1px solid var(--line-d)}
.sm-status{display:inline-flex;align-items:center;gap:9px;font-family:var(--body);font-size:.46rem;
  letter-spacing:.26em;text-transform:uppercase;color:rgba(232,228,216,.3)}
.sm-dot{width:6px;height:6px;border-radius:50%;background:var(--green);
  box-shadow:0 0 9px var(--green);animation:pulse 1.8s ease-in-out infinite}
@media(max-width:560px){
  .sm-panel{width:100%}
  .sm-foot{grid-template-columns:1fr;gap:1.5rem}
}
@media (prefers-reduced-motion: reduce){
  .sm-panel,.sm-backdrop,.sm-links .roll{transition-duration:.01ms}
  .sm-links .roll-top>span,.sm-links .roll-bot>span{transition-duration:.01ms}
}

/* ── TYPOGRAPHY ATOMS ── */
.eyebrow{font-family:var(--body);font-size:.48rem;letter-spacing:.42em;
  text-transform:uppercase;color:rgba(232,228,216,.55);
  display:flex;align-items:center;gap:10px;margin-bottom:1.5rem}
.eyebrow::before{content:'';width:14px;height:1px;background:rgba(232,228,216,.22);flex-shrink:0}
.eyebrow.red{color:var(--red)}
.eyebrow.red::before{background:var(--red)}
.eyebrow--live::before{display:none}
.hero-subline{max-width:none;white-space:nowrap}
@media(max-width:560px){.hero-subline{white-space:normal}}

.display-xl{font-family:var(--display);font-weight:800;
  font-size:clamp(64px,10.5vw,calc(148px*var(--k,1)));line-height:.88;letter-spacing:-.035em}
.display-lg{font-family:var(--display);font-weight:800;
  font-size:clamp(48px,7.5vw,calc(108px*var(--k,1)));line-height:.9;letter-spacing:-.03em}
.display-md{font-family:var(--display);font-weight:800;
  font-size:clamp(32px,5vw,calc(68px*var(--k,1)));line-height:.95;letter-spacing:-.025em}
.display-sm{font-family:var(--display);font-weight:700;
  font-size:clamp(22px,3vw,calc(42px*var(--k,1)));line-height:1.05;letter-spacing:-.02em}

.thin{font-weight:200;color:rgba(232,228,216,.42)}
.semi{font-weight:600}
.red-txt{color:var(--red)}
.muted-txt{color:var(--muted)}
.body-lg{font-size:1.05rem;line-height:1.82;color:var(--muted);font-weight:300}
.body-sm{font-size:.86rem;line-height:1.88;color:var(--muted);font-weight:300}
.mono{font-family:var(--body);font-size:.5rem;letter-spacing:.32em;
  text-transform:uppercase;color:rgba(232,228,216,.55)}

/* ── BUTTONS ── */
.btn{display:inline-flex;align-items:center;gap:.6rem;font-family:var(--body);
  font-size:.56rem;letter-spacing:.2em;text-transform:uppercase;font-weight:600;
  padding:11px 26px;position:relative;overflow:hidden;transition:transform .2s,color .3s;cursor:pointer;
  border-radius:5px}
.btn::after{content:'→';transition:transform .25s}
.btn:hover::after{transform:translateX(4px)}
.hero-scroll::after{content:'↓'}
.hero-scroll:hover::after{transform:translateY(4px)}
.btn-primary{background:var(--red);color:var(--cream2);border:1px solid var(--red)}
.btn-primary:hover{background:var(--red2);transform:translateY(-2px)}
.btn-ghost{border:1px solid rgba(232,228,216,.18);color:var(--cream)}
.btn-ghost:hover{border-color:rgba(232,228,216,.4);background:rgba(232,228,216,.04)}
.btn-sm{padding:8px 18px;font-size:.5rem}
.btn-lg{padding:14px 36px;font-size:.62rem}

/* ── MARQUEE ── */
.mband{overflow:hidden;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.mtrack{display:flex;white-space:nowrap}
.mtrack.fw{animation:mL 36s linear infinite}
.mtrack.rv{animation:mL 30s linear infinite reverse}
.mtrack span{font-family:var(--display);font-size:clamp(14px,1.8vw,calc(22px*var(--k,1)));font-weight:200;
  letter-spacing:.28em;text-transform:uppercase;color:rgba(232,228,216,.16);padding:0 36px}
.mtrack span.dot{color:var(--red);font-size:.38rem;vertical-align:middle;letter-spacing:0;padding:0 12px}
/* client logo strip — uniform cream silhouettes, brighten on hover */
.logo-band{padding:38px 0}
.logo-track{align-items:center}
.logo-track .lg{max-height:clamp(34px,3.6vw,calc(52px*var(--k,1)));max-width:clamp(120px,14vw,calc(190px*var(--k,1)));
  width:auto;height:auto;object-fit:contain;flex-shrink:0;
  margin:0 clamp(26px,3.2vw,calc(54px*var(--k,1)));opacity:.4;transition:opacity .35s ease}
.logo-track .lg:hover{opacity:.95}
@keyframes mL{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ── SECTIONS ── */
.section{padding:clamp(80px,10vw,calc(140px*var(--k,1))) var(--pad)}
.section-inner{max-width:var(--max);margin:0 auto}
.section-head{display:grid;grid-template-columns:1fr 1fr;gap:3rem;
  align-items:end;margin-bottom:3.5rem}
.divider{height:1px;background:var(--line);margin:0}

/* ── SCROLL REVEAL ── */
.reveal{opacity:0;transform:translateY(28px);
  transition:opacity .85s cubic-bezier(.16,1,.3,1),transform .85s cubic-bezier(.16,1,.3,1);
  transition-delay:var(--d,0s)}
.reveal.in{opacity:1;transform:translateY(0)}

/* ── TAGS ── */
.tag{display:inline-flex;padding:.35rem .9rem;border:1px solid var(--line);
  border-radius:999px;font-size:.5rem;letter-spacing:.1em;text-transform:uppercase;
  color:rgba(232,228,216,.3)}

/* ── WORK CARD (index style) ── */
.wi-card{display:grid;grid-template-columns:1.2fr 1fr;gap:2.5rem;
  padding:2rem 0;border-top:1px solid var(--line);align-items:center;
  transition:padding .4s cubic-bezier(.16,1,.3,1);cursor:pointer}
.wi-card:last-child{border-bottom:1px solid var(--line)}
.wi-card:hover{padding:2.8rem 0}
.wi-card:hover .wi-img img,.wi-card:hover .wi-img .ph-img{transform:scale(1.03)}
.wi-card:hover .wi-title{color:var(--red)}
.wi-card:hover .wi-cta{transform:translateX(0);opacity:1}
.wi-img{aspect-ratio:4/3;overflow:hidden;background:var(--mid);position:relative;border-radius:4px}
.wi-img img,.wi-img .ph-img{width:100%;height:100%;object-fit:cover;
  transition:transform 1s cubic-bezier(.16,1,.3,1)}
.ph-img{background:var(--mid);display:flex;align-items:center;justify-content:center}
.ph-img svg{width:40%;height:40%;opacity:.07}
.wi-body{display:flex;flex-direction:column;gap:1rem}
.wi-meta{display:flex;gap:1rem;font-size:.5rem;letter-spacing:.2em;
  text-transform:uppercase;color:rgba(232,228,216,.55)}
.wi-title{font-family:var(--display);font-size:clamp(1.8rem,3.5vw,3rem);
  font-weight:700;letter-spacing:-.02em;line-height:1;transition:color .25s}
.wi-brief{font-size:.9rem;line-height:1.75;color:var(--muted);max-width:calc(440px*var(--k,1))}
.wi-tags{display:flex;gap:.5rem;flex-wrap:wrap}
.wi-metric{display:flex;align-items:baseline;gap:.6rem;margin-top:.5rem}
.wi-metric .num{font-family:var(--display);font-size:2.2rem;font-weight:800;
  letter-spacing:-.03em;color:var(--cream)}
.wi-metric .desc{font-size:.78rem;color:rgba(232,228,216,.6);line-height:1.4}
.wi-cta{font-size:.52rem;letter-spacing:.2em;text-transform:uppercase;
  color:var(--red);transform:translateX(-8px);opacity:0;transition:all .3s}

/* ── WORK: SWAP STAGE — projects REPLACE each other ──
   The stage holds still via CSS `position:sticky` (not a ScrollTrigger pin —
   the page keeps scrolling normally, so this doesn't fight the pinned
   #approach). Scroll progress drives which project is active; the image and
   the text cross-fade together, in sync, so nothing slides past. */
.work-swap{position:relative;height:200vh;
  border-top:1px solid var(--line)}
.ws-stage{position:sticky;top:0;height:100vh;
  display:flex;flex-direction:column;justify-content:center;gap:16px;
  padding-top:78px;padding-bottom:20px}

.ws-topbar{display:flex;justify-content:space-between;align-items:center;gap:1.5rem}
.ws-index{display:flex;align-items:baseline;gap:.4rem;font-family:var(--body);
  letter-spacing:.16em;color:rgba(232,228,216,.45)}
.ws-index em{font-style:normal;font-weight:700;font-size:.8rem;color:var(--cream)}
.ws-index i{font-style:normal;font-size:.5rem}
.ws-steps{display:flex;gap:.5rem;flex:1;max-width:calc(360px*var(--k,1))}
.ws-step{flex:1;height:2px;border-radius:2px;position:relative;overflow:hidden;
  background:rgba(232,228,216,.12)}
.ws-step::after{content:'';position:absolute;inset:0;background:var(--red);
  transform:scaleX(0);transform-origin:left;
  transition:transform .55s cubic-bezier(.16,1,.3,1)}
.ws-step.is-active::after{transform:scaleX(1)}

/* full-width slice gallery — the active project expands (opens on the RIGHT
   via row-reverse); its text overlays the image */
.ws-frame{position:relative;height:76vh;max-height:76vh;
  display:flex;flex-direction:row-reverse;gap:10px;align-items:stretch;will-change:transform}
.ws-slice{position:relative;flex:1 1 0;min-width:0;border-radius:14px;overflow:hidden;
  background:var(--mid);opacity:.45;cursor:pointer;
  transition:flex-grow .6s cubic-bezier(.16,1,.3,1),opacity .6s ease}
.ws-slice.is-active{flex-grow:7;opacity:1}
.ws-slice img{position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:center;display:block}
.ws-slice::after{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(to top,rgba(9,8,15,.95) 0%,rgba(9,8,15,.72) 26%,rgba(9,8,15,.16) 52%,transparent 68%);
  opacity:0;transition:opacity .55s ease}
.ws-slice.is-active::after{opacity:1}
.ws-cap{position:absolute;left:0;bottom:0;z-index:2;
  width:100%;max-width:calc(640px*var(--k,1));padding:clamp(22px,2.6vw,calc(44px*var(--k,1)));
  display:flex;flex-direction:column;gap:.7rem;
  opacity:0;transform:translateY(14px);pointer-events:none;
  transition:opacity .5s ease .05s,transform .55s cubic-bezier(.16,1,.3,1) .05s}
.ws-slice.is-active .ws-cap{opacity:1;transform:none;pointer-events:auto}
.ws-cap .wi-title{color:var(--cream)}
.ws-cap .wi-brief{color:rgba(232,228,216,.82)}
.ws-more{align-self:flex-start;margin-top:.5rem}

/* GSAP drives flex-grow/opacity on the slices via inline styles — kill their
   CSS transitions so the scrub stays buttery (scrim + caption still ease). */
.work-swap.gsap-on .ws-slice{transition:none}

/* ── STAT BLOCK ── */
.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line)}
.stat-cell{padding:clamp(24px,3vw,calc(40px*var(--k,1))) clamp(18px,2.4vw,calc(44px*var(--k,1)));border-right:1px solid var(--line);
  position:relative;overflow:hidden}
.stat-cell:last-child{border-right:none}
.stat-cell::after{content:'';position:absolute;left:0;bottom:0;
  width:0;height:1px;background:var(--red);transition:width 1s cubic-bezier(.16,1,.3,1)}
.stat-cell.v::after{width:100%}
.sc-pre{font-family:var(--body);font-size:.62rem;letter-spacing:.28em;
  text-transform:uppercase;color:rgba(232,228,216,.58);display:block;margin-bottom:12px}
.sc-big{font-family:var(--display);font-weight:800;
  font-size:clamp(36px,4.2vw,calc(80px*var(--k,1)));letter-spacing:-.04em;line-height:.95;
  color:var(--cream);display:block;margin-bottom:14px}
.sc-desc{font-size:.78rem;line-height:1.72;color:rgba(232,228,216,.62);
  font-weight:300;max-width:calc(200px*var(--k,1))}
.sc-proj{font-family:var(--body);font-size:.44rem;letter-spacing:.18em;
  text-transform:uppercase;color:rgba(232,228,216,.5);margin-top:14px;
  display:flex;align-items:center;gap:7px}
.sc-proj::before{content:'';width:8px;height:1px;background:var(--red)}

/* ── PILLAR / SERVICE ROW ── */
.pillar-list{border-top:1px solid var(--line)}
.pillar-row{border-bottom:1px solid var(--line);overflow:hidden;cursor:pointer;
  transition:background .3s}
.pillar-row:hover{background:rgba(232,228,216,.02)}
/* head: number · name · toggle (the old tiny .p-cat summary is gone — the
   real service chips below replace it) */
.pillar-head{display:grid;grid-template-columns:64px 1fr 56px;
  gap:24px;align-items:center;padding:40px var(--pad) 22px}
.p-num{font-family:var(--body);font-size:.62rem;letter-spacing:.2em;
  color:rgba(232,228,216,.55)}
.p-names{display:flex;align-items:baseline;gap:.4em}
.p-thin{font-family:var(--display);font-weight:200;
  font-size:clamp(30px,4.6vw,calc(68px*var(--k,1)));letter-spacing:-.015em;color:rgba(232,228,216,.4);
  transition:color .3s}
.p-bold{font-family:var(--display);font-weight:800;
  font-size:clamp(30px,4.6vw,calc(68px*var(--k,1)));letter-spacing:-.025em;transition:color .3s}
.pillar-row:hover .p-thin{color:rgba(232,228,216,.55)}
.pillar-row:hover .p-bold{color:var(--cream2)}
.p-ico{width:34px;height:34px;border-radius:50%;border:1px solid var(--line);
  display:flex;align-items:center;justify-content:center;
  font-size:.95rem;color:var(--red);transition:all .3s}
.pillar-row.open .p-ico,
.pillar-row:hover .p-ico{background:var(--red);color:var(--cream);
  border-color:var(--red);transform:rotate(45deg)}

/* ── SERVICE CHIPS: always visible, no click needed — this is the proof of
   the "360° / full-spectrum" claim, so it must be readable at a glance ── */
.p-services{display:grid;grid-template-columns:64px 1fr 56px;gap:24px;
  padding:0 var(--pad) 34px}
.p-chips{grid-column:2;display:flex;flex-wrap:wrap;gap:.65rem}
.p-chip{display:inline-flex;align-items:center;gap:.6rem;
  padding:.7rem 1.35rem;border:1px solid var(--line);border-radius:999px;
  font-family:var(--body);font-size:.98rem;line-height:1;
  color:rgba(232,228,216,.66);background:rgba(232,228,216,.02);
  white-space:nowrap;cursor:pointer;
  transition:color .3s,border-color .3s,background .3s,transform .35s cubic-bezier(.16,1,.3,1)}
.p-chip::before{content:'';width:5px;height:5px;border-radius:50%;background:var(--red);
  opacity:.55;flex-shrink:0;transition:opacity .3s,transform .3s}
.p-chip:hover{color:var(--cream);border-color:rgba(224,53,40,.55);
  background:rgba(224,53,40,.08);transform:translateY(-2px)}
.p-chip:hover::before{opacity:1;transform:scale(1.5)}

.pillar-panel{display:grid;grid-template-rows:0fr;
  transition:grid-template-rows .5s cubic-bezier(.16,1,.3,1)}
.pillar-panel>.pillar-body{overflow:hidden;min-height:0}
.pillar-row:hover .pillar-panel,
.pillar-row.open .pillar-panel{grid-template-rows:1fr}
.pillar-body{display:grid;grid-template-columns:64px 1fr 44px;gap:24px;
  padding:0 var(--pad)}
.pb-desc{grid-column:2;font-size:clamp(1rem,1.35vw,1.3rem);line-height:1.4;
  color:var(--cream);font-weight:400;letter-spacing:-.005em;max-width:none;white-space:nowrap;
  padding-bottom:34px}

/* ── TESTIMONIAL ── */
/* was an inline 1fr 1fr grid (media queries can't override inline) → cards
   stayed side-by-side and overflowed on phones */
.testi-grid{display:grid;grid-template-columns:1fr 1fr;gap:2px}
.testi-card{padding:2.5rem;border:1px solid var(--line);
  display:flex;flex-direction:column;gap:1.5rem;cursor:pointer;
  transition:border-color .3s,background .3s}
.testi-card:hover{border-color:rgba(232,228,216,.2);background:rgba(232,228,216,.02)}
.testi-q{font-family:var(--display);font-size:clamp(1.1rem,1.8vw,1.5rem);
  font-weight:300;line-height:1.45;letter-spacing:-.01em;color:var(--cream)}
.testi-who{display:flex;justify-content:space-between;align-items:center}
.testi-name{font-family:var(--body);font-size:.62rem;letter-spacing:.16em;
  text-transform:uppercase;color:rgba(232,228,216,.6)}
.testi-link{font-size:.6rem;letter-spacing:.16em;text-transform:uppercase;
  color:var(--red);border-bottom:1px solid rgba(224,53,40,.3);padding-bottom:2px}

/* ── FOOTER ── */
.footer{border-top:1px solid var(--line);padding:clamp(60px,8vw,calc(100px*var(--k,1))) var(--pad) 36px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:3rem;
  max-width:var(--max);margin:0 auto 4rem}
.foot-mark{width:clamp(64px,7vw,calc(88px*var(--k,1)));height:auto;display:block;margin-bottom:1.75rem}
.foot-lockup h3{font-family:var(--display);font-weight:700;
  font-size:clamp(1.2rem,2.2vw,1.8rem);letter-spacing:-.02em;
  line-height:1.25;margin-bottom:1.5rem;color:#fff}
.foot-lockup h3 .thin{font-weight:200;color:rgba(255,255,255,.5)}
.foot-col h4{font-family:var(--body);font-size:.66rem;letter-spacing:.24em;
  text-transform:uppercase;color:#fff;margin-bottom:1.2rem}
.foot-col ul{list-style:none;display:flex;flex-direction:column;gap:.6rem}
.foot-col a{font-size:.88rem;color:rgba(255,255,255,.78);transition:color .2s}
.foot-col a:hover{color:#fff}
.foot-social{margin-top:1.4rem;display:flex;justify-content:flex-start;gap:.9rem}
/* social row: in the Reach-us list on desktop, in the lockup on smaller screens */
.foot-social--mob{display:none}
.foot-social--desk{margin-top:1.1rem}
@media(max-width:900px),(max-height:500px) and (pointer:coarse){
  .foot-social--desk{display:none}
  .foot-social--mob{display:flex}
}
.foot-social a{display:inline-flex;width:20px;height:20px;color:rgba(255,255,255,.7)}
.foot-social a:hover{color:#fff}
.foot-social svg{width:100%;height:100%}
.foot-bottom{display:flex;justify-content:space-between;align-items:center;
  max-width:var(--max);margin:0 auto;padding-top:2rem;
  border-top:1px solid var(--line);font-size:.62rem;
  letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.4)}
.trust-badges{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}
.trust-chip{display:inline-flex;align-items:center;justify-content:center;overflow:hidden;
  background:#fff;border-radius:8px;padding:8px 14px;height:56px;box-sizing:border-box}
.trust-chip img{height:100%;width:auto;display:block}
.trust-chip.is-google{padding:5px 12px}
.trust-chip.is-google img{height:100%}
@media(max-width:600px){
  .foot-bottom{flex-direction:row;align-items:center;justify-content:flex-start;gap:.8rem;flex-wrap:nowrap}
  .trust-badges{gap:.6rem;flex-wrap:nowrap;flex:0 0 auto}
  .trust-chip{height:38px;padding:5px 9px}
}
.trust-badge{border:1px solid var(--line);padding:.3rem .7rem;
  font-size:.42rem;letter-spacing:.18em;text-transform:uppercase;
  color:rgba(232,228,216,.2);display:inline-flex;align-items:center;height:56px;box-sizing:border-box}

/* ── WAYS TO WORK ── */
.ways-intro{margin-top:clamp(3.5rem,7vw,6rem);padding-top:clamp(2rem,4vw,3rem);
  border-top:1px solid var(--line)}
.ways-h{font-family:var(--display);font-weight:200;letter-spacing:-.02em;
  font-size:clamp(1.5rem,3vw,2.4rem);color:var(--cream);margin-bottom:.75rem;line-height:1}
.ways-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(1rem,2vw,1.75rem);
  margin-top:clamp(1.5rem,3vw,2.25rem)}
.way-card{border:1px solid var(--line);border-radius:4px;padding:clamp(1.75rem,3vw,2.75rem);
  display:flex;flex-direction:column;min-height:clamp(220px,24vw,calc(280px*var(--k,1)));
  background:rgba(232,228,216,.015);transition:border-color .4s ease,background .4s ease}
.way-card:hover{border-color:rgba(232,228,216,.28);background:rgba(232,228,216,.03)}
.way-card.is-advise{border-color:rgba(198,58,42,.35);background:rgba(198,58,42,.04)}
.way-card.is-advise:hover{border-color:rgba(198,58,42,.6);background:rgba(198,58,42,.07)}
.way-top{margin-bottom:0}
.way-tag{font-family:var(--body);font-size:.5rem;letter-spacing:.34em;text-transform:uppercase;
  color:rgba(232,228,216,.6)}
.way-card.is-advise .way-tag{color:var(--red)}
.way-title{font-family:var(--display);font-weight:700;letter-spacing:-.02em;
  font-size:clamp(1.6rem,2.6vw,2.2rem);color:var(--cream);margin:2.5rem 0 1rem;line-height:1}
.way-desc{color:rgba(232,228,216,.62);font-size:clamp(.9rem,1vw,1rem);line-height:1.55;max-width:38ch}
.way-foot{margin-top:auto;padding-top:2rem}
@media(max-width:760px){.ways-grid{grid-template-columns:1fr}}

/* ── AI / APPROACH video background ── */
#approach{position:relative;overflow:hidden}
/* frosted cards let the video read through — keep copy crisp with a soft shadow */
#approach .apr-card .body-sm{color:rgba(240,236,226,.95);text-shadow:0 1px 8px rgba(9,8,15,.6)}
#approach .apr-card h4{text-shadow:0 1px 10px rgba(9,8,15,.65)}
#approach .apr-card .eyebrow{color:rgba(240,236,226,.72)}
.apr-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  z-index:0;opacity:.72;filter:saturate(.9) contrast(1.02);transition:opacity .55s ease;
  -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 22%,#000 78%,transparent 100%);
  mask-image:linear-gradient(180deg,transparent 0,#000 22%,#000 78%,transparent 100%)}
.apr-video.apr-dip{opacity:.08}
.apr-video-scrim{position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(180deg,transparent 0%,rgba(9,8,15,.38) 34%,rgba(9,8,15,.46) 66%,transparent 100%)}
#approach .section-inner{position:relative;z-index:2}

/* ── CLOSING CTA ── */
.closing{text-align:center;padding:clamp(100px,14vw,calc(180px*var(--k,1))) var(--pad);position:relative;overflow:hidden}
.closing::before{content:'';position:absolute;width:700px;height:700px;border-radius:50%;
  left:50%;top:50%;transform:translate(-50%,-50%);
  background:radial-gradient(circle,rgba(224,53,40,.07) 0%,transparent 65%);pointer-events:none}
.closing h2{font-family:var(--display);font-weight:800;
  font-size:clamp(40px,7vw,calc(96px*var(--k,1)));line-height:.92;letter-spacing:-.03em;
  margin-bottom:2.5rem;position:relative;z-index:1}
.closing h2 .thin{font-weight:200;color:rgba(232,228,216,.35)}
.closing .actions{display:flex;justify-content:center;gap:1rem;
  flex-wrap:wrap;position:relative;z-index:1}
/* single CTA sized to stand on its own */
.cta-solo{padding:1.15rem 3rem;font-size:.72rem}
/* breathing text — per-letter weight + scale + fade wave (letters split in JS).
   Uses font-variation-settings on the variable font so 'wght' interpolates
   continuously (no stop-motion stepping); mirrors like the framer version. */
.breathe span{display:inline-block;white-space:pre;
  font-variation-settings:'wght' 200;
  animation:breathe 3s ease-in-out infinite alternate;
  animation-delay:calc(var(--i) * .1s);will-change:font-variation-settings,transform,opacity}
@keyframes breathe{
  from{font-variation-settings:'wght' 210;opacity:.32;transform:scale(1);letter-spacing:0}
  to{font-variation-settings:'wght' 640;opacity:.95;transform:scale(1.06);letter-spacing:.005em;text-shadow:0 0 20px rgba(224,53,40,.1)}}
@media (prefers-reduced-motion:reduce){.breathe span{animation:none}}

/* ── WORK: masonry project gallery ── */
.pgal-grid{columns:3;column-gap:1.25rem}
.pgal-item{display:block;width:100%;margin:0 0 1.25rem;padding:0;border:0;background:none;
  break-inside:avoid;position:relative;overflow:hidden;border-radius:5px;cursor:pointer;
  text-align:left;color:inherit;font:inherit}
.pgal-item img{display:block;width:100%;height:auto;object-fit:cover;
  transition:transform .8s cubic-bezier(.16,1,.3,1),filter .5s ease;filter:saturate(.9) brightness(.82)}
.pgal-item:hover img{transform:scale(1.04);filter:saturate(1) brightness(1)}
.pgal-item::after{content:'';position:absolute;inset:0;pointer-events:none;border-radius:5px;
  background:linear-gradient(to top,rgba(9,8,15,.88) 0%,rgba(9,8,15,.25) 45%,transparent 75%);
  transition:opacity .5s ease}
.pgal-cap{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:1.4rem 1.5rem;
  display:flex;flex-direction:column;gap:.35rem;pointer-events:none}
.pgal-meta{font-family:var(--body);font-size:.6rem;letter-spacing:.2em;text-transform:uppercase;
  color:rgba(232,228,216,.65)}
.pgal-title{font-family:var(--display);font-weight:700;letter-spacing:-.02em;
  font-size:clamp(1.15rem,1.7vw,1.5rem);color:var(--cream2);line-height:1.1}
.pgal-metric{font-family:var(--body);font-size:.78rem;color:var(--red2);font-weight:600;
  opacity:0;transform:translateY(6px);transition:opacity .45s ease,transform .45s cubic-bezier(.16,1,.3,1)}
.pgal-metric em{font-style:normal;color:rgba(232,228,216,.7);font-weight:400}
.pgal-item:hover .pgal-metric{opacity:1;transform:none}
.pgal-empty{padding:3rem var(--pad);text-align:center;color:var(--muted);font-size:1rem}
.pgal-empty[hidden]{display:none}
.pgal-reset{background:none;border:0;padding:0;font:inherit;color:var(--red2);
  border-bottom:1px solid rgba(240,72,46,.5);cursor:pointer;transition:border-color .3s}
.pgal-reset:hover{border-color:var(--red2)}
/* touch devices have no hover, so the result numbers must always be visible */
@media (hover:none),(pointer:coarse){
  .pgal-metric{opacity:1;transform:none}
}
@media(max-width:900px),(max-height:500px) and (pointer:coarse){.pgal-grid{columns:2}.pgal-metric{opacity:1;transform:none}}
@media(max-width:600px){.pgal-grid{columns:1}}

/* ── WORK: auto-playing zoom-parallax project viewer ── */
.pzoom{position:fixed;inset:0;z-index:9700;background:var(--navy);
  opacity:0;pointer-events:none;transition:opacity .45s ease}
.pzoom.open{opacity:1;pointer-events:auto}
.pzoom-stage{position:absolute;inset:0;overflow:hidden}
.pz-layer{position:absolute;top:0;left:0;width:100%;height:100%;
  display:flex;align-items:center;justify-content:center;
  transform:scale(1);transition:transform 2.6s cubic-bezier(.22,1,.3,1)}
.pzoom.play .pz-layer{transform:scale(var(--to))}
/* page transition: tile opens into the project's hero image */
.pz-fly{position:fixed;inset:0;z-index:9800;pointer-events:none;overflow:hidden;background:var(--navy);
  transition:clip-path .95s cubic-bezier(.77,0,.18,1)}
.pz-fly.open{clip-path:inset(0 0 0 0 round 0)!important}
.pz-fly-hero{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.pz-fly-tile{position:fixed;object-fit:cover;transition:opacity .45s ease}
.pz-fly.open .pz-fly-tile{opacity:0}
/* cross-document hand-over: a plain, quick cross-fade (identical frames) */
@view-transition{navigation:auto}
html{background:#09080f}
::view-transition-old(root){animation:none}
::view-transition-new(root){animation:vtIn .5s cubic-bezier(.22,1,.36,1) both}
@keyframes vtIn{from{opacity:0}to{opacity:1}}
/* landing from the tile: hero media starts at rest, no curtain, no letterbox */
html.from-zoom .fx-loader{display:none!important}
html.from-zoom .cs-hero-media img{animation:none!important}
html.from-zoom .z-lb{display:none!important}
html.from-zoom .cs-hero-info{animation-delay:.25s!important}
/* everything that isn't the image eases in after the hand-over, so the
   only thing on screen at the switch is the identical hero frame */
html.from-zoom .cs-hero-media::after{animation:fzIn .9s ease .1s both}
html.from-zoom .nav{animation:fzIn .7s ease .35s both}
@keyframes fzIn{from{opacity:0}to{opacity:1}}
.pz-frame{position:relative;overflow:hidden}
.pz-frame img{width:100%;height:100%;object-fit:cover;display:block}
/* the composition dims as the copy comes forward */
.pzoom-stage::after{content:'';position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(90deg,rgba(9,8,15,.9) 0%,rgba(9,8,15,.55) 45%,rgba(9,8,15,.2) 100%);
  opacity:0;transition:opacity 1s ease}
.pzoom.settled .pzoom-stage::after{opacity:1}
.pzoom-info{position:absolute;z-index:3;left:0;bottom:0;
  padding:clamp(2rem,5vw,4.5rem) var(--pad);max-width:min(calc(640px*var(--k,1)),92vw);
  display:flex;flex-direction:column;gap:1rem;align-items:flex-start;
  opacity:0;transform:translateY(24px);pointer-events:none;
  transition:opacity .8s ease .1s,transform .8s cubic-bezier(.16,1,.3,1) .1s}
.pzoom.settled .pzoom-info{opacity:1;transform:none;pointer-events:auto}
.pzoom-info .display-md{margin:0}
.pzoom-info .body-lg{font-size:1rem;line-height:1.6}
.pz-tags{display:flex;flex-wrap:wrap;gap:.5rem}
.pz-metric{display:flex;align-items:baseline;gap:.7rem;margin:.2rem 0 .4rem}
.pz-metric .num{font-family:var(--display);font-weight:800;letter-spacing:-.03em;
  font-size:clamp(1.8rem,3.4vw,2.6rem);color:var(--cream2)}
.pz-metric .desc{font-size:.9rem;color:var(--muted)}
.pzoom-close{position:absolute;top:1.5rem;right:1.5rem;z-index:5;
  width:46px;height:46px;display:inline-flex;align-items:center;justify-content:center;
  border:1px solid rgba(232,228,216,.25);border-radius:50%;background:rgba(9,8,15,.5);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  color:var(--cream);cursor:pointer;transition:border-color .3s,color .3s,background .3s}
.pzoom-close:hover{border-color:var(--red);color:var(--red)}
.pzoom-close svg{width:17px;height:17px}
@media(max-width:600px){
  .pzoom-info{max-width:100%;padding-bottom:2rem}
  .pzoom-stage::after{background:linear-gradient(to top,rgba(9,8,15,.94) 0%,rgba(9,8,15,.6) 50%,rgba(9,8,15,.3) 100%)}
}
@media (prefers-reduced-motion:reduce){
  .pz-layer{transition:none}
}

/* ── FAQ ── */
.faq-list{max-width:calc(860px*var(--k,1));margin:0 auto}
.faq-item{border-top:1px solid var(--line);cursor:pointer}
.faq-item:last-child{border-bottom:1px solid var(--line)}
.faq-q{display:flex;justify-content:space-between;align-items:center;
  padding:1.5rem 0;font-family:var(--display);font-size:clamp(1rem,1.8vw,1.35rem);
  font-weight:600;letter-spacing:-.01em;transition:color .25s}
.faq-item:hover .faq-q{color:var(--red)}
.faq-toggle{font-size:1.2rem;font-weight:300;color:var(--red);flex-shrink:0;
  transition:transform .3s}
.faq-item.open .faq-toggle{transform:rotate(45deg)}
.faq-a{height:0;overflow:hidden;transition:height .4s cubic-bezier(.16,1,.3,1)}
.faq-a p{padding:0 0 1.5rem;font-size:.92rem;line-height:1.85;color:var(--muted)}

/* ── WORK: vaporizing stat sentence ──
   Drives the shared vaporize engine (data-vapor) so one figure at a time
   materialises, holds, then dissolves left-to-right — the same effect as the
   hero, which is what makes it read as the hero continuing. The engine swaps
   the text for its own canvas, so this only has to set the type scale it
   should measure against. */
.statline{border-top:1px solid var(--line);border-bottom:1px solid var(--line);
  max-width:var(--max);margin:0 auto;padding:clamp(1.1rem,2.2vw,1.8rem) var(--pad);
  /* single source of truth for the sentence scale: the engine measures it, the
     reserved canvas height is derived from it, so the two can't drift.
     Deliberately vw-bound (not a clamp with a large floor) so the widest phrase
     always fits and the engine's auto-fit shrink never kicks in — if it did,
     the built height would exceed the reserved height and the band would jump. */
  --sl-fs:min(2rem,4.4vw)}
/* the engine destroys its source node and sizes itself from the <h2> it
   generates, so the intended scale has to be set on THAT node, not on .sl-vapor */
.statline .fx-vapor-sr{font-size:var(--sl-fs);font-weight:300}
.sl-vapor{font-family:var(--display);font-weight:300;font-size:var(--sl-fs);
  line-height:1.3;color:var(--cream);text-align:center}
/* reserve exactly what the engine will build (fs x 1.3) — no jump on build */
.statline .fx-vapor-wrap canvas{width:100%;height:calc(var(--sl-fs) * 1.3)}
/* reduced motion: no particle loop — show every figure at once instead */
.sl-static{display:none;margin:0}
@media (prefers-reduced-motion:reduce){
  .statline .fx-vapor-wrap{display:none}
  .sl-static{display:block;text-align:center;text-wrap:pretty;
    font-family:var(--display);font-weight:300;
    font-size:clamp(.95rem,1.8vw,1.15rem);line-height:1.7;
    color:rgba(232,228,216,.62)}
}

/* ── WORK: capability filters ──
   One line of large display terms with the 21st.dev letter-roll. The roll runs
   once automatically when the row scrolls in (.autoroll), then on hover.
   Roll distance is tied to the item's own clip box, not the glyph line box. */
.cap-bar{display:flex;justify-content:center;
  padding-bottom:clamp(1.5rem,3vw,2.25rem);border-bottom:1px solid var(--line);
  margin-bottom:clamp(2rem,4vw,3rem)}
.cap-items{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:center;
  gap:.2rem clamp(1.2rem,3vw,2.6rem)}
.cap-item{position:relative;overflow:hidden;display:flex;align-items:center;
  height:1.15em;padding:0;border:0;background:none;
  font-family:var(--display);font-weight:200;letter-spacing:-.025em;line-height:1;
  font-size:clamp(1.5rem,3.4vw,2.9rem);color:rgba(232,228,216,.42);
  cursor:pointer;transition:color .3s ease}
.cap-item.active{font-weight:700;color:var(--cream2)}
.cap-item.is-void{color:rgba(232,228,216,.16);pointer-events:none}
.cap-item .roll-top,.cap-item .roll-bot{display:flex;align-items:center;height:100%;
  white-space:nowrap}
.cap-item .roll-bot{position:absolute;inset:0;color:var(--red)}
.cap-item .roll-top>span,.cap-item .roll-bot>span{display:inline-flex;align-items:center;
  height:100%;will-change:transform;
  transition:transform .4s ease-in-out;transition-delay:var(--d,0s)}
.cap-item .roll-bot>span{transform:translateY(100%)}
.cap-item:hover .roll-top>span,.cap-item.autoroll .roll-top>span{transform:translateY(-100%)}
.cap-item:hover .roll-bot>span,.cap-item.autoroll .roll-bot>span{transform:translateY(0)}
.cap-count{font-family:var(--body);font-size:.58rem;letter-spacing:.24em;text-transform:uppercase;
  color:rgba(232,228,216,.5);white-space:nowrap}
.cap-count span{font-family:var(--display);font-weight:800;font-size:1.6rem;letter-spacing:-.03em;
  color:var(--cream2);margin-right:.35em;vertical-align:-.1em}
@media (prefers-reduced-motion:reduce){
  .cap-item .roll-top>span,.cap-item .roll-bot>span{transition-duration:.01ms}
}
@media(max-width:900px),(max-height:500px) and (pointer:coarse){
  /* height must be DEFINITE, not min-height: .roll-top uses height:100%, which
     resolves to auto against a min-height box — it then collapses to the glyph line
     and rolls a shorter distance than the absolutely-positioned .roll-bot, leaving a
     sliver of the outgoing text visible above the clip edge. */
  .cap-item{height:44px;align-items:center}
}
@media(max-width:700px){
  .cap-item{font-size:clamp(1.35rem,7vw,1.9rem)}
}

/* ── MODAL / BRIEF POP-UP ── */
.modal{position:fixed;inset:0;z-index:9600;display:flex;align-items:center;justify-content:center;
  padding:var(--pad);opacity:0;pointer-events:none;transition:opacity .35s ease}
.modal.open{opacity:1;pointer-events:auto}
.modal-backdrop{position:absolute;inset:0;background:rgba(6,6,12,.72);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.modal-panel{position:relative;z-index:1;width:min(calc(560px*var(--k,1)),100%);max-height:90vh;overflow:auto;
  background:var(--navy2);border:1px solid var(--line);border-radius:8px;
  padding:clamp(1.75rem,3vw,2.75rem);
  transform:translateY(16px) scale(.98);transition:transform .4s cubic-bezier(.16,1,.3,1)}
.modal.open .modal-panel{transform:none}
.modal-close{position:absolute;top:1rem;right:1rem;width:38px;height:38px;display:inline-flex;
  align-items:center;justify-content:center;border:1px solid var(--line);border-radius:50%;
  background:none;color:var(--cream);cursor:pointer;transition:border-color .3s,color .3s}
.modal-close:hover{border-color:var(--red);color:var(--red)}
.modal-close svg{width:15px;height:15px}
.modal-title{font-family:var(--display);font-weight:700;font-size:clamp(1.8rem,3.5vw,2.6rem);
  letter-spacing:-.02em;color:var(--cream);margin:.75rem 0 .5rem;line-height:1}
.modal-sub{color:var(--muted);font-size:.95rem;line-height:1.6;margin-bottom:1.75rem;max-width:44ch}

/* ── FORM ── */
.form{display:flex;flex-direction:column;gap:1.5rem}

/* glass card shell with animated border beams (adapted to brand palette) */
.form-shell{position:relative;padding:clamp(1.75rem,3.2vw,2.9rem);border-radius:12px;
  background:rgba(232,228,216,.03);-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);
  border:1px solid rgba(232,228,216,.09);overflow:hidden;
  animation:shellGlow 5s ease-in-out infinite}
@keyframes shellGlow{0%,100%{box-shadow:0 0 0 1px rgba(224,53,40,.04) inset}
  50%{box-shadow:0 0 0 1px rgba(224,53,40,.11) inset}}
.form-shell::before{content:'';position:absolute;inset:0;pointer-events:none;opacity:.4;
  background:linear-gradient(135deg,rgba(232,228,216,.035) .5px,transparent .5px),
             linear-gradient(45deg,rgba(232,228,216,.035) .5px,transparent .5px);
  background-size:30px 30px}
.form-shell .form{position:relative;z-index:1}
.form-beams{position:absolute;inset:0;border-radius:12px;overflow:hidden;pointer-events:none;z-index:2}
.beam{position:absolute;filter:blur(1.5px);opacity:.75}
.beam-top{top:0;left:0;height:2px;width:45%;
  background:linear-gradient(90deg,transparent,var(--red),transparent);
  animation:beamX 3.4s ease-in-out infinite}
.beam-right{top:0;right:0;width:2px;height:45%;
  background:linear-gradient(180deg,transparent,var(--red),transparent);
  animation:beamY 3.4s ease-in-out infinite .85s}
.beam-bottom{bottom:0;right:0;height:2px;width:45%;
  background:linear-gradient(90deg,transparent,var(--cream),transparent);
  animation:beamXr 3.4s ease-in-out infinite 1.7s}
.beam-left{bottom:0;left:0;width:2px;height:45%;
  background:linear-gradient(180deg,transparent,var(--cream),transparent);
  animation:beamYr 3.4s ease-in-out infinite 2.55s}
@keyframes beamX{0%{left:-45%}55%,100%{left:100%}}
@keyframes beamXr{0%{right:-45%}55%,100%{right:100%}}
@keyframes beamY{0%{top:-45%}55%,100%{top:100%}}
@keyframes beamYr{0%{bottom:-45%}55%,100%{bottom:100%}}
.corner{position:absolute;width:6px;height:6px;border-radius:50%;
  background:rgba(232,228,216,.55);filter:blur(2px);animation:cornPulse 2.3s ease-in-out infinite}
.c-tl{top:0;left:0}.c-tr{top:0;right:0;animation-delay:.5s}
.c-br{bottom:0;right:0;animation-delay:1s}.c-bl{bottom:0;left:0;animation-delay:1.5s}
@keyframes cornPulse{0%,100%{opacity:.15}50%{opacity:.55}}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}
.field{display:flex;flex-direction:column;gap:.5rem}
.field label{font-size:.62rem;letter-spacing:.18em;text-transform:uppercase;
  color:#fff}
.field input,.field textarea,.field select{
  background:rgba(232,228,216,.04);border:1px solid var(--line);
  color:var(--cream);padding:.85rem 1rem;font-family:var(--body);font-size:.92rem;
  transition:border-color .25s,background .25s,box-shadow .25s;resize:vertical;border-radius:6px}
.field input:focus,.field textarea:focus,.field select:focus{
  outline:none;border-color:rgba(224,53,40,.55);background:rgba(232,228,216,.07);
  box-shadow:0 0 0 3px rgba(224,53,40,.13)}
.field input::placeholder,.field textarea::placeholder{color:rgba(232,228,216,.38)}
.field select option{background:var(--navy2)}

/* ── BRIEF POP-UP (multi-step) ── */
.brief-panel{width:min(calc(720px*var(--k,1)),100%);
  display:flex;flex-direction:column;
  height:min(90vh,calc(900px*var(--k,1)));min-height:min(90vh,calc(900px*var(--k,1)));max-height:min(90vh,calc(900px*var(--k,1)));
  background:linear-gradient(168deg,#0a0a16 0%,#0b1226 40%,#0d2236 72%,#0f3040 100%);
  border-color:rgba(232,228,216,.13)}
.brief-panel .form{flex:1 1 auto;display:flex;flex-direction:column;min-height:0;overflow-y:auto;
  scrollbar-width:thin;scrollbar-color:rgba(224,53,40,.5) transparent}
.brief-panel .form::-webkit-scrollbar{width:6px}
.brief-panel .form::-webkit-scrollbar-thumb{background:rgba(224,53,40,.5);border-radius:3px}
.brief-panel .brief-step{flex:1 1 auto}
.brief-panel::before{content:'';position:absolute;inset:0;border-radius:8px;pointer-events:none;
  background:radial-gradient(ellipse 90% 45% at 75% -5%,rgba(224,53,40,.12),transparent 60%)}
.brief-panel>:not(.modal-close){position:relative;z-index:1}
.brief-panel>.modal-close{z-index:2}
.brief-progress{height:3px;background:rgba(232,228,216,.1);border-radius:2px;overflow:hidden;margin:.2rem 0 .65rem;max-width:80%}
.brief-progress-fill{height:100%;background:linear-gradient(90deg,var(--red),var(--red2));border-radius:2px;transition:width .5s cubic-bezier(.16,1,.3,1);width:20%}
.brief-step-label{font-size:.64rem;letter-spacing:.2em;text-transform:uppercase;color:rgba(232,228,216,.6);margin-bottom:1.6rem}
.brief-step{display:flex;flex-direction:column;gap:1.1rem}
.brief-step[hidden]{display:none}
.brief-cond[hidden]{display:none}
.brief-step .modal-title{margin:.3rem 0 .2rem}
.opt{display:block;color:rgba(232,228,216,.58);text-transform:none;letter-spacing:0;font-size:.72rem;font-weight:400;margin-top:.15rem}
.pill-group{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:.4rem}
.pill{background:rgba(232,228,216,.04);border:1px solid var(--line);color:var(--cream);
  padding:.6rem 1.1rem;border-radius:999px;font-family:var(--body);font-size:.82rem;
  cursor:pointer;transition:all .25s}
.pill:hover{border-color:rgba(232,228,216,.4)}
.pill.active{background:var(--red);border-color:var(--red);color:var(--cream2)}
.brief-cond{display:flex;flex-direction:column;gap:1.3rem;padding-left:1rem;
  border-left:2px solid rgba(224,53,40,.3)}
.brief-nav{display:flex;justify-content:space-between;align-items:center;
  margin-top:2rem;padding-top:1.5rem;border-top:1px solid var(--line)}
.brief-nav #briefBack{visibility:hidden}
.brief-nav #briefBack::after{content:'←';order:-1}
.brief-nav #briefBack:hover::after{transform:translateX(-4px)}
.brief-nav .btn[hidden]{display:none}
@media(max-width:600px){
  .modal{padding:12px}
  .brief-panel{width:100%;height:calc(100dvh - 24px);min-height:0;max-height:calc(100dvh - 24px)}
  .brief-progress{max-width:72%}
  .brief-step-label{margin-bottom:1.1rem}
  .brief-step .modal-title{font-size:clamp(1.5rem,7vw,1.9rem)}
  .pill{font-size:.78rem;padding:.55rem .95rem}
  .brief-nav{gap:.75rem}
  .brief-nav .btn-lg{padding:13px 22px;font-size:.56rem;flex:1;text-align:center;justify-content:center}
  .brief-cond{padding-left:.7rem}
}
.brief-nav .btn:disabled{opacity:.32;pointer-events:none;transform:none}
.brief-step{animation:briefStepIn .45s cubic-bezier(.16,1,.3,1)}
@keyframes briefStepIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

/* ── PAGE HERO ── */
.page-hero{padding:clamp(120px,16vw,calc(200px*var(--k,1))) var(--pad) clamp(60px,8vw,calc(100px*var(--k,1)));
  position:relative;overflow:hidden}
.page-hero::before{content:'';position:absolute;inset:0;
  background:radial-gradient(ellipse 70% 60% at 65% 30%,rgba(224,53,40,.08),transparent 55%);
  pointer-events:none}
.page-hero-inner{max-width:var(--max);margin:0 auto;position:relative;z-index:1}

/* ── APPROACH ── */
/* the AI-loop / human-loop card grid. NOTE: these were inline styles, which
   media queries can't override — that's why the cards never stacked and
   overflowed on mobile. Kept as a class so it can respond. */
.apr-grid{display:grid;grid-template-columns:1fr auto 1fr;gap:2rem;
  align-items:center;margin:3rem auto 0;max-width:calc(900px*var(--k,1))}
.apr-split{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:start}
.apr-col h4{font-family:var(--display);font-weight:700;font-size:1.15rem;
  letter-spacing:-.01em;margin-bottom:1rem;color:var(--cream)}
.apr-col ul{list-style:none;display:flex;flex-direction:column;gap:.5rem}
.apr-col li{font-size:.88rem;color:var(--muted);display:flex;align-items:center;gap:.6rem}
.apr-col li::before{content:'';width:4px;height:4px;border-radius:50%;
  background:var(--red);flex-shrink:0}
.apr-plus{font-family:var(--display);font-size:3rem;font-weight:200;
  color:rgba(232,228,216,.1);text-align:center;padding:0 2rem;align-self:center}

/* ── AGENT TEAM ── */
.team-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(calc(240px*var(--k,1)),100%),1fr));gap:2px}
.team-card{border:1px solid var(--line);padding:2rem;
  transition:background .3s,border-color .3s;cursor:pointer}
.team-card:hover{background:rgba(232,228,216,.02);border-color:rgba(232,228,216,.2)}
.team-img{aspect-ratio:1;background:var(--mid);margin-bottom:1.2rem;
  display:flex;align-items:center;justify-content:center;overflow:hidden}
.team-img svg{opacity:.08}
.team-name{font-family:var(--display);font-weight:700;font-size:1.15rem;
  letter-spacing:-.01em;margin-bottom:.3rem}
.team-role{font-size:.5rem;letter-spacing:.2em;text-transform:uppercase;
  color:rgba(232,228,216,.55)}

/* ── JOURNAL ── */
.journal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2px}
.journal-card{padding:2rem;border:1px solid var(--line);display:flex;flex-direction:column;
  gap:1rem;cursor:pointer;transition:background .3s,border-color .3s}
.journal-card:hover{background:rgba(232,228,216,.02);border-color:rgba(232,228,216,.2)}
.journal-card:hover .jc-title{color:var(--red)}
.jc-meta{display:flex;gap:.8rem;align-items:center}
.jc-cat{font-size:.46rem;letter-spacing:.2em;text-transform:uppercase;
  border:1px solid var(--line);padding:.25rem .6rem;border-radius:999px;
  color:rgba(232,228,216,.55)}
.jc-date{font-size:.46rem;letter-spacing:.14em;color:rgba(232,228,216,.5)}
.jc-title{font-family:var(--display);font-weight:700;font-size:1.1rem;
  letter-spacing:-.015em;line-height:1.3;transition:color .25s;color:var(--cream)}

/* sunlight/mobile legibility: quiet text gets one extra notch on small screens */
@media(max-width:600px){
  :root{--muted:rgba(232,228,216,.72)}
  .eyebrow{color:rgba(232,228,216,.68);font-size:.56rem}
  .mono{color:rgba(232,228,216,.66);font-size:.56rem}
  .way-tag{color:rgba(232,228,216,.7)}
}

/* footer CTA row: badges sit beside the Book-a-call button on small screens;
   on desktop they stay in the bottom bar instead */
.foot-cta-row{display:flex;align-items:center;gap:1.2rem;flex-wrap:wrap}
.lockup-badges{display:none}

/* ── CONTACT CARDS ── */
.contact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.contact-card{padding:2rem;border:1px solid var(--line);border-radius:5px;display:flex;flex-direction:column;
  gap:1rem;transition:border-color .3s,background .3s;cursor:pointer}
.contact-card.primary{border-color:rgba(224,53,40,.35);background:rgba(224,53,40,.04)}
.contact-card:hover{border-color:rgba(224,53,40,.5);background:rgba(224,53,40,.06)}
.cc-label{font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;color:var(--red)}
.cc-title{font-family:var(--display);font-weight:700;font-size:clamp(1.7rem,2.4vw,2.1rem);
  letter-spacing:-.015em;color:var(--cream)}
.cc-desc{font-size:1rem;line-height:1.72;color:var(--muted)}
.cc-link{font-size:.7rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;
  color:var(--cream);margin-top:auto;display:inline-flex;align-items:center;gap:.4em;
  padding-bottom:.15em;border-bottom:1px solid rgba(232,228,216,.35);
  width:fit-content;transition:border-color .3s,color .3s,gap .3s}
.contact-card:hover .cc-link{gap:.65em;border-color:var(--red);color:var(--red)}
.contact-card.primary .cc-link{color:var(--red);border-color:rgba(224,53,40,.4)}
.contact-card.primary:hover .cc-link{color:var(--red);border-color:var(--red)}

/* ── LAYOUT UTILITIES ──
   Generic responsive grids. Use these instead of an inline
   `style="display:grid;grid-template-columns:…"` — inline styles beat media
   queries, so an inline template can never stack and will overflow on a
   phone. This is the single most repeated bug in this codebase. */
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:2px}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:2px}

/* ── RESPONSIVE ── */
@media(max-width:900px),(max-height:500px) and (pointer:coarse){
  .grid-2{grid-template-columns:1fr;gap:2rem}
  .grid-3,.grid-4{grid-template-columns:1fr 1fr}
  .nav-links,.nav-btn{display:none}
  .nav-mobile{display:inline-flex}
  .section-head{grid-template-columns:1fr}
  .stat-grid{grid-template-columns:1fr 1fr}
  .stat-cell{border-bottom:1px solid var(--line)}
  .sc-big{font-size:clamp(40px,7vw,calc(64px*var(--k,1)))}
  .footer-grid{grid-template-columns:1fr 1fr}
  .foot-lockup{grid-column:1 / -1}
  .lockup-badges{display:flex}
  .lockup-badges{gap:.5rem}
  .lockup-badges .trust-chip{height:32px;padding:4px 7px}
  .foot-cta-row{gap:.55rem;flex-wrap:nowrap;min-width:0}
  .foot-cta-row .btn{flex:0 0 auto}
  .foot-bottom .trust-badges{display:none}
  .foot-bottom{justify-content:flex-start}
  .foot-social{justify-content:flex-start}
  .wi-card{grid-template-columns:1fr}
  /* same scroll swap as desktop, turned vertical: the stage sticks full-screen,
     slices stack top→bottom and the active one expands with its caption */
  .work-swap{height:300vh}
  .ws-stage{height:100vh;height:100svh;padding-top:76px;padding-bottom:16px;gap:12px}
  .ws-frame{flex-direction:column;flex:1 1 auto;height:auto;max-height:none;min-height:0;gap:8px}
  .ws-slice{border-radius:10px}
  .ws-cap{max-width:none;padding:20px;gap:.55rem}
  .apr-split{grid-template-columns:1fr}
  .apr-plus{display:none}
  .journal-grid{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr}
  .team-grid{grid-template-columns:repeat(2,1fr)}
  .field-row{grid-template-columns:1fr}
  .pillar-head{grid-template-columns:40px minmax(0,1fr) 44px;gap:14px;padding:28px var(--pad) 16px}
  .p-services{grid-template-columns:40px minmax(0,1fr);gap:14px}
  .pillar-body{grid-template-columns:48px minmax(0,1fr);gap:16px}
  .p-names{flex-wrap:nowrap;min-width:0}
  .p-thin,.p-bold{font-size:clamp(20px,5.4vw,calc(44px*var(--k,1)));white-space:nowrap}
  .pb-desc{white-space:normal;font-size:1rem}
  /* touch targets: everything tappable clears ~44px on phones/tablets */
  .p-chip{font-size:.92rem;padding:.8rem 1.1rem;min-height:44px;white-space:normal}
  .chip{min-height:44px;padding:.7rem 1.1rem}
  .nav-mobile{width:44px;height:44px;align-items:center}
  .sm-close{width:46px;height:46px}
  .btn-sm{padding:14px 22px;font-size:.56rem}
  .btn{min-height:46px}
  .btn-lg{padding:17px 32px}
  .modal-close{width:46px;height:46px}
  .foot-social a{width:24px;height:24px;padding:10px;box-sizing:content-box}
  /* the spinning 360° badge collides with the hero CTA on small screens */
  .hero-badge{display:none}
  /* stack the AI/human loop cards instead of crushing them side-by-side */
  .apr-grid{grid-template-columns:1fr;gap:1.1rem;margin-top:2.2rem}
  .apr-plus-x{transform:rotate(90deg);font-size:1.8rem!important}
  .testi-grid{grid-template-columns:1fr}
}
@media(max-width:600px){
  /* footer: compact on phones — lockup full width, link columns paired */
  .footer{padding:44px var(--pad) 24px}
  .footer-grid{grid-template-columns:repeat(auto-fit,minmax(min(calc(120px*var(--k,1)),100%),1fr));gap:1.5rem 1rem;margin-bottom:1.6rem}
  .foot-lockup{grid-column:1 / -1}
  .foot-mark{width:52px;margin-bottom:.85rem}
  .foot-lockup h3{margin-bottom:.9rem}
  .foot-col h4{margin-bottom:.6rem;letter-spacing:.2em}
  .foot-col ul{gap:.4rem}
  .foot-col a{font-size:.72rem;overflow-wrap:anywhere}
  .foot-social{margin-top:.7rem;gap:.4rem;flex-wrap:wrap}
  .foot-social a{width:20px;height:20px;padding:12px;box-sizing:content-box}
  .foot-bottom{padding-top:1.2rem;gap:.8rem}
  .foot-bottom>div:first-child{white-space:nowrap;font-size:.56rem;letter-spacing:.08em;color:rgba(255,255,255,.6);flex:0 0 auto}
  .stat-grid{grid-template-columns:1fr}
  .team-grid{grid-template-columns:1fr}
  .grid-3,.grid-4{grid-template-columns:1fr}
}
@media(max-width:410px){
  .trust-chip{height:32px;padding:4px 8px}
  .foot-bottom>div:first-child{font-size:.52rem}
}


/* ═══════════════════════════════════════════════════
   RESPONSIVE HARDENING — phone → tablet → laptop → 4K/TV
   ═══════════════════════════════════════════════════ */

/* no sideways panning on any device (iOS ignores body overflow alone).
   clip, not hidden: it doesn't create a scroll container, so sticky stages
   and the pinned #approach keep working. Older browsers keep body's hidden. */
html{overflow-x:clip}
body{overflow-x:clip}

/* sticky columns taller than the viewport scroll normally (class set by alcyone-fx.js) */
.sticky-free{position:relative!important;top:auto!important}

/* tablets & phones */
@media(max-width:900px),(max-height:500px) and (pointer:coarse){
  .hero-subline{white-space:normal}
  /* swap-stage slices: grow with their caption instead of clipping it
     (short phones, landscape phones) */
  /* quiet microtype one notch up on tablets too */
  .eyebrow,.mono{font-size:.56rem}
  .cap-item{min-width:44px;justify-content:center}
  .cap-item .roll-bot{justify-content:center}
  .nav-logo{min-height:44px}
}
/* phones: desktop-only line locks (inline white-space:nowrap) must wrap */
@media(max-width:600px){
  [style*="white-space:nowrap"]{white-space:normal!important}
  /* deliberate line locks inside big titles stay — the title fitter sizes them to the column */
  .page-hero h1 [style*="white-space:nowrap"],.cs-hero h1 [style*="white-space:nowrap"],
  .display-xl [style*="white-space:nowrap"],.display-lg [style*="white-space:nowrap"]{white-space:nowrap!important}
  .tag,.way-tag,.wi-meta,.team-role,.jc-cat,.jc-date{font-size:.6rem}
  .sc-proj,.sm-cap,.sm-status,.sm-label{font-size:.56rem}
}
/* smallest phones (SE / 320–374): footer badges drop under the CTA */
@media(max-width:374px){
  .foot-cta-row{flex-wrap:wrap}
  .display-xl{font-size:min(64px,16vw)}
}
/* phones (portrait): split card — image on top, caption on a solid panel
   below it, so the text never sits on a busy photo */
@media(max-width:900px) and (min-height:501px){
  /* the other projects wait as a thin card stack (JS sets a high flex-grow on
     the active slice), so the open card gets nearly the full height */
  .ws-frame{gap:5px}
  .ws-slice{display:flex;flex-direction:column;background:var(--navy2);
    transition:margin .5s cubic-bezier(.16,1,.3,1),border-radius .5s ease}
  .ws-slice:not(.is-active){margin-inline:10px;border-radius:8px}
  .ws-slice.is-active + .ws-slice:not(.is-active){margin-inline:5px}
  .ws-slice:not(.is-active):has(+ .ws-slice.is-active){margin-inline:5px}
  /* image aims for 4:5, gives way only if the screen is too short */
  .ws-slice img{position:relative;inset:auto;flex:0 1 auto;width:100%;height:auto;aspect-ratio:4/5;min-height:0}
  .ws-slice::after{display:none}
  .ws-cap{position:absolute;padding:16px 18px 18px;background:var(--navy2)}
  .ws-slice.is-active .ws-cap{position:relative;flex:1 0 auto;justify-content:flex-end}
  .ws-cap .wi-tags,.ws-cap .wi-brief{display:none}
  .ws-cap .wi-metric{flex-direction:column;align-items:flex-start;gap:.35rem}
  .ws-cap .wi-metric .desc{white-space:nowrap;max-width:none}
}
/* phones held sideways: work swap goes back to side-by-side slices */
@media(max-width:900px) and (max-height:500px),(max-height:500px) and (pointer:coarse){
  .ws-stage{padding-top:64px;padding-bottom:10px}
  .ws-frame{flex-direction:row-reverse}
  .ws-cap .wi-brief{display:none}
  .ws-cap{padding:16px}
}
/* short landscape screens: brief modal uses the full height */
@media(max-height:560px){
  .modal{padding:12px}
  .brief-panel{height:calc(100dvh - 24px);min-height:0;max-height:calc(100dvh - 24px)}
}

/* touch: small text links get an invisible ~44px hit area (no layout change) */
@media(max-width:900px),(max-height:500px) and (pointer:coarse),(pointer:coarse){
  .testi-link,.crumb a,.foot-col a,.hit{position:relative}
  .testi-link::before,.crumb a::before,.hit::before{content:'';position:absolute;inset:-12px -8px}
  .foot-col a::before{content:'';position:absolute;inset:-6px -4px}
}
/* touch tablets in landscape (iPad 1024–1366) get the desktop layout —
   give its controls finger-sized targets */
@media(pointer:coarse) and (min-width:901px){
  .nav-logo{min-height:44px}
  .nav-btn{min-height:44px;display:inline-flex;align-items:center}
  .nav-mobile{width:44px;height:44px;align-items:center}
  .btn{min-height:44px}
  .foot-social a{width:24px;height:24px;padding:10px;box-sizing:content-box;margin:-10px}
  .sm-close,.modal-close{width:46px;height:46px}
}

/* large screens (27"+, 4K, TV): fixed-px chrome scales with --k */
@media(min-width:2200px){
  .nav{padding:calc(28px*var(--k)) var(--pad)}
  .nav.s{padding:calc(15px*var(--k)) var(--pad)}
  .nav-logo img{height:calc(26px*var(--k))}
  .nav-right{gap:calc(20px*var(--k))}
  .nav-btn{padding:calc(8px*var(--k)) calc(20px*var(--k))}
  .nav-mobile{width:calc(30px*var(--k));height:calc(30px*var(--k))}
  .nav-mobile span:nth-child(1),.nav-mobile:hover span:nth-child(2),
  .nav-mobile.is-open span:nth-child(1),.nav-mobile.is-open span:nth-child(2){width:calc(26px*var(--k))}
  .nav-mobile span:nth-child(2){width:calc(17px*var(--k))}
  .btn{padding:calc(11px*var(--k)) calc(26px*var(--k))}
  .btn-sm{padding:calc(8px*var(--k)) calc(18px*var(--k))}
  .btn-lg{padding:calc(14px*var(--k)) calc(36px*var(--k))}
  .trust-chip{height:calc(56px*var(--k));padding:calc(8px*var(--k)) calc(14px*var(--k));border-radius:calc(8px*var(--k))}
  .trust-chip.is-google{padding:calc(5px*var(--k)) calc(12px*var(--k))}
  .foot-social a{width:calc(20px*var(--k));height:calc(20px*var(--k))}
  .sm-close,.modal-close{width:calc(38px*var(--k));height:calc(38px*var(--k))}
  .pzoom-close{width:calc(46px*var(--k));height:calc(46px*var(--k))}
  .sm-social a{width:calc(36px*var(--k));height:calc(36px*var(--k))}
  .p-ico{width:calc(34px*var(--k));height:calc(34px*var(--k))}
  .pillar-head{grid-template-columns:calc(64px*var(--k)) 1fr calc(56px*var(--k));
    gap:calc(24px*var(--k));padding:calc(40px*var(--k)) var(--pad) calc(22px*var(--k))}
  .p-services{grid-template-columns:calc(64px*var(--k)) 1fr calc(56px*var(--k));gap:calc(24px*var(--k))}
  .pillar-body{grid-template-columns:calc(64px*var(--k)) 1fr calc(44px*var(--k));gap:calc(24px*var(--k))}
  .ws-stage{padding-top:calc(78px*var(--k))}
  .ws-slice{border-radius:calc(14px*var(--k))}
  .eyebrow::before{width:calc(14px*var(--k))}
  #cur{width:calc(7px*var(--k));height:calc(7px*var(--k))}
  #cring{width:calc(32px*var(--k));height:calc(32px*var(--k))}
  #cring.big{width:calc(52px*var(--k));height:calc(52px*var(--k))}
}

/* ═══ PHONES — titles use the full width and break into even lines ═══
   (overrides desktop ch-caps, incl. inline max-widths, on every page) */
@media(max-width:600px){
  h1,h2,h3,blockquote,.display-xl,.display-lg,.display-md,.display-sm{
    max-width:none!important;text-wrap:balance}
  p{text-wrap:pretty}
  .pz-metric{align-items:baseline;flex-wrap:wrap;row-gap:.2rem}
  .pz-metric .num{white-space:nowrap}
}

/* ═══ PHONES — case-study first screen ═══
   photo gets the top of the screen clean (no text on it), fades into the
   panel; the title rides the fade edge, then story, tags, result and CTA */
@media(max-width:600px) and (min-height:501px){
  html body .cs-hero{display:flex;flex-direction:column;align-items:stretch;min-height:100svh}
  html body .cs-hero-media{position:relative;inset:auto;flex:0 0 auto;height:46svh;min-height:300px;overflow:hidden}
  html body .cs-hero-media::after{background:linear-gradient(to top,var(--navy) 0%,rgba(9,8,15,.55) 22%,rgba(9,8,15,0) 48%),
    linear-gradient(to bottom,rgba(9,8,15,.55) 0%,rgba(9,8,15,0) 22%)}
  html body .cs-hero-info{flex:1 0 auto;margin-top:-56px;max-width:none;width:100%;
    padding:0 var(--pad) max(22px,env(safe-area-inset-bottom));gap:.75rem;justify-content:flex-start}
  html body .cs-hero-info .display-md{font-size:clamp(38px,11vw,52px);line-height:.95}
  html body .cs-hero-info .body-lg{font-size:1rem;line-height:1.5;white-space:normal}
  html body .cs-hero .pz-tags{gap:.4rem}
  html body .cs-hero .pz-tags .tag{font-size:.6rem;padding:.42rem .7rem}
  html body .cs-hero .un-hero-row{flex-direction:column;align-items:flex-start;gap:.75rem;width:100%;min-width:0;max-width:100%}
  html body .cs-hero .pz-tags{align-self:stretch;width:100%;min-width:0}
  html body .cs-hero .pz-metric{margin:.15rem 0 0;gap:.6rem}
  html body .cs-hero .pz-metric .num{font-size:2rem}
  html body .cs-hero .pz-metric .desc{white-space:nowrap;flex:none;line-height:1.35}
  html body .cs-hero-cta{width:100%;flex-direction:column;align-items:stretch;gap:.2rem;margin-top:.35rem}
  html body .cs-hero-cta .btn{justify-content:center;text-align:center;white-space:nowrap}
  html body .cs-hero-cta .cs-scroll{align-self:center}
}
.cta-mob{display:none}
@media(max-width:600px){.cta-desk{display:none}.cta-mob{display:inline}}

/* ═══ PHONES — tag rows on one line, metric text on one line under the number ═══ */
@media(max-width:600px){
  html body .pz-tags,html body .wi-tags{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;
    scrollbar-width:thin;scrollbar-color:rgba(232,228,216,.25) transparent;max-width:100%;padding-bottom:4px}
  html body .pz-tags .tag,html body .wi-tags .tag{flex:0 0 auto;white-space:nowrap;
    font-size:.56rem;letter-spacing:.1em;padding:.4rem .62rem}
  html body .pz-metric,html body .wi-metric{flex-direction:column;align-items:flex-start;gap:.3rem;flex-wrap:nowrap}
  html body .pz-metric .desc,html body .wi-metric .desc{white-space:nowrap;flex:none;max-width:none;
    font-size:min(.9rem,3.55vw);line-height:1.3}
}

/* PHONES — page-hero titles built from spans: one span = one line; the title
   fitter (/alcyone-fx.js) then sizes the longest line to the full column */
@media(max-width:600px){
  .page-hero h1.display-xl > span{display:block;white-space:nowrap;line-height:1.08}
  .page-hero h1.display-xl > span.hero-indent{padding-left:0}
}

/* PHONES — desktop line breaks inside paragraphs are dropped so text reflows evenly */
@media(max-width:600px){ p br{display:none} }


.ws-slice picture,.pgal-item picture{display:contents}

/* system cursor — the custom dot/ring cursor is retired */
.fxc,#cur,#cring{display:none!important}
input,textarea{cursor:text}
