/* ---------------------------------------------------------------
   Homepage (public/index.html)
   Layout, sizes and motion follow cemberstudio.com: a 1440px design canvas (scaled with
   --u below 1440), full-screen video with a curtain, a pinned intro with floating photos,
   a hover-swapped services list, a footer revealed beneath the page.
   Colours and fonts are Belle Amie's (docs/style-guide.md). Self-contained: no Tailwind.
   --------------------------------------------------------------- */
@font-face {
  font-family: "Black Mango";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/black-mango-regular.woff2") format("woff2");
}
/* Trial: Ashford Bold and Bold Italic (Emil Bertell), first in --display. To drop it, take "Ashford" out of --display. */
@font-face {
  font-family: "Ashford";
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/ashford-bold.otf") format("opentype");
}
@font-face {
  font-family: "Ashford";
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  src: url("/fonts/ashford-bold-italic.otf") format("opentype");
}
/* Trial: the Black weight of the same family (Kadek Mahardika), set on all headlines through --display. To go back to
   the regular weight, take "Black Mango Black" out of --display. One file, used at every requested weight so the
   browser never fakes a bolder version. */
@font-face {
  font-family: "Black Mango Black";
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/black-mango-black.ttf") format("truetype");
}
/* Body font: Cormorant Garamond. It sets small, so size-adjust enlarges its glyphs a little to read like the other sizes. */
@font-face {
  font-family: "Cormorant Garamond";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  size-adjust: 112%;
  src: url("/fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  size-adjust: 112%;
  src: url("/fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  size-adjust: 112%;
  src: url("/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
}

:root {
  --paper: #f5f5e9;
  --ink: #3a111a;
  --muted: #6e5154;
  --blush: #dbafaa;
  --red: #9a0c0c;
  --plum-300: #e2a0c6;
  --plum-700: #7a185c;
  --plum-900: #40012e;

  --velvet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='1600'%3E%3Cfilter id='m' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.0035 .005' numOctaves='5' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .66  0 0 0 0 .54  0 0 0 0 .40  1.25 0 0 0 -.42'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E");

  --display: "Ashford", "Black Mango Black", "Black Mango", "Times New Roman", serif;
  --text: "Cormorant Garamond", "Times New Roman", serif;

  /* One design unit: 1px on the 1440 canvas, scaled down on narrower screens */
  --u: calc(min(100vw, 1440px) / 1440);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --curtain: cubic-bezier(0.76, 0, 0.24, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  font-family: var(--text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
}
body,
main {
  background-color: #e8dac0;
  background-image: var(--velvet);
  background-size: 1600px 1600px;
}
h1,
h2,
h3,
p,
figure,
blockquote,
ul,
ol {
  margin: 0;
  padding: 0;
}
ul,
ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
img,
video {
  display: block;
  max-width: 100%;
}
em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
}
::selection {
  background: var(--plum-700);
  color: var(--paper);
}
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 300;
  padding: 8px 16px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-200%);
}
.skip:focus {
  transform: none;
}

/* Logo and wordmark: single-colour masks, so one file takes any colour */
.mask-logo,
.mask-wordmark {
  display: block;
  width: 100%;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.mask-logo {
  aspect-ratio: 1036 / 261;
  -webkit-mask-image: url("/logo.svg");
  mask-image: url("/logo.svg");
}
.mask-wordmark {
  aspect-ratio: 1036 / 180;
  -webkit-mask-image: url("/logo-belle-amie.svg");
  mask-image: url("/logo-belle-amie.svg");
}

/* Scroll reveal (same idea as the main site: a soft rise and fade) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s var(--ease);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------------------------------------------------------------
   Buttons
   --------------------------------------------------------------- */
/* Minimal text button: small tracked caps over a hairline that fills in plum on hover */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
  padding: 0 0 9px;
  font-family: var(--text);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.35s ease, gap 0.45s var(--ease);
}
.btn::before,
.btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
}
.btn::after {
  background: rgb(58 17 26 / 0.28);
}
.btn::before {
  z-index: 1;
  background: var(--plum-700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.btn:hover,
.btn:focus-visible {
  color: var(--plum-700);
  gap: 1.25em;
}
.btn:hover::before,
.btn:focus-visible::before {
  transform: scaleX(1);
}

/* ---------------------------------------------------------------
   Header
   --------------------------------------------------------------- */
.hdr {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 72px;
  color: var(--paper);
  transition: color 0.5s ease;
  pointer-events: none;
}
.hdr[data-tone="light"] {
  color: var(--ink);
}
.hdr > * {
  pointer-events: auto;
}
.hdr__menu {
  position: absolute;
  right: 20px;
  top: 22px;
  width: 44px;
  height: 28px;
  display: grid;
  align-content: center;
}
.hdr__bars {
  display: grid;
  gap: 5px;
  width: 42px;
}
/* Same geometry as cemberstudio.com: two 36px buns (rounded outer edge) around a 42px patty, 5px each, 5px apart */
.hdr__bars i {
  display: block;
  height: 5px;
  width: 36px;
  justify-self: center;
  background: currentColor;
}
.hdr__bars i:nth-child(1) {
  border-radius: 5px 5px 0 0;
}
.hdr__bars i:nth-child(2) {
  width: 42px;
}
.hdr__bars i:nth-child(3) {
  border-radius: 0 0 5px 5px;
}
/* Hover: colour change only */
.hdr__menu {
  transition: color 0.5s ease;
}
.hdr[data-tone="dark"] .hdr__menu:hover {
  color: var(--plum-300);
}
.hdr[data-tone="light"] .hdr__menu:hover {
  color: var(--plum-700);
}
.hdr__inquire {
  position: absolute;
  left: 20px;
  top: 24px;
  font-size: 18px;
  line-height: 22px;
  border-bottom: 1px solid currentColor;
  transition: opacity 0.3s ease;
}
.hdr__inquire {
  transition: color 0.35s ease, opacity 0.3s ease, visibility 0s;
}
/* Phones: Inquire shows only at the very top of the page */
@media (max-width: 767px) {
  .hdr.is-scrolled .hdr__inquire {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: color 0.35s ease, opacity 0.3s ease, visibility 0s linear 0.3s;
  }
}
.hdr[data-tone="light"] .hdr__inquire:hover {
  color: var(--plum-700);
}
.hdr[data-tone="dark"] .hdr__inquire:hover {
  color: var(--plum-300);
}

/* ---------------------------------------------------------------
   Menu overlay
   --------------------------------------------------------------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow: hidden;
  background: var(--plum-900);
  color: var(--paper);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}
.menu.is-open {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
.menu[hidden] {
  display: none;
}
.menu__close {
  position: absolute;
  right: 20px;
  top: 24px;
  z-index: 2;
  font-size: 18px;
  line-height: 22px;
  border-bottom: 1px solid currentColor;
}
.menu__logo {
  display: none; /* phones: no logo in the menu */
  position: absolute;
  left: 20px;
  top: 20px;
  z-index: 2;
  width: 150px;
  color: var(--plum-300);
}
.menu__top {
  position: absolute;
  right: 20px;
  top: 24px;
  z-index: 2;
  display: none; /* phones: Inquire and Work are already in the menu list */
  gap: 4px;
  text-align: right;
  font-size: 13px;
  line-height: 16px;
}
.menu__close,
.menu__top a {
  transition: color 0.35s ease, opacity 0.5s ease, transform 0.6s var(--ease);
}
.menu__close:hover,
.menu__top a:hover {
  color: var(--plum-300);
}
.menu__nav {
  position: absolute;
  left: 24px;
  top: 112px;
  z-index: 2;
}
.menu__nav ul {
  display: grid;
  gap: 12px;
}
.menu__nav a {
  display: inline-block;
  font-size: 30px;
  line-height: 36px;
  font-weight: 500;
  transition: color 0.5s ease, transform 0.5s var(--ease);
}
.menu__nav a:hover {
  color: var(--plum-300);
  transform: translateX(8px);
}
.menu__statement {
  display: none; /* phones: the list and photos are enough */
  position: absolute;
  left: 24px;
  right: 24px;
  top: 52%;
  z-index: 2;
  font-family: var(--display);
  font-size: 26px;
  line-height: 29px;
  color: var(--plum-300);
}
.menu__mark {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  pointer-events: none;
}
/* Same treatment as the footer: cream wordmark at 16% */
.menu__mark .mask-wordmark {
  color: var(--paper);
  opacity: 0.16;
}
.menu__strip {
  position: absolute;
  inset: 300px 0 105px 0; /* reaches up behind the last links (the list ends at 388px, links stay in front); the wordmark sits below */
  overflow: hidden;
  opacity: 0.45;
  pointer-events: none;
}
.menu__strip ul {
  display: flex;
  gap: 30px;
  width: max-content;
  height: 100%;
  animation: drift 60s linear infinite;
}
.menu__strip li {
  flex: none;
  width: auto;
  aspect-ratio: 9 / 14; /* always portrait, whatever the phone height */
  height: 100%;
}
.menu__strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Items rise in one after another when the menu opens */
.menu__nav li,
.menu__statement,
.menu__top a {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.6s var(--ease);
}
.menu.is-open .menu__nav li,
.menu.is-open .menu__statement,
.menu.is-open .menu__top a {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i, 0) * 60ms + 200ms);
}
@keyframes drift {
  to {
    transform: translateX(-50%);
  }
}

