/* ==========================================================================
   site.css — Eloise Reed, six pages
   Layout, copy and art direction: John's six page mocks (1920px wide).
   Every measurement below written as `N * var(--u)` is the mock's own pixel
   value at 1920 x 1080, so the page is the mock at that size and scales as
   one piece around it. Motion lives in motion.js; this file only holds the
   resting state and the starting poses motion.js animates from.
   ========================================================================== */

/* ---- 1. TOKENS ------------------------------------------------------------
   Colour roles from the identity palette. Contrast on the ground each is
   used on: plum/bone 14.76 · bone/plum 14.76 · peach/plum 12.82 ·
   quiet/plum 8.07 · red/bone 6.85 · burnt/bone 3.53 (large sizes only) ·
   grey/bone 4.13 (display only). Ember is never text.                       */
:root {
  --bone: #e8e4de;
  --plum: #2b0217;
  --red: #9a0a08;
  --burnt: #c65426;
  --peach: #f5cfac;
  --grey: #6f6c66;
  --teal: #2e4a47;
  --quiet: #b7a6ad; /* secondary text on plum */
  --rule-light: #b8aeae; /* hairlines on bone and peach */
  --rule-dark: #6b4a59; /* hairlines on plum */

  --font: 'Reckless', 'Reckless Fallback', Georgia, serif;

  /* One mock pixel. The mock is 1920 x 1080; the composition scales to
     whichever of width or height is tighter, so a short laptop screen gets
     the same picture, smaller, rather than a clipped one. */
  --u: min(calc(100vw / 1920), calc(100svh / 1080));

  /* TYPE — six sizes, site-wide, nothing else. Values are the mock's, at
     1920. Every piece of text carries exactly one .t-* class.               */
  --fs-display: max(48px, calc(128 * var(--u))); /* page titles, home H1    */
  --fs-headline: max(36px, calc(84 * var(--u))); /* section titles           */
  --fs-statement: max(28px, calc(64 * var(--u))); /* the big coloured lines  */
  --fs-lede: max(20px, calc(32 * var(--u))); /* sub-headings, ledes, column heads (John, 9 Oct: the About sub-heading's size) */
  --fs-body: max(16px, calc(24 * var(--u))); /* running text, buttons        */
  --fs-small: max(13px, calc(18 * var(--u))); /* footer, labels, diagrams    */

  /* GRID — the mock's: twelve columns, 86px margins, 40px gutters at 1920 */
  --margin: max(20px, calc(86 * 100vw / 1920));
  --gutter: max(16px, calc(40 * 100vw / 1920));

  --pill-h: max(44px, calc(54 * var(--u)));
  --head-top: max(18px, calc(43 * var(--u))); /* lockup cap line */
}

/* ---- 2. BASE ----------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
html {
  background: var(--teal); /* the footer colour, so overscroll matches */
}
body {
  background: var(--bone);
  color: var(--plum);
  font-family: var(--font);
  font-weight: 300; /* Reckless Book — the only licensed style */
  font-synthesis: none; /* never fake a bold or an italic */
  font-size: var(--fs-body);
  line-height: 1.3;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1,
h2,
h3,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
  font-weight: 300;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
.vh {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---- 3. TYPE ------------------------------------------------------------ */
.t-display {
  font-size: var(--fs-display);
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.t-headline {
  font-size: var(--fs-headline);
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.t-statement {
  font-size: var(--fs-statement);
  line-height: 1.2;
  letter-spacing: 0.005em;
}
.t-lede {
  font-size: var(--fs-lede);
  line-height: 1.3;
  letter-spacing: 0.015em;
}
.t-body {
  font-size: var(--fs-body);
  line-height: 1.3;
}
.t-small {
  font-size: var(--fs-small);
  line-height: 1.35;
}
/* Ellie, Nov: bold lead-ins (Services, Outcomes). No bold is licensed, so
   the browser emboldens the Book — see CHECKLIST (buy Reckless Medium). */
.t-bold {
  font-synthesis: weight;
  font-weight: 600;
}
.lh-open {
  line-height: 1.55; /* narrow columns: pillars, beliefs, diagram steps */
}
/* "What I see when the work takes hold:" is italic in the mock. No italic
   is licensed, so the browser slants the Book (an oblique, not a true
   italic). See CHECKLIST: buy Book Italic, or set it upright. */
.t-oblique {
  font-synthesis: style;
  font-style: italic;
}

.c-plum {
  color: var(--plum);
}
.c-bone {
  color: var(--bone);
}
.c-peach {
  color: var(--peach);
}
.c-red {
  color: var(--red);
}
.c-burnt {
  color: var(--burnt);
} /* large sizes only */
.c-quiet {
  color: var(--quiet);
}
.c-grey {
  color: var(--grey);
} /* display only */

/* Line breaks that are the designer's rag, kept at desktop width only.
   (Breaks between sentences are plain <br> and stay everywhere.) */
@media (max-width: 1099px) {
  br.rag {
    display: none;
  }
}

/* ---- 4. BUTTONS: one pill, everywhere ----------------------------------- */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: max(12px, calc(24 * var(--u)));
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--pill-h);
  padding: 0 max(18px, calc(30 * var(--u)));
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: var(--fs-body);
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  background: transparent;
  color: inherit;
  transition: background-color 200ms ease, color 200ms ease;
}
.pill:hover {
  background: currentColor;
}
/* text colour on hover: the panel's ground */
.on-plum .pill:hover,
.on-photo .pill:hover {
  color: var(--plum);
  background: var(--bone);
  border-color: var(--bone);
}
.on-bone .pill:hover,
.on-peach .pill:hover {
  color: var(--bone);
  background: var(--plum);
  border-color: var(--plum);
}
.site-footer .pill:hover {
  color: var(--teal);
  background: var(--bone);
}
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

/* ---- 5. HEADER & MENU --------------------------------------------------- */
.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--plum);
  color: var(--bone);
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: 0;
}
.site-header__lockup {
  position: absolute;
  left: 50%;
  top: var(--head-top);
  transform: translateX(-50%);
  display: block;
  color: var(--plum);
}
.site-header__lockup svg {
  width: max(128px, calc(162 * var(--u)));
  height: auto;
}
/* Written navigation on desktop (Ellie, Nov): two links left of the
   lockup, three right of it. Each link takes the colour of what is under it
   (motion.js sets data-tone from the calibration in tools/header-tones.json). */
