/*
 * Graph Infra
 * Main stylesheet: shared by every page
 *
 * Brand: Dark Indigo #272362, Gold #C69038
 * Type:  Libre Baskerville (display), Montserrat (body)
 */

/* Fonts (self-hosted, brand typefaces only)
   ========================================================================== */

@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/montserrat-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Libre Baskerville"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/libre-baskerville-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Libre Baskerville"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/libre-baskerville-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Libre Baskerville"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/libre-baskerville-latin-700-normal.woff2") format("woff2"); }


/* Settings
   ========================================================================== */

:root {
  --indigo: #272362;
  --night: #272362;
  --gold: #c69038;
  --gold-soft: #dcb77c;
  --white: #ffffff;
  --mist: #eceaf3;
  --mist-2: #dedbea;
  --ink: #272362;
  --muted: #5d5a86;
  --f-display: "Libre Baskerville", serif;
  --f-body: "Montserrat", sans-serif;
  --frame: 14px;
  --rail: clamp(72px, 8.5vw, 150px);
  --gut-l: calc(var(--rail) + var(--frame) + 24px);
  --gut-r: calc(var(--frame) + 40px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}


/* Base
   ========================================================================== */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--indigo);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img,
video {
  max-width: 100%;
  display: block;
  height: auto;
}

