/* ==========================================================================
   Components — the reusable pieces every page is built from.
   Header and menu · buttons and links · slate · film card · numbers ·
   quote · form field
   ========================================================================== */

/* --- Header and menu ----------------------------------------------------- */

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding: var(--gutter); /* the logo sits as far from the top as from the side */
}
/* On the homepage it stays put while the opening holds still (site.js) */
.site-header.is-pinned {
  position: fixed;
}
/* WordPress: below the dashboard toolbar, which only signed-in editors see */
.admin-bar .site-header {
  top: var(--wp-admin--admin-bar--height, 0px);
}

.site-header__logo {
  flex: none;
  position: relative;
  z-index: 1;
}
.site-header__logo img {
  height: clamp(3.75rem, 5.4vw, 5.25rem);
  width: auto;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.8vw, 3rem);
}

.site-nav__link {
  display: inline-block;
  padding-block: 0.3em;
  line-height: 1;
  font-family: var(--font-display);
  font-size: var(--ui-size);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  /* underline that draws in from the left, just under the letters */
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 0.22em) / 0 1px no-repeat;
  transition: background-size var(--dur-2) var(--ease-out);
}
/* Underline only while hovered or focused (29 Oct: the current page is no
   longer marked with a permanent line) */
.site-nav__link:hover,
.site-nav__link:focus-visible {
  background-size: 100% 1px;
}

.site-header__toggle {
  display: none;
  position: relative;
  z-index: 1;
  padding: 0.6em 0;
  border: 0;
  background: none;
  font-family: var(--font-display);
  font-size: var(--ui-size);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

/* Phones and small tablets: the menu becomes a full-screen panel */
@media (max-width: 56rem) {
  .site-header__toggle {
    display: block;
  }
  .site-nav {
    display: none;
  }
  .site-header[data-open] .site-nav {
    display: grid;
    align-content: center;
    position: fixed;
    inset: 0;
    padding: 7rem var(--gutter) 3rem;
    background: var(--ink);
  }
  .site-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }
  .site-nav__link {
    font-size: var(--display-l);
    line-height: 1.1;
    letter-spacing: 0.02em;
  }
  .site-nav__list .btn {
    margin-top: var(--space-5);
  }
  html.menu-open {
    overflow: hidden;
  }
}

/* --- Buttons and links --------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85em;
  padding: 0.8em 1.25em 0.7em;
  border: 1px solid var(--btn-bg);
  border-radius: 2px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-size: var(--ui-size);
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color var(--dur-1) ease,
    border-color var(--dur-1) ease,
    color var(--dur-1) ease;
}
.btn:hover {
  background: var(--btn-hover);
  border-color: var(--btn-hover);
}

/* Quieter button: an outline only */
.btn--line {
  background: transparent;
  border-color: var(--line);
  color: var(--fg);
}
.btn--line:hover {
  background: transparent;
  border-color: var(--fg);
}

/* Text link with an arrow, for secondary actions */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
  padding-block: 0.3em;
  font-family: var(--font-display);
  font-size: var(--ui-size);
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: color var(--dur-1) ease;
}
.link-arrow:hover {
  color: var(--accent);
}

.btn::after,
.link-arrow::after {
  content: "";
  flex: none;
  width: 1.5em;
  height: 0.6em;
  margin-top: -0.1em;
  background: currentColor;
  -webkit-mask: var(--arrow) center / contain no-repeat;
  mask: var(--arrow) center / contain no-repeat;
  transition: transform var(--dur-2) var(--ease-out);
}
.btn:hover::after,
.link-arrow:hover::after {
  transform: translateX(0.3em);
}

/* --- Slate: a film's facts, set like a clapperboard ---------------------- */

