/* ==========================================================================
   Half Motion - Main styles. Consumes tokens.css. Vanilla, lightweight.
   Icons are Font Awesome <i> tags, so icon rules target both `i` and `svg`.
   ========================================================================== */
*,*::before,*::after{box-sizing:border-box}*{margin:0}
/* Chrome icons are an <i> wrapping a 1em SVG, so font-size and color drive
   them the way the icon font used to. Named hmi rather than ico: .ico is an
   existing class for icon containers, and sharing the name put container
   colours on the icon inside them. */
.hmi{display:inline-flex;align-items:center;justify-content:center;line-height:1;flex:none}
.hmi>svg{display:block;width:1em;height:1em}
html{-webkit-text-size-adjust:100%}
/* Lenis owns scrolling when it runs; without it, or under reduced motion, the
   browser's own smooth behaviour takes over. */
html:not(.lenis) ,html.no-smooth{scroll-behavior:smooth}
html.lenis,html.lenis body{height:auto}
.lenis.lenis-smooth{scroll-behavior:auto!important}
.lenis.lenis-stopped{overflow:hidden}
body{font-family:var(--font-display);font-weight:var(--font-weight-body);font-size:var(--fs-body);line-height:1.6;color:#fff;background:var(--hm-ink);-webkit-font-smoothing:antialiased;overflow-x:hidden}
/* The brand face carries the interface; running paragraphs are Arial. Anything
   that is a label, a control or a heading keeps the brand face. */
p,.lead,.prose,.article__body,blockquote{font-family:var(--font-body)}
.eyebrow,.pill,.btn,.link-arrow,label,input,textarea,select,button{font-family:var(--font-display)}
.eyebrow{font-family:var(--font-mono)}
img,svg,video{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
ul,ol{list-style:none;padding:0}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
h1,h2,h3,h4,h5,h6{font-family:var(--font-display);font-weight:500;line-height:1.14;letter-spacing:var(--track-title)}
:focus-visible{outline:2px solid var(--hm-accent);outline-offset:3px;border-radius:3px}
::selection{background:var(--hm-accent);color:var(--hm-accent-ink)}

section{background:var(--bg);color:var(--text)}
.container{width:100%;max-width:var(--container);margin-inline:auto;padding-inline:var(--gutter)}
.section{padding-block:var(--sec-pad)}
/* Declared after .section on purpose: an element carrying both classes has to
   resolve to the tighter value, and these have equal specificity. */
.section--tight{padding-block:clamp(2.5rem,1.5rem + 4vw,4.5rem)}
/* On a phone the block padding comes down. It moves the token rather than the
   property, so a masthead adding the bar's height on top stays in step with
   the foot of the section. */
@media(max-width:620px){
  :root{--sec-pad:clamp(2.75rem,2rem + 3vw,4rem)}
  .section--tight{padding-block:clamp(2rem,1.5rem + 2vw,3rem)}
  .section-head{margin-bottom:var(--sp-4)}
}
.stack>*+*{margin-top:var(--sp-3)}
.grid{display:grid;gap:var(--sp-3)}
.center{text-align:center}
.eyebrow{display:inline-flex;align-items:center;gap:.55rem;font-family:var(--font-mono);font-size:var(--fs-label);font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
.eyebrow::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--hm-accent)}
.lime{color:var(--hm-accent)}.muted{color:var(--muted)}
.lead{font-size:var(--fs-lead);line-height:1.55;letter-spacing:.004em;color:var(--muted);max-width:52ch}
h2.title{font-size:var(--fs-h2)}
.section-head{max-width:760px;margin-bottom:var(--sp-5)}
.section-head.center{margin-inline:auto}
.section-head .title{margin-top:.6rem}
.section-head>.title:first-child{margin-top:0}
.section-head p{margin-top:1.05rem;color:var(--muted);letter-spacing:.004em}
/* A head that carries its own link instead of a grid under it. Nothing sits
   below it, so it takes the whole column rather than the 760px a head keeps
   for a readable measure above a grid, and it carries no bottom margin. */
.section-head--solo{max-width:none;margin-bottom:0}
.section-head--solo .link-arrow{margin-top:1rem}
@media(min-width:900px){
  .section-head--solo{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:center;column-gap:clamp(2rem,6vw,5rem)}
  .section-head--solo .title{margin:0}
  .section-head--solo p{margin-top:0}
}
/* The sentence and its link travel together, so the link sits with the copy
   rather than dropping into a column of its own. */
.section-head--solo .section-head__aside{display:flex;flex-direction:column;align-items:flex-start}
/* Heading with an inline link on the right */
.section-head--row{max-width:none;display:flex;justify-content:space-between;align-items:center;gap:var(--sp-3);flex-wrap:wrap}
.section-head--row>div,.section-head--row>.title{max-width:640px}

/* Text link with a nudging arrow */
.link-arrow{display:inline-flex;align-items:center;gap:.5rem;font-size:var(--fs-small);font-weight:400;color:var(--hm-accent);padding-bottom:2px;border-bottom:1px solid transparent;transition:border-color var(--dur-fast) var(--ease-soft)}
.link-arrow i{transition:transform var(--dur-fast) var(--ease-soft)}
.link-arrow:hover{border-bottom-color:currentColor}
.link-arrow:hover i{transform:translateX(4px)}

/* ---- Reveal + parallax ---- */
.reveal.in{opacity:1;transform:none}
html.js .reveal{opacity:0;transform:translateY(30px) scale(.985);transition:opacity var(--dur) var(--ease),transform var(--dur) var(--ease)}
html.js .reveal.in{opacity:1;transform:none}
.reveal[data-d="1"]{transition-delay:.08s}.reveal[data-d="2"]{transition-delay:.16s}
.reveal[data-d="3"]{transition-delay:.24s}.reveal[data-d="4"]{transition-delay:.32s}
html.js [data-parallax]{will-change:transform}
@media (prefers-reduced-motion:reduce){html.js .reveal{opacity:1!important;transform:none!important}html.js [data-parallax]{transform:none!important}}

/* ---- Buttons ---- */
.btn{display:inline-flex;align-items:center;gap:.55rem;padding:.85rem 1.5rem;border-radius:var(--radius-pill);font-weight:400;font-size:var(--fs-small);transition:transform var(--dur-fast) var(--ease-soft),background var(--dur-fast) var(--ease-soft),color var(--dur-fast) var(--ease-soft),border-color var(--dur-fast) var(--ease-soft),box-shadow var(--dur-fast) var(--ease-soft)}
.btn svg{width:16px;height:16px}
.btn i{font-size:.95em;line-height:1;transition:transform var(--dur-fast) var(--ease-soft)}
.btn:hover i{transform:translateX(3px)}
.btn--primary{background:var(--hm-accent);color:var(--hm-accent-ink)}
.btn--primary:hover{transform:translateY(-2px);box-shadow:0 10px 26px var(--hm-accent-soft)}
.btn--dark{background:var(--hm-ink);color:#fff}.btn--dark:hover{transform:translateY(-2px)}
.btn--ghost{border:1px solid var(--line);color:var(--text)}
.btn--ghost:hover{border-color:var(--hm-accent);color:var(--hm-accent)}

/* ==========================================================================
   Placeholders (light-gray asset boxes/circles with pixel sizes)
   ========================================================================== */
.ph{background:var(--ph-bg);color:var(--ph-text);border:1px solid var(--ph-line);display:grid;place-items:center;border-radius:var(--radius-lg);
  font-family:var(--font-display);font-size:var(--fs-small);font-weight:600;text-align:center;line-height:1.3;
  max-width:100%;overflow:hidden;position:relative}
/* A .ph carrying a real image fills its box exactly. It is pinned rather
   than sized in percentages: where the frame takes its height from an
   aspect-ratio (.pcover, .zrow__media) a percentage height has nothing
   definite to resolve against, falls back to auto, and the image overflows
   the frame it is meant to fill. */
.ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.ph--fill{width:100%;height:100%;border-radius:inherit;border:0}
.ph--xl{border-radius:var(--radius-xl)}
.ph--circle{border-radius:50%}
.ph span{opacity:.75;padding:.4rem .6rem}
.ph small{display:block;font-weight:400;font-size:.72rem;opacity:.6}

/* ==========================================================================
   Floating pill header
   ========================================================================== */
.header{position:fixed;top:clamp(.6rem,.3rem + 1vw,1.1rem);left:0;right:0;z-index:100;pointer-events:none}
.header__inner{pointer-events:auto;width:min(var(--container),100%);margin-inline:auto;
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
  background:rgba(24,24,24,.72);backdrop-filter:blur(14px);border:1px solid #2b2b2b;
  border-radius:var(--radius-pill);padding:.55rem var(--gutter);transition:background var(--dur-fast),box-shadow var(--dur-fast)}
.header.scrolled .header__inner{background:rgba(18,18,18,.92);box-shadow:0 12px 40px rgba(0,0,0,.5)}
/* Below 1320 the bar is a flat full-width strip, so it takes the container
   gutter and the logo lands on the body's column that way.

   Above 1320 it is a pill, and padding the gutter out to the body column left
   a wide dead gap inside the curve. Instead the bar itself narrows to the
   body's column plus its own .55rem padding, the same gap it carries above
   and below. The curve now wraps the content, the logo still starts on the
   body's line and the button still ends on it. The 1px border counts inside
   the box, so the width carries it too. */
@media(min-width:1320px){
  .header__inner{
    width:calc(var(--container) - 2 * var(--gutter) + 2 * (.55rem + 1px));
    padding:.55rem;
  }
}
@media(max-width:1319px){
  .header{top:0}
  .header__inner{border-radius:0;border-inline:0;border-top:0;background:rgba(18,18,18,.88)}
}
.brand img{height:40px;width:auto}.brand .logo-dark{display:none}
.nav{display:flex;align-items:center;gap:.35rem}
.nav>a,.nav__has>a{display:inline-flex;align-items:center;gap:.4rem;font-size:var(--fs-small);font-weight:400;color:#e6e6e6;padding:.5rem .8rem;border-radius:var(--radius-pill);transition:color var(--dur-fast) var(--ease-soft),background var(--dur-fast) var(--ease-soft)}
.nav>a:hover,.nav__has>a:hover,.nav a.active{color:var(--hm-yellow);background:rgba(240,255,89,.10)}
.nav__has{position:relative}
.nav__caret{font-size:10px;transition:transform var(--dur-fast) var(--ease-soft)}
.nav__has:hover .nav__caret{transform:rotate(180deg)}
.nav__drop{position:absolute;top:calc(100% + 10px);left:50%;transform:translateX(-50%) translateY(8px);background:#181818;border:1px solid #2b2b2b;border-radius:16px;padding:.5rem;min-width:230px;opacity:0;visibility:hidden;transition:opacity var(--dur-fast) var(--ease-soft),transform var(--dur-fast) var(--ease-soft),visibility var(--dur-fast);box-shadow:0 20px 50px rgba(0,0,0,.5)}
.nav__has:hover .nav__drop{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}
.nav__drop a{display:block;padding:.6rem .8rem;border-radius:10px;color:#cfcfcf;font-size:var(--fs-small);transition:background var(--dur-fast) var(--ease-soft),color var(--dur-fast) var(--ease-soft)}
.nav__drop a:hover{background:#212121;color:var(--hm-yellow)}
.header__cta{display:flex;align-items:center;gap:.5rem}
.nav-toggle{display:none;flex-direction:column;gap:5px;padding:.55rem;border-radius:var(--radius-pill)}
.nav-toggle span{width:22px;height:2px;background:#fff;transition:.3s}
@media(max-width:980px){.nav,.header__cta .btn{display:none}.nav-toggle{display:flex}}

/* Mobile overlay menu */
.mobile-menu{position:fixed;inset:0;z-index:120;background:var(--hm-ink);padding:5.5rem var(--gutter) 2rem;
  transform:translateY(-100%);overflow-y:auto;visibility:hidden;
  transition:transform .52s var(--ease),visibility 0s linear .52s}
.mobile-menu.open{transform:none;visibility:visible;transition:transform .52s var(--ease),visibility 0s}
.mobile-menu a{display:block;font-family:var(--font-display);font-size:1.8rem;padding:.5rem 0;border-bottom:1px solid #1f1f1f}
.mobile-menu a:hover{color:var(--hm-yellow)}
.mobile-menu .sub{font-size:1.05rem;color:var(--muted);padding-left:1.4rem;border:0;position:relative}
.mobile-menu .sub::before{content:"";position:absolute;left:.3rem;top:50%;width:.6rem;height:1px;background:currentColor;opacity:.5}
.mobile-close{position:fixed;top:1.5rem;right:var(--gutter);z-index:121;width:44px;height:44px;border-radius:50%;background:var(--hm-yellow);color:var(--hm-ink);display:grid;place-items:center}
.mobile-close svg{width:22px;height:22px}.mobile-close i{font-size:19px}

/* ==========================================================================
   Hero: statement over the dotted globe
   ========================================================================== */
.hero{position:relative;overflow:hidden;
  padding-top:calc(clamp(2.75rem,2.2rem + 2vw,3.75rem) + var(--header-h, var(--header-space)));
  padding-bottom:clamp(2.75rem,2.2rem + 2vw,3.75rem)}
.hero::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:radial-gradient(120% 90% at 15% 25%,rgba(18,18,18,.86) 0%,rgba(18,18,18,.55) 45%,transparent 72%)}
.hero__inner{position:relative;z-index:2}
.hero__globe{position:absolute;top:50%;right:-6%;z-index:0;width:min(62vw,760px);aspect-ratio:1;
  transform:translateY(-48%);pointer-events:none;opacity:.85}
.hero__globe img{width:100%;height:100%;display:block}
/* The canvas takes over once the script has the land points, so the SVG is
   the no-script and reduced-motion rendering. */
.hero__globe canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.hero__globe.is-live img{display:none}
.hero__title{font-size:clamp(2.2rem,1.35rem + 3.5vw,4rem);max-width:20ch;margin-top:1.1rem;line-height:1.12}
.hero__accent{color:var(--hm-yellow)}
.hero__sub{margin-top:1.25rem;font-size:var(--fs-lead);color:var(--muted);max-width:48ch}
.hero__cta{margin-top:2rem;display:flex;gap:.8rem;flex-wrap:wrap;align-items:center}
.hero__marks{margin-top:2.5rem;display:flex;flex-wrap:wrap;gap:.7rem 1.75rem}
.hero__marks li{display:flex;align-items:center;gap:.55rem;font-size:var(--fs-small);color:var(--muted)}
.hero__marks i{color:var(--hm-yellow);font-size:.8rem}
@media(max-width:900px){
  .hero__globe{right:-22%;top:46%;width:min(120vw,680px);opacity:1}
  .hero::after{background:radial-gradient(120% 85% at 22% 30%,rgba(18,18,18,.92) 0%,rgba(18,18,18,.6) 46%,transparent 78%)}
}
@media (prefers-reduced-motion:reduce){.hero__globe{opacity:.4}}

/* ==========================================================================
   Logo marquee (below hero)
   ========================================================================== */
.logos{border-block:1px solid var(--line);padding-block:clamp(2rem,1.5rem + 1.5vw,2.75rem);overflow:hidden}
.logos__label{text-align:center;font-size:var(--fs-label);letter-spacing:.16em;text-transform:uppercase;color:var(--muted);margin-bottom:1.25rem}
.logos__mask{overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent);mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent)}
.logos__track{display:flex;width:max-content;align-items:center;animation:mq 30s linear infinite}
/* Wide enough that about five marks are in view at once, so the row reads as
   a set rather than a queue. Narrower screens show fewer and larger: at phone
   width five would be unreadable, so it is two, and a tablet takes three. */
.logos__track>*{margin-right:clamp(2.5rem,1rem + 4.8vw,6.5rem)}
.logos:hover .logos__track{animation-play-state:paused}
.logo-ph{flex:0 0 auto;width:clamp(140px,17vw,210px);height:clamp(56px,6vw,76px);
  border:1px solid var(--line);border-radius:var(--radius);
  display:grid;place-items:center;color:var(--muted);font-size:.82rem;font-weight:600;letter-spacing:.04em;
  background:transparent;transition:border-color var(--dur-fast) var(--ease-soft),color var(--dur-fast) var(--ease-soft)}
.logo-ph:hover{border-color:var(--hm-accent-line);color:var(--text)}
/* Client logos. Each mark is scaled to the same area rather than the same
   width or height: the lockups run from 3:1 to 5.2:1, and matching any single
   dimension leaves half of them looking shrunken. `--k` is set per logo in the
   data. */
.logos__track{--logo-h:clamp(28px,3.1vw,36px)}
/* Fewer and larger as the screen narrows. Both the mark and the gap are set
   in vw so the count holds steady across a range rather than drifting: a
   tablet keeps three in view, a phone two. */
@media(max-width:1024px){
  .logos__track{--logo-h:5.2vw}
  .logos__track>*{margin-right:8vw}
}
@media(max-width:620px){
  .logos__track{--logo-h:clamp(32px,10vw,46px)}
  .logos__track>*{margin-right:7vw}
}
.logo{flex:0 0 auto;display:grid;place-items:center}
.logo img{height:calc(var(--logo-h) * var(--k,1));width:auto;display:block;
  filter:var(--logo-filter,grayscale(1) brightness(.45) contrast(1.2));
  transition:filter var(--dur-hover) var(--ease-soft)}
/* Colour on hover. Desaturating alone is not enough here: TickTick's lime
   turns #EAEAEA, which is invisible on a white ground, and three other marks
   land above 190. Darkening with it carries every logo to a readable weight
   and the row reads as one set. The track already pauses on hover, so there
   is something to aim at. */
.logo img:hover{filter:none}
@media(prefers-reduced-motion:reduce){.logo img{transition:none}}
/* Tracks are duplicated in JS, so starting at -50% and ending at 0 runs left to right. */
@keyframes mq{from{transform:translateX(-50%)}to{transform:translateX(0)}}

/* ==========================================================================
   Services: alternating text + image rows
   ========================================================================== */
.srows{display:flex;flex-direction:column;gap:clamp(1.75rem,1rem + 2.5vw,3rem)}
/* Equal columns, so the gutter falls on the container's centre line and stays
   there whichever side the picture is on. Weighting one column wider moved that
   line between rows, which read as the section drifting. */
.srow{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(1.5rem,1rem + 2.5vw,3rem);align-items:center}
.srow:nth-child(even) .srow__media{order:2}
.srow__media{border-radius:var(--radius-lg);overflow:hidden;aspect-ratio:var(--media-ratio);background:var(--ph-bg)}
.srow__media .ph{transition:transform var(--dur-hover) var(--ease-soft)}
.srow:hover .srow__media .ph{transform:scale(1.03)}
.srow__ico{margin-bottom:1.15rem}
.srow__title{font-size:clamp(1.5rem,1.1rem + 1.4vw,2.1rem);margin:0 0 .75rem}
.srow__desc{color:var(--muted);max-width:52ch;margin-bottom:1.25rem}
@media(max-width:820px){
  .srow,.srow:nth-child(even){grid-template-columns:minmax(0,1fr);gap:1.25rem}
  .srow:nth-child(even) .srow__media{order:0}
}

/* About: image and text side by side. minmax(0,1fr) so the tracks can shrink;
   plain 1fr refuses to go below its content and overflows small screens. */
.about-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:var(--sp-6);align-items:center}
.about-split__media{border-radius:var(--radius-lg);overflow:hidden;aspect-ratio:var(--media-ratio);background:var(--ph-bg)}
@media(max-width:820px){.about-split{grid-template-columns:minmax(0,1fr);gap:var(--sp-4)}}

/* ==========================================================================
   Plain card grids
   ========================================================================== */
.cards{display:grid;gap:var(--sp-3)}
.cards--4{grid-template-columns:repeat(4,minmax(0,1fr))}
.cards--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.cards--2{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:1000px){.cards--4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.cards--3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.cards--2{grid-template-columns:1fr}}
@media(max-width:600px){.cards--4,.cards--3,.cards--2{grid-template-columns:1fr}}

.card{display:flex;flex-direction:column;gap:.55rem;padding:1.35rem 0 0;position:relative;
  border-top:1px solid var(--line)}
.card::before{content:"";position:absolute;left:0;top:-1px;height:1px;width:0;background:var(--hm-accent);
  transition:width var(--dur-hover) var(--ease-soft)}
.card:hover::before{width:100%}
.card__ico{margin-bottom:.9rem}
.card h3{font-size:1.08rem;letter-spacing:var(--track-tight)}
.card p{color:var(--muted);font-size:var(--fs-small)}

/* Work card: image, name, scope. Deliberately plain. */
.wcard{display:flex;flex-direction:column}
.wcard__thumb{aspect-ratio:3/2;overflow:hidden;background:var(--ph-bg)}
.wcard__thumb .ph{transition:transform var(--dur-hover) var(--ease-soft)}
.wcard:hover .wcard__thumb .ph{transform:scale(1.04)}
.wcard__body{padding:1rem 0 0;display:flex;flex-direction:column;gap:.55rem}
.wcard__head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}

/* One circular chevron for every card that opens something. Outline at rest,
   filled on hover, so the card has an obvious target without a button bar. */
.gocirc{flex:none;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;
  border:1px solid var(--line);color:var(--text);
  transition:background var(--dur-hover) var(--ease-soft),border-color var(--dur-hover) var(--ease-soft),color var(--dur-hover) var(--ease-soft),transform var(--dur-hover) var(--ease-soft)}
.gocirc svg{width:15px;height:15px}.gocirc i{font-size:13px;line-height:1}
.wcard:hover .gocirc,.work:hover .gocirc,.post:hover .gocirc,
.wcard:focus-visible .gocirc,.work:focus-visible .gocirc,.post:focus-visible .gocirc{
  background:var(--hm-accent);border-color:var(--hm-accent);color:var(--hm-accent-ink);transform:translateX(3px)}
@media(max-width:520px){.gocirc{width:36px;height:36px}}
.wcard__body h3{font-size:1.02rem;letter-spacing:var(--track-tight)}
.wcard__scope{color:var(--muted);font-size:var(--fs-small);margin-top:.3rem}

/* ==========================================================================
   Project detail pages
   ========================================================================== */
.pmeta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--sp-3);
  margin:var(--sp-4) 0 var(--sp-4);padding-top:var(--sp-3);border-top:1px solid var(--line)}
.pmeta dt{font-size:var(--fs-label);font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.pmeta dd{margin-top:.4rem;font-weight:600;font-size:var(--fs-small)}
@media(max-width:760px){.pmeta{grid-template-columns:1fr 1fr}}
.pcover{border-radius:var(--radius-xl);overflow:hidden;aspect-ratio:16/8;
  background:var(--ph-bg);margin-top:var(--sp-5)}
/* A cover carrying real artwork keeps the art's own proportion. These
   compositions are dense with small type, and the 16/8 crop cuts the top and
   bottom rows clean off. */
.pcover--art{aspect-ratio:1507/1044;background:var(--hm-white)}
.pcover--art img{width:100%;height:100%;object-fit:cover;display:block}

/* Zebra brief rows: content left, image right, alternating */
.zrows{display:flex;flex-direction:column;gap:clamp(2rem,1.2rem + 3vw,3.5rem)}
.zrow{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(1.5rem,1rem + 2.5vw,3.5rem);align-items:center}
.zrow:nth-child(even) .zrow__media{order:-1}
.zrow__media{border-radius:var(--radius-lg);overflow:hidden;aspect-ratio:var(--media-ratio);background:var(--ph-bg)}
.zrow__media .ph{transition:transform var(--dur-hover) var(--ease-soft)}
.zrow:hover .zrow__media .ph{transform:scale(1.03)}
.zrow__n{display:inline-block;font-family:var(--font-display);font-size:1.1rem;
  color:var(--hm-accent);opacity:.5;margin-bottom:.6rem}
.zrow__body h3{font-size:clamp(1.35rem,1.05rem + 1.2vw,1.9rem);margin-bottom:.75rem}
.zrow__body p{color:var(--muted);max-width:38ch}
.zrow__pills{margin-top:1.1rem}
@media(max-width:820px){
  .zrow,.zrow:nth-child(even){grid-template-columns:minmax(0,1fr);gap:1.25rem}
  .zrow:nth-child(even) .zrow__media{order:0}
}

/* Branding: final outputs travel across on a loop */
.outmarquee{position:relative;overflow:hidden;margin-top:var(--sp-4)}
/* Soft edges painted in the section colour on top of the strip. A CSS mask
   did this before, but Safari redraws a mask on every frame of motion and the
   strip crawled; two still gradients cost nothing. */
.outmarquee::before,.outmarquee::after{content:"";position:absolute;top:0;bottom:0;width:6%;z-index:1;pointer-events:none}
.outmarquee::before{left:0;background:linear-gradient(90deg,var(--bg),transparent)}
.outmarquee::after{right:0;background:linear-gradient(270deg,var(--bg),transparent)}
.outmarquee__track{display:flex;width:max-content;animation:mq 22s linear infinite}
.outmarquee__track>*{margin-right:var(--sp-3)}
.outmarquee:hover .outmarquee__track{animation-play-state:paused}
.outcard{flex:0 0 clamp(220px,26vw,340px)}
.outcard .ph{aspect-ratio:4/3;border-radius:var(--radius-lg)}
.outcard--bw .ph{filter:grayscale(1) contrast(1.05)}

/* Capability pills, used by the build and social sections */
.stacklist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 var(--sp-3)}
.stacklist li{font-size:var(--fs-small);font-weight:600;padding:.6rem 0;border-top:1px solid var(--line)}
@media(max-width:520px){.stacklist{grid-template-columns:1fr}}

/* Project page: the client's words, full width and set large. */
.vquote__inner{max-width:none;text-align:center}
.vquote__mark{display:block;font-size:1.9rem;line-height:1;color:var(--hm-accent);margin-bottom:1.5rem}
.vquote__text{font-family:var(--font-display);font-weight:500;letter-spacing:var(--track-title);
  line-height:1.28;font-size:clamp(1.35rem,.95rem + 2.1vw,2.5rem);color:var(--text);
  max-width:none}
.vquote__by{display:flex;align-items:center;justify-content:center;gap:.95rem;
  margin-top:clamp(1.75rem,1.2rem + 1.5vw,2.75rem);text-align:left}
/* The client's mark stands where a portrait used to, so the line reads as
   mark, then who said it. No disc: these are wordmarks of their own shape and
   a circle would crop them. */
.vquote__pic{flex:none;display:flex;align-items:center}
.vquote__pic img{height:30px;width:auto;max-width:none;display:block}
/* A hairline between the mark and the speaker, so the two read as one
   credit rather than two loose things sitting near each other. */
.vquote__who{padding-left:.95rem;border-left:1px solid rgba(255,255,255,.28)}
/* On a phone the credit stacks: who spoke first, centred, then the mark under
   it at a smaller size. The rule turns into a short centred divider, and the
   space above and below it is the same. */
@media(max-width:620px){
  .vquote__by{flex-direction:column;align-items:center;gap:1rem;text-align:center}
  .vquote__who{order:1;padding-left:0;border-left:0}
  .vquote__pic{order:2;position:relative;padding-top:1rem;justify-content:center}
  .vquote__pic::before{content:"";position:absolute;top:0;left:50%;
    transform:translateX(-50%);width:48px;height:1px;background:rgba(255,255,255,.28)}
  .vquote__pic img{height:24px}
}
.vquote__name{display:block;font-weight:600}
.vquote__role{display:block;color:var(--muted);font-size:var(--fs-small);margin-top:.1rem}

/* Business owner note */
.ownote{max-width:52rem;margin-inline:auto;text-align:center;border:1px solid var(--line);
  border-radius:var(--radius-xl);padding:clamp(1.5rem,1rem + 2vw,2.5rem);background:var(--surface)}
.ownote__mark{display:block;font-size:1.5rem;line-height:1;color:var(--hm-accent);margin-bottom:1rem}
.ownote__quote{font-family:var(--font-body);font-weight:400;line-height:1.65;
  font-size:var(--fs-body);color:var(--text);max-width:56ch;margin-inline:auto}
.ownote__by{display:flex;align-items:center;justify-content:center;gap:.9rem;
  margin-top:1.5rem;text-align:left}
.ownote__by .ph{flex:none}
.ownote__name{display:block;font-weight:600}
.ownote__role{display:block;color:var(--muted);font-size:var(--fs-small)}

/* Products holding page */
.soon-badge{display:inline-flex;align-items:center;gap:.6rem;font-size:var(--fs-label);font-weight:600;
  letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
.soon-badge::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--hm-accent);
  animation:soon-pulse 2.6s var(--ease-soft) infinite}