/* ---------------------------------------------------------------
   Cursor dot (fine pointers only)
   --------------------------------------------------------------- */
.cursor {
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 200;
    width: 14px;
    height: 14px;
    margin: -7px 0 0 -7px;
    border: 2px solid var(--plum-300);
    border-radius: 50%;
    background: var(--plum-700);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, width 0.3s var(--ease), height 0.3s var(--ease), margin 0.3s var(--ease);
  }
  .cursor.is-on {
    opacity: 1;
  }
  /* Only once the script has switched the dot on: the system cursor is hidden everywhere, links and buttons included */
  .has-cursor,
  .has-cursor * {
    cursor: none !important;
  }
  .cursor.is-big {
    width: 44px;
    height: 44px;
    margin: -22px 0 0 -22px;
    background: transparent;
  }
}

/* ---------------------------------------------------------------
   Hero
   --------------------------------------------------------------- */
.hero {
  position: sticky;
  top: 0;
  z-index: 0;
  /* Stops short of the screen bottom so a strip of the plum section (and its tab) shows at the top of the page */
  height: calc(100svh - 28px);
  min-height: 492px;
  overflow: hidden;
  background: var(--plum-900);
  color: var(--paper);
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__tint {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgb(40 36 38 / 0.55), rgb(40 36 38 / 0.15) 40%, rgb(40 36 38 / 0.3)),
    rgb(40 36 38 / 0.2);
}
.hero__curtain {
  display: none;
}
.js .hero__curtain {
  display: block;
}
.hero__curtain span {
  position: absolute;
  left: 0;
  right: 0;
  height: 50.2%;
  background: var(--plum-900);
  transition: transform 1.5s var(--curtain) 0.25s;
}
.hero__curtain span:first-child {
  top: 0;
}
.hero__curtain span:last-child {
  bottom: 0;
}
.is-loaded .hero__curtain span:first-child {
  transform: translateY(-101%);
}
.is-loaded .hero__curtain span:last-child {
  transform: translateY(101%);
}
.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16svh 16px 0;
  will-change: opacity;
}
.js .hero__mark,
.js .hero__cap {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1.1s ease 0.2s, transform 1.1s var(--ease) 0.2s;
}
.js .hero__cap {
  transition-delay: 0.5s;
}
.is-loaded .hero__mark,
.is-loaded .hero__cap {
  opacity: 1;
  transform: none;
}
.hero__mark {
  width: 100%;
  max-width: 1145px;
  color: var(--paper);
}
.hero__cap {
  width: 100%;
  max-width: 283px;
  margin-top: 36px;
  text-align: center;
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  text-shadow: 0 1px 16px rgb(40 36 38 / 0.5); /* keeps the line readable over bright footage */
}
/* Body font throughout; only "themselves." is set in italic */
.hero__cap em {
  color: var(--paper);
  font-family: var(--text);
  font-style: italic;
  font-weight: 500;
}