button,
input,
select,
textarea {
  font-family: var(--f-body);
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

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

.eyebrow {
  margin: 0;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.ph {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px dashed currentColor;
  border-radius: 999px;
  padding: 4px 10px;
  vertical-align: middle;
}


/* Frame, side rail and navigation
   ========================================================================== */

.frame {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  border: var(--frame) solid var(--night);
}

.rail {
  position: fixed;
  z-index: 70;
  top: var(--frame);
  bottom: var(--frame);
  left: var(--frame);
  width: var(--rail);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: 28px;
  color: var(--white);
  transition: color .5s, opacity .9s;
  pointer-events: none;
}

.rail>* {
  pointer-events: auto;
}

.tone-light .rail,
.tone-light .nav {
  color: var(--indigo);
}

.badge {
  position: relative;
  width: clamp(76px, 7vw, 112px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  text-decoration: none;
}

.badge .ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  overflow: visible;
}

.ring-bg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  opacity: .22;
}

.ring-fg {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 276.5;
  stroke-dashoffset: 276.5;
}

.badge-wings {
  position: relative;
  width: 58%;
  display: block;
  transition: opacity .35s, transform .35s;
}

.badge-wings img {
  width: 100%;
  display: block;
  transform-origin: 50% 100%;
}

.badge-top {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .24em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s, transform .35s;
}

.badge:hover .badge-wings {
  opacity: 0;
  transform: translateY(-8px);
}

.badge:hover .badge-top {
  opacity: 1;
  transform: none;
}

.rise {
  margin-block: auto;
  position: relative;
  display: grid;
  justify-items: center;
  gap: 12px;
}

.rise-line {
  position: relative;
  display: block;
  width: 1px;
  height: clamp(140px, 28vh, 300px);
  background: currentColor;
  opacity: .9;
  background: none;
}

.rise-line::before {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  opacity: .25;
}

.rise-line i {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1px;
  height: 0;
  background: var(--gold);
}

.rise-a {
  position: absolute;
  left: 50%;
  width: 14px;
  height: 13px;
  margin-left: -7px;
  bottom: 28px;
  fill: var(--gold);
  transition: transform .2s;
}

.rise-num {
  font-weight: 600;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .1em;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.scrollcue {
  display: grid;
  justify-items: center;
  gap: 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .3em;
}

.scrollcue span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.scrollcue svg {
  width: 9px;
  height: 44px;
}

.nav {
  position: fixed;
  z-index: 70;
  top: calc(var(--frame) + 28px);
  right: calc(var(--frame) + 34px);
  display: grid;
  justify-items: end;
  gap: 18px;
  color: var(--white);
  transition: color .5s, opacity .9s;
}

.nav-main {
  font-family: var(--f-display);
  font-size: clamp(16px, 1.35vw, 21px);
  text-transform: uppercase;
  line-height: 1.15;
  text-align: right;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}

.nav-sub {
  display: grid;
  justify-items: end;
  gap: 4px;
}

.nav-sub a {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .26em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav a:hover {
  color: var(--gold);
}

.menu-btn {
  background: none;
  border: 0;
  cursor: pointer;
  color: inherit;
  font: inherit;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .26em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
}

.menu-btn i {
  display: grid;
  gap: 5px;
  width: 22px;
}

.menu-btn i::before,
.menu-btn i::after {
  content: "";
  height: 1.5px;
  background: currentColor;
  display: block;
}

.topbar {
  display: none;
}

.nav-main,
.nav-sub {
  transition: opacity .45s ease, transform .45s var(--ease);
}

.compact .nav-main,
.compact .nav-sub {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

.compact .nav {
  gap: 0;
}

.compact .nav .menu-btn {
  position: absolute;
  top: 0;
  right: 0;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(39, 35, 98, .82);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.compact.tone-light .nav .menu-btn {
  background: rgba(236, 234, 243, .9);
  color: var(--indigo);
  box-shadow: 0 0 0 1px rgba(39, 35, 98, .12);
}


/* Menu overlay */

.menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: calc(var(--frame) + 28px) calc(var(--frame) + 40px) calc(var(--frame) + 36px) calc(var(--frame) + 40px);
  background: var(--night);
  color: var(--white);
  overflow: hidden auto;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .8s cubic-bezier(.7, 0, .2, 1), visibility 0s .8s;
}

.menu.open {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path .8s cubic-bezier(.7, 0, .2, 1), visibility 0s;
}

.menu-watermark {
  position: absolute;
  left: -6vw;
  top: 50%;
  width: min(78vw, 1100px);
  max-width: none;
  transform: translateY(-46%) scale(.94);
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.2s ease .2s, transform 1.6s var(--ease) .2s;
}

.menu.open .menu-watermark {
  opacity: .14;
  transform: translateY(-50%) scale(1);
}

.menu-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-logo img {
  width: 132px;
}

.menu-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 100px);
  align-items: center;
  padding-top: 30px;
}

.menu-info {
  display: grid;
  gap: 10px;
  justify-items: start;
  align-self: end;
  padding-left: calc(var(--rail) - 40px);
}

.menu-info .eyebrow {
  color: var(--gold-soft);
  margin-bottom: 6px;
}

.menu-info a:not(.pill) {
  font-size: 15px;
  text-decoration: none;
  color: rgba(255, 255, 255, .85);
}

.menu-info a:not(.pill):hover {
  color: var(--gold-soft);
}

.menu-places {
  margin: 14px 0 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}

.menu-info .pill {
  color: var(--white);
}

.menu-info .pill:hover {
  background: var(--white);
  color: var(--indigo);
}

.menu-nav {
  display: grid;
  width: 100%;
  max-width: 460px;
  justify-self: end;
  margin-right: clamp(0px, 4vw, 70px);
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.menu-nav a {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  font-family: var(--f-display);
  font-size: clamp(20px, 1.9vw, 30px);
  line-height: 1.2;
  text-decoration: none;
  color: var(--white);
  opacity: 0;
  transform: translateY(16px);
  transition: color .3s, padding .4s var(--ease), opacity .6s ease, transform .7s var(--ease);
}

.menu.open .menu-nav a {
  opacity: 1;
  transform: none;
}

.menu.open .menu-nav a:nth-child(1) { transition-delay: 0s, 0s, .25s, .25s; }
.menu.open .menu-nav a:nth-child(2) { transition-delay: 0s, 0s, .3s, .3s; }
.menu.open .menu-nav a:nth-child(3) { transition-delay: 0s, 0s, .35s, .35s; }
.menu.open .menu-nav a:nth-child(4) { transition-delay: 0s, 0s, .4s, .4s; }
.menu.open .menu-nav a:nth-child(5) { transition-delay: 0s, 0s, .45s, .45s; }
.menu.open .menu-nav a:nth-child(6) { transition-delay: 0s, 0s, .5s, .5s; }
.menu.open .menu-nav a:nth-child(7) { transition-delay: 0s, 0s, .55s, .55s; }

.menu-nav a small {
  font-family: var(--f-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--gold-soft);
}

.menu-nav a::after {
  content: "\2192";
  font-family: var(--f-body);
  font-size: 15px;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity .3s, transform .4s var(--ease);
}

.menu-nav a:hover,
.menu-nav a[aria-current="page"] {
  color: var(--gold-soft);
}

.menu-nav a:hover {
  padding-left: 10px;
}

.menu-nav a:hover::after {
  opacity: 1;
  transform: none;
}

.menu-close {
  background: none;
  border: 1.5px solid rgba(255, 255, 255, .6);
  color: var(--white);
  border-radius: 999px;
  padding: 10px 18px;
  font: inherit;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .24em;
  cursor: pointer;
}

.menu-close:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
}


/* Sections and type
   ========================================================================== */

.sec {
  position: relative;
  padding-block: clamp(110px, 16vh, 180px);
  padding-inline: var(--gut-l) var(--gut-r);
}

.dark {
  background: var(--indigo);
  color: var(--white);
}

.night {
  background: var(--night);
  color: var(--white);
}

.light {
  background: var(--mist);
  color: var(--ink);
}

.light2 {
  background: var(--mist-2);
  color: var(--ink);
}

.dark .eyebrow,
.night .eyebrow {
  color: var(--gold-soft);
}

.light .eyebrow,
.light2 .eyebrow {
  color: var(--muted);
}

.wrap {
  max-width: 1240px;
  margin-inline: auto;
}

.h2 {
  margin: 16px 0 0;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(28px, 3.3vw, 56px);
  line-height: 1.05;
  letter-spacing: -.01em;
  text-wrap: balance;
}

.h2 em {
  font-style: italic;
  color: var(--gold);
}

.light .h2,
.light2 .h2 {
  color: var(--indigo);
}

.lede {
  max-width: 58ch;
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
}

.dark .lede,
.night .lede {
  color: rgba(255, 255, 255, .8);
}


/* Image frames */

.rv {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: var(--mist-2);
}

.dark .rv,
.night .rv {
  background: var(--night);
}

.rv>img {
  position: absolute;
  left: 0;
  top: -8%;
  width: 100%;
  height: 116%;
  object-fit: cover;
}

.rv.sheen::after {
  content: "";
  position: absolute;
  inset: -20%;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .28) 50%, transparent 60%);
  transform: translateX(-120%);
  pointer-events: none;
}