.topnav {
  display: none;
}
@media (min-width: 1024px) {
  .topnav {
    display: block;
  }
  .menu-button {
    display: none !important;
  }
}
.topnav__group {
  position: absolute;
  top: var(--head-top);
  display: flex;
  gap: calc(44 * var(--u));
  white-space: nowrap;
}
/* on the page margins, so no link straddles the edge of a photograph */
.topnav__group--left {
  left: var(--margin);
}
.topnav__group--right {
  right: var(--margin);
}
.topnav a {
  color: var(--plum);
  text-decoration: none;
  font-size: var(--fs-small);
  line-height: 1.2;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  /* colour switches instantly as a section passes under it, like the
     lockup: only one thing moves at a time */
  transition: border-color 200ms ease;
}
.topnav a[data-tone='light'] {
  color: var(--bone);
  text-shadow: 0 0 14px rgba(43, 2, 23, 0.55);
}
.topnav a[data-tone='dark'] {
  text-shadow: 0 0 14px rgba(232, 228, 222, 0.5);
}
.topnav a:hover,
.topnav a[aria-current='page'] {
  border-bottom-color: currentColor;
}
.menu-button {
  position: absolute;
  top: calc(var(--head-top) - 11px);
  right: max(12px, calc(37 * 100vw / 1920));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: max(7px, calc(9 * var(--u)));
  width: 44px;
  height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  color: var(--plum);
  cursor: pointer;
}
.menu-button span {
  display: block;
  width: max(24px, calc(29 * var(--u)));
  height: 1px;
  background: currentColor;
  transition: transform 260ms ease, opacity 180ms ease;
}
.menu-button[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(calc(max(7px, calc(9 * var(--u))) + 1px)) rotate(45deg);
}
.menu-button[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}
.menu-button[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(calc(-1 * max(7px, calc(9 * var(--u))) - 1px)) rotate(-45deg);
}
/* the header takes the colour of what is under it; motion.js sets these */
.site-header[data-lockup='light'] .site-header__lockup,
.site-header[data-menu='light'] .menu-button {
  color: var(--bone);
}
.site-header[data-lockup='light'] .site-header__lockup svg {
  filter: drop-shadow(0 0 10px rgba(43, 2, 23, 0.45));
}
.site-header[data-menu-open] .site-header__lockup,
.site-header[data-menu-open] .menu-button {
  color: var(--plum);
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--bone);
  color: var(--plum);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3em;
  opacity: 0;
  transition: opacity 240ms ease;
}
.menu[hidden] {
  display: none;
}
.menu[data-open="true"] {
  opacity: 1;
}
.menu a {
  text-decoration: none;
}
.menu a:hover,
.menu a[aria-current='page'] {
  color: var(--burnt); /* headline size: burnt is legal here */
}

/* ---- 6. PANELS ------------------------------------------------------------
   .slot     the scroll room a panel occupies (motion.js may lengthen it to
             pin the panel, and pull the next one up over it)
   .panel    the full-width band, coloured
   .clip     the aperture window (scaled by motion.js)
   .body     the panel's content (counter-scaled by motion.js)            */