/* ---------------------------------------------------------------
   Intro (plum): slides over the hero; stacked on phones and with reduced motion
   --------------------------------------------------------------- */
.intro {
  position: relative;
  z-index: 2;
  background: var(--plum-900);
  color: var(--blush);
}
.intro::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  width: 44vw;
  height: 22px;
  margin-bottom: -1px;
  /* Tab with a sloped S-curve on its left, like the reference's bottom piece */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 49' preserveAspectRatio='none'%3E%3Cpath fill='%2340012e' d='M0 49C42 49 58 0 104 0H300V49Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  pointer-events: none;
}
.intro__stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 72px 24px 36px;
}
.intro__text {
  grid-column: 1 / -1;
  margin-bottom: 14px;
}
.intro__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 44px;
  line-height: 48px;
  color: var(--blush);
}
.intro__title em {
  color: var(--blush);
}
.float img {
  width: 100%;
  height: auto;
}
.intro__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 0 24px 72px;
}
/* The first photo is a quick slideshow: the images sit on top of each other and only the current one shows */
.float--show {
  position: relative;
  aspect-ratio: 424 / 624;
  overflow: hidden;
}
.float--show img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}
.float--show img.is-on {
  opacity: 1;
}
.intro__note {
  grid-column: 1 / -1;
  font-size: 16px;
  line-height: 25px;
  color: var(--blush);
}

/* ---------------------------------------------------------------
   Canvas sections
   --------------------------------------------------------------- */
/* One velvet surface per group of cream sections, so no seam shows between them */
.cream {
  position: relative;
  z-index: 2;
  background-color: #e8dac0;
  background-image: var(--velvet);
  background-size: 1600px 1600px;
}
.sec {
  position: relative;
  z-index: 2;
  padding: 72px 24px;
}
.sec .cv {
  display: grid;
  gap: 24px;
}

.services__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 44px;
  line-height: 50px;
  color: var(--plum-900);
}
/* First line of the services headline in the brand plum, the rest in plum 900 */
.services__title-lead {
  color: var(--plum-700);
}
.services__stage {
  position: relative;
  aspect-ratio: 470 / 622;
  overflow: hidden;
}
.services__stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.services__stage img.is-active {
  opacity: 1;
}
.services__list ol {
  display: grid;
  gap: 30px;
}
.svc__name {
  font-family: var(--display);
  font-weight: 400;
  font-size: 26px;
  line-height: 29px;
  color: var(--plum-900);
}
.svc__desc {
  margin-top: 8px;
  font-size: 16px;
  line-height: 22px;
}

.clients__label {
  text-align: center;
  font-family: var(--display);
  font-weight: 400;
  font-size: 34px;
  line-height: 38px;
  color: var(--paper);
}
.clients__label em {
  color: var(--plum-300);
}
.clients__marquee {
  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);
}
.clients__track {
  display: flex;
  align-items: center;
  width: max-content;
  height: 100%;
  animation: drift 60s linear infinite;
}
.clients__track li {
  flex: none;
  padding-inline: 32px;
}
.client-logo {
  display: block;
  width: calc(var(--w) * 0.6px);
  height: calc(var(--h) * 0.6px);
  background-color: var(--paper);
  opacity: 0.85;
  -webkit-mask: var(--logo) center / contain no-repeat;
  mask: var(--logo) center / contain no-repeat;
}
.clients.sec {
  padding-inline: 0;
  padding-bottom: 0; /* the studio section below is the same plum and brings its own top padding, so the gap under the logos matches the one above */
}

.team.sec {
  background: var(--plum-900);
  color: var(--paper);
}
.clients.sec {
  background: var(--plum-900);
  color: var(--paper);
}
.team__line {
  display: block;
  height: 1px;
  background: rgb(245 245 233 / 0.28);
}
.team__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 46px;
  color: var(--blush);
  margin: 28px 0 24px;
}
.team__label {
  display: block;
  font-size: 13px;
  line-height: 17px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.team__photo {
  width: 62%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
}
.team__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
/* Phones: Polina comes after the intro text, so Lucia and the note stay together */
.team__photo--2,
.team__person--2 {
  order: 1;
}
.team__photo--2 {
  width: 46%; /* Polina and Elizabeth are smaller than Lucia */
  margin-top: 24px;
}
.team__photo--4x5 {
  aspect-ratio: 4 / 5; /* Polina and Elizabeth share one frame shape */
}
.team__photo--trim-top img {
  object-position: center bottom; /* Polina's photo is taller (2:3), so the extra is cut from the top */
}
.team__name {
  font-family: var(--display);
  font-size: 25px;
  line-height: 28px;
}
.team__role {
  color: var(--blush);
  font-style: italic;
  font-size: 20px;
  line-height: 26px;
}
.team__text {
  font-style: italic;
  font-size: 20px;
  line-height: 26px;
  max-width: 360px;
  color: var(--blush);
  text-wrap: balance; /* no single word left alone on the last line */
}

.work .cv {
  gap: 36px;
}
.card {
  display: block;
}
.card__img {
  position: relative;
  display: block;
  aspect-ratio: 315 / 409;
  overflow: hidden;
  background: var(--blush);
}
/* A soft shade at the bottom keeps the name readable; on hover the whole photo dims a little */
.card__img::before,
.card__img::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.card__img::before {
  z-index: 1;
  background: rgb(40 36 38 / 0.38);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.card__img::after {
  z-index: 1;
  background: linear-gradient(to top, rgb(40 36 38 / 0.62), rgb(40 36 38 / 0) 42%);
}
.card__name,
.card__more {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  color: var(--paper);
}
.card__name {
  bottom: 20px;
  font-family: var(--display);
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0.012em;
}
.card__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease;
}
.card__b {
  opacity: 0;
}
.card__more {
  top: 20px;
  font-size: 13px;
  line-height: 17px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.card__big {
  display: none;
}
@media (hover: hover) {
  .card__more,
  .card__name {
    transition: opacity 0.5s ease;
  }
  .card__more {
    opacity: 0;
  }
  .card:hover .card__name,
  .card:focus-visible .card__name {
    opacity: 0;
  }
  .card:hover .card__img::before,
  .card:focus-visible .card__img::before {
    opacity: 1;
  }
  .card:hover .card__a,
  .card:focus-visible .card__a {
    opacity: 0;
  }
  .card:hover .card__b,
  .card:focus-visible .card__b {
    opacity: 1;
  }
  .card:hover .card__more,
  .card:focus-visible .card__more {
    opacity: 1;
  }
}
.work__more {
  justify-self: center;
  margin-top: 12px;
}

/* Philosophy: a headline, a short lead, a photo collage and a paragraph. On phones they stack; the two photos stay
   overlapped inside .phil__media. */
.phil__br {
  display: none;
}
/* Work above is on the same sand surface and already pads its bottom, so don't pad the top twice on phones */
.phil.sec {
  padding-top: 0;
}
.phil__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 46px;
  line-height: 1;
  color: var(--plum-900);
}
.phil__title em {
  font-family: inherit;
  font-style: normal;
  color: var(--plum-300);
}
.phil__lead {
  font-size: 18px; /* same size as the paragraph below the photos */
  line-height: 1.35;
  font-weight: 500;
}
.phil__lead em {
  font-family: var(--text);
  font-style: italic;
}
.phil__media {
  position: relative;
  padding-bottom: 14%;
}
.phil__img {
  overflow: hidden;
  background: var(--blush);
}
.phil__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.phil__img--big {
  width: 78%;
  aspect-ratio: 427 / 551;
}
.phil__img--small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  aspect-ratio: 225 / 357;
}
.phil__text {
  font-size: 18px;
  line-height: 1.35;
}