@keyframes soon-pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(.7)}}
.soon-list{display:grid;gap:0}
.soon{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;
  padding:1.5rem 0;border-bottom:1px solid var(--line)}
.soon:first-child{border-top:1px solid var(--line)}
.soon__name{font-family:var(--font-display);font-weight:500;letter-spacing:var(--track-tight);
  font-size:clamp(1.5rem,1.1rem + 1.6vw,2.4rem)}
.soon__status{font-size:var(--fs-small);font-weight:600;color:var(--muted)}

/* Our own products */
.prodcard{display:flex;flex-direction:column}
.prodcard__thumb{aspect-ratio:16/9;overflow:hidden;background:var(--ph-bg)}
.prodcard__thumb .ph{transition:transform var(--dur-hover) var(--ease-soft)}
.prodcard:hover .prodcard__thumb .ph{transform:scale(1.04)}
.prodcard__body{display:flex;flex-direction:column;gap:.4rem;padding:1.15rem 1.25rem 1.35rem}
.prodcard__head{display:flex;align-items:center;gap:.75rem}
.prodcard__head h3{font-size:1.15rem;letter-spacing:var(--track-tight)}
.prodcard__tag{font-size:var(--fs-label);font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.prodcard__desc{color:var(--muted);font-size:var(--fs-small);margin-top:.2rem}

.prods{display:flex;flex-direction:column;gap:clamp(1.75rem,1rem + 2.5vw,3rem)}
.prod{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(1.5rem,1rem + 2.5vw,3rem);align-items:center}
.prod:nth-child(even) .prod__media{order:2}
.prod__media{border-radius:var(--radius-lg);overflow:hidden;aspect-ratio:var(--media-ratio);background:var(--ph-bg)}
.prod__head{display:flex;align-items:center;gap:.85rem;margin-bottom:.4rem}
.prod__name{font-size:clamp(1.5rem,1.1rem + 1.4vw,2.1rem)}
.prod__tag{font-size:var(--fs-label);font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.prod__desc{color:var(--muted);margin-top:.7rem;max-width:52ch}
@media(max-width:820px){
  .prod,.prod:nth-child(even){grid-template-columns:minmax(0,1fr);gap:1.25rem}
  .prod:nth-child(even) .prod__media{order:0}
}

/* Post card */
.pcard{display:flex;flex-direction:column}
.pcard__img{aspect-ratio:16/10;overflow:hidden;background:var(--ph-bg)}
.pcard__img .ph,
.pcard__img img{transition:transform var(--dur-hover) var(--ease-soft)}
.pcard__img img{width:100%;height:100%;object-fit:cover;display:block}
.pcard:hover .pcard__img .ph,
.pcard:hover .pcard__img img{transform:scale(1.04)}
.pcard__body{display:flex;flex-direction:column;gap:.5rem;padding:1.05rem 0 0;flex:1}
.pcard__title{font-size:1.06rem;letter-spacing:var(--track-tight)}
.pcard__excerpt{color:var(--muted);font-size:var(--fs-small);flex:1}
.pcard__meta{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-top:auto;
  padding-top:.8rem;border-top:1px solid var(--line);font-size:var(--fs-small);color:var(--muted)}

/* ==========================================================================
   Services list (What we do)
   Title and description sit on one baseline row so the sub never drops
   under the heading. Hover moves a transform, never padding, so it is smooth.
   ========================================================================== */
.srv-list{border-top:1px solid var(--line)}
.srv-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1.5rem;align-items:center;
  padding:clamp(1.5rem,1rem + 2vw,2.4rem) 0;border-bottom:1px solid var(--line)}
/* A rule draws across the top of the row on hover. No background wash: the
   padding made it read as a loose block floating behind the type. */
.srv-row__bg{position:absolute;left:0;right:0;top:-1px;height:2px;z-index:1;
  background:var(--hm-accent);transform:scaleX(0);transform-origin:left center;
  transition:transform var(--dur) var(--ease)}
.srv-row:hover .srv-row__bg,.srv-row:focus-visible .srv-row__bg{transform:scaleX(1)}
.srv-row__shift{position:relative;z-index:1;display:grid;
  grid-template-columns:minmax(0,clamp(11rem,28vw,27rem)) minmax(0,1fr);
  gap:.35rem 2rem;align-items:baseline;
  transition:transform var(--dur-hover) var(--ease-soft)}
.srv-row:hover .srv-row__shift,.srv-row:focus-visible .srv-row__shift{transform:translateX(clamp(.75rem,1.5vw,1.5rem))}
.srv-row__title{font-family:var(--font-display);font-weight:500;letter-spacing:var(--track-title);line-height:1.12;
  font-size:clamp(1.7rem,1.1rem + 2.6vw,2.8rem);color:var(--text);
  transition:color var(--dur-hover) var(--ease-soft)}
.srv-row:hover .srv-row__title{color:var(--hm-accent)}
.srv-row__desc{color:var(--muted);font-size:var(--fs-small);max-width:44ch;
  transition:color var(--dur-hover) var(--ease-soft)}
.srv-row__arrow{position:relative;z-index:1;width:54px;height:54px;border-radius:50%;border:1px solid var(--line);
  display:grid;place-items:center;flex:none;color:var(--text);
  transition:background var(--dur-hover) var(--ease-soft),border-color var(--dur-hover) var(--ease-soft),color var(--dur-hover) var(--ease-soft),transform var(--dur-hover) var(--ease-soft)}
.srv-row:hover .srv-row__arrow{background:var(--hm-accent);border-color:var(--hm-accent);color:var(--hm-accent-ink);transform:translateX(4px)}
.srv-row__arrow svg{width:20px;height:20px}.srv-row__arrow i{font-size:17px}
@media(max-width:860px){
  .srv-row__shift{grid-template-columns:1fr;gap:.5rem}
  .srv-row__desc{max-width:52ch}
}
@media(max-width:520px){.srv-row__arrow{width:44px;height:44px}.srv-row__arrow i{font-size:15px}}

/* The visible gap under the bar equals the gap under the masthead. */
.srv-hero{padding-top:calc(var(--sec-pad) + var(--header-h, var(--header-space)))}
/* This h1 leads the page, so it carries no margin of its own on top. */
.srv-hero .hero__title{margin-top:0}
.feature-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:var(--sp-3)}