.slot {
  position: relative;
}
.panel {
  position: relative;
  overflow: hidden;
}
.panel__clip,
.panel__body {
  position: relative;
}
.panel__clip {
  overflow: hidden; /* the aperture window */
}
.panel__clip,
.panel__body {
  min-height: inherit;
}
.screen {
  min-height: 100vh;
  min-height: 100svh;
}
/* The first section of About, For organisations, For leaders and In
   practice: a screen less 150 mock px, so the top of the next section shows
   above the fold (John, 9 Oct). */
.first {
  min-height: calc(100vh - 150 * var(--u));
  min-height: calc(100svh - 150 * var(--u));
}
.on-bone {
  background: var(--bone);
  color: var(--plum);
}
.on-plum {
  background: var(--plum);
  color: var(--bone);
}
.on-peach {
  background: var(--peach);
  color: var(--plum);
}
.on-photo {
  background: var(--plum);
  color: var(--bone);
}
.panel__body.on-bone,
.panel__body.on-plum,
.panel__body.on-peach,
.panel__body.on-photo {
  min-height: inherit;
}

.wrap {
  padding-left: var(--margin);
  padding-right: var(--margin);
}

/* a photograph filling its box; position is set inline from the mock */
.photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* soft shade under type on a photograph, left side, as in the mocks */
.photo--shade::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(43, 2, 23, 0.72) 0%, rgba(43, 2, 23, 0.3) 40%, rgba(43, 2, 23, 0) 68%);
}
.photo--plum::after {
  content: '';
  position: absolute;
  inset: 0;
  /* measured off the mocks: the hero photographs sit under a plum wash,
     heavy at the left where the title is, light at the right */
  background: linear-gradient(90deg, rgba(43, 2, 23, 0.86) 0%, rgba(43, 2, 23, 0.68) 20%,
      rgba(43, 2, 23, 0.5) 42%, rgba(43, 2, 23, 0.25) 70%, rgba(43, 2, 23, 0.04) 100%);
}
.photo--shade-right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(25, 3, 14, 0.5) 0%, rgba(25, 3, 14, 0.15) 45%, rgba(25, 3, 14, 0) 65%);
}
.photo--shade-centre::after {
  content: '';
  position: absolute;
  inset: 0;
  /* plus a soft plum band under the written nav, so it reads in one colour
     over the dappled leaves (Contact) */
  background: linear-gradient(180deg, rgba(43, 2, 23, 0.55) 0, rgba(43, 2, 23, 0) calc(170 * var(--u))),
    rgba(25, 3, 14, 0.18);
}

/* the hero animation's swirl, drawn live in a section (heroAnimation.js,
   tinted by its panel — see the page script); the box is square */
.tangle {
  position: absolute;
  pointer-events: none;
}

/* ---- 7. PAGE HEROES (photo) ---------------------------------------------- */
.phero {
  position: relative;
}
.phero__copy {
  position: relative;
  z-index: 2;
  padding-top: calc(420 * var(--u));
}
.phero__sub {
  margin-top: calc(34 * var(--u));
}
@media (max-width: 799px) {
  .phero__copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: 0;
    padding-bottom: 72px;
  }
}

/* ---- 8. HOME HERO ---------------------------------------------------------- */
.hero {
  text-align: center;
}
.hero .panel__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(128 * var(--u)) var(--margin) 0;
}
.hero__portrait {
  position: relative;
  z-index: 2;
  width: max(124px, calc(196 * var(--u))); /* Ellie, Nov: slightly larger */
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}
.hero__copy {
  position: relative;
  z-index: 2;
}
.hero__headline {
  margin-top: calc(40 * var(--u));
  letter-spacing: 0.13em;
  line-height: 1.12;
  text-indent: 0.13em; /* recentres a tracked line */
}
.hero__strapline {
  margin-top: calc(56 * var(--u));
  font-size: calc(var(--fs-body) * 1.2); /* Ellie, Nov: 20% larger */
}
.hero__cta {
  margin-top: calc(56 * var(--u));
  justify-content: center;
}
.hero__scroll {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: calc(34 * var(--u));
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(10 * var(--u));
  text-decoration: none;
}
.hero__scroll svg {
  width: max(26px, calc(40 * var(--u)));
  height: auto;
}
@media (max-width: 799px) {
  .hero .panel__body {
    justify-content: center;
    padding-top: 96px;
    padding-bottom: 120px;
  }
  .hero__headline {
    letter-spacing: 0.06em;
    text-indent: 0.06em;
  }
}

/* ---- 9. SPLITS ----------------------------------------------------------- *
   A colour panel over a photograph. --split is where the panel ends (from
   the left, or from the right with .split--right).                         */