/* ---------------------------------------------------------------
   Call to action (photo, black and white, tinted plum)
   --------------------------------------------------------------- */
.cta {
  position: relative;
  z-index: 2;
  overflow: hidden;
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 96px 24px;
  background: var(--plum-900);
  color: var(--paper);
}
.cta__bg {
  position: absolute;
  inset: -12% 0;
  will-change: transform;
}
.cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Same soft warm shade as the V1 homepage's photo section: darker toward the bottom left, clear top right */
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top right, rgb(40 36 38 / 0.6), rgb(40 36 38 / 0.1) 50%, transparent),
    rgb(40 36 38 / 0.4);
}
.cta__inner {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 24px;
  max-width: 900px;
  text-align: center;
}
.cta__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 44px;
  color: var(--blush);
}
.cta__text {
  max-width: 460px;
  font-size: 18px;
  line-height: 27px;
}
.btn--light {
  color: var(--paper);
  margin-top: 6px;
}
.btn--light::after {
  background: rgb(245 245 233 / 0.4);
}
.btn--light::before {
  background: var(--blush);
}
.btn--light:hover,
.btn--light:focus-visible {
  color: var(--plum-300);
}

/* ---------------------------------------------------------------
   Footer
   --------------------------------------------------------------- */
.ftr {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
  padding: 56px 24px 24px;
  background: var(--plum-900);
  color: var(--plum-300);
}
.ftr__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 16px;
}
.ftr__col {
  display: grid;
  gap: 14px;
  font-size: 16px;
  line-height: 19px;
  color: var(--paper);
}
.ftr__col--c {
  order: 3;
  grid-column: 1 / -1;
}
.ftr__col a {
  transition: color 0.35s ease;
}
.ftr__col a:hover {
  color: var(--plum-300);
}
.ftr__text {
  max-width: 342px;
  font-size: 14px;
  line-height: 20px;
}
/* Same as the V1 homepage: the wordmark in cream, dimmed to 16% */
.ftr__mark .mask-wordmark {
  color: var(--paper);
  opacity: 0.16;
}

/* ---------------------------------------------------------------
   Desktop: the 1440 canvas
   --------------------------------------------------------------- */