.rv.sheen.shine::after {
  transition: transform 1.8s var(--ease) .3s;
  transform: translateX(120%);
}

.cap {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 2;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 1px 10px rgba(0, 0, 0, .5);
}


/* Buttons and controls */

.btn {
  display: inline-block;
  background: var(--white);
  color: var(--indigo);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 18px 36px;
  border-radius: 6px;
  border: 0;
  cursor: pointer;
  transition: background .3s, color .3s;
}

.btn:hover {
  background: var(--gold);
  color: var(--white);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  padding: 15px 28px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .3s, color .3s;
}

.light .pill,
.light2 .pill {
  color: var(--indigo);
}

.light .pill:hover,
.light2 .pill:hover {
  background: var(--indigo);
  color: var(--white);
}

.pager {
  display: grid;
  grid-template-columns: auto auto 1fr auto auto;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.pager button {
  background: none;
  border: 0;
  padding: 6px;
  cursor: pointer;
  color: inherit;
  display: grid;
  place-items: center;
}

.pager button svg {
  width: 9px;
  height: 14px;
}

.pager .bar {
  height: 1px;
  background: rgba(39, 35, 98, .3);
  position: relative;
}

.pager .bar i {
  position: absolute;
  left: 0;
  top: -.5px;
  height: 2px;
  background: currentColor;
  transition: width .6s cubic-bezier(.7, 0, .2, 1);
}

.ph-box {
  display: grid;
  place-items: center;
  text-align: center;
  background: repeating-linear-gradient(135deg, rgba(39, 35, 98, .06) 0 10px, rgba(39, 35, 98, .02) 10px 20px);
  border: 1px dashed rgba(39, 35, 98, .35);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 14px;
}


/* Stats */

.stats {
  margin-top: clamp(70px, 11vh, 120px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(39, 35, 98, .2);
}

.stat {
  padding: 28px 22px 0;
  display: grid;
  gap: 8px;
  align-content: start;
}

.stat+.stat {
  border-left: 1px solid rgba(39, 35, 98, .2);
}

.stat b {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(34px, 3.6vw, 60px);
  line-height: 1;
  color: var(--indigo);
  font-variant-numeric: tabular-nums;
}

.stat b small {
  font-size: .42em;
  color: var(--gold);
  margin-left: .1em;
}

.stat>span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}


/* Leadership and team
   ========================================================================== */

.lead {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 6vw, 100px);
  align-items: center;
}

.portrait {
  aspect-ratio: 596/688;
  max-width: 520px;
}

.leader-name {
  margin: 34px 0 4px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(26px, 2.6vw, 40px);
  color: var(--indigo);
}

.leader-role {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .24em;
  color: var(--gold);
  text-transform: uppercase;
}

.lead p {
  margin: 18px 0 0;
  max-width: 56ch;
  line-height: 1.75;
}

.team-head {
  margin-top: clamp(90px, 14vh, 150px);
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(39, 35, 98, .2);
  padding-top: 30px;
}

.team-head h3 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 46px);
  color: var(--indigo);
}

.team-head p {
  margin: 0;
  color: var(--muted);
}

.team {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.member {
  display: grid;
  gap: 12px;
}

.member .ph-box {
  position: relative;
  aspect-ratio: 3/4;
  font-family: var(--f-display);
  font-size: clamp(26px, 2.4vw, 38px);
  letter-spacing: .02em;
  text-transform: none;
  color: var(--indigo);
  padding: 0;
}

.member .ph-box small {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  font-family: var(--f-body);
  font-size: 9px;
  letter-spacing: .2em;
  color: var(--muted);
  text-transform: uppercase;
}

.member b {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 17px;
  color: var(--indigo);
  line-height: 1.25;
}

.member span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}


/* Partners and manifesto */

.collab {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 100px);
  align-items: end;
}

.logos {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(39, 35, 98, .18);
  border: 1px solid rgba(39, 35, 98, .18);
}

.logo-cell {
  background: var(--mist);
  aspect-ratio: 16/9;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 22px;
  gap: 8px;
}

.logo-cell img {
  max-height: 58px;
  width: auto;
}