.split {
  --split: 66.667%;
}
.split__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--split);
  z-index: 1;
}
.split--right .split__panel {
  left: auto;
  right: 0;
}
.split__photo {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: calc(100% - var(--split));
  overflow: hidden;
}
.split--right .split__photo {
  right: auto;
  left: 0;
}
.split__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* the full-bleed version: the photograph fills the screen during the
   aperture and the panel then pushes it across (motion.js). At rest it
   sits where the mock has it: translated by --push. */
.split--bleed .split__photo {
  left: 0;
  width: 100%;
}
.split--bleed .split__photo img {
  transform: translateX(var(--push));
}
.split__copy {
  position: relative;
  z-index: 2;
  width: var(--split);
}
.split--right .split__copy {
  margin-left: auto;
}
@media (max-width: 799px) {
  .split .panel__body {
    display: flex;
    flex-direction: column;
  }
  .split__photo,
  .split--bleed .split__photo {
    position: relative;
    order: -1;
    width: 100%;
    height: 62vh;
    height: 62svh;
  }
  .split--bleed .split__photo img {
    transform: none;
    object-position: var(--m-pos, 50% 50%);
  }
  .split__panel {
    display: none;
  }
  .split__copy {
    width: 100%;
    padding-top: 56px;
    padding-bottom: 72px;
  }
  .split .panel__body.screen,
  .split.screen {
    min-height: 0;
  }
}

/* ---- 10. HOME: the plum split ------------------------------------------ */
.home-split .split__copy {
  padding-top: calc(160 * var(--u));
}
.home-split .body-block {
  margin-top: calc(56 * var(--u));
  max-width: calc(1000 * var(--u));
  line-height: 1.22;
}
.home-split .body-block + .body-block {
  margin-top: 1.22em;
}
.home-split .t-statement + .t-statement,
.home-split .statement-2 {
  margin-top: calc(60 * var(--u));
}
.home-split .pills {
  margin-top: calc(58 * var(--u));
}

/* ---- 11. SECTION HEAD + COLUMNS (pillars, beliefs, kind words) ---------- */
.sec-pad {
  padding-top: calc(148 * var(--u));
  padding-bottom: calc(150 * var(--u));
}
.cols3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: calc(24 * var(--u));
}
.cols3 > * {
  border-top: 1px solid var(--rule-light);
  padding-top: calc(26 * var(--u));
}
.on-plum .cols3 > * {
  border-color: var(--rule-dark);
}
.cols3 .col-text {
  margin-top: calc(22 * var(--u));
  max-width: calc(500 * var(--u));
  letter-spacing: 0.01em;
}
.pillars .sec-pad {
  padding-top: calc(210 * var(--u));
}
.pillars--joined .sec-pad {
  padding-top: calc(110 * var(--u));
  border-top: 1px solid var(--rule-dark);
}
.pillars--joined .panel__body > .wrap {
  margin: 0 var(--margin);
  padding-left: 0;
  padding-right: 0;
}
.sec-head + .cols3 {
  margin-top: calc(42 * var(--u));
}
@media (max-width: 799px) {
  .cols3 {
    grid-template-columns: 1fr;
    row-gap: 36px;
  }
  .sec-pad {
    padding-top: 88px;
    padding-bottom: 88px;
  }
  .cols3 .col-text {
    max-width: none;
  }
}

/* beliefs */
.beliefs {
  overflow: hidden;
}
.beliefs .sec-pad {
  padding-top: calc(80 * var(--u));
  padding-bottom: calc(150 * var(--u));
}
.beliefs .cols3 > * {
  padding-top: calc(22 * var(--u));
}
.beliefs .col-text {
  margin-top: calc(16 * var(--u));
  max-width: none;
}
.beliefs .pills {
  margin-top: calc(60 * var(--u));
}
.beliefs .tangle {
  opacity: 0.16;
  width: calc(1270 * var(--u));
  aspect-ratio: 1;
  right: calc(-265 * var(--u));
  bottom: calc(-325 * var(--u));
}
.beliefs .wrap {
  position: relative;
  z-index: 1;
}

/* kind words */
.kind .sec-pad {
  padding-top: calc(96 * var(--u));
  padding-bottom: calc(110 * var(--u));
}
.kind__deck {
  display: grid;
  margin-top: calc(110 * var(--u));
}
.kind__title {
  min-height: 2.6em; /* titles of one or two lines keep the rules level */
  margin-bottom: calc(18 * var(--u));
}
/* the rule over each quote, as over the Three pillars columns */
.kind blockquote {
  border-top: 1px solid var(--plum); /* John, 9 Oct */
  padding-top: calc(26 * var(--u));
}
.kind__page {
  grid-area: 1 / 1;
}
.kind__page[hidden] {
  display: grid !important; /* keep its height in the stack; it is just not shown */
  visibility: hidden;
}
.kind .cols3 > * {
  border-top: 0;
  padding-top: 0;
}
.kind blockquote p {
  max-width: calc(470 * var(--u));
  line-height: 1.2;
}
.kind__next {
  display: block;
  margin: calc(60 * var(--u)) 0 0 auto;
  width: max(48px, calc(72 * var(--u)));
  height: max(48px, calc(72 * var(--u)));
  padding: 0;
  border: 0;
  background: none;
  color: var(--plum);
  cursor: pointer;
}
.kind__next svg {
  width: 100%;
  height: 100%;
}
.kind__status {
  margin-top: 8px;
}