@media (min-width: 768px) {
  .p {
    position: absolute;
    left: calc(var(--x) * var(--u));
    top: calc(var(--y) * var(--u));
    width: calc(var(--w) * var(--u));
  }
  .p[style*="--h"] {
    height: calc(var(--h) * var(--u));
  }
  .sec {
    padding: 0;
  }
  .sec .cv {
    display: block;
    position: relative;
    width: calc(1440 * var(--u));
    height: calc(var(--ch) * var(--u));
    margin-inline: auto;
  }

  .hdr {
    height: calc(80 * var(--u));
  }
  .hdr__menu {
    left: calc(40 * var(--u));
    right: auto;
    top: calc(28 * var(--u));
  }
  .hdr__inquire {
    left: auto;
    right: calc(40 * var(--u));
    top: calc(32 * var(--u));
    font-size: max(15px, calc(18 * var(--u)));
  }

  .menu__close {
    left: calc(40 * var(--u));
    right: auto;
    top: calc(32 * var(--u));
    font-size: max(15px, calc(18 * var(--u)));
  }
  .menu__logo {
    display: block;
    left: 50%;
    transform: translateX(-50%);
    top: calc(34 * var(--u));
    width: calc(250 * var(--u));
  }
  .menu__top {
    display: grid;
    right: calc(40 * var(--u));
    top: calc(32 * var(--u));
    font-size: max(12px, calc(14 * var(--u)));
  }
  .menu__nav {
    left: calc(160 * var(--u));
    top: calc(288 * var(--u));
  }
  .menu__nav ul {
    gap: calc(16 * var(--u));
  }
  .menu__nav a {
    font-size: max(20px, calc(28 * var(--u)));
    line-height: calc(33 * var(--u));
  }
  .menu__statement {
    display: block;
    left: calc(875 * var(--u));
    right: auto;
    top: calc(333 * var(--u));
    width: calc(430 * var(--u));
    font-size: max(24px, calc(42 * var(--u)));
    line-height: calc(46.2 * var(--u));
  }
  .menu__mark {
    display: none;
  }
  .menu__strip {
    inset: auto 0 auto 0;
    top: calc(522 * var(--u));
    height: calc(310 * var(--u));
  }
  .menu__strip ul {
    gap: calc(100 * var(--u));
  }
  .menu__strip li {
    width: calc(230 * var(--u));
  }

  .hero {
    height: calc(100svh - 2.5svh);
    min-height: 520px;
  }
  .hero__content {
    padding-top: 12svh;
  }
  .hero__mark {
    width: calc(1145 * var(--u));
  }
  .hero__cap {
    max-width: calc(380 * var(--u));
    margin-top: calc(64 * var(--u));
    font-size: max(15px, calc(20 * var(--u)));
    line-height: calc(26 * var(--u));
  }

  .intro::before {
    width: calc(300 * var(--u));
    height: calc(49 * var(--u));
  }

  .btn {
    font-size: max(12px, calc(14 * var(--u)));
    padding-bottom: calc(10 * var(--u));
  }

  .services .cv {
    --ch: 1022;
  }
  .services__title {
    font-size: calc(84 * var(--u));
    line-height: calc(88 * var(--u));
    z-index: 3;
    text-wrap: nowrap;
  }
  .services__stage {
    aspect-ratio: auto;
    z-index: 2;
  }
  /* The list spans the whole canvas; each service is placed by its own --sx / --sy */
  .services__list {
    height: 100%;
    z-index: 2;
    pointer-events: none;
  }
  .services__list ol {
    display: block;
    position: relative;
    height: 100%;
  }
  .services__list li {
    position: absolute;
    left: calc(var(--sx) * var(--u));
    top: calc(var(--sy) * var(--u));
    width: calc(300 * var(--u));
    pointer-events: auto;
  }
  .svc__name {
    font-size: calc(34 * var(--u));
    line-height: calc(37 * var(--u));
  }
  .svc__desc {
    margin-top: calc(10 * var(--u));
    font-size: max(15px, calc(19 * var(--u)));
    line-height: calc(27 * var(--u));
  }

  .clients .cv {
    --ch: 290;
    width: 100%;
  }
  .clients .p {
    left: 0;
    width: 100%;
  }
  .clients__label {
    font-size: calc(50 * var(--u));
    line-height: calc(54 * var(--u));
  }
  .clients__track li {
    padding-inline: calc(45 * var(--u));
  }
  .client-logo {
    width: calc(var(--w) * 0.85 * var(--u));
    height: calc(var(--h) * 0.85 * var(--u));
  }

  .team .cv {
    --ch: 790;
  }
  .team__line {
    height: 1px;
  }
  .team__label {
    font-size: calc(13 * var(--u));
  }
  .team__title {
    margin: 0;
  }
  .team__photo--2 {
    margin-top: 0;
  }
  .team__name {
    font-size: calc(25 * var(--u));
    line-height: calc(27.5 * var(--u));
  }
  .team__role,
  .team__text {
    font-size: calc(20 * var(--u));
    line-height: calc(26 * var(--u));
  }
  .team__intro {
    /* same box as the photo; headline and paragraph centred together in it */
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .team__text {
    max-width: calc(600 * var(--u));
  }
  .team__title {
    margin-bottom: calc(40 * var(--u));
  }

  .work .cv {
    --ch: 1145;
  }
  .card__name {
    left: calc(20 * var(--u));
    right: calc(20 * var(--u));
    bottom: calc(20 * var(--u));
    font-size: calc(26 * var(--u));
  }
  .card__more {
    left: calc(20 * var(--u));
    top: calc(20 * var(--u));
    font-size: max(11px, calc(13 * var(--u)));
  }
  /* The project name appears large beside the card; the other cards step back */
  .card__big {
    position: absolute;
    top: calc(56 * var(--u));
    z-index: 3;
    display: block;
    width: calc(500 * var(--u));
    font-family: var(--display);
    font-size: calc(65 * var(--u));
    line-height: calc(71.5 * var(--u));
    color: var(--plum-900);
    pointer-events: none;
  }
  .card--r .card__big {
    left: calc(355 * var(--u));
  }
  .card--l .card__big {
    left: calc(-540 * var(--u));
    text-align: right;
  }
  @media (hover: hover) {
    .card__big {
      opacity: 0;
      transform: translateY(8px);
      transition: opacity 0.5s ease, transform 0.6s var(--ease);
    }
    .card:hover .card__big,
    .card:focus-visible .card__big {
      opacity: 1;
      transform: none;
    }
    .js .work .card.is-visible {
      transition: opacity 0.5s ease, transform 0.9s var(--ease);
    }
    .work .cv:has(.card:hover) .card:not(:hover) {
      opacity: 0.15;
    }
  }
  .work__more {
    text-align: center;
  }

  .phil .cv {
    --ch: 960;
  }
  .phil__br {
    display: inline;
  }
  .phil__media {
    display: contents; /* the photos are placed on the canvas like everything else */
  }
  .phil__img--big,
  .phil__img--small {
    width: calc(var(--w) * var(--u));
    aspect-ratio: auto;
  }
  .phil__img--big {
    z-index: 2;
  }
  .phil__img--small {
    right: auto;
    bottom: auto;
    z-index: 3;
  }
  .phil__title {
    z-index: 4; /* in front of the photos, never cut by them */
    font-size: calc(84 * var(--u));
    white-space: nowrap; /* the four lines break only where <br> says, even when a line runs over the photo */
  }
  .phil__lead {
    font-size: calc(21 * var(--u));
  }
  .phil__text {
    font-size: calc(21 * var(--u));
  }

  .cta {
    height: calc(700 * var(--u));
    min-height: 0;
    padding: 0;
  }
  .cta__inner {
    max-width: calc(1000 * var(--u));
    gap: calc(28 * var(--u));
  }
  .cta__title {
    margin-bottom: calc(12 * var(--u));
  }
  .cta__text {
    max-width: calc(520 * var(--u));
    font-size: max(16px, calc(20 * var(--u)));
    line-height: calc(30 * var(--u));
  }
  .btn--light {
    margin-top: calc(10 * var(--u));
  }

  /* The page rides above a fixed footer that stays put and is uncovered at the end */
  main {
    position: relative;
    z-index: 2;
    margin-bottom: calc(550 * var(--u));
  }
  .ftr {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 1;
    display: block;
    height: calc(550 * var(--u));
    padding: 0;
  }
  .ftr__col {
    position: absolute;
    top: calc(52 * var(--u));
    gap: calc(22 * var(--u));
    font-size: max(14px, calc(16 * var(--u)));
    line-height: calc(19 * var(--u));
  }
  .ftr__col--l {
    left: calc(60 * var(--u));
  }
  .ftr__col--c {
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    order: 0;
  }
  .ftr__col--r {
    right: calc(60 * var(--u));
    text-align: right;
  }
  .ftr__text {
    position: absolute;
    left: 50%;
    top: calc(228 * var(--u));
    width: calc(560 * var(--u));
    max-width: none;
    transform: translateX(-50%);
    text-align: center;
    font-size: max(13px, calc(15 * var(--u)));
    line-height: calc(21 * var(--u));
  }
  .ftr__mark {
    position: absolute;
    left: 50%;
    top: calc(292 * var(--u));
    width: calc(1280 * var(--u));
    transform: translateX(-50%);
  }
}

/* Pinned intro: only with motion allowed */

@media (prefers-reduced-motion: reduce) {
  .hero__curtain {
    display: none !important;
  }
  .js .hero__mark,
  .js .hero__cap,
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .clients__track,
  .menu__strip ul {
    animation: none;
  }
  .clients__marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* ---------------------------------------------------------------
   Work page (public/work/index.html)
   Wordmark and one line of context, then the projects two at a time: each pair pins to the
   top of the screen and the next pair slides up over it. Hovering a card veils it in plum and
   shows the project name and industry (on touch screens the label is always visible).
   --------------------------------------------------------------- */
.wk-hero {
  position: relative;
  z-index: 3;
  padding: 112px 24px 72px;
  text-align: center;
}
.wk-hero .cv {
  display: grid;
  justify-items: center;
  gap: 22px;
}
.wk-hero__mark {
  width: 100%;
  max-width: 520px;
  color: var(--plum-700);
}
.wk-hero__label {
  margin-top: 18px;
  font-size: 13px;
  line-height: 17px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.wk-hero__title {
  font-family: var(--text);
  font-weight: 400;
  font-size: 24px;
  line-height: 32px;
  color: var(--plum-900);
}
.wk-hero__title em {
  font-family: var(--text);
  color: var(--plum-700);
}
.wk-hero__note {
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}

.wk {
  position: relative;
  z-index: 2;
  background-color: #e8dac0;
  background-image: var(--velvet);
  background-size: 1600px 1600px;
}
.wk-stack {
  position: relative;
  z-index: 2;
}
/* Phones: like Cember, each project is a full-bleed tile about as tall as the screen, one after another with no gaps */
.wk-pair {
  padding: 0;
}
.wk-pair .cv {
  display: grid;
  gap: 0;
}
.wk-card {
  position: relative;
  display: block;
  aspect-ratio: 375 / 703;
  overflow: hidden;
  background: var(--blush);
}
.wk-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wk-card__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(40 36 38 / 0.72), rgb(40 36 38 / 0) 45%);
  transition: opacity 0.5s ease;
}
.wk-card__name,
.wk-card__role {
  position: absolute;
  left: 24px;
  color: var(--paper);
  transition: opacity 0.5s ease, transform 0.6s var(--ease);
}
.wk-card__name {
  bottom: 40px;
  font-family: var(--display);
  font-size: 26px;
  line-height: 29px;
}
.wk-card__role {
  bottom: 18px;
  font-size: 13px;
  line-height: 17px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blush);
}