/* Service page: the opening runs the full container, title left, lead right */
.srv-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:clamp(1.25rem,1rem + 2vw,3.5rem);align-items:end;margin-bottom:var(--sp-4)}
.srv-top .hero__title{max-width:none;margin-top:0}
.srv-top__lead{max-width:46ch;padding-bottom:.4rem}
@media(max-width:860px){.srv-top{grid-template-columns:minmax(0,1fr);align-items:start}}

/* Service page: the argument beside what the engagement includes */
.srv-body{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);
  gap:clamp(1.75rem,1.2rem + 3vw,4.5rem);align-items:start}
.srv-body__prose p{color:var(--muted);margin-top:1.1rem;max-width:62ch}
.srv-body__side .checklist{margin-top:1.1rem}
@media(max-width:900px){.srv-body{grid-template-columns:minmax(0,1fr)}}

/* Service page: the four stages of an engagement */
.stages{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--sp-3)}
.stage{padding-top:1.25rem;border-top:1px solid var(--line);position:relative}
.stage::before{content:"";position:absolute;left:0;top:-1px;height:1px;width:0;
  background:var(--hm-accent);transition:width var(--dur-hover) var(--ease-soft)}
.stage:hover::before{width:100%}
.stage__n{display:block;font-size:var(--fs-label);font-weight:600;letter-spacing:.16em;color:var(--hm-accent)}
.stage h3{font-size:var(--fs-h3);margin:.75rem 0 .5rem}
.stage p{color:var(--muted);font-size:var(--fs-small);max-width:36ch}
@media(max-width:900px){.stages{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--sp-4) var(--sp-3)}}
@media(max-width:560px){.stages{grid-template-columns:minmax(0,1fr)}}
.feature{position:relative;padding:1.35rem 0 0;border-top:1px solid var(--line)}
.feature::before{content:"";position:absolute;left:0;top:-1px;height:1px;width:0;background:var(--hm-accent);
  transition:width var(--dur-hover) var(--ease-soft)}