/* ---- 12. ORGANISATIONS ---------------------------------------------------- */
.services .sec-pad {
  padding-top: calc(222 * var(--u));
  padding-bottom: calc(180 * var(--u));
}
.rows {
  margin-top: calc(26 * var(--u));
  border-bottom: 1px solid var(--rule-light);
}
.rows p {
  letter-spacing: 0;
}
.rows li {
  display: grid;
  grid-template-columns: calc(700 * var(--u)) 1fr;
  column-gap: var(--gutter);
  min-height: calc(112 * var(--u));
  padding-top: calc(28 * var(--u));
  padding-bottom: calc(20 * var(--u));
  border-top: 1px solid var(--rule-light);
}
@media (max-width: 799px) {
  .rows li {
    grid-template-columns: 1fr;
    row-gap: 6px;
    padding: 18px 0;
  }
}

.mission__copy {
  position: relative;
  z-index: 2;
  padding-top: calc(296 * var(--u));
  max-width: calc(1020 * var(--u) + var(--margin));
}
.mission__copy .t-lede {
  line-height: 1.36;
}
.mission__copy {
  padding-top: calc(200 * var(--u)) !important;
}
.mission__body p + p {
  margin-top: 0.8em;
}
.mission__copy .t-statement {
  margin-top: calc(56 * var(--u));
}
.mission__copy .pills {
  margin-top: calc(66 * var(--u));
}
@media (max-width: 799px) {
  .mission__copy {
    padding-top: 120px;
    padding-bottom: 96px;
  }
}

.outcomes .split__copy {
  padding-top: calc(222 * var(--u));
}
.outcomes .oblique-line {
  margin-top: calc(50 * var(--u));
}
.outcomes ul {
  margin-top: calc(30 * var(--u));
}
.outcomes li + li {
  margin-top: calc(14 * var(--u));
}
.outcomes ul {
  max-width: calc(1080 * var(--u));
}
.outcomes .split__copy {
  padding-top: calc(170 * var(--u)) !important;
}
.outcomes .effect {
  margin-top: calc(88 * var(--u));
  line-height: 1.27;
}

.trusted {
  text-align: center;
}
.trusted .sec-pad {
  padding-top: calc(48 * var(--u));
  padding-bottom: calc(60 * var(--u));
}
.trusted__rule {
  width: calc(1253 * var(--u));
  margin: calc(34 * var(--u)) auto 0;
  border: 0;
  border-top: 1px solid var(--rule-light);
}
.trusted__rule--2 {
  margin-top: 0;
}
/* logos sit exactly where the mock has them (1:1 with John's logo sheet) */
.logos {
  position: relative;
  width: calc(1920 * var(--u));
  margin-left: calc(50% - 960 * var(--u));
}
.logos li {
  position: absolute;
}
.logos img {
  width: 100%;
  height: auto;
}
.logos--clients {
  height: calc(354 * var(--u));
}
.logos--reg {
  height: calc(120 * var(--u));
}
.trusted__reg {
  margin-top: calc(50 * var(--u));
}
.trusted__pills {
  justify-content: center;
  margin-top: calc(64 * var(--u));
}
@media (max-width: 799px) {
  .logos {
    width: auto;
    margin: 32px 0;
    height: auto !important;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
    align-items: center;
    justify-items: center;
  }
  .logos li {
    position: static;
    width: auto !important;
  }
  .logos img {
    width: auto;
    max-width: 100%;
    max-height: 64px;
  }
  .trusted__rule {
    width: 100%;
  }
}

/* ---- 13. APPROACH ----------------------------------------------------------- *
   Ellie's redesign (Nov): a centred title over the swirl, captions placed as
   on her reference boards (2001 x 2011 px), drawn at 0.6 of those, centred in
   the bone panel beside the photograph. --r is one reference-board pixel.  */