@media (min-width: 768px) {
  /* The texture is tied to the screen here, so the hero, the pinned pairs and the pairs sliding over each other all share one surface with no seams */
  .wk {
    background-attachment: fixed;
  }
  .wk-hero {
    padding: 0;
  }
  .wk-hero .cv {
    display: block;
    position: relative;
    width: calc(1440 * var(--u));
    height: calc(430 * var(--u));
    margin-inline: auto;
  }
  .wk-hero__mark {
    width: calc(1145 * var(--u));
    max-width: none;
  }
  .wk-hero__label {
    margin-top: 0;
    font-size: max(12px, calc(14 * var(--u)));
  }
  .wk-hero__title {
    font-size: calc(32 * var(--u));
    line-height: calc(44 * var(--u));
  }
  .wk-hero__note {
    font-size: max(12px, calc(14 * var(--u)));
    line-height: calc(20 * var(--u));
  }

  .wk-pair {
    position: sticky;
    top: 0;
    height: max(100svh, calc(861 * var(--u)));
    padding: 0;
    background-color: #e8dac0;
    background-image: var(--velvet);
    background-size: 1600px 1600px;
    background-attachment: fixed;
  }
  .wk-pair .cv {
    display: block;
    position: relative;
    width: calc(1440 * var(--u));
    height: 100%;
    margin-inline: auto;
  }
  .wk-card {
    position: absolute;
    aspect-ratio: auto;
  }
}

/* Pointer devices: plain image until hovered, then a plum veil with the name and industry at the top left */
@media (min-width: 768px) and (hover: hover) {
  .wk-card__veil {
    background: rgb(64 1 46 / 0.84);
    opacity: 0;
  }
  .wk-card__name,
  .wk-card__role {
    bottom: auto;
    left: calc(24 * var(--u));
    opacity: 0;
    transform: translateY(8px);
  }
  .wk-card__name {
    top: calc(24 * var(--u));
    font-size: calc(30 * var(--u));
    line-height: calc(34 * var(--u));
  }
  .wk-card__role {
    top: calc(66 * var(--u));
    font-size: max(11px, calc(13 * var(--u)));
  }
  .wk-card:hover .wk-card__veil,
  .wk-card:focus-visible .wk-card__veil {
    opacity: 1;
  }
  .wk-card:hover .wk-card__name,
  .wk-card:hover .wk-card__role,
  .wk-card:focus-visible .wk-card__name,
  .wk-card:focus-visible .wk-card__role {
    opacity: 1;
    transform: none;
  }
}