.feature:hover::before{width:100%}
.feature h3{font-size:var(--fs-h3);margin:1.05rem 0 .5rem}
.feature p{color:var(--muted);font-size:var(--fs-small)}
.feature>svg,.feature>i{color:var(--hm-accent);font-size:1.4rem}
.checklist li{padding:.7rem 0;border-top:1px solid var(--line);display:flex;gap:.7rem}
.checklist li::before{content:"+";color:var(--hm-accent);font-weight:700}

/* Scope pills on project cards. Outline only, so they sit quietly under a
   title instead of stacking colour on colour. */
.pills{display:flex;flex-wrap:wrap;gap:.4rem}
.pill{font-size:.68rem;font-weight:400;letter-spacing:.08em;text-transform:uppercase;
  padding:.34rem .72rem;border-radius:var(--radius-pill);
  border:1px solid var(--line);color:var(--muted);
  transition:border-color var(--dur-hover) var(--ease-soft),color var(--dur-hover) var(--ease-soft)}
.wcard:hover .pill,.work:hover .pill{border-color:var(--hm-accent-line);color:var(--text)}

/* ==========================================================================
   Approach (rail + nodes, replaces the four equal cards)
   ========================================================================== */
/* --draw is set from main.js as the block crosses the viewport centre. Each
   segment consumes a quarter of it, so the rail draws left to right through
   the four steps instead of sitting there fully drawn. */
