:root{
  --heading:clamp(2rem,1.2rem + 2.6vw,3.75rem);
  /* the runway */
  --lane:clamp(5rem,11vw,11rem);
  --pad:clamp(2.75rem,4.75vw,4.75rem);
  --node:clamp(3rem,5vw,5rem);
  --rail-x:50%;
}
.skip{position:absolute;left:var(--gutter);top:-5rem;z-index:20;background:var(--paper);color:var(--ink);padding:.5rem .85rem}
/* 1. Top of the page: name, portrait, statement and experience in one view */
.hero{position:relative;min-height:100svh;overflow:hidden;display:flex;flex-direction:column}
.hero__name{flex:none;margin:clamp(3.75rem,8svh,5.25rem) var(--gutter) 0;container-type:inline-size;animation:fade 1s ease both}
.hero__name h1{font:400 calc(100cqw/3.2367)/.74 var(--serif);font-variation-settings:"opsz" 30;text-transform:uppercase;margin-left:-.0233em;white-space:nowrap}
.hero__light{position:absolute;left:50%;bottom:-22%;width:min(125vw,130svh);aspect-ratio:1;transform:translateX(-50%);background:none}
.hero__figure{position:absolute;left:50%;bottom:0;z-index:1;height:calc(100% - clamp(4rem,10svh,6rem));width:auto;max-width:none;transform:translateX(-50%);animation:fade 1.2s ease .15s both}
.hero__cols{position:relative;z-index:2;flex:1;display:grid;grid-template-columns:minmax(0,1fr) 34vw minmax(0,1fr);column-gap:var(--gap);align-items:end;padding:clamp(.75rem,2svh,2rem) var(--gutter) clamp(.9rem,2.5svh,2rem);animation:fade 1s ease .45s both}
.hero__left{grid-column:1}
.hero__right{grid-column:3}
.hero__role{color:var(--quiet);font-size:var(--small);margin-bottom:.75rem}
.hero__left h2{font-size:clamp(1.6rem,2.4vw,2.7rem);line-height:1.08;text-transform:uppercase;letter-spacing:.01em}
.hero__left h2 span{display:block}
.hero__lede{margin-top:1rem;max-width:28rem;line-height:1.5}
.hero__actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1.4rem}
.hero__actions .btn{padding:.75rem 1.1rem;font-size:.8125rem;letter-spacing:.06em}
.hero__years{font-size:var(--text);line-height:1.4}
.hero__years b{display:block;font:400 clamp(3.25rem,min(6vw,11svh),5.75rem)/.95 var(--serif);font-variation-settings:"opsz" 28;margin-bottom:.35rem}
.hero__right ul{margin-top:.7rem;border-top:1px solid var(--rule);font-size:var(--small)}
.hero__right li{padding:.2rem 0;border-bottom:1px solid var(--rule)}
@keyframes fade{from{opacity:0}to{opacity:1}}
@media (max-width:60rem),(max-aspect-ratio:1/1){
  .hero{display:block;min-height:0}
  .hero__light{top:6rem;bottom:auto;width:130vw}
  .hero__figure{position:relative;left:auto;transform:none;height:auto;width:min(76vw,30rem);margin:-13vw auto 0}
  .hero__cols{display:block;margin-top:-3rem;padding-bottom:3.5rem}
  .hero__left h2{font-size:var(--heading)}
  .hero__right{margin-top:2.75rem}
}
/* 2. The runway: everything below the top hangs off one line.
   The dashes are the runway's centre line; they turn solid as the light travels down. */