.slate > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: 0.75rem 0.6rem;
  border-top: 1px solid var(--line);
}
.slate > div:last-child {
  border-bottom: 1px solid var(--line);
}
.slate dt {
  font-family: var(--font-mono);
  font-size: var(--label);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.slate dd {
  font-family: var(--font-display);
  font-size: 1.375rem;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: right;
}

/* The same facts on one line */
.slate-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4em 1em;
  font-family: var(--font-mono);
  font-size: var(--label);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.slate-line li {
  display: flex;
  align-items: center;
  gap: 1em;
}
.slate-line li + li::before {
  content: "";
  width: 1.25em;
  height: 1px;
  background: var(--accent);
}

/* --- Film card ----------------------------------------------------------- */

.film {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  align-items: start;
}

/* The still, in the 2.39:1 "scope" shape of a cinema screen */
.film__frame {
  grid-column: 1 / span 9;
  grid-row: 1;
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 2.39 / 1;
  background: var(--navy);
}
.film__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-3) var(--ease-out);
}
.film__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(3 11 25 / 0.86) 0%, rgb(3 11 25 / 0.3) 34%, rgb(3 11 25 / 0) 62%);
}
.film__frame:hover img,
.film__frame:focus-visible img {
  transform: scale(1.04);
}

.film__play {
  position: absolute;
  right: clamp(0.75rem, 1.6vw, 1.5rem);
  top: clamp(0.75rem, 1.6vw, 1.5rem);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.75em;
  padding: 0.55em 0.9em;
  background: rgb(3 11 25 / 0.78);
  color: var(--foam);
}
.film__play::before {
  content: "";
  border-left: 0.7em solid var(--aqua);
  border-block: 0.42em solid transparent;
}

.film__aside {
  grid-column: 10 / span 3;
  grid-row: 1;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-5);
}

/* The title straddles the bottom edge of the still */
.film__title {
  grid-column: 1 / -1;
  grid-row: 2;
  position: relative;
  z-index: 1;
  margin-top: calc(var(--display-l) * -0.6);
  padding-left: clamp(0.75rem, 1.6vw, 1.5rem);
  pointer-events: none;
}

.film__blurb {
  grid-column: 1 / span 6;
  grid-row: 3;
  margin-top: var(--space-5);
  font-size: var(--text-l);
  font-weight: 350;
  line-height: 1.32;
}

.film__more {
  grid-column: 10 / span 3;
  grid-row: 3;
  margin-top: var(--space-5);
  justify-self: start;
}

.film__credit {
  grid-column: 1 / -1;
  margin-top: var(--space-6);
}

@media (max-width: 56rem) {
  .film__frame {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 10;
  }
  .film__title {
    grid-row: 2;
    margin-top: calc(var(--display-l) * -0.55);
  }
  .film__blurb {
    grid-column: 1 / -1;
    grid-row: 3;
  }
  .film__aside {
    grid-column: 1 / -1;
    grid-row: 4;
    margin-top: var(--space-6);
  }
  .film__more {
    grid-column: 1 / -1;
    grid-row: 5;
    margin-top: var(--space-6);
  }
}