.approach{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--sp-3);--draw:1}
html.js .approach{--draw:0}
.approach__step:nth-child(1){--seg:clamp(0,calc(var(--draw) * 4),1)}
.approach__step:nth-child(2){--seg:clamp(0,calc(var(--draw) * 4 - 1),1)}
.approach__step:nth-child(3){--seg:clamp(0,calc(var(--draw) * 4 - 2),1)}
.approach__step:nth-child(4){--seg:clamp(0,calc(var(--draw) * 4 - 3),1)}
.approach__step{position:relative}
.approach__rail{position:relative;display:flex;align-items:center;height:56px;margin-bottom:1.35rem}
.approach__rail::after{content:"";position:absolute;left:68px;right:calc(var(--sp-3) * -1);top:50%;height:1px;
  background:linear-gradient(90deg,var(--hm-accent-line),var(--line));
  transform-origin:left center;transform:scaleX(var(--seg,1))}
.approach__step:last-child .approach__rail::after{display:none}
.approach__node{position:relative;z-index:1;flex:none;display:grid;place-items:center}
.approach__n{display:block;font-size:var(--fs-label);font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin-bottom:.5rem}
.approach__body h3{font-size:var(--fs-h3);margin-bottom:.5rem}
.approach__body p{color:var(--muted);font-size:var(--fs-small);max-width:34ch}
/* Centred while the steps run as columns: node over the text, and the rail
   between one node and the next rather than out of the left edge. */
@media(min-width:721px){
  .approach{text-align:center}
  .approach__rail{justify-content:center}
  .approach__rail::after{left:calc(50% + 28px);right:calc(28px - 50% - var(--sp-3))}
  .approach__body p{margin-inline:auto}
  /* A step at the end of a row has nothing to its right to reach. */
  .approach__step:nth-child(4n) .approach__rail::after{display:none}
}
@media(max-width:1100px) and (min-width:721px){
  .approach{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--sp-4) var(--sp-3)}
  .approach__step:nth-child(2n) .approach__rail::after{display:none}
  .approach__body p{max-width:44ch}
}
@media(max-width:720px){
  .approach{grid-template-columns:1fr;gap:0}
  .approach__step{display:grid;grid-template-columns:auto minmax(0,1fr);gap:1.25rem;padding-bottom:var(--sp-4)}
  .approach__rail{height:auto;margin-bottom:0;align-items:flex-start}
  /* Stacked, the rail runs downward, so the same value drives scaleY. */
  .approach__rail::after{transform-origin:center top;transform:scaleY(var(--seg,1));
    left:50%;right:auto;top:62px;bottom:calc(var(--sp-4) * -1 + 4px);width:1px;height:auto;
    background:linear-gradient(180deg,var(--hm-accent-line),var(--line));transform:translateX(-.5px)}
  .approach__step:last-child{padding-bottom:0}
  .approach__body p{max-width:52ch}
}

/* ==========================================================================
   Projects grid + filter
   ========================================================================== */
.filter{display:flex;flex-wrap:wrap;gap:0 var(--sp-4);margin-bottom:var(--sp-4);
  border-bottom:1px solid var(--line)}
.filter button{position:relative;padding:0 0 .9rem;font-size:var(--fs-small);font-weight:400;
  letter-spacing:.02em;color:var(--muted);transition:color var(--dur-fast) var(--ease-soft)}
.filter button::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;
  background:var(--hm-accent);transform:scaleX(0);transform-origin:left;
  transition:transform var(--dur) var(--ease)}
.filter button:hover{color:var(--text)}
.filter button.active{color:var(--text)}
.filter button.active::after{transform:scaleX(1)}
.work-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:var(--sp-3)}
.work{display:flex;flex-direction:column}
.work__thumb{aspect-ratio:3/2;width:100%;overflow:hidden;background:var(--ph-bg)}
.work__thumb .ph{width:100%;height:100%;border-radius:0;transition:transform var(--dur-hover) var(--ease-soft)}
.work:hover .work__thumb .ph{transform:scale(1.04)}
.work__body{padding:1.1rem 0 0;display:flex;flex-direction:column;gap:.7rem}
.work__head{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}
.work__head h3{font-size:var(--fs-h3)}
/* No button, just the chevron. It steps right when the card is hovered. */
.work.hide{display:none}
@media(max-width:720px){.work-grid{grid-template-columns:1fr}}

/* ==========================================================================
   Blog
   ========================================================================== */
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--sp-3)}
/* Editorial card, matching the project and insight cards on every other page:
   no frame, no lifting outline. The image and the type carry it. */
.post{display:flex;flex-direction:column}
.post__img{aspect-ratio:16/10;overflow:hidden;background:var(--ph-bg)}
.post__img .ph,
.post__img img{width:100%;height:100%;border-radius:0;transition:transform var(--dur-hover) var(--ease-soft)}
.post__img img{object-fit:cover;display:block}
.post:hover .post__img .ph,
.post:hover .post__img img{transform:scale(1.04)}
.post__body{padding:1.05rem 0 0;display:flex;flex-direction:column;gap:.6rem;flex:1}
.post__head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}
.post__cat{font-size:var(--fs-label);letter-spacing:.06em;color:var(--muted);font-weight:500}
.post__title{font-size:var(--fs-h3)}.post__excerpt{color:var(--muted);font-size:var(--fs-small);flex:1}
.post__meta{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-top:.5rem;padding-top:.85rem;border-top:1px solid var(--line);font-size:var(--fs-small);color:var(--muted)}
.post__more{display:inline-flex;align-items:center;gap:.45rem;font-weight:400;color:var(--hm-accent)}
.post__more i{font-size:.8em;transition:transform var(--dur-fast) var(--ease-soft)}
.post:hover .post__more i{transform:translateX(4px)}
@media(max-width:900px){.blog-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.blog-grid{grid-template-columns:1fr}}
/* The article fills the container. A narrow rail carries the date and category
   and the prose takes the rest, so the block runs edge to edge like every
   other page instead of stopping at a reading column with empty space beside
   it. On the masthead the rail is empty and the title simply starts left. */
.article{max-width:none}
.article--body{display:grid;grid-template-columns:minmax(0,14rem) minmax(0,1fr);
  gap:clamp(1.5rem,1rem + 3vw,4.5rem);align-items:start}
/* Each label and its value are wrapped together, so the rail can turn into a
   wrapping row on a phone without the four items landing on one line. */
.article__rail{position:sticky;top:7rem;display:flex;flex-direction:column;gap:1.1rem}
.article__rail dt{font-size:var(--fs-label);font-weight:600;letter-spacing:.12em;
  text-transform:uppercase;color:var(--muted)}
.article__rail dd{font-weight:600;margin-top:.25rem}
@media(max-width:860px){
  .article--body{grid-template-columns:minmax(0,1fr)}
  .article__rail{position:static;flex-direction:row;flex-wrap:wrap;
    gap:.9rem clamp(1.5rem,6vw,2.5rem);margin-bottom:1.75rem}
}
.article__meta{font-size:var(--fs-small);color:var(--muted)}
.article__hero{aspect-ratio:16/8;border-radius:var(--radius-xl);overflow:hidden;margin-block:var(--sp-4)}
.article__hero .ph{width:100%;height:100%;border-radius:0}
.prose{font-size:var(--fs-lead);color:var(--muted)}
.prose h2{color:var(--text);font-size:var(--fs-h2);margin:2rem 0 1rem}
.prose h3{color:var(--text);font-size:var(--fs-h3);margin:1.6rem 0 .8rem}
.prose p{margin-bottom:1.1rem}.prose ul{margin:0 0 1.1rem 1.1rem;list-style:disc}.prose li{margin-bottom:.5rem}
.prose strong{color:var(--text)}
.prose table{width:100%;border-collapse:collapse;margin:1.5rem 0 2rem;font-size:var(--fs-body);line-height:1.55}
.prose th,.prose td{padding:.85rem .9rem;border:1px solid var(--line);text-align:left;vertical-align:top}
.prose th{color:var(--text);font-family:var(--font-display);font-weight:500;background:var(--surface)}
/* On a phone a wide table scrolls inside itself instead of pushing the page sideways. */
@media(max-width:620px){
  .prose table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;font-size:var(--fs-small)}
  .prose th,.prose td{padding:.65rem .7rem;min-width:6rem}
}
.article-faq{margin-top:3rem;padding-top:.5rem;border-top:1px solid var(--line)}
/* The questions use the site's FAQ accordion; inside an article they keep
   the heading colour and drop the article's paragraph spacing. */