.runway{position:relative;overflow:clip;background:var(--ink)}
@media (min-width:60.01rem) and (min-aspect-ratio:1/1){
  /* the rest of the portrait's pool of light, so the top section fades into the runway with no seam */
.runway::before{content:"";position:absolute;left:50%;top:calc(22svh - min(125vw,130svh));width:min(125vw,130svh);aspect-ratio:1;transform:translateX(-50%);background:none;pointer-events:none}
}
.rail{position:absolute;top:0;bottom:0;left:var(--rail-x);width:1px;margin-left:-.5px;background:repeating-linear-gradient(to bottom,rgb(0 0 0 / .3) 0 12px,rgb(0 0 0 / 0) 12px 30px)}
.rail::after{content:"";position:absolute;left:50%;bottom:0;width:9px;height:9px;margin-left:-4.5px;border-radius:50%;border:1px solid rgb(0 0 0 / .55)}
.rail__fill,.rail__dot{display:none}
.js .rail__fill{display:block;position:absolute;inset:0;background:var(--paper);transform:scaleY(0);transform-origin:top;will-change:transform}
.js .rail__dot{display:block;position:absolute;left:50%;top:0;width:9px;height:9px;margin:-4.5px 0 0 -4.5px;border-radius:50%;background:var(--paper);box-shadow:0 0 14px 3px rgb(0 0 0 / .25);will-change:transform;z-index:3}
/* a stop on the runway: a photograph on one side, words on the other */
.stop{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:var(--lane);padding:var(--pad) var(--gutter);--from:100%}
.stop--flip{--from:-100%}
.stop__photo{grid-column:1;grid-row:1;justify-self:end;position:relative;width:var(--w,82%)}
.stop__main{aspect-ratio:var(--r,4/5)}
.stop__text{grid-column:2;grid-row:1;padding-top:calc(var(--node) - .85em);max-width:27em}
.stop--flip .stop__photo{grid-column:2;justify-self:start}
.stop--flip .stop__text{grid-column:1;justify-self:end;width:fit-content}
.stop__label{color:var(--quiet);font-size:var(--small);margin-bottom:.75rem}
.stop h2{font-size:var(--title);line-height:1.16}
.stop__body{margin-top:1rem}
.stop__node{position:absolute;left:var(--rail-x);top:calc(var(--pad) + var(--node));z-index:2;width:9px;height:9px;margin:-4.5px 0 0 -4.5px;border-radius:50%;border:1px solid rgb(0 0 0 / .6);background:var(--ink);transition:background-color .4s ease,border-color .4s ease}
.stop__node::before{content:"";position:absolute;top:3px;right:8px;height:1px;width:calc(var(--lane)/2 - 8px);background:rgb(0 0 0 / .6);transform-origin:right}
.stop--flip .stop__node::before{right:auto;left:8px;transform-origin:left}
.js .stop__node::before{transform:scaleX(0);transition:transform .7s var(--settle)}
.is-lit>.stop__node{background:var(--paper);border-color:var(--paper)}
.js .is-lit>.stop__node::before{transform:none}
/* photographs open sideways, away from the runway. The outer layer slides one way and the
   inner layer the other by the same amount, so the picture stays still in a growing window. */