/* --- Numbers ------------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: 5fr 3fr 4fr; /* deliberately uneven */
  column-gap: var(--col-gap);
}
.stats > div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}
.stats dd {
  font-family: var(--font-display);
  font-size: clamp(3rem, 1.6rem + 6vw, 7rem);
  line-height: 1;
  letter-spacing: 0.01em;
}
.stats dt {
  max-width: 14em;
  font-family: var(--font-mono);
  font-size: var(--label);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

@media (max-width: 40rem) {
  .stats {
    grid-template-columns: 1fr;
    row-gap: var(--space-5);
  }
  .stats > div {
    flex-direction: row-reverse;
    align-items: flex-end;
    justify-content: space-between;
  }
  .stats dd {
    font-size: clamp(2.75rem, 14vw, 4.5rem);
  }
  .stats dt {
    max-width: 12em;
    padding-bottom: 0.2em;
    text-align: right;
  }
}

/* --- Quote --------------------------------------------------------------- */

.quote blockquote {
  max-width: 21em;
  font-size: clamp(1.75rem, 1.2rem + 2.6vw, 3.75rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.quote figcaption {
  margin-top: var(--space-6);
}

/* --- Form field ---------------------------------------------------------- */

.field {
  display: grid;
  gap: var(--space-2);
}
.field__input {
  width: 100%;
  padding: 0.6rem 0;
  border: 0;
  border-bottom: 1px solid var(--fg);
  border-radius: 0;
  background: transparent;
  font-family: var(--font-text);
  font-size: var(--text-l);
}
.field__input::placeholder {
  color: var(--fg-muted);
  opacity: 1;
}
.field__input:focus-visible {
  outline-offset: 6px;
  border-bottom-color: var(--accent);
}

/* --- Rising into place --------------------------------------------------- */
/* .rise and counting numbers lift up into place as they are scrolled to.
   site.js adds .will-rise to the page only when it can run them. */

.will-rise .rise {
  opacity: 0;
  transform: translate3d(0, 2.5rem, 0);
  transition:
    opacity 500ms var(--ease-out) var(--delay, 0ms),
    transform 750ms var(--ease-out) var(--delay, 0ms);
}
.will-rise .rise.is-in {
  opacity: 1;
  transform: none;
}

/* --- Print: a still or photo shown like an old photographic print -------- */

.print {
  margin: 0;
  padding: clamp(0.4rem, 0.9vw, 0.7rem);
  background: var(--foam);
  transform: rotate(var(--tilt, -0.8deg));
}
.print img {
  width: 100%;
  aspect-ratio: var(--ratio, 3 / 2);
  object-fit: cover;
  filter: sepia(0.2) saturate(0.82) contrast(1.04);
}
/* A print that plays its film: the player takes the picture's place inside the border */
.print__film {
  position: relative;
  aspect-ratio: var(--ratio, 3 / 2);
}
.print__film img {
  height: 100%;
}
.print__film .film__play {
  border: 0;
  font: inherit;
  font-family: var(--font-mono);
  font-size: var(--label);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
/* The link to the next campaign at the end of a campaign page */
.next-film {
  display: grid;
  gap: var(--space-2);
  justify-items: start;
  margin-top: var(--space-9);
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
}
.next-film .label {
  color: var(--fg-muted);
}

/* An empty print, waiting for a real photo */
.print--empty {
  display: grid;
  place-items: center;
  aspect-ratio: var(--ratio, 3 / 2);
  padding: var(--space-5);
  background: transparent;
  border: 1px dashed var(--line);
  text-align: center;
}

/* Something still to come from Jeremy: a labelled gap, never filler */
.gap {
  display: grid;
  place-items: center;
  min-height: 8rem;
  padding: var(--space-5);
  border: 1px dashed var(--line);
  text-align: center;
}

/* --- Round buttons: carousel arrows -------------------------------------- */

.round {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  transition: border-color var(--dur-1) ease, opacity var(--dur-1) ease;
}
.round::after {
  content: "";
  width: 1.4rem;
  height: 0.55rem;
  background: currentColor;
  -webkit-mask: var(--arrow) center / contain no-repeat;
  mask: var(--arrow) center / contain no-repeat;
}
.round--back::after {
  transform: scaleX(-1);
}
.round:hover {
  border-color: var(--fg);
}
.round:disabled {
  opacity: 0.3;
  cursor: default;
}

/* --- Social links, floating like bubbles --------------------------------- */

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.social {
  display: grid;
  place-items: center;
  width: 3.75rem;
  height: 3.75rem;
  border: 1px solid color-mix(in srgb, var(--aqua) 50%, transparent);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgb(251 250 246 / 0.16), color-mix(in srgb, var(--aqua) 4%, transparent) 62%);
  color: var(--foam);
  transition: scale var(--dur-2) var(--ease-out), border-color var(--dur-1) ease;
}
.social svg {
  width: 1.375rem;
  height: 1.375rem;
}
.social:hover,
.social:focus-visible {
  scale: 1.15;
  border-color: var(--aqua);
}
@media (prefers-reduced-motion: no-preference) {
  .social {
    animation: bob 5.5s ease-in-out infinite;
    animation-delay: calc(var(--n, 0) * -1.6s);
  }
}
@keyframes bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -0.55rem; }
}

/* --- Questionnaire: optional, one question at a time ---------------------- */

.intake {
  display: grid;
  gap: var(--space-6);
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
}
.intake__top {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
}
.intake__bar {
  height: 1px;
  background: var(--line);
}
.intake__bar span {
  display: block;
  height: 3px;
  margin-top: -1px;
  background: var(--accent);
  transform: scaleX(var(--done, 0.2));
  transform-origin: left;
  transition: transform var(--dur-3) var(--ease-out);
}
.intake__step {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.intake__step[hidden] {
  display: none;
}
.intake__step legend {
  padding: 0;
  margin-bottom: var(--space-5);
}
.intake__hint {
  margin: calc(var(--space-3) * -1) 0 var(--space-5);
}
.intake__step:not([hidden]) {
  animation: step-in var(--dur-2) var(--ease-out);
}
@keyframes step-in {
  from { opacity: 0; transform: translate3d(1.5rem, 0, 0); }
}
.intake__choices {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.intake__fields {
  display: grid;
  gap: var(--space-5);
}
.intake__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.intake__nav [hidden],
.intake__nav[hidden] {
  display: none;
}
.intake__back {
  border: 0;
  background-color: transparent;
  cursor: pointer;
}
.intake__back::after {
  order: -1;
  transform: scaleX(-1);
}
.intake__back:hover::after {
  transform: scaleX(-1) translateX(0.3em);
}
.intake__done[hidden] {
  display: none;
}
/* It takes focus once sent, only so it is read out; it is not a control */
.intake__done:focus {
  outline: none;
}
/* Skip and Next sit together on the right (2 Nov) */
.intake__go {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin-left: auto;
}
.intake__skip {
  border: 0;
  background-color: transparent;
  color: var(--fg-muted);
  cursor: pointer;
}
.intake__skip::after {
  display: none;
}
.intake__skip:hover {
  color: var(--fg);
}
/* The box that opens under Other */
.intake__other {
  margin-top: var(--space-5);
  max-width: 32rem;
}
.intake__other[hidden] {
  display: none;
}

/* A choice you tap: a word in a hairline box that fills when picked */
.choice {
  position: relative;
}
.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.choice span {
  display: inline-block;
  padding: 0.7em 1em 0.6em;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: var(--font-display);
  font-size: var(--ui-size);
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  user-select: none;
  transition: background-color var(--dur-1) ease, border-color var(--dur-1) ease, color var(--dur-1) ease;
}
.choice span:hover {
  border-color: var(--fg);
}
.choice input:checked + span {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
  animation: pick 360ms var(--ease-out);
}
.choice input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
@keyframes pick {
  40% { transform: scale(1.08); }
}

/* --- Weights for the headline face outside headlines ---------------------- */
.site-nav__link,
.site-header__toggle,
.btn,
.link-arrow,
.round,
.choice span,
.campaign-card__go {
  font-weight: 600;
}
.slate dd,
.stats dd,
.campaign-card__stats dd {
  font-weight: var(--display-weight);
}

/* --- Centred header (29 Oct, after Ascent) --------------------------------
   The logo sits in the middle of the menu bar; Films and Campaigns to its
   left, About and Start a project to its right, in two equal halves so the
   logo is always dead centre. */

.site-header--centred {
  --logo-h: clamp(3.75rem, 5.4vw, 5.25rem);
  justify-content: center;
}
.site-header--centred .site-header__logo {
  position: absolute;
  left: 50%;
  top: var(--gutter);
  transform: translateX(-50%);
}
.site-header--centred .site-header__logo img {
  height: var(--logo-h);
}
.site-header--centred .site-nav {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--logo-h);
}
.site-header--centred .site-nav__list--left {
  justify-self: end;
}
.site-header--centred .site-nav__list--right {
  justify-self: start;
}
.site-header--centred .site-nav__gap {
  width: calc(var(--logo-h) * 1.1 + clamp(2rem, 5vw, 5rem));
}
@media (max-width: 56rem) {
  .site-header--centred {
    justify-content: flex-end;
    min-height: calc(var(--logo-h) + var(--gutter) * 2);
  }
  .site-header--centred .site-header__toggle {
    margin-top: calc((var(--logo-h) - 2.4rem) / 2);
  }
  .site-header--centred .site-nav {
    display: none;
  }
  .site-header--centred[data-open] .site-nav {
    display: grid;
    grid-template-columns: 1fr;
    align-content: center;
    gap: var(--space-4);
  }
  .site-header--centred .site-nav__gap {
    display: none;
  }
  .site-header--centred .site-nav__list--left,
  .site-header--centred .site-nav__list--right {
    justify-self: start;
  }
}

/* --- First-visit opening (after Ascent) -----------------------------------
   The page opens dark with the logo large in the middle; it rises into the
   menu bar, the links come in either side, and the film fades up. A click or
   key skips it. Run by site.js; the class is set in the page head so the
   first frame is already dark. */

.is-intro body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 199;
  background: var(--ink);
}
/* Once the script's own opening is on screen, the plain dark cover goes */
.is-intro.intro-live body::after {
  display: none;
}
.intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--ink);
}
.intro img {
  height: clamp(7rem, 16vw, 12rem);
  width: auto;
  transform-origin: 0 0;
}
.is-intro .site-header__logo {
  opacity: 0;
}
.site-header .site-nav__list > li {
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}
.is-intro .site-header .site-nav__list > li,
.is-intro .site-header__toggle {
  opacity: 0;
  transform: translate3d(0, -0.5rem, 0);
}
/* The links nearest the logo arrive first */
.site-header .site-nav__list--left > li:nth-child(1),
.site-header .site-nav__list--right > li:nth-child(2) { transition-delay: 120ms; }