.logo-cell .cap2 {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

.logo-cell.ph-box {
  border: 0;
}

/* Single collaborator */
.partner-one {
  margin-top: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  border: 1px solid rgba(39, 35, 98, .18);
  background: var(--mist);
}

.partner-logo {
  display: grid;
  place-items: center;
  padding: clamp(36px, 5vw, 72px);
  border-right: 1px solid rgba(39, 35, 98, .18);
}

.partner-logo img {
  width: min(100%, 420px);
  height: auto;
}

.partner-text {
  padding: clamp(30px, 4vw, 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.partner-text small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
}

.partner-text h3 {
  font-family: var(--serif, "Libre Baskerville", serif);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.25;
  color: var(--ink);
  margin: 0;
}

.partner-text p {
  margin: 0;
  color: var(--muted);
  max-width: 42ch;
}

@media (max-width: 760px) {
  .partner-one {
    grid-template-columns: minmax(0, 1fr);
  }

  .partner-logo {
    border-right: 0;
    border-bottom: 1px solid rgba(39, 35, 98, .18);
  }
}

.manifesto {
  text-align: center;
}

.manifesto .wings {
  width: 110px;
  margin: 0 auto 24px;
}

.quotes {
  margin: 40px auto 0;
  max-width: 980px;
  display: grid;
  gap: clamp(40px, 7vh, 76px);
}

.quotes blockquote {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(20px, 2vw, 32px);
  line-height: 1.36;
  text-wrap: balance;
}

.quotes blockquote:nth-child(2) {
  color: var(--gold-soft);
  font-style: italic;
}


/* Enquiry form
   ========================================================================== */

.enquiry {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 5fr);
  gap: clamp(30px, 4vw, 70px);
  align-items: start;
}

.contact-list {
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 20px;
}

.contact-list li {
  display: grid;
  gap: 4px;
}

.contact-list small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.contact-list span {
  font-size: 15px;
  color: rgba(255, 255, 255, .9);
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 24px;
}

.field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}

.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 16px;
  color: var(--white);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .35);
  padding: 10px 0;
  border-radius: 0;
  outline: none;
  width: 100%;
}

.field select option {
  color: var(--ink);
}

.field textarea {
  resize: vertical;
  min-height: 84px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-bottom-color: var(--gold);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, .35);
}

.field .err {
  font-size: 12px;
  color: #f2b38a;
  min-height: 1em;
}

.consent {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  color: rgba(255, 255, 255, .7);
}

.consent input {
  margin-top: 3px;
  accent-color: var(--gold);
  width: 16px;
  height: 16px;
  flex: none;
}

.form .btn {
  justify-self: start;
}

.form-done {
  grid-column: 1 / -1;
  padding: 22px 24px;
  border: 1px solid var(--gold);
  font-size: 15px;
}

.form-done b {
  display: block;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 24px;
  color: var(--gold-soft);
  margin-bottom: 6px;
}


/* Footer
   ========================================================================== */

.foot {
  background: var(--night);
  color: rgba(255, 255, 255, .72);
  padding: clamp(70px, 10vh, 110px) var(--gut-r) calc(34px + var(--frame)) var(--gut-l);
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.foot-top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.foot-brand img {
  width: 170px;
}

.foot-brand p {
  margin: 18px 0 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .26em;
  color: var(--gold-soft);
}

.foot h4 {
  margin: 0 0 16px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}

.foot ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.foot a {
  text-decoration: none;
  color: rgba(255, 255, 255, .85);
}

.foot a:hover {
  color: var(--gold-soft);
}

.foot-legal {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  display: grid;
  gap: 14px;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .5);
}

.foot-legal .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 30px;
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* Small screens */

