/* Work section: the case-study preview (Work page panel and the left side of every case study),
   the opened case study, the disciplines spread and the core-service pages. Built by tools/build-work.py. */

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Preview: the photograph with the client logo in white at its centre, then kicker, headline and lead */
.cv__ph {
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(300px, 52vh, 470px);
  background: #0c0c0c center / cover no-repeat;
}
/* no veil over the photo: the cases show in their true colour. The white logos carry a soft shadow instead, so they still read on light images */
.cv__ph::before {
  content: none;
}
.cv__ph .cv__logo {
  filter: drop-shadow(0 1px 14px rgba(0, 0, 0, .35));
}
/* Work page: the photograph is a real image (with alt text, so search engines find it), cropped like a cover background; the logo sits above it */
.cv__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* no right-click "Save image", no dragging the photo out, no long-press save on phones: clicks go to the card beneath */
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.cv--nophoto::before {
  display: none;
}
.cv__logo {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8%;
  width: 46%;
  max-height: 34%;
}
.cv__logo .cs__duo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14%;
  width: 100%;
}
.cv__logo img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 96px;
  height: auto;
  filter: brightness(0) invert(.96);
}
.cv__logo .cs__duo img {
  max-width: 44%;
}
.cv__logo img.is-inv {
  filter: grayscale(1) invert(1) contrast(2.2) brightness(1.15);
  mix-blend-mode: screen;
}
.cv__tx {
  padding: 30px var(--gut, 60px) 0;
}
.cv__k {
  margin: 0 0 4px;
  font-family: var(--display);
  font-style: italic;
  font-size: 16px;
  color: #bdb7ad;
}
.cv__h {
  margin: 0 0 18px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(19px, 1.65vw, 24px);
  line-height: 1.15;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink, #ededea);
}
/* Work page: the client's name is each preview's heading for search and screen readers; the row above already shows it */
.cv__n {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
/* Work page: the small label above the tagline is the page heading */
.page-head h1.sec__name {
  margin: 0;
}
.cv__lead {
  margin: 0 0 22px;
  max-width: 30em;
  font-family: var(--display);
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.45;
  color: #d9d9d4;
}
.cv__go {
  font-family: var(--display);
  font-style: italic;
  font-size: 15px;
  color: var(--ink, #ededea);
  text-decoration: none;
}
.cv a:has(.cv__ph) {
  display: block;
}

/* Work page: the panel holds the preview edge to edge */
@media (min-width: 1025px) {
  .wk__panel {
    padding: 0 0 24px !important;
    border-right: 0 !important;
  }
  .wk__panel .wd {
    display: block;
  }
  .wr--feat .wx__name b {
    font-size: 1.08em;
  }
}
@media (max-width: 1024px) {
  .wr.is-open .wd .cv__tx {
    padding: 22px 0 0;
  }
  .wr .wd .cv__ph {
    height: 56vw;
  }
}

/* The disciplines: an editorial index of the eight core services, no boxes. Each row lifts on hover and a
   photograph from its work fades in beside the name. */
.dsc {
  padding: clamp(90px, 10vw, 160px) 0 clamp(40px, 5vw, 70px);
}
.dsc__t {
  margin: 0 0 clamp(36px, 4.5vw, 64px);
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(48px, 5.4vw, 88px);
  line-height: 1;
  letter-spacing: -.01em;
}
.dsc__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(40px, 6vw, 110px);
}
.dsc__c {
  position: relative;
  display: grid;
  grid-template-columns: 3.2em minmax(0, 1fr) auto;
  align-items: start;
  gap: 0 18px;
  padding: 26px 0 30px;
  color: var(--ink, #ededea);
  text-decoration: none;
}
.dsc__n {
  padding-top: .55em;
  font-family: var(--display);
  font-style: italic;
  font-size: 15px;
  color: #8d8d88;
}
.dsc__c h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(28px, 2.5vw, 40px);
  line-height: 1.06;
  letter-spacing: -.005em;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.dsc__c p {
  margin: 0;
  max-width: 26em;
  font-family: var(--display);
  font-style: italic;
  font-size: 16px;
  line-height: 1.5;
  color: #a3a39e;
  transition: color .4s ease;
}
.dsc__ph {
  width: 0;
  height: 96px;
  margin-top: 6px;
  background: #111 center / cover no-repeat;
  opacity: 0;
  transition: width .55s cubic-bezier(.2, .7, .2, 1), opacity .4s ease;
}
.dsc__go {
  position: absolute;
  right: 0;
  bottom: 30px;
  font-family: var(--display);
  font-size: 20px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .4s ease, transform .5s cubic-bezier(.2, .7, .2, 1);
}
.dsc__c:hover h3,
.dsc__c:focus-visible h3 {
  transform: translateX(6px);
}
.dsc__c:hover p,
.dsc__c:focus-visible p {
  color: #d9d9d4;
}
.dsc__c:hover .dsc__ph,
.dsc__c:focus-visible .dsc__ph {
  width: 76px;
  opacity: 1;
}
.dsc__c:hover .dsc__go,
.dsc__c:focus-visible .dsc__go {
  opacity: 1;
  transform: none;
}
.dsc__c:focus-visible {
  outline: none;
}
@media (max-width: 1024px) {
  .dsc__grid { grid-template-columns: 1fr; }
  .dsc__ph { display: none; }
  .dsc__go { opacity: 1; transform: none; }
}

/* Desktop disciplines as stacked folders. Odd folders have their tab on the left, even folders have it further across,
   and each folder rides up over the band of the one before it, so the stack steps in and out. A folder stays neutral
   until pointed at, then takes its colour and the case studies that belong to it peek out of the notch beside its tab. */
@media (min-width: 1025px) {
  .dsc__grid { --dh: clamp(92px, calc((100svh - 100px - clamp(40px, 4.2vw, 64px) - 28px) / 5.34), 146px); --tw: 56%; --pad: clamp(24px, 4vw, 64px); grid-template-columns: 1fr; column-gap: 0; row-gap: 0;
    /* edge to edge: the stack breaks out of the page margins */
    width: 100vw; margin-left: calc(50% - 50vw); }
  .dsc__row { --tx: 0%; position: relative; isolation: isolate; height: var(--dh); }
  .dsc__row:nth-child(even) { --tx: 38%; }
  .dsc__row + .dsc__row { margin-top: calc(var(--dh) * -.38); }
  .dsc__grid:has(.dsc__row:hover) .dsc__row:not(:hover) .dsc__c,
  .dsc__grid:has(.dsc__row:focus-within) .dsc__row:not(:focus-within) .dsc__c { filter: brightness(.55); }
  .dsc__row .dsc__c {
    position: absolute; inset: 0 0 -2px 0; z-index: 1; display: block; padding: 0;
    background: #d9d6d1; color: #0b0b0b;
    clip-path: polygon(0 38%, var(--tx) 38%, var(--tx) 0, calc(var(--tx) + var(--tw)) 0, calc(var(--tx) + var(--tw) + 30px) 38%, 100% 38%, 100% 100%, 0 100%);
    transition: background-color .45s ease, filter .5s ease, color .35s ease, transform .5s cubic-bezier(.2, .7, .2, 1);
  }
  .dsc__row:nth-child(even) .dsc__c { background-color: #eae7e2; }
  /* Each discipline has its own Fields colour, used on hover; dark type on the light fields, white on the deep ones */
  .dsc__row:hover .dsc__c, .dsc__row:focus-within .dsc__c { background-color: var(--dtab); color: var(--dink); }
  .dsc__row:nth-child(1) { --dtab: #0513B1; --dink: #fff; }
  .dsc__row:nth-child(2) { --dtab: #BFDC1E; --dink: #0b0b0b; }
  .dsc__row:nth-child(3) { --dtab: #15C6C1; --dink: #0b0b0b; }
  .dsc__row:nth-child(4) { --dtab: #C3166E; --dink: #fff; }
  .dsc__row:nth-child(5) { --dtab: #EC612A; --dink: #0b0b0b; }
  .dsc__row:nth-child(6) { --dtab: #4E1C8F; --dink: #fff; }
  .dsc__row:nth-child(7) { --dtab: #E96FAC; --dink: #0b0b0b; }
  .dsc__row:nth-child(8) { --dtab: #F06F08; --dink: #0b0b0b; }
  /* number and name sit in the tab, in the part of it that stays uncovered */
  .dsc__row .dsc__n { position: absolute; left: var(--tx); top: 0; height: 62%; display: flex; align-items: center; padding: 0 0 0 var(--pad); color: inherit; opacity: .6; }
  .dsc__row .dsc__body { display: contents; }
  .dsc__row .dsc__c h3 { position: absolute; left: calc(var(--tx) + var(--pad) + 44px); top: 0; width: calc(var(--tw) - var(--pad) - 44px - 24px); height: 62%; display: flex; align-items: center; margin: 0; color: inherit; font-size: clamp(21px, 2.2vw, 36px); }
  /* the one-line description fills the strip of band beside the tab */
  .dsc__row .dsc__body > p:not(.sr) { position: absolute; top: 38%; height: 24%; display: flex; align-items: center; max-width: none; margin: 0; font-size: clamp(11.5px, 1vw, 13px); line-height: 1.2; white-space: nowrap; color: inherit; opacity: 0; transform: translateY(4px); transition: opacity .4s ease, transform .5s cubic-bezier(.2, .7, .2, 1); }
  .dsc__row:nth-child(odd) .dsc__body > p:not(.sr) { left: calc(var(--tw) + 44px); right: var(--pad); }
  .dsc__row:nth-child(even) .dsc__body > p:not(.sr) { left: var(--pad); width: calc(var(--tx) - var(--pad) - 24px); }
  .dsc__row .dsc__ph { display: none; }
  /* the arrow sits at the right end of its own tab, level with the name, so it clearly belongs to that folder */
  .dsc__row .dsc__go { z-index: 2; position: absolute; right: auto; bottom: auto; top: 0; height: 62%; left: calc(var(--tx) + var(--tw) - 52px); display: flex; align-items: center; font-size: 22px; color: inherit; }
  .dsc__row:hover .dsc__c h3, .dsc__row:focus-within .dsc__c h3 { transform: translateX(6px); }
  .dsc__row:hover .dsc__body > p:not(.sr), .dsc__row:focus-within .dsc__body > p:not(.sr) { opacity: 1; transform: none; }
  /* peeking cases rise out of the notch: right of the tab on odd folders, left of it on even ones */
  .dsc__pks { position: absolute; z-index: 0; bottom: 62%; height: 0; pointer-events: none; right: calc(var(--pad) + 40px); width: 36%; }
  .dsc__row:nth-child(even) .dsc__pks { right: auto; left: var(--pad); width: 34%; }
  .dsc__pk {
    position: absolute; right: calc(var(--k) * clamp(54px, 5.4vw, 84px)); bottom: 0;
    width: clamp(86px, 8.6vw, 128px); aspect-ratio: 4 / 5; border-radius: 3px; overflow: hidden;
    background: #111 center / cover no-repeat; box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
    transform: translateY(105%) rotate(0deg); opacity: 0;
    transition: transform .6s cubic-bezier(.2, .8, .2, 1) calc(var(--k) * 55ms), opacity .3s ease calc(var(--k) * 55ms);
  }
  .dsc__row:nth-child(even) .dsc__pk { right: auto; left: calc(var(--k) * clamp(54px, 5.4vw, 84px)); }
  .dsc__row:hover .dsc__pks, .dsc__row:focus-within .dsc__pks { pointer-events: auto; }
  /* about 70% of each photo shows above the band; the rest stays tucked behind the folder */
  .dsc__row:hover .dsc__pk, .dsc__row:focus-within .dsc__pk { opacity: 1; transform: translateY(28%) rotate(var(--r)); }
  .dsc__pk:hover { transform: translateY(14%) rotate(0deg) !important; z-index: 5; transition-delay: 0s; }
  .dsc__pkn { position: absolute; left: 0; right: 0; top: 0; padding: 8px 8px 24px; font-family: var(--display); font-style: italic; font-size: 12px; line-height: 1.2; color: #fff; background: linear-gradient(rgba(0, 0, 0, .72), transparent); opacity: 0; transition: opacity .3s ease; }
  .dsc__pk:hover .dsc__pkn { opacity: 1; }
}
@media (min-width: 1025px) {
  /* The whole section is meant to fit one laptop screen: the title clears the fixed nav and the rows size to the window height */
  .dsc { position: relative; padding: 100px 0 0; }
  .dsc__t { margin-bottom: 28px; font-size: clamp(40px, 4.2vw, 64px); }
  .page--x:has(#disciplines) { padding-bottom: 0; }
}
@media (max-width: 1024px) { .dsc__pks { display: none; } }
@media (prefers-reduced-motion: reduce) { .dsc__row .dsc__c, .dsc__pk { transition: none; } }

/* Opened case study: one screen, the preview on the left, the story on the right */
.cs2 {
  display: grid;
  grid-template-columns: minmax(0, 576px) minmax(0, 1fr);
  min-height: 100vh;
  padding-top: 84px;
  box-sizing: border-box;
}
.cs2__pv .cv__ph {
  height: 470px;
}
.cs2__open {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0 var(--gut, 60px) 40px 72px;
  animation: cs2-in .7s cubic-bezier(.2, .7, .2, 1) both;
}
@keyframes cs2-in {
  from { opacity: 0; }
  to { opacity: 1; transform: none; }
}
.cs2__pull {
  margin: 0;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(54px, 7.2vw, 104px);
  line-height: .9;
  letter-spacing: -.025em;
  max-width: 8.4em;
}
.cs2__pull i {
  font-style: italic;
}
.cs2__cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 44px;
  align-items: end;
  margin-top: auto;
  padding-top: 40px;
}
.cs2__cols--solo {
  grid-template-columns: minmax(0, 1fr);
}
.cs2__body {
  margin: 0;
  max-width: 25em;
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.62;
  color: #c9c9c4;
}
.cs2__scope {
  margin: 26px 0 0;
  max-width: 30em;
  font-family: var(--display);
  font-size: 12.5px;
  line-height: 1.75;
  color: #a3a39e;
}
.cs2__scope span {
  margin-right: .35em;
  white-space: nowrap;
}
.cs2__scope a {
  color: inherit;
  text-decoration: none;
  transition: color .3s ease;
}
.cs2__scope a:hover,
.cs2__scope a:focus-visible {
  color: var(--ink, #ededea);
  outline: none;
}
.cs2__crop {
  margin: 0 0 4px;
  height: 300px;
  background-size: 260%;
  background-repeat: no-repeat;
}
.cs2__foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 56px;
  font-family: var(--display);
  font-size: 15px;
}
.cs2__foot a {
  color: var(--ink, #ededea);
  text-decoration: none;
}
@media (max-width: 1024px) {
  .cs2 {
    grid-template-columns: 1fr;
    padding-top: 64px;
  }
  .cs2__pv .cv__ph {
    height: 62vw;
  }
  .cs2__open {
    padding: 48px var(--gut, 20px) 40px;
  }
  .cs2__pull {
    font-size: clamp(44px, 12vw, 64px);
  }
  .cs2__cols {
    grid-template-columns: 1fr;
  }
  .cs2__crop {
    display: none;
  }
}

/* Core-service page */
.core {
  padding: 120px var(--gut, 60px) 100px;
  color: var(--ink, #ededea);
}
.core__hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: end;
  margin-bottom: clamp(60px, 7vw, 100px);
}
.core__back {
  display: inline-block;
  margin-bottom: 40px;
  font-family: var(--display);
  font-size: 15px;
  color: var(--ink, #ededea);
  text-decoration: none;
}
.core__n {
  margin: 0 0 14px;
  font-family: var(--display);
  font-style: italic;
  font-size: 16px;
  color: #8d8d88;
}
.core h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(48px, 5.6vw, 84px);
  line-height: .98;
  letter-spacing: -.01em;
}
.core__in {
  margin: 0;
  max-width: 26em;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(19px, 1.6vw, 24px);
  line-height: 1.45;
  color: #cfcfca;
}
.core__lab {
  margin: 0 0 24px;
  font-family: var(--display);
  font-style: italic;
  font-size: 15px;
  color: #8d8d88;
}
.core__svs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 46px clamp(40px, 5vw, 80px);
  margin-bottom: clamp(70px, 8vw, 110px);
}
.sv {
  scroll-margin-top: 110px;
}
.sv h2 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(21px, 1.7vw, 25px);
  line-height: 1.2;
}
.sv__d {
  margin: 0;
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.6;
  color: #bdbdb8;
}
.sv__l {
  margin: 10px 0 0;
  font-family: var(--display);
  font-style: italic;
  font-size: 15px;
  line-height: 1.55;
  color: #a3a39e;
}
.sv:target h2 {
  color: #fff;
}
/* Arriving from a case study's scope: a soft wash pulses behind the service so the eye finds it */
.sv {
  position: relative;
  isolation: isolate;
}
.sv:target::before {
  content: "";
  position: absolute;
  inset: -18px -24px;
  z-index: -1;
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
  opacity: 0;
  animation: sv-pulse 3.2s ease 1.1s both;
}
@keyframes sv-pulse {
  0% { opacity: 0; }
  18% { opacity: 1; }
  38% { opacity: .35; }
  56% { opacity: 1; }
  100% { opacity: .5; }
}
.core__cases {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.cc {
  color: var(--ink, #ededea);
  text-decoration: none;
}
.cc__ph {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 4;
  margin-bottom: 14px;
  background: #101010 center / cover no-repeat;
}
.cc__ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: .22;
}
.cc__ph.cv--nophoto::before {
  display: none;
}
/* the veil stays above a real photo (.cv__img) and below the logo */
.cc__ph::before {
  z-index: 1;
}
.cc__ph .cv__logo {
  width: 56%;
}
.cc__ph .cv__logo img {
  max-height: 72px;
}
.cc__k {
  margin: 0 0 4px;
  font-family: var(--display);
  font-style: italic;
  font-size: 13px;
  color: #8d8d88;
}
.cc__h {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.22;
}
@media (max-width: 1024px) {
  .core { padding-top: 96px; }
  .core__hero, .core__svs { grid-template-columns: 1fr; }
  .core__cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.cs2__crop--full {
  background-size: cover;
  background-position: center;
}
/* supporting photograph as a real image (alt text for search): fitted exactly as the background was, at every size */
.cs2__crop--full:has(.cv__img) {
  position: relative;
  overflow: hidden;
}
.cs2__crop--full .cv__img {
  object-position: center;
}
@media (min-width: 1025px) {
  .wkx .cs2__crop--full .cv__img, .cs2 .cs2__crop--full .cv__img { object-fit: contain; object-position: right bottom; }
}
@media (min-width: 1600px) {
  .wkx .cs2__crop--full .cv__img, .cs2 .cs2__crop--full .cv__img { object-position: right top; }
}

/* Work page: the case study expanding in place over the list, to the right of the preview */
.wkx {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 800;
  display: flex;
  flex-direction: column;
  padding: 0 var(--gut, 60px) 40px 72px;
  background: #000;
  color: var(--ink, #ededea);
}
.wkx[hidden] {
  display: none;
}
.wkx.is-in {
  animation: wkx-in .6s cubic-bezier(.2, .7, .2, 1) both;
}
/* the case layer only fades in: no sideways movement */
@keyframes wkx-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.wkx__x {
  position: absolute;
  top: 14px;
  right: var(--gut, 60px);
  z-index: 2;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(237, 237, 234, .08);
  color: var(--ink, #ededea);
  font-family: var(--display);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background .3s ease;
}
.wkx__x:hover,
.wkx__x:focus-visible {
  background: rgba(237, 237, 234, .18);
  outline: none;
}
.wkx .cs2__pull {
  margin-top: 6px;
  padding-right: 56px;
}
.wkx .cs2__pull {
  font-size: clamp(48px, 5.8vw, 92px);
}
html.wkx-open .wk__panel .cv__go {
  visibility: hidden;
}

/* Project list: the featured case studies large with a photograph, the rest as a quiet two-column archive */
@media (min-width: 1025px) {
  .wr-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 28px;
  }
  .wr-list > li {
    grid-column: 1 / -1;
  }
  .wr-list > .wr:not(.wr--feat) {
    grid-column: auto;
  }
  .wk .wr--feat .wx__row {
    grid-template-columns: 96px minmax(0, 1fr) auto;
    column-gap: 22px;
    align-items: center;
    padding: 12px 14px;
    border-radius: 4px;
  }
  .wx__th {
    display: block;
    width: 96px;
    height: 120px;
    background: #111 center / cover no-repeat;
  }
  .wk .wr--feat .wx__name {
    font-size: clamp(22px, 1.9vw, 30px);
  }
  .wk .wr--feat .wx__name b {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
  }
  .wk .wr--feat .wx__loc {
    display: block;
    margin-top: 6px;
  }
  .wk .wr--feat .wx__field {
    text-align: right;
    font-family: var(--display);
    font-style: italic;
    text-transform: none;
    letter-spacing: 0;
    font-size: 14px;
    color: #8d8d88;
  }
  .wk .wr--feat .wx__field b,
  .wk .wr--feat .wx__more {
    display: inline;
    font-weight: 400;
    text-transform: none;
  }
  .wk .wr--feat .wx__more::before {
    content: ", ";
  }
  .wk .wr--feat .wx__sec,
  .wk .wr--feat .wx__mk {
    display: none;
  }
  .wr--feat.is-on .wx__row {
    background: #141414;
  }
  .wr--feat.is-on .wx__name {
    color: var(--ink, #ededea);
  }
  .wr-lab {
    margin: 48px 14px 10px;
    font-family: var(--display);
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #8d8d88;
  }
  .wk .wr:not(.wr--feat) .wx__row {
    grid-template-columns: minmax(0, 1fr);
    padding: 9px 14px;
  }
  .wk .wr:not(.wr--feat) .wx__name {
    font-size: 14px;
    color: #b4b4af;
  }
  .wk .wr:not(.wr--feat) .wx__field,
  .wk .wr:not(.wr--feat) .wx__sec,
  .wk .wr:not(.wr--feat) .wx__mk {
    display: none;
  }
  .wk .wx__head {
    display: none;
  }
}
@media (max-width: 1024px) {
  .wr-lab { display: none; }
  /* Phones and tablets: each project keeps its photograph (or logo tile) beside the name, as on desktop */
  .wk .wx__head { display: none; }
  .wk .wr--feat .wx__row {
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: 16px;
    align-items: center;
    padding: 10px 0;
  }
  .wk .wx__th {
    display: block;
    width: 64px;
    height: 80px;
    background: #111 center / cover no-repeat;
  }
  .wk .wx__th--logo { display: grid; }
  .wk .wr--feat .wx__name b {
    display: block;
    font-family: var(--display);
    font-weight: 400;
    font-size: 20px;
    line-height: 1.15;
    text-transform: none;
    letter-spacing: 0;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
  .wk .wr--feat .wx__loc {
    display: block;
    margin-top: 4px;
    font-size: 10.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #8d8d88;
  }
  .wk .wr--feat .wx__field,
  .wk .wr--feat .wx__sec,
  .wk .wr--feat .wx__mk { display: none; }
}
@media (min-width: 1025px) {
  .wk .wr--feat .wx__name {
    display: block;
    line-height: 1.12;
    white-space: normal;
    overflow: visible;
  }
  .wk .wr--feat .wx__name b {
    display: block;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    font-family: var(--display);
    font-size: clamp(22px, 1.9vw, 30px);
    line-height: 1.12;
  }
  .wk .wr--feat .wx__loc {
    font-family: var(--display);
    font-size: 12.5px;
    line-height: 1.4;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #8d8d88;
  }
  .wk .wr:not(.wr--feat) .wx__name b {
    font-size: 14px;
    line-height: 1.3;
  }
  .wk .wr:not(.wr--feat) .wx__loc {
    display: block;
    font-size: 11px;
    line-height: 1.4;
  }
}
.wx__th--logo {
  display: grid;
  place-items: center;
  background: #111;
}
.wx__th--logo .cv__logo {
  width: 70%;
}
.wx__th--logo .cv__logo img {
  max-height: 34px;
}
.cs2__pull--long {
  font-size: clamp(44px, 5vw, 76px);
  line-height: .95;
  max-width: 10em;
}
.wkx .cs2__pull--long {
  font-size: clamp(40px, 4.4vw, 68px);
}
/* Projects without a logo file show their name as a wordmark; keep it inside its frame */
.cv__logo .cs__word {
  display: block;
  max-width: 100%;
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.05;
  text-align: center;
  color: var(--ink, #ededea);
  background: none;
}
.wx__th--logo .cs__word {
  font-size: 11px;
}
.cc__ph .cs__word {
  font-size: 20px;
}
.wx__th--logo,
.cc__ph,
.cv__ph {
  overflow: hidden;
}

/* Home: a slow runner of client logos, in white, between the work and the programs. Pauses on hover. */
.lgr {
  position: relative;
  display: flex;
  overflow: hidden;
  padding: clamp(40px, 5vw, 72px) 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.lgr__track {
  display: flex;
  flex: none;
  align-items: center;
  gap: clamp(56px, 6vw, 96px);
  margin: 0;
  padding: 0 clamp(28px, 3vw, 48px);
  list-style: none;
  animation: lgr 70s linear infinite;
}
.lgr__track li {
  flex: none;
}
.lgr__track img {
  display: block;
  width: auto;
  height: 34px;
  max-width: 150px;
  object-fit: contain;
  filter: brightness(0) invert(.96);
  opacity: .78;
  transition: opacity .3s ease;
}
.lgr__track img.is-inv {
  filter: grayscale(1) invert(1) contrast(2.2) brightness(1.15);
  mix-blend-mode: screen;
}
.lgr__track li:hover img {
  opacity: 1;
}
@keyframes lgr {
  to { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
  .lgr__track { animation: none; }
}
/* Work page preview fits one screen with "Read the case study" always in view */
@media (min-width: 1025px) {
  .wk__panel .cv__ph {
    height: clamp(220px, calc(100vh - var(--navh, 80px) - 330px), 470px);
  }
  .wk__panel .cv__tx {
    padding-top: 22px;
  }
  .wk__panel .cv__h {
    margin-bottom: 12px;
  }
  .wk__panel .cv__lead {
    margin-bottom: 14px;
    font-size: clamp(15px, 1.1vw, 17px);
    line-height: 1.42;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* Case page fits one screen on desktop: photo, headline and crop scale with the window height */
@media (min-width: 1025px) {
  .cs2 { height: 100vh; min-height: 0; overflow: hidden; grid-template-columns: minmax(0, min(576px, 40vw)) minmax(0, 1fr); }
  .cs2__open { padding-left: clamp(36px, 5vw, 72px); padding-right: var(--gut, clamp(28px, 4vw, 60px)); }
  .cs2__cols { grid-template-columns: minmax(0, 1fr) clamp(140px, 17vw, 250px); gap: clamp(24px, 3vw, 44px); }
  .cs2__pv .cv__ph { height: clamp(170px, calc(100vh - 84px - 300px), 470px); }
  .cs2__pv .cv__lead { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .cs2__pull { font-size: clamp(40px, min(7.2vw, 12.5vh), 104px); }
  .cs2__pull--long { font-size: clamp(36px, min(5vw, 10vh), 76px); }
  .cs2__cols { padding-top: clamp(16px, 3vh, 40px); }
  .cs2__crop { height: clamp(150px, 32vh, 300px); }
  .cs2__foot { margin-top: clamp(18px, 4vh, 56px); }
  .cs2__open { padding-bottom: clamp(20px, 3.5vh, 40px); }
}
@media (min-width: 1025px) and (max-height: 760px) {
  .cs2__body { font-size: 15px; line-height: 1.55; }
  .cs2__scope { margin-top: 14px; font-size: 11.5px; line-height: 1.6; }
  .cs2__foot { margin-top: 16px; }
}
/* Projects without a logo: the name sits straight on the photograph, no box behind it */
.cv__logo .cs__word,
.cc__ph .cs__word,
.wx__th .cs__word {
  background: transparent !important;
  padding: 0;
  text-shadow: 0 1px 18px rgba(0, 0, 0, .35);
}

/* Core page services as an editorial index: number, name, then the description and what it produces */
.core__svs {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(34px, 3.6vw, 52px);
  max-width: 1180px;
}
.sv {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 0 clamp(24px, 3vw, 48px);
  align-items: baseline;
}
.sv__n {
  font-family: var(--display);
  font-style: italic;
  font-size: 15px;
  color: #8f8f8a;
}
.sv h2 {
  margin: 0;
  font-weight: 300;
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.1;
  letter-spacing: -.01em;
}
.sv__tx { max-width: 34em; }
.sv__d { font-size: 16.5px; line-height: 1.6; color: #d4d4cf; }
.sv__l {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: #9a9a95;
}
.sv:target::before { inset: -20px -28px; }
@media (max-width: 860px) {
  .sv { grid-template-columns: 40px minmax(0, 1fr); }
  .sv__tx { grid-column: 2; margin-top: 10px; }
}

/* Work page: the filter bar pins just under the logo row, so no rows show between the nav and the bar */
@media (min-width: 1025px) {
  .wf { top: 72px !important; }
}

/* Open case on the Work page: begins under the logo row and covers the filter bar */
.wkx { z-index: 900; padding-top: 28px; }

/* Pinned filter bar: a black band fills the space above it up to the top of the screen */
.wf.wf--stuck { box-shadow: 0 -90px 0 0 #000; }
.wf.wf--stuck { box-shadow: none; }
.wf.wf--stuck::before { content: ""; position: absolute; left: -40px; right: -80px; bottom: 100%; height: 110px; background: #000; pointer-events: none; }

/* Open case, full-screen layer (28 Oct): preview copy on the left at the panel's width, the story on the right.
   The nav stays above it. */
.wkx {
  left: 0 !important;
  top: 0 !important;
  right: 0;
  bottom: 0;
  z-index: 890;
  display: grid;
  grid-template-columns: var(--pvw, 40vw) minmax(0, 1fr);
  padding: 0;
  overflow: hidden;
}
.wkx__pv {
  padding: 92px clamp(28px, 3vw, 56px) 24px var(--gut, 40px);
  overflow: hidden;
}
.wkx__pv .wd { display: block !important; }
.wkx__main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 100px var(--gut, 60px) 40px 72px;
  overflow: hidden;
}
.wkx__x { top: 86px; }

/* Large screens only (1600px and wider, e.g. Samsung Smart Monitor): the open case and the case page keep
   the story close to the headline and within a readable width. Laptop sizes are untouched. */
@media (min-width: 1600px) {
  .wkx__main,
  .cs2__open { max-width: 1180px; }
  .wkx .cs2__cols,
  .cs2 .cs2__cols {
    margin-top: clamp(44px, 6vh, 80px);
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 64px;
    align-items: start;
  }
  .wkx .cs2__crop,
  .cs2 .cs2__crop { height: 440px; }
  .wkx .cs2__body,
  .cs2 .cs2__body { font-size: 18px; line-height: 1.65; max-width: 30em; }
  .wkx .cs2__scope,
  .cs2 .cs2__scope { font-size: 13.5px; }
  .wkx .cs2__foot,
  .cs2 .cs2__foot { margin-top: 56px; }
}

/* Large screens, second pass: fill the screen by scale instead of capping the width */
@media (min-width: 1600px) {
  .wkx__main,
  .cs2__open { max-width: none; }
  .wkx .cs2__pull,
  .cs2 .cs2__pull { font-size: clamp(84px, 5.8vw, 124px); }
  .wkx .cs2__cols,
  .cs2 .cs2__cols {
    margin-top: clamp(36px, 5vh, 70px);
    grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
    gap: 5vw;
    align-items: end;
  }
  .wkx .cs2__crop,
  .cs2 .cs2__crop { height: 50vh; }
  .wkx .cs2__body,
  .cs2 .cs2__body { font-size: 19px; max-width: 32em; }
  .wkx .cs2__scope,
  .cs2 .cs2__scope { font-size: 14px; max-width: 36em; }
  .wkx .cs2__foot,
  .cs2 .cs2__foot { margin-top: auto; padding-top: 4vh; font-size: 16px; }
  .wkx__pv .cv__ph,
  .cs2__pv .cv__ph { height: 56vh; }
  .wkx__pv .cv__lead,
  .cs2__pv .cv__lead { font-size: 17px; max-width: 34em; }
}

/* Phones and tablets: a tapped project opens as a full-screen layer that scrolls on its own, preview on top and
   the story below, covering the list and the filter bar. The close button stays fixed at the upper right. */
@media (max-width: 1024px) {
  .wkx {
    display: block;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 84px 0 40px;
  }
  /* the layer itself only fades (moving it would carry the fixed close button with it); its content rises */
  .wkx.is-in { animation-name: wkx-fade; }
  .wkx.is-in > .wkx__pv { animation: wkx-up .9s cubic-bezier(.25, .6, .3, 1) both; }
  .wkx__pv { padding: 0 var(--gut, 16px); overflow: visible; }
  .wkx__main { padding: 28px var(--gut, 16px) 40px; overflow: visible; }
  .wkx__x {
    position: fixed;
    top: 78px;
    right: 16px;
    z-index: 950;
    background: rgba(20, 20, 20, .88);
  }
  html.wkx-open .nav::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 76px;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(to bottom, #000 0%, #000 72%, rgba(0, 0, 0, .6) 88%, rgba(0, 0, 0, 0) 100%);
  }
}
@keyframes wkx-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Phones and tablets: the preview text in an open case lines up with the photo, the headline and the story */
@media (max-width: 1024px) {
  .wkx__pv .cv__tx { padding-left: 0; padding-right: 0; }
}

/* Phones: each service in "What it covers" reads straight down, the number small above its name, all on one left edge */
@media (max-width: 1024px) {
  .sv { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .sv__n { margin-bottom: 6px; font-size: 14px; }
  .sv__tx { grid-column: 1; margin-top: 10px; }
}

/* Phones: "Where it made the difference" cards stay compact, a small kicker and headline set close together */
@media (max-width: 1024px) {
  .core__cases { column-gap: 12px; row-gap: 24px; align-items: start; }
  .cc__ph { aspect-ratio: 4 / 5; height: auto !important; }
  .cc__k { display: none; }
  .cc__h { margin-top: 10px; font-size: 14px; line-height: 1.3; color: #ededea; }
  /* "You leave with" line in white */
  .sv__l { color: #ededea; }
}

/* Phones: each discipline keeps a narrow left column with its number; when it is active (centre of the screen,
   or under the pointer) its photograph fades in over the number in that same spot, so the text never moves */
@media (max-width: 1024px) {
  .dsc__c { grid-template-columns: 56px minmax(0, 1fr); gap: 0 14px; align-items: center; padding: 18px 0; }
  .dsc__n { grid-column: 1; grid-row: 1; align-self: center; padding: 0; font-size: 13px; transition: opacity .5s ease; }
  .dsc__ph { display: block; grid-column: 1; grid-row: 1; width: 56px !important; height: 70px; margin: 0;
    opacity: 0; transform: scale(.94); transition: opacity .6s ease, transform .8s cubic-bezier(.25, .6, .3, 1); }
  .dsc__c.is-on .dsc__ph { opacity: 1; transform: none; }
  .dsc__c.is-on .dsc__n { opacity: 0; }
  .dsc__body { grid-column: 2; grid-row: 1; padding-right: 26px; }
  .dsc__c h3 { margin-bottom: 6px; font-size: 22px; }
  .dsc__c.is-on h3 { transform: none; }
  .dsc__c p { font-size: 14.5px; line-height: 1.4; transition: color .5s ease; }
  .dsc__c.is-on p { color: #d9d9d4; }
  .dsc__go { bottom: 50%; transform: translateY(50%); }
}


@keyframes wkx-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wkx.is-in > .wkx__pv, .wkx.is-in > .wkx__main { animation: none; }
}

/* Phones and tablets: no highlighted "current" row in the project list (that only pairs with the desktop preview panel) */
@media (max-width: 1024px) {
  .wr--feat.is-on .wx__row { background: transparent; }
}

/* Phones and tablets: a project row lifts a touch and brightens when touched or hovered */
@media (max-width: 1024px) {
  .wk .wr--feat .wx__row { transition: transform .45s cubic-bezier(.25, .6, .3, 1), background-color .45s ease; }
  .wk .wr--feat .wx__row:hover,
  .wk .wr--feat .wx__row:active { transform: translateY(-3px); background-color: #0d0d0d; }
  .wk .wr--feat .wx__row:hover .wx__th,
  .wk .wr--feat .wx__row:active .wx__th { filter: brightness(1.08); }
}
@media (max-width: 1024px) {
  /* the active discipline lifts and shades exactly like a row in the project list */
  .dsc__c { transition: transform .45s cubic-bezier(.25, .6, .3, 1), background-color .45s ease; }
  .dsc__c.is-on { transform: translateY(-3px); background-color: #0d0d0d; }
}

/* A case opened in place on the home page or a discipline page closes with one soft fade */
.wkx.is-out { opacity: 0; transition: opacity .35s ease; }

/* Phones: leaving a case from its end, the layer lifts a touch and fades away */
@media (max-width: 1024px) {
  .wkx.is-leaving { opacity: 0 !important; transform: translateY(-24px); transition: opacity .45s ease, transform .5s cubic-bezier(.25, .6, .3, 1); }
}

/* Open case, desktop: the preview text sits on the photo's own edges (no extra inset), so the kicker never
   breaks one word per line in a narrower window */
@media (min-width: 1025px) {
  .wkx__pv .cv__tx { padding-left: 0 !important; padding-right: 0 !important; }
}

/* Open case on desktop: one fixed screen, never scrolling. The photographs give way (shrink) so that every line
   of text fits whatever the window height */
@media (min-width: 1025px) {
  .wkx { overflow: hidden !important; }
  .wkx__pv { display: flex; flex-direction: column; height: 100vh; box-sizing: border-box; }
  .wkx__pv .wd { display: flex !important; flex-direction: column; flex: 1 1 auto; min-height: 0; }
  .wkx__pv .wd > a { display: flex; flex: 1 1 auto; min-height: 0; }
  .wkx__pv .cv__ph { flex: 1 1 auto; height: auto !important; min-height: 140px; }
  .wkx__pv .cv__tx { flex: 0 0 auto; }
  .wkx__main { height: 100vh; box-sizing: border-box; }
  .wkx__main .cs2__cols { flex: 1 1 auto; min-height: 0; }
  .wkx__main .cs2__crop { flex: 1 1 auto; height: auto !important; min-height: 120px; max-height: 100%; }
}

/* Laptops only (1025 to 1599px): opening a case swaps just the right-hand panel. The preview on the left is the page's own
   and stays exactly where it is, so nothing re-renders or jumps. Phones, tablets and large screens keep the full-screen layer, and so does a case opened over the home page
   or a discipline page (.wkx--here), which has no preview of its own underneath. */
@media (min-width: 1025px) {
  .wkx:not(.wkx--here) { left: var(--pvw, 40vw) !important; grid-template-columns: minmax(0, 1fr); }
  .wkx:not(.wkx--here) .wkx__pv { display: none !important; }
}

/* Supporting photographs keep their own proportions (set per page in --ar): shown whole, never cropped into a strip.
   Phones and tablets hide this photograph, so only desktop sizes are affected. */
@media (min-width: 1025px) {
  .wkx .cs2__crop--full, .cs2 .cs2__crop--full {
    aspect-ratio: var(--ar, 4 / 5); height: auto !important; flex: none; min-height: 0; width: 100%; max-height: 100%;
    align-self: end; background-size: contain; background-position: right bottom;
  }
}

/* Work page preview, laptops and larger: the whole lead is shown (no "..."), and "Read the case study" sits in the same
   place for every project, because the panel has one fixed height and the link is pinned to its bottom. */
@media (min-width: 1025px) {
  .wk__panel .wd { --imgh: clamp(180px, calc(100vh - 147px - 40px - 270px), 560px); display: flex; flex-direction: column; height: calc(var(--imgh) + 270px); }
  .wk__panel .cv__ph { height: var(--imgh); flex: none; }
  .wk__panel .wd > a { flex: none; }
  .wk__panel .cv__tx { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; box-sizing: border-box; }
  .wk__panel .cv__lead { display: block; -webkit-line-clamp: unset; overflow: visible; }
  .wk__panel .cv__go { margin-top: auto; padding-top: 14px; }
}

/* Phones and tablets: the same stacked folders, scaled down. The name sits in the tab (the tab is wider and the even
   folders step in by 28%), no hover text; the folder takes its colour while it is pressed, then opens its page. */
@media (max-width: 1024px) {
  .dsc { padding: 92px 0 0; }
  .dsc__t { margin-bottom: 24px; }
  .page--x:has(#disciplines) { padding-bottom: 0; }
  .dsc__grid { --dh: clamp(100px, 14vw, 140px); --tw: 72%; --pad: 18px; display: grid; grid-template-columns: 1fr; column-gap: 0; row-gap: 0; width: 100vw; margin-left: calc(50% - 50vw); }
  .dsc__row { --tx: 0%; position: relative; isolation: isolate; height: var(--dh); }
  .dsc__row:nth-child(even) { --tx: 28%; }
  .dsc__row + .dsc__row { margin-top: calc(var(--dh) * -.38); }
  .dsc__row .dsc__c, .dsc__row .dsc__c.is-on {
    position: absolute; inset: 0 0 -2px 0; z-index: 1; display: block; padding: 0; transform: none;
    background-color: #d9d6d1; color: #0b0b0b;
    clip-path: polygon(0 38%, var(--tx) 38%, var(--tx) 0, calc(var(--tx) + var(--tw)) 0, calc(var(--tx) + var(--tw) + 18px) 38%, 100% 38%, 100% 100%, 0 100%);
    transition: background-color .25s ease, color .25s ease;
  }
  .dsc__row:nth-child(even) .dsc__c, .dsc__row:nth-child(even) .dsc__c.is-on { background-color: #eae7e2; }
  .dsc__row:nth-child(1) { --dtab: #0513B1; --dink: #fff; }
  .dsc__row:nth-child(2) { --dtab: #BFDC1E; --dink: #0b0b0b; }
  .dsc__row:nth-child(3) { --dtab: #15C6C1; --dink: #0b0b0b; }
  .dsc__row:nth-child(4) { --dtab: #C3166E; --dink: #fff; }
  .dsc__row:nth-child(5) { --dtab: #EC612A; --dink: #0b0b0b; }
  .dsc__row:nth-child(6) { --dtab: #4E1C8F; --dink: #fff; }
  .dsc__row:nth-child(7) { --dtab: #E96FAC; --dink: #0b0b0b; }
  .dsc__row:nth-child(8) { --dtab: #F06F08; --dink: #0b0b0b; }
  /* the folder in the middle of the screen (is-on) takes its colour. Only that one is ever lit: a tap never leaves a second folder lit (with a mouse, js/mobile.js makes the hovered folder is-on) */
  .dsc__row:nth-child(n) .dsc__c.is-on, .dsc__row:nth-child(n) .dsc__c:focus-visible { background-color: var(--dtab); color: var(--dink); }
  .dsc__row .dsc__n { position: absolute; left: var(--tx); top: 0; height: 62%; display: flex; align-items: center; padding: 0 0 0 var(--pad); color: inherit; opacity: .6; font-size: 12px; }
  .dsc__row .dsc__body { display: contents; }
  .dsc__row .dsc__c h3 { position: absolute; left: calc(var(--tx) + var(--pad) + 30px); top: 0; width: calc(var(--tw) - var(--pad) - 30px - 40px); height: 62%; display: flex; align-items: center; margin: 0; color: inherit; font-size: clamp(16px, 4.2vw, 26px); line-height: 1.1; transform: none; }
  .dsc__row .dsc__body > p:not(.sr) { display: none; }
  .dsc__row .dsc__go { position: absolute; z-index: 2; right: auto; bottom: auto; top: 0; height: 62%; left: calc(var(--tx) + var(--tw) - 34px); display: flex; align-items: center; font-size: 18px; color: inherit; opacity: 1; transform: none; }
}
@media (max-width: 1024px) {
  .dsc__row .dsc__ph { display: none !important; }
  .dsc__row .dsc__c h3 { font-size: clamp(15px, 4vw, 25px); width: calc(var(--tw) - var(--pad) - 30px - 34px); }
  .dsc__row .dsc__n { padding-left: 14px; }
  .dsc__row .dsc__c h3 { left: calc(var(--tx) + 14px + 28px); }
}
@media (max-width: 1024px) {
  .dsc__row .dsc__c.is-on .dsc__n { opacity: .6; }
}

/* Phones and tablets: the case studies peek out of a folder when it reaches the middle of the screen (or under a mouse),
   rising out of the notch beside its tab, as they do on hover on laptops; up to three per folder */
@media (max-width: 1024px) {
  .dsc__pks { display: block; position: absolute; z-index: 0; bottom: 62%; height: 0; pointer-events: none; right: 14px; width: 26%; }
  .dsc__row:nth-child(even) .dsc__pks { right: auto; left: 14px; }
  .dsc__pk {
    position: absolute; right: calc(var(--k) * 26px); bottom: 0;
    width: clamp(52px, 9vw, 78px); aspect-ratio: 4 / 5; border-radius: 3px; overflow: hidden;
    background: #111 center / cover no-repeat; box-shadow: 0 8px 22px rgba(0, 0, 0, .45);
    transform: translateY(105%); opacity: 0;
    transition: transform .6s cubic-bezier(.2, .8, .2, 1) calc(var(--k) * 60ms), opacity .3s ease calc(var(--k) * 60ms);
  }
  .dsc__row:nth-child(even) .dsc__pk { right: auto; left: calc(var(--k) * 26px); }
  .dsc__pk:nth-child(n+4) { display: none; }
  .dsc__pkn { display: none; }
  .dsc__row:has(.dsc__c.is-on) .dsc__pk { opacity: 1; transform: translateY(28%) rotate(var(--r)); }
  .dsc__row:has(.dsc__c.is-on) .dsc__pks { pointer-events: auto; }
}
@media (min-width: 761px) and (max-width: 1024px) {
  .dsc__pk { right: calc(var(--k) * 40px); }
  .dsc__row:nth-child(even) .dsc__pk { left: calc(var(--k) * 40px); }
}

/* "What it covers" as one simple list (7 Nov): a thin rule between rows, the number and name only, and a plus
   that turns into a minus; opening a row reveals the description and what it produces underneath the name */
.core__svs { gap: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.sv.sv--acc {
  grid-template-columns: 56px minmax(0, 1fr) 28px;
  gap: 0 clamp(16px, 2vw, 32px);
  align-items: baseline;
  padding: clamp(18px, 1.8vw, 24px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  cursor: pointer;
}
.sv--acc h2 { grid-column: 2; font-size: clamp(21px, 1.9vw, 28px); }
.sv__b {
  appearance: none; border: 0; background: none; padding: 0; margin: 0;
  font: inherit; color: inherit; letter-spacing: inherit; text-align: left; cursor: pointer;
}
.sv__b:focus-visible { outline: 1px solid rgba(255, 255, 255, .5); outline-offset: 6px; }
.sv--acc::after {
  content: "+";
  grid-column: 3; grid-row: 1;
  justify-self: end;
  font-family: var(--display);
  font-weight: 300;
  font-size: 26px;
  line-height: 1;
  color: #8f8f8a;
  transition: transform .4s cubic-bezier(.2, .7, .2, 1), color .3s ease;
}
.sv--acc.is-open::after { content: "\2212"; color: #ededea; }
.sv--acc:hover::after { color: #ededea; }
.sv--acc .sv__tx {
  grid-column: 2; grid-row: 2;
  max-width: 40em;
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  margin-top: 0;
  transition: grid-template-rows .45s cubic-bezier(.2, .7, .2, 1), opacity .35s ease, margin-top .45s cubic-bezier(.2, .7, .2, 1);
}
.sv__in { overflow: hidden; min-height: 0; }
.sv--acc.is-open .sv__tx { grid-template-rows: 1fr; opacity: 1; margin-top: 14px; }
.sv--acc .sv__d { margin: 0; }
@media (max-width: 1024px) {
  .sv.sv--acc { grid-template-columns: 40px minmax(0, 1fr) 22px; gap: 0 12px; }
  .sv--acc .sv__n { margin-bottom: 0; }
  .sv--acc .sv__tx { grid-column: 2; margin-top: 0; }
  .sv--acc::after { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .sv--acc .sv__tx, .sv--acc::after { transition: none; }
}

/* "What it covers", second pass (7 Nov): no lines (site rule), so each service is a quiet dark tile, two columns on
   laptops so the whole list fits on one screen; the open tile grows in place and its neighbours stay put */
.core__svs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; border-top: 0; align-items: start; }
.sv.sv--acc {
  grid-template-columns: 44px minmax(0, 1fr) 20px;
  gap: 0 16px;
  padding: 20px 22px 21px;
  border: 0;
  background: #0E0E0E;
  transition: background .3s ease;
}
.sv.sv--acc:hover { background: #151515; }
.sv.sv--acc.is-open { background: #171717; }
.sv--acc h2 { font-size: clamp(18px, 1.45vw, 22px); line-height: 1.2; }
.sv--acc .sv__n { font-size: 13px; }
.sv--acc::after { font-size: 22px; }
.sv--acc.is-open .sv__tx { margin-top: 12px; }
.sv--acc .sv__d { font-size: 15px; line-height: 1.55; }
.sv--acc .sv__l { font-size: 14px; }
@media (max-width: 1024px) {
  .core__svs { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .sv.sv--acc { padding: 16px 16px 17px; grid-template-columns: 36px minmax(0, 1fr) 18px; gap: 0 10px; }
  .sv--acc h2 { font-size: 18px; }
}
.sv__col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
@media (max-width: 1024px) { .sv__col { gap: 6px; } }

/* Large screens (8 Nov): the supporting photograph at a modest size beside the story, both starting just under the
   headline, so the photo no longer fills half the screen and the text no longer sinks to the bottom */
@media (min-width: 1600px) {
  .wkx .cs2__cols,
  .cs2 .cs2__cols {
    grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
    align-items: start;
    margin-top: clamp(40px, 6vh, 90px);
  }
  .wkx .cs2__crop--full, .cs2 .cs2__crop--full {
    max-height: 46vh;
    align-self: start;
    background-position: right top;
  }
}

/* "What it covers" (8 Nov): an open tile sizes to its own text once it has opened (js/sv-toggle.js adds .is-full),
   and Safari draws no highlight box around a clicked tile */
.sv--acc.is-open.is-full .sv__tx { grid-template-rows: auto; }
/* (8 Nov, iPhone) Safari could keep animating the row and clip the last lines: once open, the text is a plain block */
.sv--acc.is-open.is-full .sv__tx { display: block; transition: none; }
.sv--acc.is-open.is-full .sv__in { overflow: visible; }
/* a name that runs to two lines starts level with its number instead of rising above the tile */
.sv.sv--acc { align-items: start; }
.sv--acc .sv__n { padding-top: .32em; }
.sv--acc::after { align-self: start; }
.sv--acc, .sv__b { -webkit-tap-highlight-color: transparent; }
.sv__b:focus:not(:focus-visible) { outline: none; }

/* Discipline pages on big screens: the list uses the full width and the type grows with the screen */
@media (min-width: 1600px) {
  .core__svs { max-width: none; gap: 10px; }
  .sv__col { gap: 10px; }
  .sv.sv--acc { padding: 26px 30px 27px; grid-template-columns: 56px minmax(0, 1fr) 24px; gap: 0 20px; }
  .sv--acc h2 { font-size: clamp(22px, 1.3vw, 30px); }
  .sv--acc .sv__n { font-size: 15px; }
  .sv--acc .sv__d { font-size: clamp(16px, 1vw, 21px); }
  .sv--acc .sv__l { font-size: clamp(15px, .92vw, 19px); }
  .sv--acc .sv__tx { max-width: 46em; }
  .core h1 { font-size: clamp(84px, 4.8vw, 132px); }
  .core__in { font-size: clamp(24px, 1.35vw, 32px); }
  .core__lab, .core__back { font-size: clamp(15px, .85vw, 19px); }
}

/* Work page on big screens (1600px and up): the case preview on the left grows with the screen, so the category line, title,
   lead and "Read the case study" stay easy to read, and the panel is a little taller to hold the bigger text. */
@media (min-width: 1600px) {
  .wk__panel .wd { --wtx: clamp(270px, 17vw, 560px); --imgh: clamp(180px, calc(100vh - 187px - var(--wtx)), 27vw); height: calc(var(--imgh) + var(--wtx)); }
  .wk__panel .cv__k { font-size: clamp(16px, .95vw, 28px); margin-bottom: .3em; }
  .wk__panel .cv__h { font-size: clamp(24px, 1.4vw, 42px); margin-bottom: .55em; }
  .wk__panel .cv__lead { font-size: clamp(17px, 1.05vw, 32px); max-width: 32em; margin-bottom: .6em; }
  .wk__panel .cv__go { font-size: clamp(15px, .95vw, 28px); }
}

/* Work by discipline on big screens (1600px and up): a scaled-up version of the laptop folders. The rows get taller, the
   title and description grow with the screen, the one-line description sits directly under the title (left-aligned with
   it) instead of out in the strip, and the photos come out right beside the folder tab, on the same side as the tab. */
@media (min-width: 1600px) {
  .dsc { padding-top: clamp(100px, 6vw, 150px); }
  .dsc__t { font-size: clamp(64px, 3.9vw, 120px); margin-bottom: clamp(28px, 2.2vw, 64px); }
  .dsc__grid { --dh: clamp(132px, min(7vw, calc((100svh - 100px - clamp(40px, 4.2vw, 64px) - 28px) / 5.34)), 280px); }
  .dsc__row .dsc__c h3 { position: static; width: auto; height: auto; font-size: clamp(28px, 1.9vw, 60px); line-height: 1.1; }
  .dsc__row .dsc__n { font-size: clamp(15px, .9vw, 26px); }
  .dsc__row .dsc__go { font-size: clamp(22px, 1.4vw, 42px); }
  /* title and description share one block in the tab, centred in the part of the tab that stays uncovered */
  .dsc__row .dsc__body { position: absolute; display: flex; flex-direction: column; justify-content: center; gap: .35em; top: 0; height: 62%; left: calc(var(--tx) + var(--pad) + 44px); width: calc(var(--tw) - var(--pad) - 44px - 70px); }
  .dsc__row .dsc__body > p:not(.sr),
  .dsc__row:nth-child(odd) .dsc__body > p:not(.sr),
  .dsc__row:nth-child(even) .dsc__body > p:not(.sr) { position: static; left: auto; right: auto; width: auto; height: auto; display: block; font-size: clamp(17px, 1.3vw, 40px); line-height: 1.25; }
  /* photos: bigger, and tucked against the slanted edge of the tab (right of it on odd folders, left of it on even ones) */
  .dsc__pks { left: calc(var(--tw) + 30px + 30px); right: auto; width: 40%; }
  .dsc__row:nth-child(even) .dsc__pks { left: auto; right: calc(100% - var(--tx) + 30px); width: 34%; }
  .dsc__pk { right: auto; left: calc(var(--k) * clamp(54px, 5.4vw, 160px)); width: clamp(128px, 8.6vw, 260px); }
  .dsc__row:nth-child(even) .dsc__pk { left: auto; right: calc(var(--k) * clamp(54px, 5.4vw, 160px)); }
  .dsc__pkn { font-size: clamp(12px, .75vw, 20px); }
}

/* ===== 8 Nov: an open case looks the same from every page (Work, home, discipline pages), desktop only ===== */
@media (min-width: 1025px) {
  /* the home / discipline layer gets the Work page's column: same width, photo, caption and text positions */
  .wkx--here { --pvw: 40vw !important; }
  .wkx--here .wkx__pv { display: block; height: 100vh; padding: var(--wkt, 84px) 0 24px 0; overflow: hidden; }
  .wkx--here .wkx__pv .wd { --imgh: clamp(180px, calc(100vh - 147px - 40px - 270px), 560px); display: flex !important; flex-direction: column; flex: none; height: calc(var(--imgh) + 270px); min-height: 0; }
  .wkx--here .wkx__pv .wd > a { display: block; flex: none; }
  .wkx--here .wkx__pv .cv__ph { height: var(--imgh) !important; flex: none; min-height: 0; }
  .wkx--here .wkx__pv .cv__tx { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; box-sizing: border-box; padding: 22px var(--gut, 60px) 0 !important; }
  .wkx--here .wkx__pv .cv__h { margin-bottom: 12px; }
  .wkx--here .wkx__pv .cv__lead { display: block; -webkit-line-clamp: unset; overflow: visible; margin-bottom: 14px; font-size: clamp(15px, 1.1vw, 17px); line-height: 1.42; max-width: 30em; }
  /* the headline starts on the same top line as the preview photo, just under the nav, on every page */
  .wkx__main { padding-top: calc(var(--wkt, 84px) - 6px); }
  .wkx__x { top: calc(var(--wkt, 84px) - 60px); }
  /* Stay Dear: the first screen no longer holds a tall empty gap; the showcase follows directly and lands on the top line */
  .wkx__main .sd__first { height: auto !important; }
  .wkx__main .sd__more { margin: 20px auto 0 !important; }
  .wkx__main .sd { margin-top: 28px !important; scroll-margin-top: var(--wkt, 84px) !important; }
}
@media (min-width: 1600px) {
  .wkx--here .wkx__pv .wd { --wtx: clamp(270px, 17vw, 560px); --imgh: clamp(180px, calc(100vh - 187px - var(--wtx)), 27vw); height: calc(var(--imgh) + var(--wtx)); }
  .wkx--here .wkx__pv .cv__k { font-size: clamp(16px, .95vw, 28px); margin-bottom: .3em; }
  .wkx--here .wkx__pv .cv__h { font-size: clamp(24px, 1.4vw, 42px); margin-bottom: .55em; }
  .wkx--here .wkx__pv .cv__lead { font-size: clamp(17px, 1.05vw, 32px); max-width: 32em; margin-bottom: .6em; }
  /* supporting photograph: smaller, top-aligned with the body text, inside the right margin */
  .wkx .cs2__crop--full, .cs2 .cs2__crop--full { max-height: 33vh; height: 33vh !important; width: auto; justify-self: end; align-self: start; }
  /* Work by discipline: the arrow keeps clear of the slanted edge of the tab */
  .dsc__row .dsc__go { left: calc(var(--tx) + var(--tw) - clamp(80px, 5.2vw, 150px)); }
  .dsc__row .dsc__body { width: calc(var(--tw) - var(--pad) - 44px - clamp(110px, 7vw, 190px)); }
}
@media (max-width: 1024px) { .wkx--here .cs2__foot { display: none; } }

/* Location pages (brand-strategy-consultant-*): the case cards sit mid-page, so the next section keeps the usual gap */
.loc .core__cases { margin-bottom: clamp(70px, 8vw, 110px); }

/* Location pages, laid out like an opened case study: the photo stays on the left, the story scrolls on the right,
   and each section is folded so it reads calmly (the text stays in the page for search engines) */
.loc2.cs2 { height: auto; min-height: 100vh; overflow: visible; align-items: start; }
/* desktop: the photo panel stays while the story scrolls past it */
@media (min-width: 1025px) { .loc2 .cs2__pv { position: sticky; top: 84px; } }
.loc2 .cs2__open { display: block; padding-bottom: clamp(60px, 8vh, 110px); }
.loc2 .cs2__pull { max-width: 9em; }
.loc2__intro { margin-top: clamp(28px, 5vh, 56px); max-width: 32em; }
.loc2__acc { margin-top: clamp(28px, 4vh, 48px); max-width: 44em; border-top: 1px solid rgba(255, 255, 255, .14); }
.loc2__f { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.loc2__f summary {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  padding: clamp(16px, 2vh, 22px) 0; cursor: pointer; list-style: none;
  font-family: var(--display); font-weight: 300; font-size: clamp(22px, 1.9vw, 30px); line-height: 1.2; color: var(--ink, #ededea);
}
.loc2__f summary::-webkit-details-marker { display: none; }
.loc2__f summary::after { content: "+"; flex: none; font-size: 1.15em; font-weight: 300; line-height: 1; color: #c9c9c4; transition: transform .35s ease; }
.loc2__f[open] summary::after { transform: rotate(45deg); }
.loc2__f--q summary { font-size: clamp(19px, 1.45vw, 23px); }
.loc2__in { padding: 0 0 clamp(20px, 3vh, 32px); }
.loc2__in p { margin: 0; max-width: 34em; font-family: var(--display); font-size: 17px; line-height: 1.62; color: #c9c9c4; }
.loc2__row { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; padding: 12px 0; }
.loc2__row h3 { grid-column: 2; margin: 0 0 6px; font-family: var(--display); font-weight: 400; font-size: 19px; color: var(--ink, #ededea); }
.loc2__row p { grid-column: 2; }
.loc2__n { grid-row: 1; padding-top: 4px; font-family: var(--display); font-style: italic; font-size: 14px; color: #8d8d88; }
.loc2__cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding-top: 6px; }
.loc2__lab { margin: clamp(44px, 7vh, 80px) 0 0; font-family: var(--display); font-style: italic; font-size: 15px; color: #8d8d88; }
.loc2__lab + .cs2__body { margin-top: 12px; }
.loc2 .cs2__body a { color: var(--ink, #ededea); }
@media (max-width: 1024px) {
  .loc2__cases { grid-template-columns: 1fr; }
}

/* Work by discipline, every size: the folders are near-black greys, alternating a step lighter and darker so each folder
   reads against the one behind it. A folder still takes its own colour while it is hovered, focused or lit (is-on). */
.dsc__row:not(:hover):not(:focus-within) .dsc__c:not(.is-on):not(:focus-visible) { background-color: #1c1c1c; color: #ece9e4; }
.dsc__row:nth-child(even):not(:hover):not(:focus-within) .dsc__c:not(.is-on):not(:focus-visible) { background-color: #2c2c2c; }

/* Sector links at the foot of each case study, written by tools/build-locations.py */
.cs2__foot { flex-wrap: wrap; column-gap: 32px; row-gap: 10px; }
.cs2__sec { margin-left: auto; text-align: right; color: #8d8d88; }
.cs2__seclab { font-style: italic; margin-right: .4em; }
.cs2__sec a { transition: opacity .3s ease; }
.cs2__sec a:hover, .cs2__more:hover { opacity: .6; }
.cs2__sl { margin: 0 .3em; opacity: .6; }
.cs2__sec + .cs2__more { flex-basis: 100%; text-align: right; }
@media (max-width: 760px) {
  .cs2__sec { margin-left: 0; flex-basis: 100%; text-align: left; line-height: 1.6; }
  .cs2__sec + .cs2__more { text-align: left; }
}