/* --- Title reveal, after Lusion (reveal.js) --------------------------------
   Each word sits in its own little window and rises into it. */
.will-split .split .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.12em; /* room for descenders inside the window */
  margin-bottom: -0.12em;
}
.will-split .split .w__i {
  display: inline-block;
  transform: translate3d(0, 112%, 0);
  transition: transform 800ms cubic-bezier(0.2, 0.75, 0.1, 1) calc(var(--i, 0) * 45ms);
}
.will-split .split.is-in .w__i {
  transform: none;
}
/* Intro lines: softer, a fade with a shorter rise */
.will-split .lede.split .w__i {
  opacity: 0;
  transform: translate3d(0, 60%, 0);
  transition:
    transform 900ms var(--ease-out) calc(120ms + var(--i, 0) * 18ms),
    opacity 900ms var(--ease-out) calc(120ms + var(--i, 0) * 18ms);
}
.will-split .lede.split.is-in .w__i {
  opacity: 1;
  transform: none;
}

/* --- Picture frames, after Lusion (reveal.js) ------------------------------
   They draw in with a zoom when hovered. (2 Nov: no scroll effects any more,
   Jeremy; they used to open out as they arrived and lean with the scroll.)
   4 Nov (Jeremy: it lagged on Campaigns): the frame now shrinks with a
   transform, which the graphics card does, instead of being re-cut every
   frame with clip-path; the picture is kept ready on its own layer. */