/* ---------------------------------------------------------------
   Pinned intro, as on the reference: the plum stage is one screen tall and sticks to the top; its content sits on an
   800-tall canvas centred in the screen (320 x 600 on phones). The photo layer follows it in the page and simply
   scrolls past at page speed, starting just below the fold. Its last stretch is a plum fade (transparent to solid)
   that dims the pinned headline, then the services section slides over. --cu is one canvas unit.
   --------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .intro + .cream {
    margin-top: -100svh;
  }
  .intro__stage {
    position: sticky;
    top: 0;
    z-index: 1;
    display: block;
    height: 100svh;
    padding: 0;
    overflow: hidden;
  }
  .intro__text,
  .intro__note {
    position: absolute;
    margin: 0;
  }
  .intro__note {
    text-align: justify;
  }
  .intro__photos {
    position: absolute;
    top: 100svh;
    left: 0;
    right: 0;
    z-index: 2;
    display: block;
    padding: 0;
    overflow-x: clip; /* photos that run past the screen edge (as on the reference) must not widen the page */
    pointer-events: none;
  }
  .intro__photos::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, var(--plum-900), rgb(64 1 46 / 0));
  }
  .float {
    position: absolute;
  }
  .float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .intro {
    --cu: var(--u);
    height: calc(200svh + 2100 * var(--cu));
  }
  .intro__text {
    left: calc(50% + (49 - 600) * var(--cu));
    top: calc(50% + (129 - 400) * var(--cu));
    width: calc(660 * var(--cu));
  }
  .intro__title {
    font-size: calc(80 * var(--cu));
    line-height: calc(88 * var(--cu));
  }
  .intro__note {
    left: calc(50% + (885 - 600) * var(--cu));
    top: calc(50% + (498 - 400) * var(--cu));
    width: calc(207 * var(--cu));
    font-size: max(13px, calc(14 * var(--cu)));
    line-height: calc(23.8 * var(--cu));
  }
  .intro__photos {
    height: calc(2100 * var(--cu));
  }
  .intro__photos::before {
    top: calc(1516 * var(--cu));
    height: calc(584 * var(--cu));
  }
  .float {
    left: calc(50% + (var(--fx) - 600) * var(--cu));
    top: calc(var(--fy) * var(--cu));
    width: calc(var(--fw) * var(--cu));
    height: calc(var(--fh) * var(--cu));
  }
}
@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
  .intro {
    --cu: calc(100vw / 320);
    height: calc(200svh + 930 * var(--cu));
  }
  .intro__text {
    left: calc(25 * var(--cu));
    top: calc(50% + (61 - 300) * var(--cu));
    width: calc(270 * var(--cu));
  }
  .intro__title {
    font-size: calc(36 * var(--cu));
    line-height: calc(40 * var(--cu));
  }
  .intro__note {
    left: calc(104 * var(--cu));
    top: calc(50% + (419 - 300) * var(--cu));
    width: calc(184 * var(--cu));
    font-size: calc(12 * var(--cu));
    line-height: calc(19 * var(--cu));
  }
  .intro__photos {
    height: calc(930 * var(--cu));
  }
  .intro__photos::before {
    top: calc(709 * var(--cu));
    height: calc(221 * var(--cu));
  }
  .float {
    left: calc(var(--mx) * var(--cu));
    top: calc(var(--my) * var(--cu));
    width: calc(var(--mw) * var(--cu));
    height: calc(var(--mh) * var(--cu));
  }
}

/* Headline rhythm: very tight lines (0.8) and slightly open letter spacing. Kept in one place at the end so it wins over
   the per-breakpoint sizes above; line heights are unitless so they follow each headline's own size. */
.intro__title,
.services__title,
.phil__title,
.clients__label,
.card__big,
.menu__statement,
.svc__name,
.team__name,
.team__title,
.cta__title,
.wk-card__name {
  line-height: 0.8;
  letter-spacing: 0.012em;
}
/* The three main headlines are 6rem (96px on the 1440 canvas, scaling down with it) on desktop; phones keep their own sizes */
@media (min-width: 768px) {
  .intro__title,
  .services__title,
  .phil__title,
  .team__title,
  .cta__title {
    font-size: calc(96 * var(--u));
  }
}

/* ---------------------------------------------------------------
   Contact page: a large headline, then a short note on the left and the form on the right.
   Fields are plain lines, interests are square outlined chips, the button is the usual bracket-less link.
   --------------------------------------------------------------- */