.wipe{position:relative;overflow:hidden}
.wipe__a,.wipe__b{position:absolute;inset:0}
.wipe__a{overflow:hidden}
.wipe img{position:absolute;left:0;top:-6%;width:100%;height:112%;max-width:none;object-fit:cover;object-position:center top}
.js .wipe__a{transform:translateX(var(--from));transition:transform 1.3s var(--curtain) var(--delay,.12s)}
.js .wipe__b{transform:translateX(calc(var(--from)*-1)) scale(1.1);transition:transform 1.3s var(--curtain) var(--delay,.12s)}
.js .is-open .wipe__a,.js .is-open .wipe__b{transform:none}
/* a smaller photograph overlapping the corner of the main one */
.stop__small{position:absolute;left:-16%;bottom:-9%;z-index:2;width:40%}
.stop--flip .stop__small{left:auto;right:-16%}
.stop__small .wipe{aspect-ratio:3/4;outline:.5rem solid var(--ink)}
/* a group of photographs: the work */
.cluster{display:grid;grid-template-columns:5fr 4fr;gap:var(--gap);align-items:start;--w:100%}
.cluster>:nth-child(1){grid-row:1/3;aspect-ratio:3/4}
.cluster>:nth-child(2){aspect-ratio:1/1;margin-top:clamp(2rem,4vw,4rem)}
.cluster>:nth-child(3){aspect-ratio:4/5}
.names{margin-top:1.75rem;border-top:1px solid var(--rule)}
.names li{padding:.55rem 0;border-bottom:1px solid var(--rule)}
/* the wide stage photograph: the line passes behind it */
.band{position:relative;z-index:1;aspect-ratio:2400/844;overflow:hidden;background:var(--ink);margin-block:clamp(1.5rem,3vw,3rem)}
.band__in{position:absolute;inset:0}
.band img{position:absolute;left:0;top:-5%;width:100%;height:110%;max-width:none;object-fit:cover}
.js .band__in{opacity:0;transform:scale(1.07);transition:opacity 1.1s ease,transform 1.8s var(--settle)}
.js .band.is-open .band__in{opacity:1;transform:none}
/* clients line both sides of the runway */
.clients{position:relative;padding:var(--pad) var(--gutter)}
.clients h2{position:relative;z-index:1;width:fit-content;margin-inline:auto;padding:.35rem 1.25rem;background:var(--ink);font-size:var(--title);line-height:1.1}
.lineup{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:var(--lane);row-gap:clamp(2.25rem,3.6vw,3.5rem);align-items:center;margin-top:clamp(2.5rem,5vw,4.5rem)}
.lineup li:nth-child(odd){justify-self:end}
.lineup li:nth-child(even){justify-self:start}
.lineup img{opacity:.88;transition:opacity .3s ease}
.lineup li:hover img{opacity:1}
.js .lineup li{opacity:0;transform:translateY(12px);transition:opacity .8s ease,transform 1s var(--settle)}
.js .lineup li.is-in{opacity:1;transform:none}
/* stop details: a project's facts and its link */
.stop h3{font-size:var(--title);line-height:1.16}
.facts{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:1.25rem;margin:1.1rem 0 0;border-top:1px solid var(--rule);font-size:var(--small);line-height:1.45}
.facts dt,.facts dd{margin:0;padding:.45rem 0;border-bottom:1px solid var(--rule)}
.facts dt{color:var(--quiet)}
.stop__cta{margin-top:1.25rem}
.stop__cta::before{content:"→ ";}
.principles b{font-weight:500}
/* a heading that sits on the runway line, with the page colour behind it so the line passes beneath */
.marker{position:relative;z-index:1;width:fit-content;max-width:min(36rem,100%);margin:var(--pad) auto 0;padding:.6rem 1.5rem;background:var(--ink);text-align:center}
.marker h2{font-size:var(--title);line-height:1.1}
.marker p{margin-top:.6rem;color:var(--quiet);font-size:var(--small);line-height:1.5}
.trusted .marker{margin-top:0}
/* what I do and who I work for: two columns either side of the runway */
.services,.trusted{position:relative;padding:var(--pad) var(--gutter)}
.services__grid,.trusted__groups{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:var(--lane);row-gap:clamp(2rem,3.5vw,3rem)}
.trusted__groups{margin-top:clamp(2.5rem,5vw,4.5rem);row-gap:clamp(2.5rem,4.5vw,4rem)}
.service,.group{max-width:27rem}
.service:nth-child(odd),.group:nth-child(odd){justify-self:end;text-align:right}
.service h3{font:400 clamp(1.35rem,1.1rem + .8vw,1.75rem)/1.2 var(--serif);font-variation-settings:"opsz" 28}
.service__icon{display:block;width:2.6rem;height:2.6rem;margin-bottom:.7rem}
.service:nth-child(odd) .service__icon{margin-left:auto}
.stop__art{display:block;width:100%;max-width:21rem;margin-top:clamp(1.75rem,3.5vw,2.75rem)}
.service p{margin-top:.45rem;color:var(--quiet);font-size:var(--small);line-height:1.5}
.services__cta{position:relative;z-index:1;display:flex;justify-content:center;margin-top:clamp(2.5rem,5vw,4rem)}
.group h3{font:inherit;font-size:var(--small);color:var(--quiet);letter-spacing:.04em}
.group ul{display:flex;flex-wrap:wrap;align-items:center;gap:1.25rem 1.75rem;margin-top:1rem}
.group:nth-child(odd) ul{justify-content:flex-end}
.group img{opacity:.88;transition:opacity .3s ease}
.group li:hover img{opacity:1}
.group__also{margin-top:1rem;font-size:var(--small);line-height:1.5}
.js .service,.js .group,.js .services__cta{opacity:0;transform:translateY(12px);transition:opacity .8s ease,transform 1s var(--settle)}
.js .service.is-in,.js .group.is-in,.js .services__cta.is-in{opacity:1;transform:none}
@media (max-width:60rem),(max-aspect-ratio:1/1){
  .services,.trusted{padding-left:calc(var(--gutter) + 1.75rem)}
  .services__grid,.trusted__groups{grid-template-columns:minmax(0,1fr)}
  .service:nth-child(odd),.group:nth-child(odd){justify-self:start;text-align:left}
  .service:nth-child(odd) .service__icon{margin-left:0}
  .stop__art{max-width:16rem}
  .group:nth-child(odd) ul{justify-content:flex-start}
  .services__cta{justify-content:flex-start}
  .marker{margin-inline:0 0;margin-left:calc(var(--gutter) + 1.75rem);padding-inline:0;background:none;text-align:left}
  .trusted .marker{margin-left:0}
}
/* text: one soft arrival */
.js [data-reveal]{opacity:0;transform:translateY(16px);transition:opacity .9s ease var(--d,.2s),transform 1s var(--settle) var(--d,.2s)}
.js [data-reveal].is-in,.js .is-in [data-reveal]{opacity:1;transform:none}
@media (max-width:60rem),(max-aspect-ratio:1/1){
  /* small screens: the line moves to the left edge and everything sits to its right */
:root{--rail-x:calc(var(--gutter) + .25rem);--lane:0px;--node:1.5rem}
  .stop{grid-template-columns:minmax(0,1fr);row-gap:1.75rem;padding:clamp(2.5rem,7vw,4rem) var(--gutter) clamp(2.5rem,7vw,4rem) calc(var(--gutter) + 1.75rem);--pad:clamp(2.5rem,7vw,4rem)}
  .stop,.stop--flip{--from:-100%}
  .stop__photo,.stop--flip .stop__photo{grid-column:1;grid-row:1;justify-self:start;width:var(--m,100%)}
  .stop__text,.stop--flip .stop__text{grid-column:1;grid-row:2;justify-self:start;padding-top:0;max-width:34em}
  .stop__node::before,.stop--flip .stop__node::before{left:8px;right:auto;width:1.25rem;transform-origin:left}
  .stop__small,.stop--flip .stop__small{left:auto;right:-.5rem;bottom:-6%;width:32%}
  .stop:has(.stop__small) .stop__text{margin-top:.75rem}
  .cluster>:nth-child(2){margin-top:1.5rem}
  .clients{padding-left:calc(var(--gutter) + 1.75rem)}
  .clients h2{margin-inline:0;padding-inline:0;background:none}
  .lineup{column-gap:var(--gap)}
  .lineup li:nth-child(odd),.lineup li:nth-child(even){justify-self:start}
}
@media (max-width:36rem){
  .band{aspect-ratio:auto;height:68vw}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
  .js [data-reveal],.js .wipe__a,.js .wipe__b,.js .sign__a,.js .sign__a img,.js .lineup li,.js .band__in{opacity:1;transform:none}
  .js .rail__dot{display:none}
  .js .stop__node::before{transform:none}
}