@media (max-width:900px) {
  .rail,
  .nav {
    display: none;
  }

  .lead,
  .collab,
  .enquiry {
    grid-template-columns: minmax(0, 1fr);
  }

  :root {
    --frame: 8px;
    --gut-l: calc(var(--frame) + 16px);
    --gut-r: calc(var(--frame) + 16px);
  }

  .topbar {
    display: flex;
    position: fixed;
    z-index: 70;
    left: var(--frame);
    right: var(--frame);
    top: var(--frame);
    padding: calc(14px + env(safe-area-inset-top, 0px)) 16px 14px;
    align-items: center;
    justify-content: space-between;
    color: var(--white);
    transition: color .5s, background .5s, opacity .9s;
  }

  .topbar.solid {
    background: rgba(39, 35, 98, .9);
    backdrop-filter: blur(8px);
  }

  .tone-light .topbar,
  .tone-light .topbar.solid {
    color: var(--indigo);
    background: rgba(236, 234, 243, .92);
    backdrop-filter: blur(8px);
  }

  .topbar img {
    width: 92px;
  }

  .topbar .tb-right {
    display: flex;
    gap: 14px;
    align-items: center;
  }

  .topbar a.enq {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .2em;
    text-decoration: none;
    border: 1.5px solid currentColor;
    border-radius: 999px;
    padding: 9px 16px;
  }

  .stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .stat+.stat {
    border-left: 0;
    border-top: 1px solid rgba(39, 35, 98, .2);
  }

  .team {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form {
    grid-template-columns: minmax(0, 1fr);
  }

  .foot-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .foot-brand {
    grid-column: 1 / -1;
  }

  .menu {
    padding: calc(var(--frame) + 16px) 20px 30px;
  }

  .menu-logo img {
    width: 100px;
  }

  .menu-body {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 40px;
  }

  .menu-nav {
    order: -1;
    max-width: none;
    justify-self: stretch;
    margin-right: 0;
  }

  .menu-info {
    padding-left: 0;
  }

  .menu-watermark {
    left: -30vw;
    width: 160vw;
  }
}

/* Cursor (mouse and trackpad only) */

.cur {
  display: none;
}

@media (pointer:fine) {

  html.has-cur,
  html.has-cur * {
    cursor: none !important;
  }

  html.has-cur input,
  html.has-cur textarea {
    cursor: text !important;
  }

  .cur {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 200;
    pointer-events: none;
  }

  .cur-dot {
    position: fixed;
    left: 0;
    top: 0;
    width: 6px;
    height: 6px;
    margin: -3px 0 0 -3px;
    border-radius: 50%;
    background: var(--gold);
    transition: opacity .3s, transform .3s var(--ease);
  }

  .cur-wings {
    position: fixed;
    left: 0;
    top: 0;
    width: 52px;
    height: auto;
    margin: -7px 0 0 -26px;
    max-width: none;
    transition: opacity .3s;
    filter: drop-shadow(0 2px 6px rgba(39, 35, 98, .28));
  }

  .cur-wings img {
    display: block;
    width: 100%;
    height: auto;
    transform-origin: 50% 90%;
    transition: transform .45s var(--ease);
  }

  .cur.hover .cur-wings img {
    transform: translateY(-22px) scale(1.25);
  }

  .cur.down .cur-wings img {
    transform: scale(.8, .62);
  }

  .cur.hide .cur-wings,
  .cur.hide .cur-dot,
  .cur.off .cur-wings,
  .cur.off .cur-dot {
    opacity: 0;
  }
}

/* Page hero (inner pages)
   ========================================================================== */

.page-hero {
  position: relative;
  min-height: min(78vh, 760px);
  display: flex;
  align-items: flex-end;
  padding: 140px var(--gut-r) clamp(48px, 8vh, 90px) var(--gut-l);
  background: var(--night);
  color: var(--white);
  overflow: hidden;
}

.page-hero--short {
  min-height: 52vh;
}

.page-hero__media {
  position: absolute;
  inset: 0;
  margin: 0;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroSettle 2.4s var(--ease) both;
}

.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(39, 35, 98, .55) 0%, rgba(39, 35, 98, .15) 40%, rgba(39, 35, 98, .85) 100%);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-hero h1 {
  margin: 14px 0 0;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 72px);
  line-height: 1.06;
  text-wrap: balance;
}

.page-hero h1 em {
  color: var(--gold-soft);
}

.page-hero .lede {
  margin-top: 20px;
  color: rgba(255, 255, 255, .82);
}

.page-hero--plain {
  min-height: 0;
  padding-top: clamp(150px, 20vh, 200px);
  background: var(--indigo);
}

@keyframes heroSettle {
  from {
    transform: scale(1.12);
  }

  to {
    transform: scale(1);
  }
}

/* Breadcrumb */

.crumbs {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.crumbs li+li::before {
  content: "/";
  margin-right: 10px;
  color: rgba(255, 255, 255, .4);
}

.crumbs a {
  text-decoration: none;
  color: rgba(255, 255, 255, .75);
}

.crumbs a:hover {
  color: var(--white);
}

/* Split blocks
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 110px);
  align-items: center;
}

.split--top {
  align-items: start;
}

.split--flip > :first-child {
  order: 2;
}

.split .rv {
  aspect-ratio: 4 / 5;
}

.split .rv--wide {
  aspect-ratio: 4 / 3;
}

.copy p {
  margin: 18px 0 0;
  line-height: 1.8;
  max-width: 60ch;
}

.dark .copy p,
.night .copy p {
  color: rgba(255, 255, 255, .8);
}

.copy .btn,
.copy .pill {
  margin-top: 30px;
}

/* Key facts */

.facts {
  margin: 34px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(39, 35, 98, .18);
}

.facts div {
  padding: 18px 16px 18px 0;
  border-bottom: 1px solid rgba(39, 35, 98, .18);
}

.facts dt {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}

.facts dd {
  margin: 6px 0 0;
  font-family: var(--f-display);
  font-size: clamp(18px, 1.5vw, 24px);
  color: var(--indigo);
}

/* Feature list */

.features {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.features li {
  position: relative;
  padding-left: 28px;
  line-height: 1.6;
}

.features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 12px;
  height: 11px;
  background: var(--gold);
  clip-path: polygon(50% 0, 100% 100%, 78% 100%, 50% 50%, 22% 100%, 0 100%);
}

/* Cards: projects and articles
   ========================================================================== */

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(36px, 6vh, 60px);
}