/* 404: a short page must still cover the fixed footer, so the footer is uncovered by scrolling like on every other page */
.nf {
  min-height: 100svh;
}
.nf .ct__actions {
  justify-content: center;
}
.ct {
  position: relative;
  z-index: 2;
  padding: 24px 24px 96px;
  color: var(--ink);
}
.ct__legend {
  margin: 0;
  font-size: 13px;
  line-height: 17px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ct__body {
  max-width: 720px;
  margin-inline: auto;
}
.ct__form {
  display: grid;
  gap: 32px;
}
.ct__field {
  display: grid;
  gap: 10px;
}
.ct__field input,
.ct__field textarea {
  width: 100%;
  padding: 6px 0 12px;
  border: 0;
  border-bottom: 1px solid rgb(58 17 26 / 0.4);
  border-radius: 0;
  background: transparent;
  font: inherit;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 500;
  color: var(--ink);
  resize: vertical;
  transition: border-color 0.35s ease;
}
.ct__field input::placeholder,
.ct__field textarea::placeholder {
  color: var(--muted);
  opacity: 0.7;
}
.ct__field input:focus,
.ct__field textarea:focus {
  outline: none;
  border-bottom-color: var(--plum-700);
}
.ct__interests {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.ct__interests .ct__legend {
  margin-bottom: 14px;
}
.ct__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ct__chip {
  position: relative;
  cursor: pointer;
}
.ct__chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.ct__chip span {
  display: block;
  padding: 9px 16px 10px;
  border: 1px solid rgb(58 17 26 / 0.4);
  font-size: 18px;
  line-height: 1.1;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.ct__chip:hover span {
  border-color: var(--plum-700);
}
.ct__chip input:checked + span {
  background: var(--plum-900);
  border-color: var(--plum-900);
  color: var(--paper);
}
.ct__chip input:focus-visible + span {
  outline: 2px solid var(--plum-700);
  outline-offset: 3px;
}
.ct__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
}
.ct__sample {
  margin: 0;
  font-size: 17px;
  font-style: italic;
  color: var(--muted);
}
.ct__done {
  display: grid;
  gap: 20px;
  justify-items: start;
}
.ct__done[hidden],
.ct__form[hidden] {
  display: none;
}
.ct__thanks {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: 44px;
  line-height: 0.9;
  letter-spacing: 0.012em;
  color: var(--plum-900);
}
.ct__thanks em {
  font-style: normal;
  color: var(--plum-700);
}
@media (min-width: 768px) {
  .ct {
    padding: calc(130 * var(--u)) calc(80 * var(--u)) calc(140 * var(--u));
  }
  .ct__body {
    max-width: calc(760 * var(--u));
    min-width: 560px;
  }
  .ct__form {
    grid-template-columns: 1fr 1fr;
    gap: calc(40 * var(--u)) calc(40 * var(--u));
  }
  .ct__field--wide,
  .ct__interests,
  .ct__actions {
    grid-column: 1 / -1;
  }
  .ct__thanks {
    font-size: calc(72 * var(--u));
  }
}

/* ---------------------------------------------------------------
   Privacy notice (legal page)
   --------------------------------------------------------------- */
.legal {
  position: relative;
  z-index: 2; /* sits above the fixed footer, which is uncovered as the page scrolls away */
  padding: 24px 24px 120px;
  color: var(--ink);
}
.legal__inner {
  max-width: 720px;
  margin: 0 auto;
}
.legal__label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--plum-700);
}
.legal__title {
  margin: 16px 0 8px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 56px;
  line-height: 1;
  color: var(--plum-900);
}
.legal__meta {
  margin-bottom: 40px;
  font-style: italic;
  color: var(--muted);
}
.legal__lead {
  font-size: 22px;
  line-height: 32px;
  font-style: italic;
}
.legal h2 {
  margin: 48px 0 12px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.1;
  color: var(--plum-900);
}
.legal p,
.legal li {
  font-size: 18px;
  line-height: 28px;
}
.legal p {
  margin: 0 0 16px;
}
.legal ul {
  margin: 0 0 16px;
  padding-left: 1.2em;
  list-style: disc;
}
.legal li {
  margin-bottom: 6px;
}
.legal a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal a:hover {
  color: var(--plum-700);
}
@media (min-width: 768px) {
  .legal {
    padding-top: 0;
  }
  /* The hero above this page is just the wordmark and a label, so it is shorter than the Work and Contact ones */
  .wk-hero--short .cv {
    height: calc(380 * var(--u));
  }
  .legal__title {
    font-size: 72px;
  }
}

/* Consent line under the contact form, and the privacy link in the footer */
.ct__consent {
  margin: 0;
  font-size: 15px;
  line-height: 22px;
  color: var(--muted);
}
.ct__consent a,
.ftr__text a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Contact form: hidden bot trap, and the error line */
.ct__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.ct__error {
  margin: 0;
  font-size: 17px;
  font-style: italic;
  color: #9a2a2a;
}

/* ---------------------------------------------------------------
   About page
   --------------------------------------------------------------- */
.ab {
  position: relative;
  z-index: 2; /* above the fixed footer */
  padding: 24px 24px 56px;
  color: var(--ink);
}
.ab__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}
.ab__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.05;
  color: var(--plum-900);
}
.ab__title em {
  font-style: normal;
  color: var(--plum-700);
}

.ab__copy p {
  margin: 0 0 18px;
  font-size: 19px;
  line-height: 30px;
}
.ab__copy p:first-child {
  font-style: italic;
  font-size: 22px;
  line-height: 32px;
}
.ab__label {
  font-size: 13px;
  line-height: 17px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--plum-700);
}
.ab--team {
  padding-bottom: 120px;
}
.ab-team {
  max-width: 1100px;
  margin: 32px auto 0;
  display: grid;
  gap: 56px;
}
.ab-person__photo {
  aspect-ratio: 4 / 5; /* one frame shape for everyone */
  overflow: hidden;
}
.ab-person__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ab-person__name {
  margin: 20px 0 4px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.1;
  color: var(--plum-900);
}
.ab-person__role {
  margin: 0 0 14px;
  font-style: italic;
  font-size: 20px;
  line-height: 26px;
  color: var(--plum-700);
}
.ab-person__bio {
  margin: 0;
  font-size: 17px;
  line-height: 27px;
}
.ab-person__link {
  margin: 20px 0 0;
}
@media (min-width: 768px) {
  .ab {
    padding: 24px 40px 64px;
  }
  .ab__inner {
    grid-template-columns: 5fr 6fr;
    gap: 80px;
    align-items: start;
  }
  .ab__inner--team {
    display: block;
  }
  .ab__title {
    font-size: 48px;
  }
  .ab__copy p {
    font-size: 20px;
    line-height: 32px;
  }
  .ab__copy p:first-child {
    font-size: 24px;
    line-height: 34px;
  }
  .ab--team {
    padding-top: 24px;
  }
  .ab-team {
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
  }
}

/* About page body copy: Newsreader (the second body face), which sets larger than Cormorant, so sizes are a touch smaller */
@font-face {
  font-family: "Newsreader";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/newsreader-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  src: url("/fonts/newsreader-latin-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/newsreader-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
.ab__copy p,
.ab-person__role,
.ab-person__bio {
  font-family: "Newsreader", "Times New Roman", serif;
  font-weight: 400;
}
.ab__copy p {
  font-size: 18px;
  line-height: 29px;
}
.ab__copy p:first-child {
  font-size: 18px;
  line-height: 29px;
  font-style: normal;
}
.ab-person__role {
  font-size: 17px;
  line-height: 24px;
}
.ab-person__bio {
  font-size: 16px;
  line-height: 26px;
}
@media (min-width: 768px) {
  .ab__copy p,
  .ab__copy p:first-child {
    font-size: 20px;
    line-height: 32px;
  }
}