.article-faq .faq{max-width:none}
.article-faq .faq__q{color:var(--text)}
.article-faq .faq__a p{margin:0}

/* ==========================================================================
   Testimonials mover
   ========================================================================== */
.testi{overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.testi__track{display:flex;width:max-content;animation:mq 46s linear infinite}
.testi__track>*{margin-right:var(--sp-3)}
.testi:hover .testi__track{animation-play-state:paused}
.testi__item{flex:0 0 380px;max-width:85vw;border:1px solid var(--line);border-radius:var(--radius-lg);
  padding:var(--sp-4);background:var(--surface);display:flex;flex-direction:column;gap:.5rem}
.testi__mark{color:var(--hm-accent);font-size:1.1rem;opacity:.9;margin-bottom:.3rem}
.testi__quote{font-size:var(--fs-body);color:var(--text)}
/* The caption is pushed to the foot of the card, so it starts on the same line
   in every box however long the quote above it runs. Who spoke takes the full
   width, and the client's mark sits under it. The gap above the caption
   matches the card's own padding below the mark, so the block sits evenly
   between the quote and the foot of the card. */
.testi__by{margin-top:auto;padding-top:var(--sp-4);display:flex;align-items:flex-end;
  justify-content:space-between;gap:var(--sp-2)}
.testi__who{min-width:0}
.testi__name{font-weight:600}
.testi__role{color:var(--muted);font-size:var(--fs-small)}
/* These keep their brand colours: the row is the client's, not ours. The marks
   that read as near-black are swapped for the -ondark files rather than
   filtered, since a filter cannot reach inside an <img>. They carry the same
   per-logo area factor the marquee uses, so a squat lockup and a tall one read
   as the same size instead of the same height. */
.testi__logo{flex:none;height:calc(28px * var(--k,1));width:auto;
  object-fit:contain;display:block;opacity:.95}
/* On a phone the card is too narrow to carry both on one line, so who spoke
   takes the full width and the mark drops beneath it. */
@media(max-width:620px){
  .testi__by{flex-direction:column;align-items:stretch}
  .testi__who{width:100%}
  .testi__logo{align-self:flex-start;max-width:60%}
}

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq{max-width:820px}
/* On a service page the questions are the substance, so they run the full
   container in two columns rather than sitting in a narrow strip. */
.faq--wide{max-width:none;columns:2;column-gap:clamp(2rem,1.5rem + 3vw,4.5rem)}
.faq--wide .faq__item{break-inside:avoid;-webkit-column-break-inside:avoid}
@media(max-width:900px){.faq--wide{columns:1}}
.faq__item{border-bottom:1px solid var(--line)}
.faq__q{width:100%;display:flex;justify-content:space-between;align-items:center;gap:1rem;text-align:left;padding:1.25rem 0;font-family:var(--font-display);font-size:var(--fs-h3)}
.faq__q .ico{flex:none;width:30px;height:30px;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center;transition:background var(--dur-fast) var(--ease-soft),color var(--dur-fast) var(--ease-soft),border-color var(--dur-fast) var(--ease-soft),transform var(--dur-fast) var(--ease-soft)}
.faq__item.open .faq__q .ico{background:var(--hm-accent);color:var(--hm-accent-ink);border-color:var(--hm-accent);transform:rotate(45deg)}
.faq__q .ico svg{width:16px;height:16px}.faq__q .ico i{font-size:13px}
.faq__a{max-height:0;overflow:hidden;transition:max-height .35s var(--ease)}
.faq__a p{color:var(--muted);padding-bottom:1.25rem}

/* ==========================================================================
   Founder note / BR
   ========================================================================== */

/* About: the opening argument at normal heading size, running the full
   container. The words arrive left to right on the shared word reveal. */
.statement{max-width:none}
/* The argument runs the full container and closes on a line set in the same
   face one step larger, tucked close so it reads as the end of the sentence
   above rather than as a new block. The studio prose follows underneath, also
   full width, in two columns so the measure stays readable. */
/* Two styles on this block, not three: the heading, then both paragraphs set
   identically and running the full container. */
.argu__lead,.argu__body{font-size:clamp(1.1rem,1rem + .5vw,1.35rem);
  line-height:1.6;letter-spacing:.004em;color:var(--text);max-width:none}
.argu__lead{margin-top:clamp(1.5rem,1.1rem + 1.6vw,2.25rem)}
.argu__body{margin-top:clamp(1.1rem,.9rem + 1vw,1.6rem)}

/* A marker stroke that grows under the phrase. Painted as a background on the
   span itself rather than as an overlay, so it can never sit on top of a word. */
.hl{background-image:linear-gradient(var(--hm-mark),var(--hm-mark));
  background-repeat:no-repeat;background-position:0 96%;background-size:0 .3em;
  transition:background-size .8s var(--ease)}
html.js .wsplit.in .hl,html:not(.js) .hl{background-size:100% .3em}
@media (prefers-reduced-motion:reduce){.hl{background-size:100% .3em!important;transition:none}}

/* About: large opening statement */
.statement-lg{font-family:var(--font-display);font-weight:500;letter-spacing:var(--track-title);line-height:1.3;
  font-size:clamp(1.4rem,1rem + 2vw,2.25rem);max-width:24ch;color:var(--text)}
@media(min-width:900px){.statement-lg{max-width:34ch}}

/* About: definition list, typographic rather than a card grid */
.deflist{display:grid;border-top:1px solid var(--line)}
.deflist__row{display:grid;grid-template-columns:minmax(0,.5fr) minmax(0,1fr);gap:1rem clamp(1.5rem,1rem + 2vw,3rem);
  align-items:baseline;padding:clamp(1.1rem,.8rem + 1vw,1.6rem) 0;border-bottom:1px solid var(--line)}
.deflist dt{font-family:var(--font-display);font-weight:500;letter-spacing:var(--track-tight);
  font-size:clamp(1.15rem,.95rem + 1vw,1.6rem)}
.deflist dt a{transition:color var(--dur-fast) var(--ease-soft)}
.deflist__row:hover dt a{color:var(--hm-accent)}
.deflist dd{color:var(--muted);font-size:var(--fs-small);max-width:52ch}
.deflist--wide dd{font-size:var(--fs-body)}
.deflist__row--stack{grid-template-columns:minmax(0,1fr);gap:.4rem}
.deflist__row--stack dt{font-size:1.15rem}
@media(max-width:720px){.deflist__row{grid-template-columns:minmax(0,1fr);gap:.5rem}}

/* About: founder's note as prose beside a portrait */
/* The portrait is a small circle with the byline beside it, and the note runs
   the full column under it. A tall portrait next to short prose left a dead
   third of the page. */
/* One paragraph, centred, with the portrait and the byline under it. */
/* The note runs the full column, centred. */
.fnote{max-width:none;margin-inline:auto;text-align:center}
.fnote__body{margin-top:1.5rem}
.fnote__body p{font-family:var(--font-body);font-weight:400;line-height:1.72;
  font-size:var(--fs-lead);color:var(--muted)}
.fnote__body p+p{margin-top:1.1rem}
/* Portrait and name on one line. The line is centred on the page, the name
   reads from its left edge. */
.fnote__by{display:flex;flex-direction:row;align-items:center;justify-content:center;
  gap:1rem;text-align:left;margin-top:clamp(1.75rem,1.2rem + 1.5vw,2.5rem)}
.fnote__who{display:block;text-align:center}
.fnote__sign{display:block;font-family:var(--font-display);font-size:1.15rem;color:var(--text)}
.fnote__role{display:block;color:var(--muted);font-size:var(--fs-small);margin-top:.2rem}
/* The line stays centred on a phone, with a smaller portrait. */
@media(max-width:620px){
  .fnote__by{justify-content:center}
    /* The lead size is set for a wide column and runs heavy on a phone. */
  .fnote__body p{font-size:var(--fs-body);line-height:1.65}
  .fnote__body p+p{margin-top:.9rem}
}

/* About: the values, numbered, in the hairline grid */
.values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));list-style:none}
.value__n{display:block;font-family:var(--font-display);font-size:clamp(1.6rem,1.2rem + 1.6vw,2.4rem);
  line-height:1;color:transparent;-webkit-text-stroke:1px var(--hm-accent);
  margin-bottom:.9rem;transition:color var(--dur-hover) var(--ease-soft)}
.value:hover .value__n{color:var(--hm-accent)}
.value h3{font-size:clamp(1.1rem,1rem + .5vw,1.35rem);margin-bottom:.55rem;letter-spacing:var(--track-tight)}
.value p{color:var(--muted);font-size:var(--fs-small);max-width:42ch}
@media(max-width:720px){.values{grid-template-columns:minmax(0,1fr)}}

/* Careers: the kinds of people, human line first then the job title */
.pblock h3{font-size:clamp(1.08rem,1rem + .45vw,1.3rem);margin:1.1rem 0 .35rem;letter-spacing:var(--track-tight)}
.pblock__role{font-size:var(--fs-label);font-weight:600;letter-spacing:.12em;
  text-transform:uppercase;color:var(--hm-accent);margin-bottom:.75rem}