.approach {
  --split-px: calc(576 * var(--u));
  --split: calc(100% - 576 * var(--u));
}
.approach--leaders {
  --split-px: calc(614 * var(--u));
  --split: calc(100% - 614 * var(--u));
}
.approach__board {
  --r: calc(0.6 * var(--u));
  position: relative;
  z-index: 2;
}
.approach__title {
  position: absolute;
  left: calc(50% + var(--half) * var(--u));
  top: calc(88 * var(--u));
  transform: translateX(-50%);
  white-space: nowrap;
  text-align: center;
}
.diagram {
  /* the board's origin: board x 1000 on the panel's centre; the first
     caption (board y --top-ref) 220 mock px down */
  position: absolute;
  left: calc(50% + var(--half) * var(--u) - 1000 * var(--r));
  top: calc(232 * var(--u) - var(--top-ref) * var(--r));
  width: calc(2001 * var(--r));
  height: calc(2011 * var(--r));
}
.diagram__swirl {
  position: absolute;
  left: calc(var(--bx) * var(--r));
  top: calc(var(--by) * var(--r));
  width: calc(var(--bw) * var(--r));
  height: auto;
  overflow: visible;
}
.diagram__nums {
  fill: #fff;
  font-family: var(--font);
  font-weight: 300;
  font-size: 56px; /* board px: ~34 at 1920 */
}
.diagram__step {
  position: absolute;
  left: calc(var(--x) * var(--r));
  top: calc((var(--y) - 6) * var(--r));
}
/* inside the drawing the words keep the board's proportions (title 60,
   text 36 board px), so they sit where Ellie placed them at any size */
.diagram__step h3 {
  font-size: calc(60 * var(--r));
  line-height: 1.2;
}
.diagram__step p {
  margin-top: calc(14 * var(--r));
  font-size: calc(36 * var(--r));
  line-height: 1.2;
  white-space: nowrap;
}
.steps-list {
  display: none;
}
@media (max-width: 1099px) {
  /* narrow: title, the drawing alone, then the numbered steps */
  .approach .panel__body {
    display: flex;
    flex-direction: column;
  }
  .approach .split__photo {
    position: relative;
    order: -1;
    width: 100%;
    height: 50vh;
    height: 50svh;
  }
  .approach .split__panel {
    display: none;
  }
  .approach__board {
    padding: 56px var(--margin) 72px;
  }
  .approach__title {
    position: static;
    transform: none;
    white-space: normal;
    text-align: left;
  }
  .diagram {
    position: static;
    width: auto;
    height: auto;
    margin-top: 32px;
  }
  .diagram__swirl {
    position: static;
    display: block;
    width: min(100%, 560px);
    margin: 0 auto;
  }
  .diagram__step {
    display: none;
  }
  .steps-list {
    display: block;
    margin-top: 32px;
  }
  .steps-list li {
    display: grid;
    grid-template-columns: 2.2em 1fr;
    padding: 14px 0;
    border-top: 1px solid var(--rule-light);
  }
  .steps-list li > span {
    color: var(--plum);
    font-size: var(--fs-lede);
    line-height: 1.2;
  }
  .steps-list p {
    margin-top: 6px;
  }
}

/* ---- 14. LEADERS --------------------------------------------------------------- */
.felt .split__copy {
  padding-top: calc(212 * var(--u));
}
.felt .felt__lines {
  max-width: calc(1060 * var(--u));
}
.felt .felt__lines p {
  line-height: 1.35;
}
.felt .felt__lines p + p {
  margin-top: calc(14 * var(--u));
}
.felt .t-statement {
  margin-top: calc(118 * var(--u));
  line-height: 0.98;
}

.shift {
  overflow: hidden;
}
.shift .wrap {
  position: relative;
  z-index: 1;
  padding-top: calc(150 * var(--u));
  padding-bottom: calc(110 * var(--u));
}
.shift__from p + p {
  margin-top: 0;
}
.shift .after p + p {
  margin-top: 0.3em;
}
.shift__from p {
  line-height: 1.6;
}
.shift .t-statement {
  margin-top: calc(66 * var(--u));
}
.shift .after {
  margin-top: calc(92 * var(--u));
}
.shift .pills {
  margin-top: calc(40 * var(--u));
}
.shift .tangle {
  opacity: 0.45;
  width: calc(1140 * var(--u));
  aspect-ratio: 1;
  right: calc(-260 * var(--u));
  top: calc(-240 * var(--u));
}