.section-head .h2 {
  margin-top: 12px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 36px);
}

.card {
  display: grid;
  gap: 16px;
  align-content: start;
  text-decoration: none;
  color: inherit;
}

.card .rv {
  aspect-ratio: 4 / 3;
}

.card .rv > img {
  transition: transform 1.4s var(--ease);
}

.card:hover .rv > img {
  transform: scale(1.05);
}

.card h3 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.2;
}

.card p {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
}

.dark .card p,
.night .card p {
  color: rgba(255, 255, 255, .7);
}

.card .meta-line {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}

.card .more {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--indigo);
}

.card .more::after {
  content: " \2192";
  display: inline-block;
  transition: transform .4s var(--ease);
}

.card:hover .more::after {
  transform: translateX(6px);
}

.project-row {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(30px, 5vw, 90px);
  align-items: center;
  padding-block: clamp(50px, 8vh, 90px);
  border-top: 1px solid rgba(39, 35, 98, .16);
}

.project-row:nth-child(even) > :first-child {
  order: 2;
}

.project-row .rv {
  aspect-ratio: 16 / 11;
}

.project-row h2 {
  margin: 10px 0 0;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1.08;
  color: var(--indigo);
}

.badge-tag {
  display: inline-block;
  padding: 5px 10px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: rgba(39, 35, 98, .75);
  color: var(--white);
}

.rv .badge-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}

/* Gallery
   ========================================================================== */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filters button {
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1.5px solid rgba(39, 35, 98, .3);
  background: transparent;
  color: var(--indigo);
  cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}

.filters button[aria-pressed="true"],
.filters button:hover {
  background: var(--indigo);
  border-color: var(--indigo);
  color: var(--white);
}

.masonry {
  columns: 3 300px;
  column-gap: 18px;
}

.masonry figure {
  break-inside: avoid;
  margin: 0 0 18px;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--mist-2);
}

.masonry img {
  width: 100%;
  height: auto;
  transition: transform 1.2s var(--ease);
}

.masonry figure:hover img {
  transform: scale(1.04);
}

.masonry figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px 14px 12px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--white);
  background: linear-gradient(0deg, rgba(39, 35, 98, .75), transparent);
}

.masonry figure[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 60px 70px;
  background: rgba(39, 35, 98, .94);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility 0s .35s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .35s;
}

.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
}

.lightbox p {
  margin: 16px 0 0;
  text-align: center;
  color: rgba(255, 255, 255, .75);
  font-size: 13px;
  letter-spacing: .08em;
}

.lightbox button {
  position: absolute;
  background: none;
  border: 1.5px solid rgba(255, 255, 255, .5);
  color: var(--white);
  border-radius: 999px;
  width: 46px;
  height: 46px;
  font-size: 18px;
  cursor: pointer;
}

.lightbox .lb-close {
  top: 20px;
  right: 20px;
}

.lightbox .lb-prev {
  left: 16px;
  top: 50%;
}

.lightbox .lb-next {
  right: 16px;
  top: 50%;
}

/* Articles and legal pages
   ========================================================================== */

.prose {
  max-width: 720px;
  margin-inline: auto;
  font-size: 17px;
  line-height: 1.85;
}

.prose h2 {
  margin: 48px 0 0;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.2;
  color: var(--indigo);
}

.prose h3 {
  margin: 32px 0 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--indigo);
}

.prose p,
.prose ul,
.prose ol {
  margin: 18px 0 0;
}

.prose li {
  margin-top: 8px;
}

.prose a {
  color: var(--indigo);
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}

.prose blockquote {
  margin: 34px 0 0;
  padding-left: 22px;
  border-left: 2px solid var(--gold);
  font-family: var(--f-display);
  font-style: italic;
  font-size: 21px;
  color: var(--indigo);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 22px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}

.article-cover {
  max-width: 1100px;
  margin: 0 auto 56px;
  aspect-ratio: 16 / 8;
}

/* FAQ */

.faq {
  max-width: 820px;
  border-top: 1px solid rgba(39, 35, 98, .18);
}

.faq details {
  border-bottom: 1px solid rgba(39, 35, 98, .18);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-family: var(--f-display);
  font-size: clamp(17px, 1.4vw, 21px);
  color: var(--indigo);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--f-body);
  font-size: 22px;
  line-height: 1;
  color: var(--gold);
  transition: transform .3s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: 0 0 22px;
  line-height: 1.8;
  max-width: 66ch;
}

/* CTA band */

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
}

.cta-band .h2 {
  margin: 10px 0 0;
}

.cta-band .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6);
}

.btn--ghost:hover {
  background: var(--white);
  color: var(--indigo);
}

/* Map placeholder */

.map-box {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 10px;
  padding: 24px;
  background: repeating-linear-gradient(135deg, rgba(39, 35, 98, .06) 0 10px, rgba(39, 35, 98, .02) 10px 20px);
  border: 1px dashed rgba(39, 35, 98, .35);
  color: var(--muted);
}