.pblock p:last-child{color:var(--muted);font-size:var(--fs-small)}

/* Careers: the short standing notice */
.notice{max-width:44rem}
.notice p{color:var(--muted);margin:1rem 0 1.75rem;font-size:var(--fs-lead)}
.notice--center{text-align:center;margin-inline:auto}
.notice--center p{margin-inline:auto;max-width:46ch}

/* Working-with-us blocks */
.wgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(1.75rem,1.2rem + 2.5vw,3.25rem) clamp(1.5rem,1rem + 3vw,4rem)}
.wblock h3{font-size:clamp(1.15rem,1rem + .5vw,1.4rem);margin:1.15rem 0 .55rem;letter-spacing:var(--track-tight)}
.wblock p{color:var(--muted);max-width:44ch}
@media(max-width:760px){.wgrid{grid-template-columns:minmax(0,1fr)}}

/* ==========================================================================
   Hairline grid
   A block grid drawn as rules rather than as boxes: the container paints the
   line colour and each cell paints the section ground back over it, leaving a
   one-pixel rule between every cell. Cells need an opaque ground, which every
   section scope gives them.
   ========================================================================== */
.gridlines{background:var(--line);gap:1px;
  border-block:1px solid var(--line)}
.gridlines>*{background:var(--bg);
  padding:clamp(1.5rem,1.1rem + 1.4vw,2.25rem) clamp(1.25rem,1rem + 1.2vw,2rem)}
/* Cells inside a hairline grid already carry the rule, so the per-card top
   border and its hover sweep would double it up. */
.gridlines>.card,.gridlines>.feature,.gridlines>.stage{border-top:0;padding-top:clamp(1.5rem,1.1rem + 1.4vw,2.25rem)}
.gridlines>.card::before,.gridlines>.feature::before,.gridlines>.stage::before{display:none}

/* ==========================================================================
   Contact form
   ========================================================================== */
.form{display:grid;gap:var(--sp-3);max-width:560px}
.field{display:flex;flex-direction:column;gap:.5rem}
.field label{font-size:var(--fs-small);font-weight:600}
.field input,.field textarea{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:.9rem 1rem;color:var(--text);font:inherit;font-size:var(--fs-body);transition:border-color var(--dur-fast) var(--ease-soft)}
.field input:focus,.field textarea:focus{outline:none;border-color:var(--hm-accent)}
.field textarea{min-height:130px;resize:vertical}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-note{font-size:var(--fs-small);min-height:1.2em}
.form-note.ok{color:var(--hm-accent)}.form-note.err{color:#ff7a7a}
.form-note.err{color:#d93a3a}
.form button[type=submit][aria-busy=true]{opacity:.7;cursor:progress}

/* Contact form result dialog */
.fmodal{position:fixed;inset:0;z-index:200;display:grid;place-items:center;
  padding:max(16px,env(safe-area-inset-top,0px)) max(16px,env(safe-area-inset-right,0px)) max(16px,env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px))}
.fmodal[hidden]{display:none}
.fmodal__backdrop{position:absolute;inset:0;background:rgba(10,10,10,.6);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);opacity:0;transition:opacity .2s var(--ease-soft)}
.fmodal__card{position:relative;width:100%;max-width:420px;display:grid;justify-items:center;gap:.75rem;text-align:center;
  padding:clamp(1.75rem,1.2rem + 2.5vw,2.5rem) clamp(1.25rem,1rem + 2vw,2.25rem);
  background:#121212;color:#fff;border:1px solid rgba(255,255,255,.08);border-radius:var(--radius-xl);
  box-shadow:0 30px 80px rgba(0,0,0,.45);opacity:0;transform:translateY(12px) scale(.97);
  transition:opacity .22s var(--ease-soft),transform .22s var(--ease-soft)}