.frame-fx {
  transition:
    transform 1300ms cubic-bezier(0.2, 0.75, 0.1, 1),
    border-radius 1300ms cubic-bezier(0.2, 0.75, 0.1, 1);
}
.frame-fx > img {
  transition: transform 1500ms cubic-bezier(0.2, 0.75, 0.1, 1);
}
@media (hover: hover) {
  .frame-fx,
  .frame-fx > img {
    will-change: transform;
  }
}
.frame-fx:hover,
.campaign-card:hover .frame-fx,
.campaign-card:focus-visible .frame-fx {
  transform: scale(0.95);
  border-radius: 8px;
  transition-duration: 700ms;
}
.frame-fx:hover > img,
.campaign-card:hover .frame-fx > img,
.campaign-card:focus-visible .frame-fx > img {
  transform: scale(1.08);
  transition-duration: 900ms;
}

/* --- Rolling letters, after Lusion (reveal.js) -----------------------------
   Each letter has a copy of itself below; on hover the letters roll up one
   after another, and an arrow slides in. */
.roll {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
}
.roll__c {
  display: inline-block;
  overflow: hidden;
  height: 1.12em;
  vertical-align: top;
}
.roll__c > span {
  display: block;
  line-height: 1.12;
  transition: transform 600ms cubic-bezier(0.2, 0.75, 0.1, 1) calc(var(--i, 0) * 22ms);
}
.campaign-card:hover .roll__c > span,
.campaign-card:focus-visible .roll__c > span,
.work__frame:hover .roll__c > span,
.work__frame:focus-within .roll__c > span {
  transform: translate3d(0, -100%, 0);
}

/* Start a project in the menu (2 Nov): the same weight as the other links,
   with the drawn arrow and the accent colour, so the right side of the bar
   is no heavier than the left */
.site-nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.site-nav__cta::after {
  content: "";
  width: 1.4em;
  height: 0.55em;
  background: var(--accent);
  -webkit-mask: var(--arrow) center / contain no-repeat;
  mask: var(--arrow) center / contain no-repeat;
  transition: transform var(--dur-2) var(--ease-out);
}
.site-nav__cta:hover::after {
  transform: translateX(0.3em);
}