.map-box--live {
  padding: 0;
  border: 0;
  background: var(--light2, #eeedf6);
  overflow: hidden;
}

.map-box--live iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(.85);
}

/* Thank-you and 404 */

.notice {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 140px var(--gut-r) 80px var(--gut-l);
}

.notice .wings {
  width: 120px;
  margin: 0 auto 30px;
}

.notice h1 {
  margin: 14px 0 0;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 60px);
  line-height: 1.1;
}

.notice h1 em {
  color: var(--gold-soft);
}

.notice p {
  max-width: 52ch;
  margin: 20px auto 0;
  line-height: 1.8;
  color: rgba(255, 255, 255, .8);
}

.notice .actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.steps {
  margin: 40px auto 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 820px;
  counter-reset: step;
  text-align: left;
}

.steps li {
  counter-increment: step;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .16);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .8);
}

.steps li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 10px;
  font-family: var(--f-display);
  font-size: 22px;
  color: var(--gold-soft);
}

/* WhatsApp button
   ========================================================================== */

.wa-float {
  position: fixed;
  right: calc(var(--frame) + 22px);
  bottom: calc(var(--frame) + 22px + env(safe-area-inset-bottom, 0px));
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 20px 0 16px;
  border-radius: 999px;
  background: #1fa855;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(39, 35, 98, .3);
  transition: transform .4s var(--ease), box-shadow .4s;
}

.wa-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(39, 35, 98, .35);
}

.wa-float svg {
  width: 24px;
  height: 24px;
  flex: none;
}

/* Reveal on scroll (inner pages) */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.js .page-inner .rv {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.3s cubic-bezier(.7, 0, .2, 1);
}

.js .page-inner .rv.is-in {
  clip-path: inset(0 0 0 0);
}

/* Inner page responsive */

@media (max-width: 900px) {
  .page-hero {
    padding-top: 120px;
  }

  .split,
  .project-row,
  .cta-band {
    grid-template-columns: minmax(0, 1fr);
  }

  .split--flip > :first-child,
  .project-row:nth-child(even) > :first-child {
    order: 0;
  }

  .cards,
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .lightbox {
    padding: 70px 14px;
  }

  .wa-float span {
    display: none;
  }

  .wa-float {
    width: 54px;
    padding: 0;
    justify-content: center;
  }
}

@media (min-width: 901px) and (max-width: 1200px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-hero__media img {
    animation: none;
  }

  .js [data-reveal],
  .js .page-inner .rv {
    opacity: 1;
    transform: none;
    clip-path: none;
  }
}

/* Small helpers
   ========================================================================== */

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 300;
  padding: 12px 18px;
  background: var(--white);
  color: var(--indigo);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .12em;
  text-decoration: none;
  transition: top .2s;
}

.skip-link:focus {
  top: 16px;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 13px;
  color: #f2b38a;
}

.form-status:empty {
  display: none;
}

.consent + .err {
  grid-column: 1 / -1;
  margin-top: -16px;
  font-size: 12px;
  color: #f2b38a;
}

.consent a {
  color: var(--gold-soft);
}

.enquiry--two {
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 6vw, 110px);
}

.btn--dark {
  background: var(--indigo);
  color: var(--white);
}

.btn--dark:hover {
  background: var(--gold);
}

.actions-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.actions-row .btn,
.actions-row .pill {
  margin-top: 0;
}

.cards--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.facts dd.tbc {
  font-style: italic;
  color: var(--muted);
}

.foot-h {
  margin: 0 0 16px;
  font-family: var(--f-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}

.foot-address {
  margin-top: 22px;
  font-style: normal;
  line-height: 1.9;
  font-size: 13px;
}

.foot-legal p {
  margin: 0;
}

@media (max-width: 900px) {
  .enquiry--two,
  .cards--two {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* Scroll cue fades out at the end of the page */

.rail .scrollcue {
  transition: opacity .5s ease;
}

.at-end .rail .scrollcue {
  opacity: 0;
}

/* Full logo in the manifesto */

.manifesto .logo-full {
  width: clamp(180px, 18vw, 260px);
  height: auto;
  margin: 0 auto 26px;
}

/* Horizontal scrollers with buttons (phones) */

.hs-controls {
  display: none;
}

@media (max-width: 900px) {
  [data-hscroll] {
    display: flex !important;
    flex-direction: row !important;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--gut-l);
    padding-inline: var(--gut-l) !important;
    margin-inline: calc(var(--gut-l) * -1);
    width: auto !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  [data-hscroll]::-webkit-scrollbar {
    display: none;
  }

  [data-hscroll] > * {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }

  .team[data-hscroll] > * {
    flex-basis: 46%;
  }

  .hs-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
  }

  .hs-controls .hs-bar {
    flex: 1;
    height: 1px;
    background: currentColor;
    opacity: .25;
    position: relative;
  }

  .hs-controls .hs-bar i {
    position: absolute;
    left: 0;
    top: -.5px;
    height: 2px;
    width: 20%;
    background: var(--gold);
    transition: left .2s linear;
  }

  .hs-controls button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid currentColor;
    background: transparent;
    color: inherit;
    display: grid;
    place-items: center;
    cursor: pointer;
  }

  .hs-controls button[disabled] {
    opacity: .3;
  }

  .hs-controls svg {
    width: 9px;
    height: 14px;
  }

  .light .hs-controls,
  .light2 .hs-controls {
    color: var(--indigo);
  }
}

/* Careers
   ========================================================================== */

.perks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 36px);
}