.fmodal.is-open .fmodal__backdrop{opacity:1}
.fmodal.is-open .fmodal__card{opacity:1;transform:none}
.fmodal__icon{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;margin-bottom:.25rem}
.fmodal--ok .fmodal__icon{background:var(--hm-accent);color:#121212}
.fmodal--err .fmodal__icon{background:rgba(255,122,122,.14);color:#ff8a8a;box-shadow:inset 0 0 0 1px rgba(255,122,122,.35)}
.fmodal__title{font:500 clamp(1.4rem,1.2rem + .8vw,1.75rem)/1.2 var(--font-display);letter-spacing:var(--track-title);color:#fff;margin:0}
.fmodal__text{font:400 var(--fs-body)/1.6 var(--font-body);color:rgba(255,255,255,.72);max-width:34ch;margin:0;overflow-wrap:anywhere}
.fmodal__actions{display:flex;flex-wrap:wrap;justify-content:center;gap:.75rem;margin-top:.75rem;width:100%}
.fmodal__actions .btn{justify-content:center}
.fmodal .btn--ghost{color:#fff;border-color:rgba(255,255,255,.25)}
.fmodal .btn--ghost:hover{border-color:#fff}
html.fmodal-lock,html.fmodal-lock body{overflow:hidden}
@media(max-width:480px){.fmodal__actions .btn{flex:1 1 100%}}
@media(prefers-reduced-motion:reduce){.fmodal__card,.fmodal__backdrop{transition:none}}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:var(--sp-6);align-items:start}
.contact-info h3{font-size:var(--fs-label);text-transform:uppercase;letter-spacing:.12em;color:var(--muted);margin-bottom:.4rem}
/* inline-block with vertical padding, so the hit area is the line box rather
   than the glyph box and the target clears 24px whatever the face's metrics. */
.contact-info a,.contact-info__line{display:inline-block;padding-block:.15rem;
  font-size:var(--fs-h3);font-family:var(--font-display);
  font-weight:400;letter-spacing:var(--track-tight);color:var(--text)}
.contact-info a:hover{color:var(--hm-accent)}.contact-info>*+*{margin-top:var(--sp-4)}
@media(max-width:820px){.contact-grid{grid-template-columns:1fr;gap:var(--sp-4)}}

/* ==========================================================================
   Empty / 404
   ========================================================================== */
.empty{min-height:70vh;display:grid;place-items:center;text-align:center;padding-top:6rem}
.empty__inner{max-width:560px}
.empty h1{font-size:var(--fs-display);margin-bottom:1rem}
.big404{font-family:var(--font-display);font-size:clamp(6rem,3rem + 20vw,16rem);line-height:.9;color:var(--hm-accent)}

/* ==========================================================================
   Footer + full-width gradient wordmark
   ========================================================================== */
.footer{background:var(--hm-ink);color:#fff;padding-top:var(--sp-6);overflow:hidden}
.footer__grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.2fr;gap:var(--sp-4);padding-bottom:var(--sp-5);border-bottom:1px solid rgba(255,255,255,.12)}
/* width:auto is load-bearing: the width attribute on the tag is a presentational
   hint, so without this the mark is stretched to the column and squashed to the
   CSS height. */
.footer__brand > img{height:45px;width:auto;margin-bottom:1rem}
.footer__brand p{color:rgba(255,255,255,.86);max-width:38ch;font-size:var(--fs-small)}
.footer__col h4{font-size:var(--fs-label);font-weight:600;text-transform:uppercase;letter-spacing:.12em;color:#fff;margin-bottom:1rem}
.footer__col li{margin-bottom:.15rem}
.footer__col a{display:inline-block;padding-block:.4rem;color:#fff;font-size:var(--fs-small);
  transition:color var(--dur-fast) var(--ease-soft),padding-left var(--dur-fast) var(--ease-soft)}
.footer__col a:hover{color:var(--hm-yellow)}
/* Contact rows carry Font Awesome markers */
.footer__contact li{display:flex;align-items:center;gap:.65rem;color:#fff;font-size:var(--fs-small);
  margin-bottom:.15rem}
.footer__contact a,.footer__contact span:not(.ico){display:inline-block;padding-block:.4rem}
.footer__contact i{flex:none;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;
  font-size:.72rem;background:rgba(240,255,89,.12);color:var(--hm-yellow);
  transition:background var(--dur-fast) var(--ease-soft),color var(--dur-fast) var(--ease-soft)}
.footer__contact li:hover i{background:var(--hm-yellow);color:var(--hm-ink)}
.footer__mid{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;padding-block:var(--sp-3) var(--sp-4)}
.footer__mid p{color:rgba(255,255,255,.86);font-size:var(--fs-small)}
.socials{display:flex;gap:.6rem}
.socials a{width:40px;height:40px;border-radius:50%;border:1px solid #2a2a2a;display:grid;place-items:center;
  transition:background var(--dur-fast) var(--ease-soft),border-color var(--dur-fast) var(--ease-soft),color var(--dur-fast) var(--ease-soft),transform var(--dur-fast) var(--ease-soft)}
.socials a:hover{background:var(--hm-yellow);border-color:var(--hm-yellow);color:var(--hm-ink);transform:translateY(-3px)}
.footer .socials a{border-color:rgba(255,255,255,.22);color:#fff}
.socials svg{width:17px;height:17px}.socials i{font-size:16px;line-height:1}
/* Full-width wordmark, bottom half fades out */
.footer__wordmark{width:100%;display:block;margin-top:0}
.footer__wordmark svg{width:100%;height:auto;display:block}
/* The wordmark is outlined Geist Medium with its paint set on the path itself,
   so nothing here depends on a font, a synthesised bold or textLength. */
@media(max-width:900px){.footer__grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.footer__grid{grid-template-columns:1fr}}

/* Phones. Both marks are set for a desktop bar and read oversized on a narrow
   screen: the footer one was 292px across a 353px column. The footer mark also
   moves under the blurb, so the column opens on the text. */
@media(max-width:620px){
  .brand img{height:30px}
  .footer__brand > img{height:35px}
}

/* ---- Scroll to top ---- */
.to-top{position:fixed;right:1.2rem;bottom:1.2rem;z-index:90;width:46px;height:46px;border-radius:50%;background:var(--hm-yellow);color:var(--hm-ink);display:grid;place-items:center;opacity:0;pointer-events:none;transform:translateY(10px);transition:opacity .3s var(--ease-soft),transform .3s var(--ease-soft)}
.to-top.show{opacity:1;pointer-events:auto;transform:none}
.to-top svg{width:18px;height:18px}.to-top i{font-size:16px}

/* ---- CTA band ---- */
.cta-band{text-align:center;padding-block:clamp(2.25rem,1.5rem + 2vw,3.25rem)}
.cta-band h2{font-size:clamp(1.9rem,1.3rem + 2.6vw,3.1rem)}
.cta-band p{color:var(--muted);margin:.85rem auto 1.5rem;max-width:46ch}
.crumb{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;font-size:var(--fs-small);
  color:var(--muted);margin-bottom:1rem}
.crumb a{transition:color var(--dur-fast) var(--ease-soft)}
.crumb a:hover{color:var(--hm-accent)}
.crumb__sep{display:inline-flex;font-size:.65em;opacity:.55}
.crumb__current{color:var(--hm-accent);font-weight:600}

/* ==========================================================================
   Motion marks
   Bespoke line icons that draw themselves in on scroll and replay on hover.
   Every part carries pathLength="1", so one dashoffset rule drives the whole
   family regardless of how long the real path is.
   ========================================================================== */
/* A round brand chip carries the mark. Yellow ground, ink drawing: it holds
   its value on dark and light sections alike, and never puts a yellow stroke
   on white. --mo-size lets a context ask for a larger or smaller chip. */
.mo{--mo-size:56px; --mo-period:5.5s; --mo-i:0;
  /* Each mark starts at a different point in the same cycle rather than
     waiting its turn. Subtracting a whole period puts index 0 at the top of
     the cycle, so the first mark in a row draws first and the rest follow. */
  --mo-lag:calc(var(--mo-i) * 1.1s - var(--mo-period));
  position:relative;flex:none;display:grid;place-items:center;
  width:var(--mo-size);height:var(--mo-size);border-radius:50%;
  background:var(--hm-mark);color:var(--hm-mark-ink);
  transition:transform var(--dur-hover) var(--ease-soft)}
.mo__art{width:calc(var(--mo-size) * .5);height:calc(var(--mo-size) * .5);
  overflow:visible;display:block}
.mo [class^="mo-"]{stroke-dasharray:1;stroke-dashoffset:0;
  transform-box:fill-box;transform-origin:center}
/* A ring leaves the chip once per cycle. */
.mo::after{content:"";position:absolute;inset:0;border-radius:50%;
  border:1.5px solid var(--hm-mark);opacity:0;pointer-events:none}

/* Each mark redraws itself, holds, then redraws again. The parts are offset
   inside the cycle so the shape assembles rather than appearing at once. */
@keyframes mo-loop{0%{stroke-dashoffset:1}18%,100%{stroke-dashoffset:0}}
@keyframes mo-lift{0%,17%{transform:translateY(0)}24%{transform:translateY(-1.6px)}32%,100%{transform:translateY(0)}}
@keyframes mo-pop{0%,21%{transform:scale(1)}28%{transform:scale(1.12)}38%,100%{transform:scale(1)}}
@keyframes mo-ring{0%{transform:scale(1);opacity:.5}26%,100%{transform:scale(1.32);opacity:0}}
@keyframes mo-breathe{0%,14%{transform:scale(1)}20%{transform:scale(1.06)}30%,100%{transform:scale(1)}}

/* Held until the block the mark sits in has been scrolled into view, so
   nothing loops off screen. */
html.js .reveal.in .mo{animation:mo-breathe var(--mo-period) var(--ease-soft) infinite both;
  animation-delay:var(--mo-lag)}
html.js .reveal.in .mo::after{animation:mo-ring var(--mo-period) var(--ease-soft) infinite both;
  animation-delay:var(--mo-lag)}
html.js .reveal.in .mo .mo-a{animation:mo-loop var(--mo-period) var(--ease) infinite both;
  animation-delay:var(--mo-lag)}
html.js .reveal.in .mo .mo-b{
  animation:mo-loop var(--mo-period) var(--ease) infinite both,
            mo-lift var(--mo-period) var(--ease-soft) infinite both;
  animation-delay:calc(var(--mo-lag) + .16s),calc(var(--mo-lag) + .16s)}
html.js .reveal.in .mo .mo-c{
  animation:mo-loop var(--mo-period) var(--ease) infinite both,
            mo-pop var(--mo-period) var(--ease-soft) infinite both;
  animation-delay:calc(var(--mo-lag) + .3s),calc(var(--mo-lag) + .3s)}

/* A lag per card, so a row ripples instead of pulsing in unison. */
.card:nth-child(2) .mo,.pblock:nth-child(2) .mo,.value:nth-child(2) .mo,.wblock:nth-child(2) .mo,.approach__step:nth-child(2) .mo,
.feature:nth-child(2) .mo,.srow:nth-child(2) .mo{--mo-i:1}
.card:nth-child(3) .mo,.pblock:nth-child(3) .mo,.value:nth-child(3) .mo,.wblock:nth-child(3) .mo,.approach__step:nth-child(3) .mo,
.feature:nth-child(3) .mo,.srow:nth-child(3) .mo{--mo-i:2}
.card:nth-child(4) .mo,.pblock:nth-child(4) .mo,.value:nth-child(4) .mo,.wblock:nth-child(4) .mo,.approach__step:nth-child(4) .mo,.srow:nth-child(4) .mo{--mo-i:3}

/* Hover moves the chip, never the parts, so it cannot fight the loop. */
.card:hover .mo,.approach__step:hover .mo,.srow:hover .mo,
.feature:hover .mo{transform:translateY(-3px) scale(1.06)}

@media (prefers-reduced-motion:reduce){
  .mo,.mo::after,.mo [class^="mo-"]{animation:none!important;transform:none!important}
  .mo [class^="mo-"]{stroke-dashoffset:0!important}
  .mo::after{opacity:0}
}

/* ==========================================================================
   Word reveal
   Headings are split into words at runtime; each word rises out of its own
   clipping box on a stagger. Descenders would clip, so the box is padded and
   the padding pulled back off the layout.
   ========================================================================== */
.w{display:inline-block;overflow:hidden;vertical-align:bottom;
  padding-bottom:.16em;margin-bottom:-.16em}
.w__i{display:inline-block;will-change:transform}
html.js .wsplit .w__i{transform:translateY(115%);transition:transform .85s var(--ease)}
html.js .wsplit.in .w__i{transform:none}
@media (prefers-reduced-motion:reduce){
  html.js .wsplit .w__i{transform:none!important;transition:none}
}

/* Every marquee on the site rides this one keyframe, so one rule stops them
   all. The track is duplicated in JS, so it is held at the seam rather than at
   the start: the row then reads as a full row, not a half empty one. */
@media (prefers-reduced-motion:reduce){
  .logos__track,.outmarquee__track,.testi__track{animation:none;transform:translateX(-50%)}
}

/* Answer-engine row, in the brand column under the footer line. Each assistant's own logo is set in a white circle so the
   marks keep their real colours against the ink. */
.aeo{display:flex;flex-direction:column;align-items:flex-start;gap:.8rem;margin-top:var(--sp-3)}
.aeo__label{font-size:var(--fs-small);color:#fff}
.aeo__list{display:flex;align-items:center;gap:.6rem;list-style:none;padding:0;margin:0;flex-wrap:wrap}
.aeo__list a{display:inline-flex;align-items:center;gap:.55rem;padding:.3rem .95rem .3rem .3rem;
  border:1px solid rgba(255,255,255,.22);border-radius:99px;color:#fff;
  font-size:var(--fs-small);text-decoration:none;
  transition:border-color var(--dur-hover) var(--ease-soft),transform var(--dur-hover) var(--ease-soft)}
.aeo__list a:hover{border-color:var(--hm-accent);transform:translateY(-2px)}
.aeo__mark{flex:none;width:30px;height:30px;border-radius:50%;background:#fff;
  display:grid;place-items:center;overflow:hidden}
.aeo__mark img{display:block;margin:0}

/* Phones: the bottom block stacks, so it centres rather than hanging left. */
@media(max-width:620px){
  .footer__mid{flex-direction:column-reverse;justify-content:center;gap:1.1rem;text-align:center}
  .footer .socials{justify-content:center}
}

/* Complete project artwork stays inside its thumbnail on hover. */
.wcard:hover .wcard__thumb .ph--contain,.work:hover .work__thumb .ph--contain,.pcard:hover .pcard__img .ph--contain,.zrow:hover .zrow__media .ph--contain{transform:none}