/* ---- 15. ABOUT --------------------------------------------------------------- */
.about-hero .phero__copy {
  /* John, 13 Nov: left edge on the right edge of the lockup at every screen
     size (the lockup is centred and max(128px, 162u) wide) */
  padding-top: calc(122 * var(--u));
  padding-left: calc(50% + max(64px, calc(81 * var(--u))) - 3 * var(--u)); /* - the A's sidebearing */
}
.about-hero .phero__sub {
  margin-top: calc(2 * var(--u));
  line-height: 1.28;
}
@media (max-width: 799px) {
  .about-hero .phero__copy {
    padding-left: var(--margin);
  }
}
.about-burnout .wrap {
  padding-top: calc(150 * var(--u));
  padding-bottom: calc(150 * var(--u));
}
.about-burnout p {
  max-width: calc(940 * var(--u));
}
.about-burnout p + p {
  margin-top: 1.3em;
}
.about-25 {
  --split: calc(1200 * var(--u));
}
.about-25 .split__copy {
  padding-top: calc(84 * var(--u));
  padding-bottom: calc(96 * var(--u));
}
.about-25 .split__photo img {
  object-position: 42% 50%;
}
.about-25 .t-headline {
  line-height: 1.26;
}
.prose {
  max-width: calc(1010 * var(--u));
}
.prose p {
  line-height: 1.25;
}
.prose .prose__sub {
  margin-top: 1.4em;
  margin-bottom: 0.45em;
}
.prose p + p {
  margin-top: 1.25em;
}
.about-25 .prose {
  margin-top: calc(108 * var(--u));
}
.believe .wrap {
  position: relative;
  z-index: 1;
  padding-top: calc(104 * var(--u));
  padding-bottom: calc(160 * var(--u));
}
.believe .thread {
  margin-top: calc(84 * var(--u));
  max-width: calc(960 * var(--u));
  line-height: 1.25;
}
.believe .lede-lines {
  margin-top: calc(84 * var(--u));
  line-height: 1.27;
}
.believe .lede-lines + .lede-lines {
  margin-top: 1.27em;
}
.believe .tangle {
  opacity: 0.75;
  width: calc(1170 * var(--u));
  aspect-ratio: 1;
  right: calc(-255 * var(--u));
  top: calc(-95 * var(--u));
}
.believe {
  overflow: hidden;
}
.creds .wrap {
  padding-top: calc(108 * var(--u));
  padding-bottom: calc(100 * var(--u));
}
.pillars__pills {
  margin-top: calc(92 * var(--u));
}
.creds p {
  max-width: calc(1000 * var(--u));
  line-height: 1.25;
}
.creds .pills {
  margin-top: calc(92 * var(--u));
}

/* ---- 16. IN PRACTICE ------------------------------------------------------- */
/* John, 13 Nov: title and sub-heading where For organisations has them (the
   shared .phero__copy / .phero__sub positions, on the page margin) */
.practice-hero .phero__sub {
  line-height: 1.3;
}
.practice-hero .phero__sub p + p {
  margin-top: 0.6em;
}
.stories {
  padding-left: calc(196 * var(--u));
  padding-top: calc(160 * var(--u));
  padding-bottom: calc(150 * var(--u));
}
.story + .story {
  margin-top: calc(150 * var(--u));
}
.story .label {
  margin-top: calc(56 * var(--u));
}
.story .prose {
  margin-top: calc(44 * var(--u));
}
.story .pills {
  margin-top: calc(84 * var(--u));
}
@media (max-width: 799px) {
  .stories {
    padding: 72px var(--margin);
  }
}

/* ---- 17. CONTACT ------------------------------------------------------------ */
.contact .phero__copy {
  padding-top: calc(232 * var(--u));
  padding-left: calc(122 * var(--u));
  padding-right: calc(110 * var(--u));
}
.contact .panel__body {
  display: flex;
  flex-direction: column;
}
.contact .phero__copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(100 * var(--u)); /* 100 below the buttons (John, 9 Oct) */
}
.contact__cols {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  margin-top: auto;
  padding-top: calc(80 * var(--u));
}
.contact__col {
  display: flex;
  flex-direction: column;
}
.contact__col p.c-bone {
  margin-top: calc(50 * var(--u));
  margin-bottom: calc(70 * var(--u));
  line-height: 1.12;
}
.contact__col .pills {
  margin-top: auto; /* both addresses on one line, as in the mock */
}
.contact__col:first-child {
  max-width: calc(760 * var(--u));
}
.contact__col:last-child {
  width: calc(560 * var(--u));
}
@media (max-width: 799px) {
  .contact .phero__copy {
    position: relative;
    padding: 120px var(--margin) 72px;
  }
  .contact__cols {
    flex-direction: column;
    gap: 48px;
    margin-top: 48px;
  }
  .contact__col:last-child {
    width: auto;
  }
}

/* ---- 18. FOOTER --------------------------------------------------------------- */
.site-footer {
  position: relative;
  z-index: 5;
  background: var(--teal);
  color: var(--bone);
  min-height: calc(230 * var(--u));
  padding: calc(52 * var(--u)) calc(63 * var(--u)) calc(36 * var(--u));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
}
.site-footer__left .pills {
  margin-top: calc(46 * var(--u));
  gap: calc(48 * var(--u));
}
.site-footer__centre {
  text-align: center;
  padding-top: 1px;
}
.site-footer__centre svg {
  width: max(220px, calc(358 * var(--u)));
  height: auto;
  margin: 0 auto;
}
.site-footer__centre p {
  margin-top: calc(60 * var(--u));
}
.site-footer__right {
  /* John, 13 Nov: bottom edge level with the Contact / Linkedin buttons */
  justify-self: end;
  align-self: end;
}
.site-footer .pill {
  min-height: calc(56 * var(--u));
  padding: 0 max(18px, calc(34 * var(--u)));
}
@media (max-width: 799px) {
  .site-footer {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px var(--margin);
    text-align: left;
  }
  .site-footer__centre {
    order: -1;
    text-align: left;
  }
  .site-footer__centre svg {
    margin: 0;
  }
  .site-footer__centre p {
    margin-top: 20px;
  }
  .site-footer__right {
    justify-self: start;
    padding-top: 0;
  }
  .site-footer .pill {
    min-height: var(--pill-h);
  }
}