.perk {
  padding-top: 22px;
  border-top: 2px solid var(--gold);
}

.perk h3 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(19px, 1.5vw, 23px);
  color: var(--indigo);
}

.perk p {
  margin: 12px 0 0;
  line-height: 1.7;
  color: var(--muted);
}

.jobs {
  border-top: 1px solid rgba(39, 35, 98, .18);
}

.job {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 18px 40px;
  align-items: center;
  padding-block: 26px;
  border-bottom: 1px solid rgba(39, 35, 98, .18);
}

.job h3 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(19px, 1.6vw, 25px);
  color: var(--indigo);
}

.job p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
  max-width: 60ch;
}

.job-meta {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.job-meta li {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(39, 35, 98, .07);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--indigo);
}

.field input[type="file"] {
  padding: 12px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, .75);
}

.field input[type="file"]::file-selector-button {
  margin-right: 14px;
  padding: 9px 16px;
  border: 1.5px solid rgba(255, 255, 255, .5);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  font-family: var(--f-body);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .perks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .perks {
    grid-template-columns: minmax(0, 1fr);
  }

  .job {
    grid-template-columns: minmax(0, 1fr);
  }

  .job .pill {
    justify-self: start;
  }
}

/* WhatsApp button (thank-you page) */

.btn--wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1fa855;
  border-color: #1fa855;
  color: var(--white);
}

.btn--wa svg {
  width: 18px;
  height: 18px;
}

.btn--wa:hover {
  background: #1a9149;
  border-color: #1a9149;
  color: var(--white);
}

/* Media */
.media-player video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  background: var(--ink);
}

[data-media-grid] > [hidden] {
  display: none;
}

.media-player iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
}

/* Team photos */
.team {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.member-photo {
  margin: 0;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--mist-2);
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}

.member:hover .member-photo img {
  transform: scale(1.04);
}

.member .ph-box {
  border-style: solid;
}

@media (min-width: 901px) and (max-width: 1200px) {
  .team {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .team[data-hscroll] > * {
    flex-basis: 58%;
  }
}

.team .member .ph-box {
  background: var(--mist-2);
  border: 1px solid rgba(39, 35, 98, .14);
}

/* Collaborator: logo only */
.partner-solo {
  margin-top: 56px;
  display: grid;
  place-items: center;
  padding: clamp(40px, 6vw, 84px) 24px;
  border-top: 1px solid rgba(39, 35, 98, .16);
  border-bottom: 1px solid rgba(39, 35, 98, .16);
}

.partner-solo__frame {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 560px);
  padding: clamp(28px, 4vw, 52px) clamp(28px, 5vw, 64px);
  background: #fff;
  box-shadow: 0 30px 60px -36px rgba(39, 35, 98, .35);
}

.partner-solo__frame::before,
.partner-solo__frame::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  border: 0 solid var(--gold);
}

.partner-solo__frame::before {
  top: -10px;
  left: -10px;
  border-top-width: 2px;
  border-left-width: 2px;
}

.partner-solo__frame::after {
  right: -10px;
  bottom: -10px;
  border-right-width: 2px;
  border-bottom-width: 2px;
}

.partner-solo__frame img {
  width: 100%;
  max-width: 420px;
  height: auto;
}

/* Legal pages */
.prose.legal table {
  width: 100%;
  margin: 18px 0 26px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.55;
}

.prose.legal th,
.prose.legal td {
  padding: 12px 14px;
  border: 1px solid rgba(39, 35, 98, .16);
  text-align: left;
  vertical-align: top;
}

.prose.legal thead th {
  background: var(--ink);
  color: #fff;
  font-weight: 600;
}

.prose.legal a {
  word-break: break-word;
}

.legal-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

@media (max-width: 760px) {
  .prose.legal table,
  .prose.legal thead,
  .prose.legal tbody,
  .prose.legal tr,
  .prose.legal th,
  .prose.legal td {
    display: block;
  }

  .prose.legal thead {
    display: none;
  }

  .prose.legal tr {
    margin-bottom: 14px;
    border: 1px solid rgba(39, 35, 98, .16);
  }

  .prose.legal td {
    border: 0;
    border-bottom: 1px solid rgba(39, 35, 98, .1);
  }
}

@media (max-width: 760px) {
  .prose.legal td:first-child {
    font-weight: 600;
    color: var(--ink);
  }
}