/* ---- 19. MOTION: starting poses ---------------------------------------------
   Only when motion.js is running (html.motion). Without JavaScript, or with
   reduced motion, every line is simply there. Nothing is aria-hidden.     */
.motion [data-arrive] {
  opacity: 0;
}
.motion .hero__portrait,
.motion .hero__headline,
.motion .hero__strapline,
.motion .hero__cta,
.motion .hero__scroll {
  opacity: 0;
}
.motion .split--edge .split__panel {
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.motion .split--edge.split--right .split__panel {
  transform-origin: 100% 50%;
}
.motion .split--edge .split__photo img {
  transform: translateX(0);
}
.motion .panel[data-aperture] .panel__clip {
  transform-origin: 50% 50vh;
  will-change: transform;
}
.motion .panel[data-aperture] .panel__body {
  transform-origin: 50% 50vh;
  will-change: transform;
}

/* the scroll cue's drift: the one idle motion on the site */
@keyframes cue-drift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}
.hero__scroll.is-drifting svg {
  animation: cue-drift 4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .menu,
  .menu-button span,
  .pill {
    transition: none;
  }
  .hero__scroll.is-drifting svg {
    animation: none;
  }
}

/* ---- 20. PHONES: measures in mock px would be a few words wide ---------- */
@media (max-width: 799px) {
  .home-split .body-block,
  .prose,
  .believe .thread,
  .mission__copy,
  .creds p,
  .about-burnout p,
  .kind blockquote p,
  .outcomes ul,
  .split__copy > * {
    max-width: none;
  }
  .phero .panel__body,
  .phero.first {
    min-height: 88vh;
    min-height: 88svh;
  }
  .about-hero .phero__copy,
  .practice-hero .phero__copy {
    top: auto;
  }
  .about-burnout .wrap,
  .believe .wrap,
  .creds .wrap {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .kind .sec-pad,
  .beliefs .sec-pad,
  .trusted .sec-pad,
  .services .sec-pad,
  .pillars .sec-pad {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .kind__deck {
    margin-top: 40px;
  }
  .kind .cols3 {
    row-gap: 28px;
  }
  .shift .wrap {
    padding-top: 88px;
    padding-bottom: 88px;
  }
  .shift__from p + p {
  margin-top: 0;
}
.shift .after p + p {
  margin-top: 0.3em;
}
.shift__from p {
    line-height: 1.4;
  }
  .shift__from p + p {
    margin-top: 10px;
  }
  .tangle {
    opacity: 0.25 !important;
  }
  .stories .story + .story {
    margin-top: 96px;
  }
}
.kind__page {
  align-content: start;
}
@media (max-width: 799px) {
  /* on a phone the title sits low on the photograph: shade the bottom */
  .phero .photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(43, 2, 23, 0.82) 0%, rgba(43, 2, 23, 0.55) 45%, rgba(43, 2, 23, 0.1) 75%);
  }
  .contact .photo::after {
    background: rgba(43, 2, 23, 0.6);
  }
}
/* Light local shades where the mock's type sits on bright sky — just enough
   to clear WCAG AA for large text (3:1) on the 10th-percentile pixel. */
@media (min-width: 800px) {
  .practice-hero .photo::after {
    content: '';
    position: absolute;
    inset: 0;
    /* for the 9 Oct photograph: plum, like the other page heroes, held
       across the title and sub-heading and gone before the menu */
    background: linear-gradient(90deg, rgba(43, 2, 23, 0.64) 0%, rgba(43, 2, 23, 0.56) 36%,
        rgba(43, 2, 23, 0.3) 50%, rgba(43, 2, 23, 0) 64%);
  }
  .about-hero .photo::after {
    content: '';
    position: absolute;
    inset: 0;
    /* John, 13 Nov: darker behind the title and sub-heading */
    background: radial-gradient(ellipse 42% 40% at 72% 16%, rgba(40, 10, 8, 0.72) 0%, rgba(40, 10, 8, 0.5) 55%, rgba(40, 10, 8, 0) 100%),
      rgba(25, 3, 14, 0.12);
  }
}
