/* Colours come from variables so the page can switch theme (see theme-tangerine.css).
   These four are Propellr additions to Forge's set. */
:root {
  /* stipple panels: a dark ground and a middle tone for each colour */
  --pp-orange-ground: #74290a;
  --pp-orange-mid: #c2501c;
  --pp-yellow-mid: #a8860a;
  /* quiet stipple behind text in the "why it works" cards */
  --pp-olive-a: #75620a;
  --pp-olive-b: #3d3305;
  --pp-ember-a: #b9491a;
  --pp-ember-b: #5c2409;
  --pp-second-mid: #ff9d6e;
  --pp-second-hot: #ff7a45;
  --pp-second-pale: #fff3ea;
  --pp-accent-pale: #cdf2ab;
}

/*
  Propellr additions on top of the Forge template stylesheet (forge.css).
  Covers the printed 3D objects and the six sections Forge does not have.
*/

.nav-wordmark {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: 34px;
  line-height: 47px;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  display: block;
}

.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.eyebrow.is-on-light {
  color: var(--accent-dark);
}

.eyebrow.is-center {
  text-align: center;
}

.placeholder-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--light-orange);
  border-radius: 8px;
  padding: 4px 8px;
  margin-top: 16px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 28px;
}

.hero-second-link {
  display: inline-block;
  color: var(--accent-light);
  font-size: 16px;
  text-decoration: none;
  border-bottom: 2px solid var(--accent-opacity-25);
  padding-bottom: 3px;
  transition: border-color 0.25s;
}

.hero-second-link:hover {
  border-color: var(--accent);
}

button.button-primary {
  border: 0;
  cursor: pointer;
}

/* Scroll-in for added sections (matches the template's scale-and-fade) */

.w-mod-js .pp-reveal {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s cubic-bezier(0.215, 0.61, 0.355, 1), transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.w-mod-js .pp-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Printed 3D objects ----------
   A 3D object cut into five flat tones of one ink, a flat misprinted copy in a
   second ink behind it, and halftone dots laid over its shaded side. */

.p3 {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  user-select: none;
}

.p3 img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.p3 i {
  position: absolute;
  inset: 0;
  display: block;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.p3-off {
  background: var(--off);
  -webkit-mask-image: var(--img);
  mask-image: var(--img);
  transform: translate(-3.200%, 2.800%);
}

.p3-dots {
  background-image: radial-gradient(circle, var(--dot) 38%, transparent 40%);
  background-size: 8px 8px;
  -webkit-mask-image: var(--shade);
  mask-image: var(--shade);
  opacity: 0.6;
}

/* Services: a disc as the stage, the object breaking out of it */

.stage {
  position: relative;
  width: 100%;
  height: 224px;
}

.illustation-card-grid.has-stage {
  padding-top: 40px;
}

/* ---------- Marquee ---------- */

.mq {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.mq-track {
  display: flex;
  width: max-content;
  animation: mq 40s linear infinite;
}

.mq.is-reverse .mq-track {
  animation-direction: reverse;
}

.mq:hover .mq-track {
  animation-play-state: paused;
}

@keyframes mq {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Logo strip: kinetic type ---------- */

.logo-strip {
  padding-top: 56px;
  overflow: hidden;
}

.logo-strip-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 28px;
}

.kinetic {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.kinetic-item {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: 112px;
  line-height: 1;
  letter-spacing: -2px;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
}

.kinetic-item.is-outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--accent);
}

.kinetic-obj {
  flex: none;
  width: 96px;
  height: 96px;
}

/* ---------- FINAL_v7: the desk ---------- */

.desk {
  position: relative;
  background: var(--dark-green-1);
  border-radius: 20px;
  min-height: 780px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 40px;
}

.desk-obj {
  position: absolute;
}

.win {
  position: relative;
  width: 100%;
  max-width: 620px;
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: -10px 10px 0 var(--pp-second-hot);
  transform: rotate(-3deg);
}

.win-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--accent-dark);
  padding: 12px 16px;
  color: var(--accent-light);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.win-dots {
  display: flex;
  gap: 6px;
}

.win-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-hover);
}

.win-dots i:first-child {
  background: var(--light-orange);
}

.win-dots i:nth-child(2) {
  background: var(--light-yellow);
}

.win-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
}

.win-grid span {
  min-height: 44px;
  padding: 11px 10px;
  font-size: 14px;
  color: var(--black);
  border-right: 1px solid color-mix(in srgb, var(--accent-dark) 18%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--accent-dark) 18%, transparent);
  white-space: nowrap;
  overflow: hidden;
}

.win-grid .is-head {
  background: var(--pp-accent-pale);
  color: var(--accent-dark);
  font-weight: 600;
}

.win-grid .is-bad {
  background: var(--light-orange);
  color: var(--dark-orange);
  font-weight: 600;
  animation: cell-blink 2.4s steps(2, jump-none) infinite;
}

.win-grid .is-note {
  background: var(--light-yellow);
  color: var(--dark-yellow);
}

@keyframes cell-blink {
  50% {
    background: var(--pp-second-mid);
  }
}

.note {
  position: absolute;
  width: 250px;
  padding: 22px 22px 26px;
  border-radius: 3px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  box-shadow: -6px 6px 0 color-mix(in srgb, var(--black) 50%, transparent);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.note:hover {
  transform: rotate(0deg) scale(1.05) !important;
  z-index: 5;
}

.note.is-y {
  background: var(--light-yellow);
  color: var(--dark-yellow);
}

.note.is-o {
  background: var(--light-orange);
  color: var(--dark-orange);
}

.note.is-g {
  background: var(--accent-light);
  color: var(--accent-dark);
}

.note b {
  display: block;
  font-family: 'Anton', sans-serif;
  font-size: 40px;
  line-height: 0.9;
  margin-bottom: 10px;
  opacity: 0.55;
}

.desk-close {
  margin-top: 24px;
}

/* ---------- Before and after: drag to compare ---------- */

.compare {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  height: 620px;
  user-select: none;
  touch-action: pan-y;
  --pos: 50%;
}

.compare-layer {
  position: absolute;
  inset: 0;
}

.compare-before {
  background: var(--light-orange);
}

.compare-after {
  background: var(--accent-light);
  clip-path: inset(0 0 0 var(--pos));
}

.compare-title {
  position: absolute;
  top: 40px;
  z-index: 2;
}

.compare-before .compare-title {
  left: 56px;
}

.compare-after .compare-title {
  right: 56px;
}

.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 4px;
  margin-left: -2px;
  background: var(--black);
  z-index: 4;
}

.compare-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 96px;
  height: 96px;
  margin: -48px 0 0 -48px;
  border-radius: 50%;
  background: var(--black);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.compare-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
  margin: 0;
}

.mess {
  position: absolute;
  inset: 116px 40px 40px;
}

.mess-win {
  position: absolute;
  width: 290px;
  background: var(--pp-second-pale);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: -6px 6px 0 color-mix(in srgb, var(--dark-orange) 35%, transparent);
  font-size: 12px;
  color: var(--dark-orange);
}

.mess-win b {
  display: block;
  background: var(--dark-orange);
  color: var(--light-orange);
  padding: 8px 12px;
  font-size: 12px;
}

.mess-win p {
  margin: 0;
  padding: 10px 12px;
  border-bottom: 1px solid color-mix(in srgb, var(--dark-orange) 15%, transparent);
}

.mess-tag {
  position: absolute;
  background: var(--black);
  color: var(--light-orange);
  border-radius: 100px;
  padding: 10px 20px;
  font-weight: 600;
  white-space: nowrap;
}

.tidy {
  position: absolute;
  inset: 116px 56px 48px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: -10px 10px 0 var(--accent-hover);
  display: grid;
  grid-template-columns: 180px 1fr;
  overflow: hidden;
}

.tidy-side {
  background: var(--accent-dark);
  padding: 20px;
  color: var(--accent-light);
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tidy-side strong {
  font-family: 'Anton', sans-serif;
  font-size: 24px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.tidy-side span {
  padding: 8px 10px;
  border-radius: 8px;
}

.tidy-side span.on {
  background: color-mix(in srgb, var(--accent) 18%, transparent);
}

.tidy-main {
  padding: 20px 24px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
}

.tidy-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.tidy-stat {
  background: var(--accent-light);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 12px;
  color: var(--accent-dark);
}

.tidy-stat b {
  display: block;
  font-family: 'Anton', sans-serif;
  font-size: 30px;
  line-height: 1;
  color: var(--black);
}

.tidy-chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  border-bottom: 2px solid var(--accent-dark);
  min-height: 110px;
}

.tidy-chart i {
  flex: 1;
  background: var(--accent-hover);
  border-radius: 8px 8px 0 0;
}

.tidy-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tidy-check {
  background: var(--black);
  color: var(--accent);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- Three ways in: opening panels ---------- */

.panels {
  display: flex;
  gap: 16px;
  height: 620px;
  width: 100%;
}

.panel {
  position: relative;
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  border: 0;
  padding: 0;
  text-align: left;
  font: inherit;
  transition: flex 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.panel.is-on {
  flex: 3.4;
}

.panel.is-dark {
  background: var(--dark-green-1);
  color: var(--white);
}

.panel.is-orange {
  background: var(--pp-second-mid);
  color: var(--black);
}

.panel.is-lime {
  background: var(--accent-hover);
  color: var(--black);
}

.panel-num {
  position: absolute;
  top: 28px;
  left: 36px;
  z-index: 2;
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: 112px;
  line-height: 0.9;
}

.panel.is-dark .panel-num {
  color: var(--accent);
}

.panel.is-orange .panel-num {
  color: var(--dark-orange);
}

.panel.is-lime .panel-num {
  color: var(--dark-green-1);
}

.panel-obj {
  position: absolute;
  right: -40px;
  top: 150px;
  width: 400px;
  height: 400px;
  transform: rotate(8deg) scale(0.62);
  transform-origin: 80% 20%;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), top 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.panel.is-on .panel-obj {
  top: 20px;
  transform: rotate(-6deg) scale(1);
}

.panel-body {
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 40px;
  z-index: 2;
}

.panel-chip {
  display: inline-block;
  background: var(--black);
  color: var(--accent);
  border-radius: 100px;
  padding: 6px 16px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 14px;
}

.panel-title {
  display: block;
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: 42px;
  line-height: 0.92;
  letter-spacing: -1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.panel-text {
  display: block;
  max-width: 460px;
  font-size: 18px;
  line-height: 1.4;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.4s 0.15s, max-height 0.4s;
}

.panel.is-on .panel-text {
  opacity: 1;
  max-height: 220px;
}

/* ---------- Us, and not us: thumbs ---------- */

.thumbs {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 16px;
  width: 100%;
  padding-top: 72px;
}

.thumb-card {
  position: relative;
  border-radius: 20px;
  padding: 170px 56px 64px;
}

.thumb-card.is-yes {
  background: var(--accent-light);
}

.thumb-card.is-no {
  background: var(--accent-opacity-10);
}

.thumb-obj {
  position: absolute;
  top: -92px;
  left: 28px;
  width: 270px;
  height: 270px;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.thumb-card:hover .thumb-obj {
  transform: rotate(-8deg) scale(1.05);
}

.wont-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 40px;
}

.wont-list li {
  border-top: 2px solid color-mix(in srgb, var(--light-orange) 25%, transparent);
  padding: 20px 0;
}

.wont-list b {
  display: block;
  font-family: 'Anton', sans-serif;
  font-size: 34px;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--light-orange);
  margin-bottom: 8px;
}

/* ---------- Quiz: name your file ---------- */

.quiz-banner {
  position: relative;
  background: var(--dark-green-1);
  border-radius: 20px;
  padding: 72px 56px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.quiz-file {
  position: relative;
  background: var(--accent-light);
  border-radius: 20px;
  padding: 40px;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.quiz-file-obj {
  position: absolute;
  top: -30px;
  right: -40px;
  width: 320px;
  height: 320px;
  transform: rotate(8deg);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.quiz-file.is-bumped .quiz-file-obj {
  transform: rotate(-4deg) scale(1.08);
}

.quiz-file-label {
  position: relative;
  margin-bottom: 12px;
}

.quiz-file-name {
  position: relative;
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: 64px;
  line-height: 0.92;
  text-transform: uppercase;
  color: var(--accent-dark);
  overflow-wrap: anywhere;
}

.quiz-file-ext {
  /* was the mid green, which failed contrast on the pale card (1.75 to 1) */
  color: var(--accent-dark);
  white-space: nowrap;
}

.quiz-pane {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.quiz-pane[hidden] {
  display: none;
}

.quiz-count {
  margin-bottom: 16px;
}

.quiz-answers {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.quiz-answers button {
  min-width: 132px;
  text-align: center;
  cursor: pointer;
}

.quiz-no {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--accent);
  border-radius: 10px;
  padding: 19px 27px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  transition: background-color 0.25s;
}

.quiz-no:hover {
  background-color: var(--dark-green-1);
}

.quiz-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 0 32px;
}

.quiz-area {
  background: var(--dark-green-1);
  border: 1px solid var(--accent-dark);
  color: var(--accent-light);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 16px;
}

.quiz-restart {
  margin-top: 20px;
  background: none;
  border: 0;
  color: var(--accent-hover);
  font-size: 16px;
  text-decoration: underline;
  cursor: pointer;
}

/* ---------- Contact form ---------- */

.form-honeypot {
  position: absolute;
  left: -9999px;
}

/* ---------- Simple pages ---------- */

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .w-mod-js .pp-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .mq-track,
  .win-grid .is-bad {
    animation: none;
  }

  .panel,
  .panel-obj,
  .stage-obj,
  .quiz-file-obj {
    transition: none;
  }
}

/* ---------- Tablet ---------- */

@media screen and (max-width: 991px) {
  .kinetic-item {
    font-size: 76px;
    gap: 20px;
    padding-right: 20px;
  }

  .kinetic-obj {
    width: 64px;
    height: 64px;
  }

  .desk {
    min-height: 720px;
  }

  .note {
    width: 210px;
    font-size: 16px;
    padding: 18px 18px 22px;
  }

  .note b {
    font-size: 32px;
  }

  .compare-before .compare-title {
    left: 32px;
  }

  .compare-after .compare-title {
    right: 32px;
  }

  .mess {
    inset: 110px 20px 24px;
  }

  .mess-win {
    width: 240px;
  }

  .tidy {
    inset: 110px 24px 28px;
    grid-template-columns: 1fr;
  }

  .tidy-side {
    display: none;
  }

  .panels {
    height: 560px;
  }

  .panel-num {
    font-size: 80px;
    left: 24px;
  }

  .panel-body {
    left: 24px;
    right: 24px;
  }

  .panel-title {
    font-size: 36px;
  }

  .panel-obj {
    width: 300px;
    height: 300px;
    top: 130px;
  }

  .thumbs {
    grid-template-columns: 1fr;
    gap: 100px;
  }

  .thumb-card {
    padding: 150px 40px 48px;
  }

  .quiz-banner {
    grid-template-columns: 1fr;
    padding: 56px 40px;
    gap: 40px;
  }

  .quiz-file {
    min-height: 320px;
  }
}

/* ---------- Mobile ---------- */

@media screen and (max-width: 767px) {
  .nav-wordmark {
    font-size: 28px;
    line-height: 40px;
  }

  .kinetic-item {
    font-size: 52px;
    gap: 14px;
    padding-right: 14px;
    letter-spacing: -1px;
  }

  .kinetic-obj {
    width: 44px;
    height: 44px;
  }

  .desk {
    display: block;
    padding: 28px 20px 32px;
    min-height: 0;
  }

  .desk-obj {
    display: none;
  }

  .win {
    box-shadow: -6px 6px 0 var(--pp-second-hot);
    margin: 8px 0 28px;
    transform: rotate(-2deg);
  }

  .win-grid span {
    font-size: 11px;
    padding: 8px 6px;
    min-height: 34px;
  }

  .note {
    position: static;
    width: auto;
    margin-top: 12px;
  }

  .note:nth-of-type(odd) {
    transform: rotate(-1deg) !important;
  }

  .note:nth-of-type(even) {
    transform: rotate(1deg) !important;
  }

  .note b {
    font-size: 28px;
  }

  .compare {
    height: 540px;
  }

  .compare-title {
    top: 24px;
  }

  .compare-before .compare-title {
    left: 20px;
  }

  .compare-after .compare-title {
    right: 20px;
  }

  .compare-knob {
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
  }

  .mess {
    inset: 84px 8px 12px;
  }

  .mess-win {
    width: 190px;
    font-size: 12px;
  }

  .mess-win:nth-of-type(n + 3) {
    display: none;
  }

  .mess-tag {
    font-size: 12px;
    padding: 7px 12px;
  }

  .tidy {
    inset: 84px 14px 14px;
    box-shadow: -6px 6px 0 var(--accent-hover);
  }

  .tidy-main {
    padding: 14px;
    gap: 12px;
  }

  .tidy-stats {
    grid-template-columns: 1fr 1fr;
  }

  .tidy-stat:nth-child(3) {
    display: none;
  }

  .tidy-stat b {
    font-size: 24px;
  }

  .tidy-check {
    font-size: 12px;
    padding: 6px 12px;
    white-space: normal;
  }

  .panels {
    flex-direction: column;
    height: auto;
  }

  .panel,
  .panel.is-on {
    flex: none;
    height: 132px;
    transition: height 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  .panel.is-on {
    height: 440px;
  }

  .panel-num {
    font-size: 64px;
    top: 20px;
  }

  .panel:not(.is-on) .panel-num,
  .panel:not(.is-on) .panel-chip {
    display: none;
  }

  .panel:not(.is-on) .panel-body {
    bottom: 50%;
    transform: translateY(50%);
    right: 150px;
  }

  .panel:not(.is-on) .panel-title {
    margin-bottom: 0;
    font-size: 32px;
  }

  .mess-tag:nth-of-type(even),
  .tidy-check:nth-child(n + 3) {
    display: none;
  }

  .panel-body {
    bottom: 24px;
  }

  .panel-obj,
  .panel.is-on .panel-obj {
    width: 240px;
    height: 240px;
    right: -30px;
    top: 0;
  }

  .thumbs {
    padding-top: 64px;
    gap: 84px;
  }

  .thumb-card {
    padding: 120px 24px 40px;
  }

  .thumb-obj {
    width: 200px;
    height: 200px;
    top: -70px;
    left: 8px;
  }

  .wont-list {
    grid-template-columns: 1fr;
  }

  .wont-list b {
    font-size: 28px;
  }

  .quiz-banner {
    padding: 28px 20px 40px;
    gap: 32px;
  }

  .quiz-file {
    min-height: 280px;
    padding: 24px;
  }

  .quiz-file-obj {
    width: 210px;
    height: 210px;
  }

  .quiz-file-name {
    font-size: 40px;
  }
}

/* Keyboard focus for the template's click targets */

.faq-item-trigger:focus-visible,
.menu-hamburger-wrapper:focus-visible,
.menu-close-wrapper:focus-visible,
.quiz-no:focus-visible,
.quiz-restart:focus-visible,
.hero-second-link:focus-visible,
.panel:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* The Webflow badge is only for sites hosted on webflow.io. */

.w-webflow-badge {
  display: none !important;
}

/* ---------- Heading typeface: Anton ----------
   Forge sets its headings in Futura PT Condensed at weight 800. Anton has one
   weight and is taller, so headings are set a little smaller with more leading. */

h1,
h2,
h3,
h4,
.large-heading,
.menu-adaptation-link-text {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1,
h2,
h3,
h4,
.panel-title,
.wont-list b,
.quiz-file-name {
  line-height: 1.06;
}

h1 {
  font-size: 92px;
}

h2 {
  font-size: 64px;
}

h3 {
  font-size: 42px;
}

h4 {
  font-size: 35px;
}

.note b,
.tidy-side strong,
.tidy-stat b,
.wont-list b,
.panel-num,
.kinetic-item {
  font-weight: 400;
  letter-spacing: 0;
}

@media screen and (max-width: 991px) {
  h1 {
    font-size: 68px;
  }

  h2 {
    font-size: 50px;
  }
}

@media screen and (max-width: 767px) {
  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 30px;
  }

  h4 {
    font-size: 27px;
  }
}

/* ---------- Label typeface: JetBrains Mono ----------
   Three faces, one job each: Anton for headings and big numbers, Epilogue for
   running text, JetBrains Mono for small labels, filenames, cells and counters. */

.eyebrow,
.win-bar,
.win-grid span,
.mess-win,
.tidy-side span,
.tidy-stat,
.tidy-check,
.mess-tag,
.panel-chip,
.quiz-count,
.quiz-file-label,
.quiz-area,
.placeholder-tag,
.logo-strip-head .medium-s,
.images-chips__text .medium-s,
.icon-chips .medium-s,
.is-copyright {
  font-family: 'JetBrains Mono', monospace;
}

.eyebrow {
  letter-spacing: 0.04em;
  font-size: 12px;
}

.win-grid span,
.mess-win {
  font-size: 12px;
  letter-spacing: -0.02em;
}

.tidy-stat b {
  font-family: 'Anton', sans-serif;
}

/* ---------- Wordmark: double slash ----------
   The two Ls are drawn as slanted bars in the same colour as the word.
   Measured from Anton: capitals are 0.859em tall and their upright strokes 0.172em thick.
   A bar of exactly that thickness measures the same but looks lighter, because it stands
   alone and slants while the letters sit in dense blocks. So the bars are drawn about a
   fifth heavier (0.215em across) to look the same weight by eye. */

.nav-wordmark .sl {
  display: inline-flex;
  gap: 0.085em;
  /* padding gives the slanted bars room inside the box so the mask below does not crop them */
  padding: 0 0.15em;
  margin: 0 -0.02em 0 0;
  height: 0.859em;
  vertical-align: baseline;
  /* the hub: a round hole cut through the middle of the pair, showing whatever is behind */
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent 0.115em, #000 0.123em);
  mask: radial-gradient(circle at 50% 50%, transparent 0.115em, #000 0.123em);
}

.nav-wordmark .sl s {
  display: block;
  width: 0.215em;
  height: 100%;
  background: currentColor;
  transform: skewX(-18deg);
}

/* ---------- Collage artwork ----------
   The chosen artwork style: a coloured disc with thin orbits, black-and-white cut-outs
   from mismatched sources on top, a formula on each curve and one stippled 3D object in
   a bubble. Everything is placed in cqw (1cqw = 1% of the artwork's width) so it scales. */

.cg {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  container-type: inline-size;
  color: var(--black);
}

.cg > * {
  position: absolute;
}

.cg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cg-lines {
  inset: 0;
  width: 100%;
  height: 100%;
}

.cg-sym {
  font: 400 11cqw/1 'Anton', sans-serif;
}

.cg-round {
  clip-path: circle(46.500%);
}

/* in the services cards */
.svc-art {
  flex: none;
  width: min(100%, 330px);
  margin: -8px auto 4px;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.illustration-card:hover .svc-art {
  transform: rotate(-2deg) scale(1.03);
}

/* tablet: the cards lay out as a row, artwork on the left */
@media (max-width: 991px) and (min-width: 480px) {
  .svc-art {
    width: 230px;
    margin: 0;
  }
}

/* ---------- Buttons: one system ----------
   Two sizes and two looks, all Epilogue semibold with 10px corners.
     regular: 56px tall, 16px text (hero, banner, quiz, form)
     small:   44px tall, 14px text (nav)
     filled lime = the main action, outlined = the second choice
   Text links (hero "See a real project", quiz "Start again") share one underlined style. */

.button-primary,
.quiz-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 56px;
  padding: 0 28px;
  font-family: Epilogue, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.quiz-no {
  cursor: pointer;
}

.buttonn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 44px;
  padding: 0 20px;
  font-family: Epilogue, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.quiz-restart {
  padding: 0 0 3px;
  font-family: Epilogue, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: var(--accent-light);
  text-decoration: none;
  border-bottom: 2px solid var(--accent-opacity-25);
  transition: border-color 0.25s;
}

.quiz-restart:hover {
  border-color: var(--accent);
}

/* Quiz file card: the name sits below the file picture, never under it,
   and the card keeps one height from the first name to the last. */

.quiz-file {
  padding-top: 270px;
  min-height: 480px;
}

.quiz-file-name {
  overflow-wrap: break-word;
}

.quiz-file-name.is-long {
  font-size: 44px;
}

@media screen and (max-width: 767px) {
  .quiz-file {
    padding-top: 170px;
    min-height: 330px;
  }

  .quiz-file-name.is-long {
    font-size: 32px;
  }
}

/* Collage artwork, version F: flat disc, colour band across the bust, art that fits a panel */

.cgf-disc {
  left: 17cqw;
  top: 17cqw;
  width: 66cqw;
  height: 66cqw;
  border-radius: 50%;
  background: var(--dc);
}

.cgf-band {
  mix-blend-mode: multiply;
  -webkit-mask: var(--m) center / contain no-repeat;
  mask: var(--m) center / contain no-repeat;
}

.image-card-large-image.has-art,
.image-card-big-image.has-art {
  background-image: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.has-art.is-dark {
  background-color: var(--dark-green-1);
}

.has-art.is-orange {
  background-color: var(--pp-orange-ground);
}

/* Artwork drawn in the browser by art.js: stipple fields in the about panels,
   and the cells that tidy themselves up beside the project steps */

.has-art.is-yellow {
  background-color: var(--dark-yellow);
}

canvas.stipple {
  display: block;
  width: 100%;
  height: 100%;
}

.steps-art {
  position: -webkit-sticky;
  position: sticky;
  top: max(24px, calc(50vh - 290px));
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  aspect-ratio: 1;
}

canvas.untangle {
  display: block;
  width: 100%;
  height: 100%;
}

/* "24 years" banner. The thin coins fill more of their image than the old thick ones did,
   so the boxes are smaller in order that the coins look the same size and sit in the same
   place as before (and stay clear of the paragraph). Tablet and phone keep forge.css. */

@media screen and (min-width: 992px) {
  .large-banner-content-illustration-left {
    width: 330px;
    height: 330px;
    left: -100px;
    bottom: -56px;
  }

  .large-banner-content-illustration-right {
    width: 460px;
    height: 460px;
    right: -170px;
    bottom: -120px;
  }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
  .large-banner-content-illustration-left {
    width: 290px;
    height: 290px;
  }

  .large-banner-content-illustration-right {
    width: 370px;
    height: 370px;
    right: -150px;
    bottom: -100px;
  }
}

/* "Why it works": quiet stipple behind the text in place of Forge's photographic textures */

.banner-big.is-first,
.banner-big.is-second {
  position: relative;
  overflow: hidden;
  background-image: none;
}

.banner-big.is-first {
  background-color: #17150a;
}

.banner-big.is-second {
  background-color: #1b0f09;
}

.banner-big > .wrapper {
  position: relative;
}

canvas.stipple.is-bg {
  position: absolute;
  inset: 0;
  -webkit-mask-image: linear-gradient(100deg, transparent 34%, #000 82%);
  mask-image: linear-gradient(100deg, transparent 34%, #000 82%);
}

/* Hero: small printed objects set into the headline */

.h1-keep {
  white-space: nowrap;
}

.h1-obj {
  display: inline-block;
  width: 0.900em;
  height: 0.900em;
  margin: 0 0.020em 0 0.160em;
  vertical-align: -0.090em;
}

.h1-obj.is-bolt {
  /* the bolt only fills the middle of its image, so the box is oversized and pulled in */
  width: 1.250em;
  height: 1.250em;
  margin: 0 -0.300em 0 -0.020em;
  vertical-align: -0.240em;
}

/* Room for the objects so the headline keeps its original three lines on desktop */
@media screen and (min-width: 1200px) {
  #hero .h1 {
    margin-left: -100px;
    margin-right: -100px;
  }
}

/* Nav: nothing in it should wrap on narrow desktops */

.nav-wordmark,
.nav-wordmark span,
.nav-menu-item,
.nav-menu-item .medium-s,
.buttonn-secondary {
  white-space: nowrap;
}

/* ---------- Legal pages (src/layouts/Legal.astro) and the legal links in the footer ---------- */

/* The legal links share the footer's bottom line with the copyright and the location:
   one row of small print, in place of a row of their own. */
.footer-legal {
  gap: 16px 32px;
  flex-wrap: wrap;
}

.footer-legal .is-copyright {
  white-space: nowrap;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  flex: 1;
}

/* narrower screens: the links drop to a line of their own under the copyright and location */
@media screen and (max-width: 991px) {
  .footer-legal-links {
    justify-content: flex-start;
    flex: 1 1 100%;
    order: 3;
  }
}

.footer-legal-links a {
  font-family: Epilogue, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: var(--grey-60);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal-links a:hover {
  color: var(--accent);
}

.legal {
  box-sizing: border-box;
  max-width: 1680px;
  margin: 0 auto;
  padding: 24px 80px 0;
}



.legal-head {
  position: relative;
  overflow: hidden;
  background: var(--dark-green-1);
  border-radius: 20px;
  padding: 56px;
}

.legal-head > :not(canvas) {
  position: relative;
  z-index: 1;
}

.legal-head .eyebrow {
  color: var(--accent);
  margin-bottom: 14px;
}

.legal-head .h2 {
  margin: 0 0 12px;
  color: var(--white);
}

.legal-updated {
  margin: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--accent-light);
}

.legal-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  padding-top: 56px;
}

.legal-side {
  position: sticky;
  top: 108px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-side a {
  font-family: Epilogue, sans-serif;
  font-size: 16px;
  line-height: 1.3;
  color: var(--grey-60);
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 10px;
  transition: color 0.2s, background-color 0.2s;
}

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

.legal-side a.is-current {
  color: var(--black);
  background: var(--accent);
  font-weight: 600;
}

.legal-body {
  max-width: 760px;
  font-family: Epilogue, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--white);
  overflow-wrap: anywhere;
}

.legal-body h2 {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: 35px;
  line-height: 1.15;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  color: var(--accent-light);
  margin: 44px 0 14px;
  padding-top: 28px;
  border-top: 1px solid var(--accent-opacity-25);
}

.legal-body > h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.legal-body h3,
.legal-body h4,
.legal-body h5 {
  font-family: Epilogue, sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.4;
  text-transform: none;
  letter-spacing: 0;
  color: var(--accent-light);
  margin: 28px 0 8px;
}

.legal-body p {
  margin: 0 0 16px;
  color: inherit;
}

.legal-body ul,
.legal-body ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.legal-body li {
  margin-bottom: 8px;
}

.legal-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-body strong {
  font-weight: 600;
  color: var(--accent-light);
}

@media screen and (max-width: 991px) {
  .legal {
    padding-left: 64px;
    padding-right: 64px;
  }

  .legal-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 40px;
  }

  .legal-side {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .legal-side a {
    padding: 10px 14px;
    font-size: 14px;
    background: var(--accent-opacity-10);
  }
}

@media screen and (max-width: 767px) {
  .legal {
    padding-left: 24px;
    padding-right: 24px;
  }

  .legal-head {
    padding: 32px 24px;
  }

  .legal-body h2 {
    font-size: 24px;
  }

}

/* ---------- Cookie consent (consent.js) ---------- */

.consent {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 2000;
  width: min(420px, calc(100vw - 48px));
  box-sizing: border-box;
  padding: 20px 22px;
  border-radius: 14px;
  background: var(--accent-light);
  color: var(--black);
  box-shadow: -6px 7px 0 var(--pp-second-hot);
  font-family: Epilogue, sans-serif;
}

.consent[hidden] {
  display: none;
}

.consent p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--black);
}

.consent b {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: 18px;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-right: 4px;
}

.consent a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.consent-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.consent-yes {
  height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 10px;
  background: var(--black);
  color: var(--accent);
  font: 600 14px Epilogue, sans-serif;
  cursor: pointer;
}

.consent-no {
  padding: 0 0 3px;
  border: 0;
  border-bottom: 2px solid color-mix(in srgb, var(--black) 35%, transparent);
  background: none;
  color: var(--black);
  font: 400 14px Epilogue, sans-serif;
  cursor: pointer;
}

@media screen and (max-width: 767px) {
  .consent {
    left: 16px;
    bottom: 16px;
    width: calc(100vw - 32px);
  }
}

/* ---------- 404 page ----------
   Same arrangement as the contact section on the home page: a dark card with the words and
   the button on the left, and the furry figure filling its own panel on the right, square-on
   with no frame, as the original figure is shown. */

.lost {
  box-sizing: border-box;
  max-width: 1680px;
  margin: 0 auto;
  padding: 24px 80px 0;
}

.lost-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  /* 16px, the gap between tiles everywhere else on the site */
  gap: 16px;
}

.lost-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: var(--light-orange);
  border-radius: 20px;
  padding: 72px 56px;
  min-height: 520px;
  box-sizing: border-box;
}

.lost-card .eyebrow {
  color: var(--dark-orange);
  margin-bottom: 16px;
}

.lost-title {
  margin: 0 0 24px;
  color: var(--dark-orange);
  text-align: left;
}

/* On a coloured card the button takes the card's own dark tone, at the standard size */
.lost-card .button-primary {
  background-color: var(--dark-orange);
  color: var(--light-orange);
}

/* the magnifying glass sits off-centre in its image, so it is pulled in on both sides */
.lost-title .h1-obj {
  width: 1.300em;
  height: 1.300em;
  margin: 0 -0.240em 0 -0.040em;
  /* raised 2026-11-15 (was -0.260em), to match the other headings */
  vertical-align: -0.170em;
}

.lost-card .medium-l {
  max-width: 460px;
  margin: 0 0 32px;
  color: var(--black);
}

.lost-image {
  border-radius: 20px;
  background: #2f6b3a url('/forge/siblings/lost.jpg') center / cover no-repeat;
  min-height: 520px;
}

@media screen and (max-width: 991px) {
  .lost {
    padding-left: 64px;
    padding-right: 64px;
  }

  .lost-grid {
    grid-template-columns: 1fr;
  }

  .lost-card {
    min-height: 0;
    padding: 56px 40px;
  }

  .lost-image {
    min-height: 480px;
  }
}

@media screen and (max-width: 767px) {
  .lost {
    padding-left: 24px;
    padding-right: 24px;
  }

  .lost-card {
    padding: 40px 24px;
  }

  .lost-image {
    min-height: 320px;
  }
}

/* ---------- Shared layout (src/layouts/Site.astro): navigation, phone menu, footer ---------- */

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 3000;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--black);
  font: 600 14px Epilogue, sans-serif;
  text-decoration: none;
}

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

.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background-color 0.25s, box-shadow 0.25s;
}

.site-nav.is-stuck {
  background: color-mix(in srgb, var(--black) 92%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--accent-opacity-10);
}

.site-nav-inner {
  box-sizing: border-box;
  max-width: 1680px;
  margin: 0 auto;
  padding: 20px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 2px;
  font-family: Epilogue, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}

.site-nav-link svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s;
}

/* the 2px underline: none at rest, lime on hover and on the current page */
.site-nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.site-nav-link:hover::after,
.site-nav-link.is-current::after,
.site-nav-group.is-open .site-nav-link::after {
  transform: scaleX(1);
}

.site-nav-group {
  position: relative;
}

.site-nav-group.is-open .site-nav-link svg {
  transform: rotate(180deg);
}

.site-nav-menu {
  position: absolute;
  left: 50%;
  top: 100%;
  width: 320px;
  padding: 10px;
  margin-top: 10px;
  border-radius: 14px;
  background: var(--accent-opacity-10);
  box-shadow: 0 0 0 1px var(--accent-opacity-25), 0 24px 48px rgba(0, 0, 0, 0.45);
  transform: translate(-50%, -6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}

/* a bridge so the pointer can cross the gap between the link and the menu */
.site-nav-menu::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

.site-nav-group.is-open .site-nav-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.site-nav-service {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.2s;
}

.site-nav-service:hover,
.site-nav-service:focus-visible {
  background: var(--accent-opacity-25);
}

.site-nav-service-obj {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--sc);
  display: grid;
  place-items: center;
}

.site-nav-service-obj > .obj-print {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.site-nav-service b {
  display: block;
  font: 600 16px/1.3 Epilogue, sans-serif;
  color: var(--white);
}

.site-nav-service i {
  display: block;
  font: 400 12px/1.4 'JetBrains Mono', monospace;
  font-style: normal;
  color: var(--sc);
}

.site-nav-all {
  display: block;
  margin: 6px 10px 6px;
  padding-top: 12px;
  border-top: 1px solid var(--accent-opacity-25);
  font: 400 14px Epilogue, sans-serif;
  color: var(--accent-light);
  text-decoration: none;
}

.site-nav-all:hover {
  color: var(--accent);
}

.site-nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-nav-burger,
.site-menu-close {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.site-nav-burger span,
.site-menu-close span {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--white);
}

.site-nav-burger span:first-child {
  top: 17px;
}

.site-nav-burger span:last-child {
  top: 25px;
}

.site-menu-close {
  display: block;
}

.site-menu-close span {
  top: 21px;
}

.site-menu-close span:first-child {
  transform: rotate(45deg);
}

.site-menu-close span:last-child {
  transform: rotate(-45deg);
}

.site-menu {
  position: fixed;
  inset: 0;
  z-index: 1500;
  box-sizing: border-box;
  padding: 20px 24px 40px;
  background: var(--black);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.site-menu[hidden] {
  display: none;
}

.menu-is-open,
.menu-is-open body {
  overflow: hidden;
}

.site-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-menu-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 32px 0;
}

.site-menu-links > a {
  font-family: 'Anton', sans-serif;
  font-size: 42px;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
}

.site-menu-links > a.is-current {
  color: var(--accent);
}

.site-menu-sub {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 6px 0 14px 2px;
}

.site-menu-sub a {
  font: 400 18px Epilogue, sans-serif;
  color: var(--accent-light);
  text-decoration: none;
}

.site-menu .button-primary {
  align-self: flex-start;
}

.site-footer {
  box-sizing: border-box;
  max-width: 1680px;
  margin: 160px auto 0;
  padding: 0 80px 80px;
}

.site-footer-panel {
  background: var(--accent-opacity-6);
  border-radius: 20px;
  padding: 56px 56px 32px;
}

.site-footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 48px;
}

.site-footer-cols {
  display: flex;
  gap: 96px;
}

.site-footer-cols > div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer-label {
  font: 400 12px 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--grey-60);
  margin-bottom: 4px;
}

.site-footer-cols a {
  font: 400 16px Epilogue, sans-serif;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer-cols a:hover {
  color: var(--accent);
}

/* after plain text pages the footer sits closer */
.site-footer.is-close {
  margin-top: 120px;
}

@media screen and (max-width: 991px) {
  .site-nav-inner {
    padding: 16px 64px;
  }

  .site-nav-links {
    display: none;
  }

  .site-nav-burger {
    display: block;
  }

  .site-footer {
    padding: 0 64px 64px;
  }

  .site-footer-top {
    flex-wrap: wrap;
  }

  .site-footer-cols {
    order: 3;
    flex: 1 1 100%;
    gap: 72px;
  }
}

@media screen and (max-width: 767px) {
  .site-nav-inner {
    padding: 14px 24px;
  }

  .site-nav-cta {
    display: none;
  }

  .site-footer {
    margin-top: 96px;
    padding: 0 24px 40px;
  }

  .site-footer-panel {
    padding: 40px 24px 28px;
  }

  .site-footer-cols {
    gap: 48px;
  }
}

/* Phone menu and its buttons: hover and focus states */

.site-menu-links > a,
.site-menu-sub a {
  transition: color 0.2s, transform 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.site-menu-links > a:hover,
.site-menu-links > a:focus-visible {
  color: var(--accent);
  transform: translateX(10px);
}

.site-menu-sub a:hover,
.site-menu-sub a:focus-visible {
  color: var(--accent);
  transform: translateX(6px);
}

.site-nav-burger span,
.site-menu-close span {
  transition: background-color 0.2s, transform 0.25s cubic-bezier(0.645, 0.045, 0.355, 1), left 0.25s, right 0.25s;
}

.site-nav-burger:hover span,
.site-nav-burger:focus-visible span,
.site-menu-close:hover span,
.site-menu-close:focus-visible span {
  background: var(--accent);
}

/* the burger's lower line shortens on hover; the close cross turns a quarter */
.site-nav-burger:hover span:last-child {
  left: 16px;
}

.site-menu-close {
  transition: transform 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.site-menu-close:hover,
.site-menu-close:focus-visible {
  transform: rotate(90deg);
}

/* ---------- New Home (2026-11-14) ---------- */

/* Service cards are whole links */

a.illustration-card.is-link {
  color: inherit;
  text-decoration: none;
  transition: transform 0.25s;
}

a.illustration-card.is-link:hover {
  transform: translateY(-6px);
}

.svc-more {
  display: table;
  margin: 20px auto 0;
  color: var(--black);
  font-size: 16px;
  font-weight: 600;
  border-bottom: 2px solid color-mix(in srgb, var(--black) 30%, transparent);
  padding-bottom: 3px;
  transition: border-color 0.25s;
}

.svc-more::after {
  content: '\2192';
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.25s;
}

a.illustration-card.is-link:hover .svc-more {
  border-color: var(--black);
}

a.illustration-card.is-link:hover .svc-more::after {
  transform: translateX(4px);
}

.banner-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 28px;
}

a.quiz-area {
  text-decoration: none;
  transition: background-color 0.25s, border-color 0.25s;
}

a.quiz-area:hover {
  background: var(--accent-dark);
  border-color: var(--accent);
}

/* Four questions: the answer card */

.q-number {
  display: block;
  margin-bottom: 12px;
}

.answer {
  position: -webkit-sticky;
  position: sticky;
  top: max(96px, calc(50vh - 250px));
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  perspective: 1400px;
}

.answer-card {
  position: relative;
  aspect-ratio: 1;
  border-radius: 20px;
  transform: rotate(-2deg);
  transition: transform 0.28s ease-in;
}

.answer-card.is-turning {
  transform: rotate(-2deg) rotateY(90deg);
}

.answer-face {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  border-radius: 20px;
  padding: 44px;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  color: var(--black);
  font-family: Epilogue, sans-serif;
}

.answer-face.is-on {
  display: flex;
}

.answer-face.is-ask {
  background: var(--dark-green-1);
  border: 1px solid var(--accent-dark);
  align-items: center;
}

.answer-face.is-ask b {
  color: var(--accent);
  font: 800 260px/1 Epilogue, sans-serif;
}

.answer-face.is-money {
  background: var(--accent);
}

.answer-face.is-work {
  background: var(--light-orange);
}

.answer-face.is-customers {
  background: var(--light-yellow);
}

.answer-face.is-all {
  background: var(--white);
}

@media screen and (max-width: 991px) {
  .answer {
    position: static;
    max-width: 420px;
  }
}

@media screen and (max-width: 479px) {
  .answer-face {
    padding: 28px;
    gap: 12px;
  }

  .answer-face.is-ask b {
    font-size: 180px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .answer-card,
  a.illustration-card.is-link {
    transition: none;
  }
}

.q-close {
  margin: 96px auto 0;
  color: var(--accent-light);
}

/* Home: the hero's pattern runs up under the sticky navigation */

#main.is-home {
  margin-top: -87px;
}

#main.is-home #hero .offer {
  padding-top: 183px;
}

#main.is-home section[id] {
  scroll-margin-top: 72px;
}

@media screen and (max-width: 991px) {
  .q-close {
    margin-top: 56px;
  }
}

/* ---------- Contact page (2026-11-14) ---------- */

.page-head {
  margin-bottom: 16px;
}

.page-head .h2 {
  max-width: 760px;
}

.page-head-line {
  max-width: 560px;
  margin: 8px 0 0;
  color: var(--accent-light);
}

.page .form-image {
  min-height: 560px;
}

.form-fail {
  margin: 16px 0 0;
  color: var(--light-orange);
  font-size: 16px;
}

.form-fail a {
  color: inherit;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
}

.form-block-form [type='submit']:disabled {
  opacity: 0.6;
  cursor: default;
}

.next {
  margin-top: 160px;
}

.next-title {
  margin: 0 0 40px;
  color: var(--white);
}

.next-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.next-steps li {
  background: var(--accent-opacity-13);
  border-radius: 20px;
  padding: 32px;
}

.next-steps p {
  margin: 0;
  color: var(--accent-light);
}

.next-number {
  display: block;
  margin-bottom: 40px;
  color: var(--accent);
  font: 600 14px 'JetBrains Mono', monospace;
}

@media screen and (max-width: 991px) {
  .next {
    margin-top: 96px;
  }

  .next-steps {
    grid-template-columns: 1fr;
  }

  .next-number {
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 479px) {
  .page .form-image {
    min-height: 380px;
  }
}

#ask {
  scroll-margin-top: 104px;
}

/* ---------- Home hero: entrance, idle motion and the live mesh (2026-11-14) ----------
   Words arrive phrase by phrase, each object drops in after its word, "Sorted." snaps in and
   the objects wobble as it lands. After that the objects float, lean towards the cursor, and
   the mesh drifts with pulses running along its lines. All of it stops for reduced motion. */

#main.is-home #hero {
  position: relative;
  overflow: hidden;
  background-image: none;
}

#main.is-home #hero > .container {
  position: relative;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-node {
  fill: var(--accent);
  opacity: 0;
  animation: hero-twinkle var(--t) ease-in-out var(--d) infinite;
}

.hero-pulse circle {
  fill: var(--accent);
}

.hero-pulse circle:first-child {
  opacity: 0.1;
}

.hero-pulse circle:last-child {
  opacity: 0.7;
}

@keyframes hero-drift {
  from {
    transform: translate3d(-1.2%, 0.8%, 0) scale(1);
  }
  to {
    transform: translate3d(1.2%, -0.8%, 0) scale(1.04);
  }
}

@keyframes hero-twinkle {
  0%,
  62%,
  100% {
    opacity: 0;
  }
  80% {
    opacity: 0.55;
  }
}

/* bigger objects in the headline; the negative margins stop them opening up the line spacing */
#hero .h1-obj {
  width: 1.180em;
  height: 1.180em;
  margin: -0.200em 0.010em -0.200em 0.120em;
  /* the capitals are about 1em tall, so this centres the object on them */
  vertical-align: -0.070em;
  transition: translate 0.5s cubic-bezier(0.22, 1, 0.36, 1), rotate 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  animation: hero-drop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) calc(var(--d) + 0.18s) backwards,
    hero-wobble 0.6s ease-out 1.25s;
}

.hero-w {
  display: inline-block;
  animation: hero-word 0.5s cubic-bezier(0.22, 1, 0.36, 1) var(--d) backwards;
}

.hero-sorted {
  transform-origin: 50% 60%;
  animation: hero-snap 0.42s cubic-bezier(0.34, 1.56, 0.64, 1) 1.2s backwards;
}

.hero-line {
  animation: hero-word 0.5s cubic-bezier(0.22, 1, 0.36, 1) 1.5s backwards;
}

#hero .hero-actions {
  animation: hero-word 0.5s cubic-bezier(0.22, 1, 0.36, 1) 1.65s backwards;
}

#hero .h1-obj .p3 {
  animation: hero-float 5s ease-in-out 2s infinite alternate;
}

#hero .h1-obj.is-tool .p3 {
  animation-duration: 6.2s;
  animation-direction: alternate-reverse;
}

#hero .h1-obj.is-target .p3 {
  animation-duration: 5.6s;
}

@keyframes hero-word {
  from {
    opacity: 0;
    transform: translateY(0.38em);
  }
}

@keyframes hero-drop {
  from {
    opacity: 0;
    transform: translateY(-0.9em) scale(0.3) rotate(-30deg);
  }
}

@keyframes hero-snap {
  from {
    opacity: 0;
    transform: scale(1.5);
  }
}

@keyframes hero-wobble {
  0% {
    transform: rotate(0);
  }
  25% {
    transform: rotate(-14deg) scale(1.1);
  }
  55% {
    transform: rotate(9deg);
  }
  80% {
    transform: rotate(-4deg);
  }
  100% {
    transform: rotate(0);
  }
}

@keyframes hero-float {
  from {
    transform: translateY(-3%) rotate(-3deg);
  }
  to {
    transform: translateY(4%) rotate(3deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg,
  .hero-node,
  .hero-w,
  .hero-sorted,
  .hero-line,
  #hero .hero-actions,
  #hero .h1-obj,
  #hero .h1-obj .p3 {
    animation: none;
  }

  .hero-pulse {
    display: none;
  }
}

/* Contact has its own figure (teal, posting a letter); Home keeps the original orange one.
   Full-size originals are in forge-src/siblings/full/. */
.form-image.is-post {
  background: #fdb396 url('/forge/siblings/post.jpg') center / cover no-repeat;
}

.hero-chip {
  animation: hero-word 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0s backwards;
}

@media (prefers-reduced-motion: reduce) {
  .hero-chip {
    animation: none;
  }
}

/* ---------- Shared page parts and the Services page (2026-11-14) ---------- */

.page-head-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: 32px;
}

.page-section {
  margin-top: 160px;
}

.page-section-title {
  margin: 0 0 56px;
  color: var(--white);
}

.page-section-head {
  max-width: 584px;
  margin-bottom: 56px;
}

.page-section-head .h2 {
  margin: 0 0 20px;
  color: var(--white);
}

.page-section-head p {
  margin: 0;
}

/* The handover: three stops on a line, a marker that travels between them */

.handover {
  --p: 0;
  position: relative;
  padding-top: 44px;
}

.handover-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 10px;
  height: 4px;
  border-radius: 4px;
  background: var(--accent-opacity-13);
}

.handover-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: calc(var(--p) * 100%);
  border-radius: 4px;
  background: var(--accent);
}

.handover-marker {
  position: absolute;
  top: 50%;
  left: calc(var(--p) * 100%);
  width: 24px;
  height: 24px;
  margin: -12px 0 0 -12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 22%, transparent);
}

/* the marker sits above the pins */
.handover-track {
  z-index: 2;
  pointer-events: none;
}

.handover-stops {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.handover-stop {
  position: relative;
}

/* each pin is placed by its centre, so it sits exactly on the line at any size */
.handover-pin {
  position: absolute;
  top: -32px;
  left: 0;
  box-sizing: border-box;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--black);
  border: 2px solid var(--accent-opacity-25);
  transform: translate(-50%, -50%);
  transition: background-color 0.3s, border-color 0.3s;
}

.handover-stop:nth-child(2) .handover-pin {
  left: 50%;
}

.handover-stop:nth-child(3) .handover-pin {
  left: 100%;
}

.handover-stop.is-on .handover-pin {
  background: var(--accent);
  border-color: var(--accent);
}

.handover-card {
  position: relative;
  box-sizing: border-box;
  height: 100%;
  min-height: 380px;
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  overflow: hidden;
  /* unreached stops sit at 35% until the marker reaches them. D9 set this to 70% on 2026-11-14;
     put back to 35% on 2026-11-15 at Andrew's request, now the marker's timing is fixed */
  opacity: 0.35;
  transform: translateY(24px) scale(0.97);
  transition: opacity 0.5s, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.handover-stop.is-on .handover-card {
  opacity: 1;
  transform: none;
}

.handover-stop.is-dark .handover-card {
  background: var(--dark-green-1);
  color: var(--accent-light);
}

.handover-stop.is-orange .handover-card {
  background: var(--pp-second-mid);
  color: var(--black);
}

.handover-stop.is-lime .handover-card {
  background: var(--accent-hover);
  color: var(--black);
}

.handover-obj {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 150px;
  height: 150px;
  transform: rotate(-12deg) scale(0.7);
  transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s;
}

.handover-stop.is-on .handover-obj {
  transform: none;
}

.handover-card .panel-chip {
  margin-bottom: 16px;
}

.handover-title {
  margin: 0 0 12px;
  color: inherit;
}

.handover-stop.is-dark .handover-title {
  color: var(--accent);
}

.handover-card p {
  margin: 0;
  color: inherit;
}

/* How we charge: the two-way switch */

.charge {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 16px;
}

.charge-side,
.charge-draw {
  box-sizing: border-box;
  border-radius: 20px;
  padding: 40px;
  min-height: 360px;
}

.charge-side {
  background: var(--accent-opacity-13);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.charge-switch {
  position: relative;
  align-self: flex-start;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 6px;
  border-radius: 100px;
  background: var(--black);
  border: 1px solid var(--accent-opacity-25);
}

.charge-switch button {
  position: relative;
  z-index: 1;
  height: 44px;
  padding: 0 28px;
  border: 0;
  border-radius: 100px;
  background: none;
  color: var(--accent-light);
  font: 600 16px 'Space Grotesk', Epilogue, sans-serif;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.3s;
}

.charge-switch button.is-on {
  color: var(--black);
}

.charge-switch i {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 6px;
  width: calc(50% - 6px);
  border-radius: 100px;
  background: var(--accent);
  transition: transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.charge-switch[data-mode='ongoing'] i {
  transform: translateX(100%);
}

.charge-text {
  display: grid;
}

.charge-text p {
  grid-area: 1 / 1;
  margin: 0;
  color: var(--accent-light);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.4s;
  visibility: hidden;
}

.charge-text p.is-on {
  opacity: 1;
  transform: none;
  visibility: visible;
}

.charge-draw {
  background: var(--accent-light);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 24px;
  transition: background-color 0.4s;
}

.charge-draw[data-mode='ongoing'] {
  background: var(--light-yellow);
}

.charge-bars {
  display: flex;
  align-items: flex-end;
  gap: 0;
  height: 180px;
  transition: gap 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.charge-bars i {
  flex: 1;
  height: 100%;
  background: var(--accent-dark);
  transition: height 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-radius 0.5s, background-color 0.4s, opacity 0.4s;
}

.charge-bars i:first-child {
  border-radius: 14px 0 0 14px;
}

.charge-bars i:last-child {
  border-radius: 0 14px 14px 0;
}

.charge-draw[data-mode='ongoing'] .charge-bars {
  gap: 12px;
}

.charge-draw[data-mode='ongoing'] .charge-bars i {
  height: 44%;
  border-radius: 10px;
  background: var(--dark-yellow);
}

.charge-draw[data-mode='ongoing'] .charge-bars i:nth-child(n + 5) {
  opacity: 0.3;
}

.charge-bars i:nth-child(2) { transition-delay: 0.04s; }
.charge-bars i:nth-child(3) { transition-delay: 0.08s; }
.charge-bars i:nth-child(4) { transition-delay: 0.12s; }
.charge-bars i:nth-child(5) { transition-delay: 0.16s; }
.charge-bars i:nth-child(6) { transition-delay: 0.2s; }

.charge-labels {
  display: grid;
}

.charge-labels span {
  grid-area: 1 / 1;
  color: var(--black);
  font: 600 14px 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0;
  transition: opacity 0.3s;
}

.charge-labels span.is-on {
  opacity: 1;
}

.charge-note {
  max-width: 640px;
  margin: 32px 0 0;
}

/* Questions */

.qa {
  margin-top: 160px;
}

.qa-title {
  margin: 0 0 56px;
  color: var(--white);
}

.qa-list {
  max-width: 848px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.qa-item {
  background: var(--accent-opacity-10);
  border-radius: 14px;
}

.qa-item summary {
  display: flex;
  align-items: stretch;
  list-style: none;
  cursor: pointer;
  background: var(--accent-light);
  border-radius: 14px;
  color: var(--black);
}

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

.qa-item summary span {
  flex: 1;
  padding: 24px 32px;
  color: var(--black);
}

.qa-item summary i {
  position: relative;
  flex: none;
  width: 76px;
  border-radius: 14px;
  background: var(--accent-hover);
  transition: background-color 0.25s;
}

.qa-item summary i::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/forge/icons-forge/plus.svg') center / 28px no-repeat;
  transition: transform 0.3s;
}

.qa-item summary:hover i {
  background-color: var(--accent);
}

.qa-item[open] summary i::before {
  transform: rotate(45deg);
}

.qa-item summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.qa-item p {
  margin: 0;
  padding: 24px 32px;
  color: var(--accent-light);
}

/* Closing call to action */

.closing {
  margin-top: 160px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.closing-card {
  box-sizing: border-box;
  min-height: 520px;
  border-radius: 20px;
  padding: 72px 56px;
  background: var(--dark-green-1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.closing-title {
  margin: 0 0 20px;
  color: var(--white);
}

.closing-card p {
  max-width: 460px;
  margin: 0 0 32px;
  color: var(--accent-light);
}

.closing-image {
  border-radius: 20px;
  min-height: 520px;
}

@media screen and (max-width: 991px) {
  .page-section,
  .qa,
  .closing,
  .next {
    margin-top: 136px;
  }

  .page-section-title,
  .page-section-head,
  .qa-title {
    margin-bottom: 40px;
  }

  /* the line runs down the left and the stops stack */
  .handover {
    padding-top: 0;
    padding-left: 44px;
  }

  .handover-track {
    left: 10px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 4px;
    height: auto;
  }

  .handover-fill {
    right: 0;
    bottom: auto;
    width: auto;
    height: calc(var(--p) * 100%);
  }

  .handover-marker {
    left: 50%;
    top: calc(var(--p) * 100%);
  }

  .handover-stops {
    grid-template-columns: 1fr;
  }

  /* the line runs down the left: 12px in from the edge, 32px left of each card */
  .handover-pin,
  .handover-stop:nth-child(2) .handover-pin,
  .handover-stop:nth-child(3) .handover-pin {
    top: 40px;
    left: -32px;
  }

  .handover-card {
    min-height: 300px;
  }

  .charge,
  .closing {
    grid-template-columns: 1fr;
  }

  .charge-side,
  .charge-draw {
    min-height: 0;
    padding: 32px 24px;
  }

  .closing-card {
    min-height: 0;
    padding: 48px 24px;
  }

  .closing-image {
    min-height: 420px;
  }
}

@media screen and (max-width: 479px) {
  .handover-obj {
    width: 84px;
    height: 84px;
    top: 16px;
    right: 16px;
  }

  .charge-switch button {
    padding: 0 18px;
  }

  .charge-bars {
    height: 130px;
  }

  .qa-item summary span,
  .qa-item p {
    padding: 20px 24px;
  }

  .qa-item summary i {
    width: 64px;
  }

  .closing-image {
    min-height: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .handover-card,
  .handover-obj,
  .charge-switch i,
  .charge-bars,
  .charge-bars i,
  .charge-text p {
    transition: none;
  }
}

/* ---------- Service pages (2026-11-14) ---------- */

/* Page heads in the service colours */

.page-head.is-orange {
  background: var(--pp-orange-ground);
}

.page-head.is-orange .eyebrow,
.page-head.is-orange .is-accent {
  color: var(--light-orange);
}

.page-head.is-orange .button-primary {
  background-color: var(--light-orange);
  color: var(--dark-orange);
}

.page-head.is-orange .hero-second-link {
  color: var(--pp-second-pale);
  border-color: color-mix(in srgb, var(--light-orange) 45%, transparent);
}

.page-head.is-orange .hero-second-link:hover {
  border-color: var(--light-orange);
}

.page-head.is-yellow {
  background: var(--dark-yellow);
}

.page-head.is-yellow .eyebrow,
.page-head.is-yellow .is-accent {
  color: var(--light-yellow);
}

.page-head.is-yellow .button-primary {
  background-color: var(--light-yellow);
  color: var(--dark-yellow);
}

.page-head.is-yellow .hero-second-link {
  color: var(--white);
  border-color: color-mix(in srgb, var(--light-yellow) 45%, transparent);
}

.page-head .h1-obj {
  width: 1.150em;
  height: 1.150em;
  margin: -0.200em 0.010em -0.200em 0.120em;
  /* 2026-11-15: was -0.070em (hung low). First raised to 0.153em, which centred the square
     box but left the coin and tools about 6px too high, because the artwork does not fill its
     box evenly. Set from the designer's measurements of the visible artwork instead. */
  vertical-align: 0.06em;
}

/* the target's artwork sits low in its image, so it needs less of a drop, and a little more
   room before the full stop */
.page-head .h1-obj.is-target {
  vertical-align: 0.125em;
  margin-right: 0.08em;
}

/* one pop as the page arrives, then still (the endless float belongs to the Home hero) */
.page-head .h1-obj .p3 {
  animation: hv-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.35s backwards;
}

@media (prefers-reduced-motion: reduce) {
  .page-head .h1-obj .p3 {
    animation: none;
  }
}

.page-section-head.is-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Four into one */

.merge {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 16px;
}

.merge-side,
.merge-stage {
  box-sizing: border-box;
  border-radius: 20px;
  min-height: 460px;
}

.merge-side {
  background: var(--accent-opacity-13);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}

.merge-count b {
  display: block;
  color: var(--accent);
  font: 400 112px/0.92 'Anton', sans-serif;
  letter-spacing: -2.2px;
  font-variant-numeric: tabular-nums;
}

.merge-count span {
  display: block;
  margin-top: 12px;
  color: var(--accent-light);
  font: 600 14px 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.merge-stage {
  position: relative;
  background: var(--light-orange);
  overflow: hidden;
  transition: background-color 0.5s;
}

.merge[data-mode='one'] .merge-stage {
  background: var(--accent-light);
}

.merge-tool {
  position: absolute;
  width: 40%;
  box-sizing: border-box;
  background: var(--pp-second-pale);
  border: 2px solid var(--dark-orange);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 6px 6px 0 var(--dark-orange);
  transition: left 0.7s cubic-bezier(0.65, 0, 0.35, 1), top 0.7s cubic-bezier(0.65, 0, 0.35, 1), transform 0.7s cubic-bezier(0.65, 0, 0.35, 1),
    opacity 0.3s 0.45s;
}

.merge-tool:nth-child(1) { left: 6%; top: 9%; transform: rotate(-4deg); }
.merge-tool:nth-child(2) { left: 54%; top: 6%; transform: rotate(3deg); }
.merge-tool:nth-child(3) { left: 5%; top: 57%; transform: rotate(3deg); }
.merge-tool:nth-child(4) { left: 55%; top: 60%; transform: rotate(-3deg); }

.merge[data-mode='one'] .merge-tool {
  left: 30%;
  top: 36%;
  transform: rotate(0) scale(0.8);
  opacity: 0;
}

.merge-tool b {
  display: block;
  padding: 8px 14px;
  background: var(--dark-orange);
  color: var(--light-orange);
  font: 600 13px 'JetBrains Mono', monospace;
}

.merge-tool p {
  margin: 0;
  padding: 16px 14px;
  color: var(--black);
  font: 600 14px 'JetBrains Mono', monospace;
}

.merge-tool p span {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: bottom;
  border-right: 2px solid var(--dark-orange);
  animation: merge-type 3.2s steps(18) infinite;
}

.merge-tool:nth-child(2) p span { animation-delay: 0.5s; }
.merge-tool:nth-child(3) p span { animation-delay: 1s; }
.merge-tool:nth-child(4) p span { animation-delay: 1.5s; }

@keyframes merge-type {
  0% { max-width: 0; }
  60%, 100% { max-width: 100%; }
}

.merge-one {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(74%, 420px);
  box-sizing: border-box;
  background: var(--white);
  border: 2px solid var(--dark-green-1);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 8px 8px 0 var(--dark-green-1);
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s, opacity 0.3s 0.5s;
}

.merge[data-mode='four'] .merge-one {
  transition-delay: 0s;
}

.merge[data-mode='one'] .merge-one {
  transform: translate(-50%, -50%);
  opacity: 1;
}

.merge-one b {
  display: block;
  padding: 10px 18px;
  background: var(--dark-green-1);
  color: var(--accent);
  font: 600 14px 'JetBrains Mono', monospace;
}

.merge-one p {
  margin: 0;
  padding: 18px 18px 4px;
  color: var(--black);
  font: 600 16px 'JetBrains Mono', monospace;
}

.merge-one ul {
  list-style: none;
  margin: 0;
  padding: 12px 18px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.merge-one li {
  padding: 6px 12px 6px 30px;
  border-radius: 100px;
  background: var(--accent-light) url('/forge/icons-forge/plus.svg') -40px 0 no-repeat;
  position: relative;
  color: var(--dark-green-1);
  font-size: 14px;
  font-weight: 600;
}

.merge-one li::before {
  content: '\2713';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-dark);
  font-size: 13px;
}

.merge-one em {
  display: block;
  padding: 16px 18px 18px;
  color: var(--accent-dark);
  font: 600 13px 'JetBrains Mono', monospace;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* What you get */

.get {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.get li {
  background: var(--accent-opacity-13);
  border-radius: 20px;
  padding: 32px;
}

.get-number {
  display: block;
  margin-bottom: 40px;
  color: var(--accent);
  font: 600 14px 'JetBrains Mono', monospace;
}

.get-label {
  margin: 0 0 12px;
  color: var(--accent);
}

.get p {
  margin: 0;
  color: var(--accent-light);
}

.get-line {
  max-width: 760px;
  margin: 40px 0 0;
  color: var(--white);
}

/* Project steps on pages without the template's scroll script */

[data-lit-steps] .step .is-step {
  opacity: 0.3;
  transition: opacity 0.4s;
}

[data-lit-steps] .step.is-lit .is-step {
  opacity: 1;
}

@media screen and (max-width: 991px) {
  .merge {
    grid-template-columns: 1fr;
  }

  .merge-side {
    min-height: 0;
    padding: 32px 24px;
  }

  .merge-count b {
    font-size: 112px;
  }

  .merge-stage {
    min-height: 420px;
  }

  .get {
    grid-template-columns: 1fr;
  }

  .get-number {
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 479px) {
  .merge-tool {
    width: 46%;
  }

  .merge-tool:nth-child(1),
  .merge-tool:nth-child(3) {
    left: 3%;
  }

  .merge-tool:nth-child(2),
  .merge-tool:nth-child(4) {
    left: 51%;
  }

  .merge-tool p {
    font-size: 11px;
    padding: 12px 10px;
  }

  .merge-tool b {
    font-size: 11px;
    padding: 6px 10px;
  }

  .merge-one {
    width: 88%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .merge-tool,
  .merge-one,
  .merge-stage {
    transition: none;
  }

  .merge-tool p span {
    animation: none;
    border-right: 0;
  }
}

/* Strategic finance: the lime page head and the decision tester (2026-11-14) */

.page-head.is-lime {
  background: var(--accent);
}

.page-head.is-lime .eyebrow,
.page-head.is-lime .is-accent {
  color: var(--accent-dark);
}

.page-head.is-lime .h2,
.page-head.is-lime .page-head-line {
  color: var(--black);
}

.page-head.is-lime .button-primary {
  background-color: var(--dark-green-1);
  color: var(--accent);
}

.page-head.is-lime .hero-second-link {
  color: var(--black);
  border-color: color-mix(in srgb, var(--dark-green-1) 40%, transparent);
}

.page-head.is-lime .hero-second-link:hover {
  border-color: var(--dark-green-1);
}

.tester {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 16px;
}

.tester-side,
.tester-chart {
  box-sizing: border-box;
  border-radius: 20px;
  min-height: 460px;
}

.tester-side {
  background: var(--accent-opacity-13);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}

.tester-reads {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.tester-reads dd {
  margin: 0;
  color: var(--accent);
  font: 400 64px/0.92 'Anton', sans-serif;
  letter-spacing: -1.5px;
  font-variant-numeric: tabular-nums;
  transition: color 0.4s;
}

.tester[data-mode='with'] .tester-reads dd {
  color: var(--pp-second-hot);
}

.tester-reads dt {
  margin-top: 12px;
  color: var(--accent-light);
  font: 600 14px 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tester-chart {
  position: relative;
  background: var(--accent-light);
  padding: 32px 32px 56px;
  overflow: hidden;
}

.tester-plot {
  position: absolute;
  left: 32px;
  right: 32px;
  top: 32px;
  bottom: 56px;
}

.tester-plot svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.tester-grid line {
  stroke: color-mix(in srgb, var(--dark-green-1) 14%, transparent);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.tester-line {
  stroke: var(--dark-green-1);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.tester-area {
  fill: color-mix(in srgb, var(--accent-hover) 45%, transparent);
  transition: fill 0.4s;
}

.tester[data-mode='with'] .tester-area {
  fill: color-mix(in srgb, var(--pp-second-mid) 45%, transparent);
}

.tester-dot,
.tester-tag {
  position: absolute;
}

.tester-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--pp-second-hot);
  border: 3px solid var(--dark-green-1);
  transform: translate(-50%, -50%);
  box-sizing: border-box;
}

.tester-tag {
  transform: translate(-50%, 16px);
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--dark-green-1);
  color: var(--accent);
  font: 600 12px 'JetBrains Mono', monospace;
  white-space: nowrap;
}

.tester-months {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 24px;
  display: flex;
  justify-content: space-between;
  padding: 0 4%;
  color: var(--dark-green-1);
  font: 600 12px 'JetBrains Mono', monospace;
}

.get.is-four {
  grid-template-columns: repeat(4, 1fr);
}

.walk-tag {
  display: inline-block;
  margin-bottom: 20px;
}

@media screen and (max-width: 991px) {
  .tester {
    grid-template-columns: 1fr;
  }

  .tester-side {
    min-height: 0;
    padding: 32px 24px;
  }

  .tester-reads dd {
    font-size: 64px;
  }

  .tester-chart {
    min-height: 360px;
  }

  .get.is-four {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 479px) {
  .tester-reads dd {
    font-size: 52px;
  }

  .tester-chart {
    min-height: 300px;
    padding: 20px 20px 48px;
  }

  .tester-plot {
    left: 20px;
    right: 20px;
    top: 20px;
    bottom: 48px;
  }

  .tester-months {
    left: 20px;
    right: 20px;
    bottom: 18px;
  }

  .get.is-four {
    grid-template-columns: 1fr;
  }
}

/* Growth: where it came from (2026-11-14) */

.source {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 16px;
}

.source-side,
.source-stage {
  box-sizing: border-box;
  border-radius: 20px;
  min-height: 460px;
}

.source-side {
  background: var(--accent-opacity-13);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.source-name {
  align-self: flex-start;
  padding: 8px 20px;
  border-radius: 100px;
  background: var(--light-yellow);
  color: var(--black);
  font-size: 16px;
  font-weight: 600;
}

.source-back b {
  display: block;
  color: var(--light-yellow);
  font: 400 112px/0.92 'Anton', sans-serif;
  letter-spacing: -2.2px;
  transition: color 0.3s;
}

.source-side.is-loss .source-back b {
  color: var(--pp-second-hot);
}

.source-back span,
.source-reads dt {
  display: block;
  margin-top: 12px;
  color: var(--accent-light);
  font: 600 14px 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.source-reads {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.source-reads dd {
  margin: 0;
  color: var(--white);
  font: 400 64px/1 'Anton', sans-serif;
}

.source-stage {
  background: var(--light-yellow);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.source-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 2px solid transparent;
  border-radius: 14px;
  background: none;
  color: var(--dark-yellow);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.25s, border-color 0.25s, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.source-row.is-on {
  background: var(--pp-second-pale);
  border-color: var(--dark-yellow);
  transform: translateX(8px);
}

.source-row:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 3px;
}

.source-label {
  font-size: 20px;
  font-weight: 600;
  color: var(--black);
}

.source-bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.source-bars i {
  display: block;
  height: 22px;
  border-radius: 6px;
}

.source-bars .is-earned {
  background: var(--dark-yellow);
}

.source-bars .is-spent {
  height: 10px;
  background: var(--pp-second-hot);
}

.source-row:not(.is-on) .source-bars i {
  opacity: 0.45;
}

.source-key {
  display: flex;
  gap: 24px;
  padding: 12px 20px 0;
  color: var(--black);
  font: 600 12px 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.source-key span::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 8px;
  border-radius: 3px;
  vertical-align: -1px;
  background: var(--dark-yellow);
}

.source-key .is-spent::before {
  background: var(--pp-second-hot);
}

@media screen and (max-width: 991px) {
  .source {
    grid-template-columns: 1fr;
  }

  .source-side {
    min-height: 0;
    padding: 32px 24px;
  }

  .source-back b {
    font-size: 112px;
  }

  .source-stage {
    min-height: 0;
    padding: 24px 16px;
  }
}

@media screen and (max-width: 479px) {
  .source-row {
    grid-template-columns: 84px 1fr;
    padding: 12px;
  }

  .source-row.is-on {
    transform: none;
  }

  .source-label {
    font-size: 16px;
  }

  .source-reads dd {
    font-size: 42px;
  }
}

/* ---------- About page (2026-11-14) ---------- */

.story {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 16px 80px;
  align-items: stretch;
}

.story-text .h2 {
  margin: 0 0 32px;
  color: var(--white);
}

.story-text p {
  max-width: 640px;
  margin: 0 0 20px;
}

/* Us, and not us: the rubber stamps */

.fit {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 16px;
}

.fit-us {
  box-sizing: border-box;
  border-radius: 20px;
  padding: 40px;
  background: var(--accent);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.fit-us p {
  margin: 0;
  color: var(--black);
}

.fit-not {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.fit-not li {
  box-sizing: border-box;
  min-height: 220px;
  border-radius: 20px;
  padding: 32px;
  background: var(--pp-second-pale);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  color: var(--black);
}

.fit-not li span {
  color: var(--black);
}

.stamp {
  display: inline-block;
  padding: 10px 14px;
  border: 3px solid var(--pp-orange-mid);
  border-radius: 8px;
  color: var(--pp-orange-mid);
  font: 400 28px/1.02 'Anton', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  transform: rotate(var(--tilt));
  /* a slightly uneven ink, as a stamp leaves */
  -webkit-mask-image: radial-gradient(circle at 30% 40%, #000 55%, rgba(0, 0, 0, 0.72) 75%, #000 100%);
  mask-image: radial-gradient(circle at 30% 40%, #000 55%, rgba(0, 0, 0, 0.72) 75%, #000 100%);
}

.has-stamps .fit-not .stamp {
  opacity: 0;
  transform: rotate(var(--tilt)) scale(2.4);
}

.has-stamps .fit-not.is-in .stamp {
  opacity: 1;
  transform: rotate(var(--tilt));
  transition: opacity 0.12s linear var(--wait), transform 0.28s cubic-bezier(0.5, 0, 0.2, 1.4) var(--wait);
}

/* The numbers */

/* Who you'll deal with */

@media screen and (max-width: 991px) {
  .story,
  .fit {
    grid-template-columns: 1fr;
  }

  .fit-us {
    padding: 32px 24px;
  }
}

@media screen and (max-width: 479px) {
  .fit-not {
    grid-template-columns: 1fr;
  }

  .fit-not li {
    min-height: 0;
    padding: 24px;
  }

  .stamp {
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .has-stamps .fit-not .stamp {
    opacity: 1;
    transform: rotate(var(--tilt));
    transition: none;
  }
}

/* Design review, 2026-11-14 */

/* section gaps on phones, as on the home page */
@media screen and (max-width: 479px) {
  .page-section,
  .qa,
  .closing,
  .next {
    margin-top: 96px;
  }
}

/* the stamps start oversized; keep that inside their own tile so the page cannot scroll sideways */
.fit-not li {
  overflow: hidden;
}

/* narrow desktops: the handover objects sit clear of the titles */
@media screen and (min-width: 992px) and (max-width: 1279px) {
  .handover-obj {
    width: 96px;
    height: 96px;
  }

  .handover-card {
    padding: 24px;
  }
}

/* Page heads use the 64px heading size on every page except Home (decided 2026-11-14, D4) */
.legal-head h1.h2 {
  font-size: 64px;
}

@media screen and (max-width: 991px) {
  .legal-head h1.h2 {
    font-size: 50px;
  }
}

@media screen and (max-width: 767px) {
  .legal-head h1.h2 {
    font-size: 36px;
  }
}

/* Decided 2026-11-14 (D6, D7): headings centred above rows of equal cards; big figures at 112px
   for a single figure and 64px where two sit side by side, at every width */
.get-line.is-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.next-title.is-center {
  text-align: center;
}

@media screen and (max-width: 991px) {
  .merge-count b,
  .source-back b,
  .numbers-row dd {
    font-size: 112px;
  }

  .tester-reads dd {
    font-size: 64px;
  }
}

@media screen and (max-width: 479px) {
  .tester-reads dd {
    font-size: 42px;
  }
}

/* Decided 2026-11-14 (T6): the closing card on each service page takes that service's colour */
.closing-card.is-lime {
  background: var(--accent);
}

.closing-card.is-orange {
  background: var(--light-orange);
}

.closing-card.is-yellow {
  background: var(--light-yellow);
}

.closing-card.is-lime .closing-title,
.closing-card.is-lime p,
.closing-card.is-orange p,
.closing-card.is-yellow p {
  color: var(--black);
}

.closing-card.is-lime .is-accent {
  color: var(--accent-dark);
}

.closing-card.is-lime .button-primary {
  background-color: var(--dark-green-1);
  color: var(--accent);
}

.closing-card.is-orange .closing-title,
.closing-card.is-orange .is-accent {
  color: var(--dark-orange);
}

.closing-card.is-orange .button-primary {
  background-color: var(--dark-orange);
  color: var(--light-orange);
}

.closing-card.is-yellow .closing-title,
.closing-card.is-yellow .is-accent {
  color: var(--dark-yellow);
}

.closing-card.is-yellow .button-primary {
  background-color: var(--dark-yellow);
  color: var(--light-yellow);
}

/* Decided 2026-11-14 (T8): "What you get" uses the advise, build, run colours */
.get.is-toned li:nth-child(1) {
  background: var(--dark-green-1);
}

.get.is-toned li:nth-child(2) {
  background: var(--pp-second-mid);
}

.get.is-toned li:nth-child(3) {
  background: var(--accent-hover);
}

.get.is-toned li:nth-child(n + 2) .get-number,
.get.is-toned li:nth-child(n + 2) .get-label,
.get.is-toned li:nth-child(n + 2) p {
  color: var(--black);
}

/* Decided 2026-11-14 (T9): the "before" tags stay on their own side of the handle, wrap onto
   two lines when they need to, and sit in the gaps between the windows */
.mess-tag {
  max-width: 43%;
  white-space: normal;
  line-height: 1.25;
  border-radius: 14px;
}

.mess-tag:nth-of-type(1) {
  left: 2% !important;
  top: 29% !important;
}

.mess-tag:nth-of-type(2) {
  left: 5% !important;
  top: 65% !important;
}

.mess-tag:nth-of-type(3) {
  left: 2% !important;
  top: 77% !important;
}

.mess-tag:nth-of-type(4) {
  left: 6% !important;
  top: 89% !important;
}

@media screen and (max-width: 479px) {
  .mess-tag {
    max-width: 45%;
  }

  .mess-tag:nth-of-type(1) {
    top: 44% !important;
  }

  .mess-tag:nth-of-type(3) {
    top: 70% !important;
  }
}

/* ---------- Small animations agreed 2026-11-14 (tracker R1) ---------- */

/* Service cards: on hover each object moves a step round its orbit */
.cg-obj {
  transition: translate 0.7s cubic-bezier(0.34, 1.4, 0.64, 1);
}

a.illustration-card.is-link:hover .cg-obj,
a.illustration-card.is-link:focus-visible .cg-obj {
  translate: var(--ox) var(--oy);
}

.cg-obj:nth-of-type(2n) {
  transition-delay: 0.06s;
}

/* Contact: sent */
.send-button {
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s, min-width 0.3s;
}

.send-done {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--dark-green-1);
  opacity: 0;
  transform: translateY(100%);
}

.send-bolt {
  display: block;
  width: 34px;
  height: 34px;
}

.send-label {
  display: block;
  transition: transform 0.35s cubic-bezier(0.5, 0, 0.2, 1), opacity 0.2s;
}

.is-sent .send-label {
  transform: translateY(-140%);
  opacity: 0;
}

.is-sent .send-done {
  opacity: 1;
  transform: none;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s, opacity 0.2s 0.1s;
}

.is-sent .send-button:disabled {
  opacity: 1;
}

.is-sent .send-bolt {
  animation: send-bolt 0.5s ease-out 0.35s;
}

@keyframes send-bolt {
  0% { transform: scale(0.4) rotate(-30deg); }
  60% { transform: scale(1.3) rotate(10deg); }
  100% { transform: none; }
}

.form-image.is-nod {
  animation: figure-nod 0.9s ease-in-out 0.15s;
  transform-origin: 50% 100%;
}

@keyframes figure-nod {
  0%, 100% { transform: none; }
  30% { transform: translateY(8px) rotate(-1.6deg); }
  60% { transform: translateY(-3px) rotate(1deg); }
}

/* 404: the magnifying glass searches */
.lost-title .h1-obj {
  animation: lost-search 3.4s ease-in-out infinite alternate;
  transform-origin: 30% 30%;
}

@keyframes lost-search {
  from { transform: translateX(-0.06em) rotate(-10deg); }
  to { transform: translateX(0.16em) rotate(12deg); }
}

/* Inner pages: sections ease in as they arrive */
.has-ease .page > .page-section,
.has-ease .page > .qa,
.has-ease .page > .closing,
.has-ease .page > .next,
.has-ease .page > .contact-cards-grid,
.has-ease .page > .form-image-grid {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.6s ease-out, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.has-ease .page > .is-here {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .cg-obj,
  .send-label,
  .is-sent .send-done {
    transition: none;
  }

  .lost-title .h1-obj,
  .form-image.is-nod,
  .is-sent .send-bolt {
    animation: none;
  }
}

/* ---------- Type, hover and alignment audit, 2026-11-14 ----------
   The size classes now win over the tag. Before this, a heading written as <h2 class="h4">
   (the right tag for the page outline, the smaller size for looks) came out at the h2 size,
   which is why the Contact cards and several card titles were too big. */
.h1 {
  font-size: 92px;
}

.h2 {
  font-size: 64px;
}

.h3 {
  font-size: 42px;
}

.h4 {
  font-size: 35px;
}

@media screen and (max-width: 991px) {
  .h1 {
    font-size: 68px;
  }

  .h2 {
    font-size: 50px;
  }
}

@media screen and (max-width: 767px) {
  .h1 {
    font-size: 46px;
  }

  .h2 {
    font-size: 36px;
  }

  .h3 {
    font-size: 30px;
  }

  .h4 {
    font-size: 27px;
  }
}

.merge-tool b,
.merge-tool p {
  font-size: 12px;
}

/* Hover for every button that sits on a coloured card or panel. The lime default already
   has one; these had their colours set in a way that switched it off. */
.button-primary,
.send-button {
  transition: background-color 0.25s, color 0.25s, transform 0.25s;
}

.button-primary:hover {
  transform: translateY(-2px);
}

.button-primary:active {
  transform: none;
}

.lost-card .button-primary:hover,
.lost-card .button-primary:focus-visible,
.closing-card.is-orange .button-primary:hover,
.closing-card.is-orange .button-primary:focus-visible {
  background-color: var(--black);
  color: var(--light-orange);
}

.closing-card.is-lime .button-primary:hover,
.closing-card.is-lime .button-primary:focus-visible,
.page-head.is-lime .button-primary:hover,
.page-head.is-lime .button-primary:focus-visible {
  background-color: var(--black);
  color: var(--accent);
}

.closing-card.is-yellow .button-primary:hover,
.closing-card.is-yellow .button-primary:focus-visible {
  background-color: var(--black);
  color: var(--light-yellow);
}

.page-head.is-orange .button-primary:hover,
.page-head.is-orange .button-primary:focus-visible {
  background-color: var(--pp-second-pale);
  color: var(--dark-orange);
}

.page-head.is-yellow .button-primary:hover,
.page-head.is-yellow .button-primary:focus-visible {
  background-color: var(--white);
  color: var(--dark-yellow);
}

/* the two-way switches */
.charge-switch button:not(.is-on):hover,
.charge-switch button:not(.is-on):focus-visible {
  color: var(--accent);
}

/* cards that are links */
.contact-card {
  transition: background-color 0.25s, transform 0.25s;
}

.contact-card:hover,
.contact-card:focus-visible {
  background-color: var(--accent);
  transform: translateY(-4px);
}

.source-row:not(.is-on):hover {
  background: color-mix(in srgb, var(--pp-second-pale) 60%, transparent);
}

@media (prefers-reduced-motion: reduce) {
  .button-primary:hover,
  .contact-card:hover {
    transform: none;
  }
}

/* the questions block can be linked to; keep its heading clear of the sticky navigation */
#questions {
  scroll-margin-top: 104px;
}

/* ---------- The 13 defects from the specialist audit, fixed 2026-11-14 ---------- */

/* 2. Home: sections are 160px apart (136 tablet, 96 phone), as on every other page. The
   template added 64px of padding on top of the margin, making 224. */
#main.is-home .section.is-padding-top-64 {
  padding-top: 0;
}

#main.is-home #sound-familiar {
  margin-top: 160px;
}

/* 4. Legal pages: links carry the 2px underline used everywhere else */
.legal-body a {
  text-decoration-thickness: 2px;
}

/* 12. "Illustrative figures" under Home's answer card and before-and-after */
.figures-note {
  margin: 24px auto 0;
  color: var(--grey-60);
}

/* 9. the 404's magnifying glass, now on the 64px heading */
.lost-title.h2 {
  font-size: 64px;
}

@media screen and (max-width: 991px) {
  /* 7. footer sits 136px below the page on tablets */
  .site-footer {
    margin-top: 136px;
  }

  .lost-title.h2 {
    font-size: 50px;
  }

  #main.is-home #sound-familiar {
    margin-top: 136px;
  }

  /* 1. tap targets of at least 44px on touch screens */
  .site-menu-sub {
    gap: 0;
    padding: 0 0 8px 2px;
  }

  .site-menu-sub a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }

  /* 2026-11-15 (M10): rows sit 36px apart; the 44px touch area comes from the overlay,
     so the list no longer looks spaced out on tablets */
  .site-footer-cols > div {
    gap: 0;
  }

  .site-footer-cols a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 36px;
  }

  .site-footer-cols a::after {
    content: '';
    position: absolute;
    inset: -4px 0;
  }

  .footer-legal-links {
    gap: 0 24px;
  }

  .footer-legal-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .site-footer .social-link-block {
    width: 44px;
    height: 44px;
  }

  .legal-side a {
    display: flex;
    align-items: center;
    min-height: 44px;
    box-sizing: border-box;
  }

  .icon-chips {
    min-height: 44px;
    box-sizing: border-box;
  }

  /* text links keep their look; the area that responds to a finger grows to 44px */
  .hero-second-link {
    position: relative;
  }

  .hero-second-link::after {
    content: '';
    position: absolute;
    left: -8px;
    right: -8px;
    top: 50%;
    height: 44px;
    transform: translateY(-50%);
  }
}

@media screen and (max-width: 767px) {
  .site-footer {
    margin-top: 96px;
  }

  .lost-title.h2 {
    font-size: 36px;
  }

  #main.is-home #sound-familiar {
    margin-top: 96px;
  }
}

/* 6. Tablets get their own layouts, not the phone's single column */
@media screen and (min-width: 640px) and (max-width: 991px) {
  .get:not(.is-toned):not(.is-four) {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (min-width: 720px) and (max-width: 991px) {
  .get.is-toned,
  .next-steps,
  .who-points,
  .numbers-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .get.is-toned li,
  .next-steps li,
  .who-points li {
    padding: 24px;
  }
}

/* 8. Home "Three ways in" at tablet width: the closed panels are only about 120px wide, so
   their titles drop a size and sit clear of the panel edges */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .panel:not(.is-on) .panel-body {
    left: 16px;
    right: 16px;
  }

  .panel:not(.is-on) .panel-title {
    font-size: 24px;
    line-height: 1;
    letter-spacing: 0;
  }
}

/* ---------- About, rebuilt 2026-11-14 (decisions D17 and D18) ---------- */

/* "Bigger spreadsheets": a large sheet behind, a small tidy one in front */

/* the first number on a "how we work" panel also names the stage */
.get-number {
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* "This is us" as a short banner above the four stamps, so no card stands half empty */
.fit.is-stacked {
  grid-template-columns: 1fr;
}

.fit.is-stacked .fit-us {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding: 32px 40px;
}

.fit.is-stacked .fit-us .panel-chip {
  flex: none;
  margin-bottom: 0;
}

.fit.is-stacked .fit-not {
  grid-template-columns: repeat(4, 1fr);
}

/* Who you'll deal with: one senior lead, specialists joining round them */
.who {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 16px 80px;
  align-items: center;
}

.who-text .h2 {
  margin: 0 0 20px;
  color: var(--white);
}

.who-text p {
  margin: 0;
  max-width: 520px;
}

.team {
  position: relative;
  min-height: 420px;
  border-radius: 20px;
  background: var(--accent-opacity-13);
}

@media screen and (max-width: 991px) {

  .fit.is-stacked .fit-not {
    grid-template-columns: 1fr 1fr;
  }

  .fit.is-stacked .fit-us {
    padding: 24px;
  }

  .who {
    grid-template-columns: 1fr;
  }

  .team {
    min-height: 340px;
  }
}

@media screen and (max-width: 479px) {
  .fit.is-stacked .fit-us {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .fit.is-stacked .fit-not {
    grid-template-columns: 1fr;
  }
}

/* About, 2026-11-14: the two drawings came off at Andrew's request, so these two sections are
   text on its own, set to a readable width, until proper artwork is designed */
.story.is-text,
.who.is-text {
  display: block;
  max-width: 760px;
}

.who.is-text .who-text p {
  max-width: 640px;
}

/* ---------- Artwork for About: bigger spreadsheets, and the rota (approved 2026-11-14) ---------- */

/* Bigger spreadsheets */
.bs {
  position: relative;
  aspect-ratio: 1 / 0.92;
  border-radius: 20px;
  overflow: hidden;
  background: var(--dark-green-1);
  container-type: inline-size;
  font-family: 'JetBrains Mono', monospace;
}

.bs-big {
  position: absolute;
  left: 5%;
  top: 6%;
  width: 128%;
  border-radius: 10px;
  overflow: hidden;
  background: #fbfdf7;
  box-shadow: -1.6cqw 1.6cqw 0 var(--accent-hover);
  transform: rotate(-3deg);
  transform-origin: 0 0;
}

.bs-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: var(--accent-dark);
  color: var(--accent-light);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.bs-bar.is-light {
  background: var(--accent);
  color: var(--black);
}

.bs-bar .win-dots i {
  background: color-mix(in srgb, currentColor 45%, transparent);
}

.bs-fx {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-bottom: 1px solid #cfd8c4;
  background: #eef4e4;
  color: #26301c;
  font-size: 10px;
  white-space: nowrap;
}

.bs-fx b {
  padding: 2px 8px;
  border: 1px solid #b9c4ab;
  background: #fff;
  font-weight: 600;
}

.bs-fx i {
  color: var(--accent-dark);
  font-style: italic;
  font-weight: 600;
}

.bs-scroll {
  height: 66cqw;
  overflow: hidden;
}

.bs-grid {
  display: grid;
  grid-template-columns: 26px 92px repeat(13, 70px);
  font-size: 9.5px;
  line-height: 1;
  color: #26301c;
  animation: bs-pan 26s ease-in-out infinite alternate;
}

@keyframes bs-pan {
  from { transform: translate(0, 0); }
  to { transform: translate(-22%, -14%); }
}

.bs-grid span {
  padding: 5px 6px;
  border-right: 1px solid #dfe6d5;
  border-bottom: 1px solid #dfe6d5;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
}

.bs-grid .is-head {
  background: #eef4e4;
  color: #6c7860;
  text-align: center;
}

.bs-grid .is-label {
  text-align: left;
  font-weight: 600;
}

.bs-grid .is-neg {
  color: #b9491a;
}

.bs-grid .is-sum {
  background: #e1ffc7;
  font-weight: 600;
}

.bs-grid .is-dim {
  color: #9aa68c;
}

.bs-grid .is-hot {
  background: var(--pp-second-hot);
  color: var(--black);
  font-weight: 600;
}

.bs-tabs {
  display: flex;
  gap: 2px;
  padding: 4px 8px 0;
  background: #dfe6d5;
  font-size: 9.5px;
  white-space: nowrap;
}

.bs-tabs span {
  padding: 5px 9px;
  border-radius: 5px 5px 0 0;
  background: #cfd8c4;
  color: #4c5840;
}

.bs-tabs .is-on {
  background: #fbfdf7;
  color: var(--black);
  font-weight: 600;
}

.bs-tabs .is-warn {
  background: var(--pp-second-hot);
  color: var(--black);
  font-weight: 600;
}

.bs-small {
  position: absolute;
  right: 6%;
  bottom: 7%;
  width: 54%;
  border-radius: 10px;
  overflow: hidden;
  background: var(--accent-light);
  box-shadow: -1.6cqw 1.6cqw 0 var(--pp-second-hot);
  transform: rotate(3deg);
}

.bs-rows {
  display: grid;
  grid-template-columns: 1fr auto;
  font-size: 12px;
  color: var(--black);
}

.bs-rows span,
.bs-rows b {
  padding: 10px 12px;
  border-bottom: 1px solid color-mix(in srgb, var(--dark-green-1) 16%, transparent);
}

.bs-rows b {
  font-weight: 600;
  color: var(--accent-dark);
  text-align: right;
}

.bs-note {
  padding: 10px 12px 12px;
  color: var(--dark-green-1);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.bs-obj {
  position: absolute;
  left: 4%;
  bottom: 2%;
  width: 30%;
  aspect-ratio: 1;
  transform: rotate(-10deg);
}

@media (prefers-reduced-motion: reduce) {
  .bs-grid {
    animation: none;
  }
}

/* Spreadsheet artwork, second version (2026-11-14), after Andrew's "yes, but needs refinement":
   the row labels stay in view, the tab strip and its "DO NOT TOUCH" tab can be read, the small
   sheet and the calculator no longer cover the joke, and the panel carries the print texture. */
.bs {
  background:
    radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent) 1.2px, transparent 1.4px) 0 0 / 9px 9px,
    var(--dark-green-1);
}

.bs-big {
  left: 6%;
  top: 7%;
  width: 118%;
  transform: rotate(-2.5deg);
}

.bs-scroll {
  height: 41cqw;
}

/* the sheet only drifts up and down now, so column A never slides out of view */
@keyframes bs-pan {
  from { transform: translateY(0); }
  to { transform: translateY(-34%); }
}

.bs-grid {
  animation-duration: 18s;
}

.bs-tabs {
  padding-top: 6px;
  font-size: 10.5px;
}

.bs-small {
  right: 5%;
  bottom: 6%;
  width: 46%;
}

.bs-rows {
  font-size: 11px;
}

.bs-rows span,
.bs-rows b {
  padding: 8px 10px;
}

.bs-obj {
  left: 3%;
  bottom: 3%;
  width: 22%;
  transform: rotate(-12deg);
}

/* ---------- "Who you'll deal with": two new candidates (review page only), 2026-11-14 ---------- */

/* I2: a rota for your job */
.tr {
  position: relative;
  aspect-ratio: 1 / 0.92;
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent) 1.2px, transparent 1.4px) 0 0 / 9px 9px,
    var(--dark-green-1);
  container-type: inline-size;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
}

.tr-win {
  width: 88%;
  border-radius: 10px;
  overflow: hidden;
  background: #fbfdf7;
  box-shadow: -1.6cqw 1.6cqw 0 var(--pp-second-hot);
  transform: rotate(-2deg);
}

.tr-grid {
  display: grid;
  grid-template-columns: 26% 1fr;
  font-size: 2.5cqw;
  color: #26301c;
}

.tr-corner,
.tr-stages {
  background: #eef4e4;
  border-bottom: 1px solid #cfd8c4;
}

.tr-stages {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.tr-stages span {
  padding: 1.8cqw 1cqw;
  border-left: 1px solid #dfe6d5;
  color: #6c7860;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
}

.tr-who {
  padding: 2.6cqw 2cqw;
  border-bottom: 1px solid #dfe6d5;
  font-weight: 600;
  white-space: nowrap;
}

.tr-who.is-lead {
  color: var(--black);
}

.tr-who.is-off {
  color: #9aa68c;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.tr-lane {
  position: relative;
  border-bottom: 1px solid #dfe6d5;
  background: repeating-linear-gradient(to right, transparent 0, transparent calc(20% - 1px), #dfe6d5 calc(20% - 1px), #dfe6d5 20%);
}

.tr-lane i {
  position: absolute;
  top: 22%;
  bottom: 22%;
  display: flex;
  align-items: center;
  padding: 0 2cqw;
  box-sizing: border-box;
  border-radius: 100px;
  background: var(--pp-second-mid);
  color: var(--black);
  font-style: normal;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  transform-origin: 0 50%;
  animation: tr-grow 0.9s cubic-bezier(0.22, 1, 0.36, 1) var(--d) backwards;
}

.tr-lane i.is-lead {
  top: 14%;
  bottom: 14%;
  background: var(--accent-hover);
}

@keyframes tr-grow {
  from { transform: scaleX(0); }
}

.tr-lane.is-off {
  display: flex;
  align-items: center;
  padding: 0 2cqw;
  background: none;
}

.tr-lane.is-off em {
  color: var(--pp-orange-mid);
  font-style: normal;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .tr-lane i {
    animation: none;
  }
}

/* About: the two approved pieces sit beside their text; the rota's bars grow when it is reached */
.who .tr,
.story .bs {
  width: 100%;
}

.has-ease .page > .who:not(.is-here) .tr-lane i {
  animation-play-state: paused;
}

@media screen and (max-width: 991px) {
  .story .bs,
  .who .tr {
    max-width: 560px;
  }
}

/* The two About pieces keep their proportions on small screens: everything inside scales with
   the panel, so the small sheet never swamps the big one and the rota's last rows stay in view */
.bs-small .bs-bar,
.tr .bs-bar {
  padding: 1.8cqw 2.4cqw;
  gap: 1.6cqw;
  font-size: max(8px, 2.3cqw);
}

.bs-small .win-dots i,
.tr .win-dots i {
  width: max(5px, 1.4cqw);
  height: max(5px, 1.4cqw);
}

.bs-rows {
  font-size: max(8px, 2.3cqw);
}

.bs-rows span,
.bs-rows b {
  padding: 1.7cqw 2.1cqw;
  white-space: nowrap;
}

.bs-note {
  padding: 2cqw 2.1cqw 2.4cqw;
  font-size: max(7px, 2.1cqw);
  white-space: nowrap;
}

.tr-grid {
  font-size: max(7px, 2.5cqw);
}

/* line height follows the text size inside both pieces (it was a fixed 25px, which made the
   rota taller than its panel on phones) */
.tr-grid,
.bs-rows,
.bs-note,
.bs-small .bs-bar,
.tr .bs-bar {
  line-height: 1.3;
}

/* ---------- 2026-11-15 (D16): the desk scene with three notes, each a link ---------- */

.desk {
  min-height: 600px;
  padding: 72px 40px;
}

.note.is-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.note-go {
  display: block;
  margin-top: 14px;
  font: 500 12px 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.note.is-fix {
  width: auto;
  padding: 18px 24px 20px;
  background: var(--accent);
  color: var(--black);
  font: 400 40px/1 'Anton', sans-serif;
  text-transform: uppercase;
}

@media screen and (max-width: 1199px) and (min-width: 768px) {
  .desk {
    min-height: 730px;
    align-items: flex-start;
    padding-top: 112px;
  }

  .win {
    max-width: 520px;
  }

  .note.is-link {
    top: auto !important;
    bottom: 6% !important;
    left: auto !important;
    right: auto !important;
    width: 28%;
  }

  .note.is-link:nth-of-type(1) {
    left: 3% !important;
  }

  .note.is-link:nth-of-type(2) {
    left: 36% !important;
  }

  .note.is-link:nth-of-type(3) {
    left: 69% !important;
  }

  .note.is-fix {
    right: 4% !important;
    bottom: auto !important;
    top: 3%;
    font-size: 30px;
  }
}

@media screen and (max-width: 767px) {
  .desk {
    min-height: 0;
    padding: 28px 20px 32px;
  }

  .note.is-fix {
    display: inline-block;
    font-size: 30px;
    margin-top: 16px;
  }

  .win-grid {
    grid-template-columns: 1.15fr 1fr 1fr 1fr 1.1fr;
  }

  .win-grid span {
    font-size: 9px;
    padding: 9px 3px;
  }

  .win-bar {
    font-size: 11px;
  }
}

/* 2026-11-15: the five error cells blink out of step with each other (positions follow the
   sheet in src/pages/index.astro: five columns, so cell 18 is row 4, column 3, and so on) */
.win-grid .is-bad:nth-child(18) {
  animation-delay: 0.5s;
}

.win-grid .is-bad:nth-child(24) {
  animation-delay: 1.1s;
}

.win-grid .is-bad:nth-child(27) {
  animation-delay: 1.7s;
}

.win-grid .is-bad:nth-child(30) {
  animation-delay: 0.8s;
}

/* ---------- 2026-11-15 (D16): the desk scene as the "before" on the service pages ---------- */

.only-tap,
.compare-tap {
  display: none;
}

.compare.is-desk .compare-before {
  background: var(--dark-green-1);
}

.compare.is-desk .compare-before .compare-title {
  color: var(--light-orange);
}

.scene {
  position: absolute;
  inset: 0;
}

.scene-win {
  position: absolute;
  left: calc(1.5% + 208px);
  top: 150px;
  width: 420px;
  transform: rotate(-2deg);
}

.scene-sheet {
  max-width: none;
  box-shadow: -8px 8px 0 var(--pp-second-hot);
}

.scene-sheet .win-grid {
  grid-template-columns: repeat(var(--cols), 1fr);
}

.scene-sheet .win-grid span {
  min-height: 38px;
  padding: 9px 8px;
  font-size: 13px;
}

.scene-stack {
  position: relative;
  height: 330px;
}

.scene-stack .mess-win {
  width: 235px;
}

.scene-stack em {
  font-style: normal;
  font-weight: 700;
  background: var(--light-orange);
  padding: 2px 5px;
  border-radius: 4px;
  animation: cell-blink 2.4s steps(2, jump-none) infinite;
}

.scene-note {
  width: 190px;
  padding: 16px 16px 18px;
  font-size: 15px;
}

.scene-note b {
  font-size: 30px;
  margin-bottom: 8px;
}

.scene-note:nth-of-type(2) {
  left: 1.5%;
  top: 118px;
  transform: rotate(-5deg);
}

.scene-note:nth-of-type(3) {
  left: 2%;
  bottom: 26px;
  transform: rotate(4deg);
}

.scene-note:nth-of-type(4) {
  left: calc(1.5% + 648px);
  top: 112px;
  transform: rotate(5deg);
}

.scene-note:nth-of-type(5) {
  left: calc(1.5% + 640px);
  bottom: 24px;
  transform: rotate(-4deg);
}

@media (prefers-reduced-motion: reduce) {
  .scene-stack em {
    animation: none;
  }
}

/* Under 1200px: no handle. A full-width Before / After switch flips the whole panel. */
@media screen and (max-width: 1199px) {
  .only-drag {
    display: none;
  }

  .only-tap {
    display: inline;
  }

  .compare-tap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 6px;
    margin-bottom: 12px;
    border-radius: 14px;
    background: var(--dark-green-1);
  }

  .compare-tap button {
    min-height: 48px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--white);
    font: 600 16px Epilogue, sans-serif;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
  }

  .compare-tap button:hover {
    background: color-mix(in srgb, var(--accent) 18%, transparent);
  }

  .compare-tap button.is-on {
    background: var(--accent);
    color: var(--black);
  }

  .compare.is-desk .compare-handle,
  .compare.is-desk .compare-range {
    display: none;
  }

  .compare.is-desk .compare-after {
    transition: clip-path 0.45s cubic-bezier(0.645, 0.045, 0.355, 1);
  }

  .scene {
    inset: 104px 20px 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    align-content: start;
  }

  .scene-win {
    position: static;
    grid-column: 1 / -1;
    width: 100%;
    max-width: 500px;
    margin: 0 auto 26px;
  }

  .compare.is-desk[data-side='after'] .compare-before .compare-title {
    visibility: hidden;
  }

  .scene .scene-note {
    position: static;
    width: auto;
    margin: 0;
  }
}

@media screen and (max-width: 767px) {
  .compare.is-desk {
    height: 600px;
  }

  .scene {
    inset: 76px 12px 12px;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .scene-win {
    margin-bottom: 10px;
  }

  .scene-sheet {
    margin: 0;
    transform: none;
  }

  .scene-sheet .win-grid span {
    min-height: 32px;
    padding: 8px 4px;
    font-size: 10px;
  }

  .scene-stack {
    height: 250px;
  }

  .scene-stack .mess-win {
    width: 172px;
    font-size: 11px;
  }

  .scene-stack .mess-win:nth-of-type(n + 3) {
    display: block;
  }

  .scene-stack .mess-win b,
  .scene-stack .mess-win p {
    font-size: 11px;
    line-height: 1.3;
    padding: 7px 9px;
  }

  .scene .scene-note {
    padding: 12px 12px 14px;
    font-size: 13px;
  }

  .scene-note b {
    font-size: 24px;
    margin-bottom: 6px;
  }
}

/* ---------- 2026-11-15 (D22): phone and tablet menu, redesigned.
   Reworked the same day after the designer's review: one column at every width, service
   cards on tablets, a pinned footer row, bigger rows on tall phones, compact rows on short ones. ---------- */

.site-menu.is-v2 {
  padding: 0 24px 24px;
}

/* the bar is solid at once; only what is under it fades */
.site-menu.is-v2 .site-menu-top {
  position: sticky;
  top: 0;
  z-index: 3;
  flex: none;
  min-height: 72px;
  background: var(--black);
}

.site-menu.is-v2 .site-menu-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.24s ease;
}

.site-menu.is-v2.is-open .site-menu-body {
  opacity: 1;
}

.site-menu.is-v2 .site-menu-links {
  flex: none;
  justify-content: flex-start;
  gap: 0;
  padding: 4px 0 0;
}

.site-menu.is-v2 .site-menu-links > a {
  display: flex;
  align-items: center;
  min-height: 76px;
  font-size: 44px;
  line-height: 1;
  border-bottom: 2px solid color-mix(in srgb, var(--white) 16%, transparent);
}

.site-menu.is-v2 .site-menu-links > a.is-services {
  border-bottom: 0;
  min-height: 70px;
}

/* no rule under the last link (Contact), at Andrew's request 2026-11-15 */
.site-menu.is-v2 .site-menu-links > a:last-child {
  border-bottom: 0;
}

/* the current page is marked with the wordmark's double slash, not by colour alone */
.site-menu.is-v2 .site-menu-links > a.is-current {
  color: var(--white);
}

.site-menu.is-v2 .site-menu-links > a.is-current::before {
  content: '//';
  margin-right: 0.2em;
  color: var(--accent);
  letter-spacing: -0.04em;
}

.site-menu.is-v2 .site-menu-links > a:hover,
.site-menu.is-v2 .site-menu-links > a:focus-visible,
.site-menu.is-v2 .site-menu-svc:hover,
.site-menu.is-v2 .site-menu-svc:focus-visible {
  transform: none;
}

.site-menu.is-v2 .site-menu-sub {
  gap: 0;
  padding: 0 0 10px;
  border-bottom: 2px solid color-mix(in srgb, var(--white) 16%, transparent);
}

.site-menu.is-v2 .site-menu-svc {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  color: var(--white);
  text-decoration: none;
}

.site-menu-tile {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--tile);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* the object is bigger than its tile and leans out of it */
.site-menu-tile > .obj-print {
  flex: none;
  width: 58px;
  height: 58px;
  max-width: none;
  object-fit: contain;
  rotate: -6deg;
  transition: rotate 0.25s cubic-bezier(0.645, 0.045, 0.355, 1), scale 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.site-menu-svc:hover .site-menu-tile > .obj-print,
.site-menu-svc:focus-visible .site-menu-tile > .obj-print,
.site-menu-svc:active .site-menu-tile > .obj-print {
  rotate: 6deg;
  scale: 1.12;
}

.site-menu-svc-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.site-menu.is-v2 .site-menu-svc b {
  font: 600 18px/1.2 Epilogue, sans-serif;
}

.site-menu.is-v2 .site-menu-svc i {
  font: 400 14px/1.2 Epilogue, sans-serif;
  font-style: normal;
  color: var(--grey-60);
}

.site-menu.is-v2 .site-menu-svc:hover b,
.site-menu.is-v2 .site-menu-svc:focus-visible b,
.site-menu.is-v2 .site-menu-svc:active b {
  color: var(--accent);
}

.site-menu.is-v2 .site-menu-panel {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
}

.site-menu-contact {
  display: flex;
  flex-direction: column;
}

.site-menu-mail {
  display: flex;
  align-items: center;
  align-self: flex-start;
  min-height: 44px;
  margin-bottom: 8px;
  font: 400 18px Epilogue, sans-serif;
  color: var(--white);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  transition: color 0.2s;
}

.site-menu-mail:hover,
.site-menu-mail:focus-visible {
  color: var(--accent);
}

.site-menu.is-v2 .button-primary {
  align-self: stretch;
  text-align: center;
}

/* the close button starts as the burger's two bars and turns into the cross */
.site-menu.is-v2 .site-menu-close span:first-child {
  top: 17px;
  transform: none;
}

.site-menu.is-v2 .site-menu-close span:last-child {
  top: 25px;
  transform: none;
}

.site-menu.is-v2 .site-menu-close span {
  transition: top 0.24s cubic-bezier(0.645, 0.045, 0.355, 1), transform 0.24s cubic-bezier(0.645, 0.045, 0.355, 1), background-color 0.2s;
}

.site-menu.is-v2.is-open .site-menu-close span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.site-menu.is-v2.is-open .site-menu-close span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

/* rows rise in a short stagger; the pinned footer only fades with the body */
.site-menu.is-v2 .site-menu-links > * {
  opacity: 0;
  translate: 0 14px;
  transition: opacity 0.3s ease, translate 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), color 0.2s;
}

.site-menu.is-v2.is-open .site-menu-links > * {
  opacity: 1;
  translate: 0 0;
}

.site-menu.is-v2.is-open .site-menu-links > :nth-child(1) { transition-delay: 0.04s, 0.04s, 0s; }
.site-menu.is-v2.is-open .site-menu-links > :nth-child(2) { transition-delay: 0.08s, 0.08s, 0s; }
.site-menu.is-v2.is-open .site-menu-links > :nth-child(3) { transition-delay: 0.12s, 0.12s, 0s; }
.site-menu.is-v2.is-open .site-menu-links > :nth-child(4) { transition-delay: 0.16s, 0.16s, 0s; }
.site-menu.is-v2.is-open .site-menu-links > :nth-child(5) { transition-delay: 0.2s, 0.2s, 0s; }

@media (prefers-reduced-motion: reduce) {
  .site-menu.is-v2 .site-menu-body,
  .site-menu.is-v2 .site-menu-links > *,
  .site-menu.is-v2 .site-menu-close span,
  .site-menu-tile > .obj-print {
    transition: none;
  }

  .site-menu.is-v2 .site-menu-links > * {
    opacity: 1;
    translate: 0 0;
  }
}

/* Polish, 2026-11-15 */

/* tall phones: the link rows share the spare height, so there is no hole above the email */
@media screen and (max-width: 767px) and (min-height: 761px) {
  .site-menu.is-v2 .site-menu-links {
    flex: 1 1 auto;
  }

  .site-menu.is-v2 .site-menu-links > a {
    flex: 1 1 0;
    max-height: 100px;
  }

  .site-menu.is-v2 .site-menu-links > a.is-services {
    max-height: 92px;
  }
}

/* the objects pop in a beat after their rows, one after another */
.site-menu.is-v2 .site-menu-tile > .obj-print {
  scale: 0.5;
  opacity: 0;
  transition: scale 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), rotate 0.25s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.2s ease;
}

.site-menu.is-v2.is-open .site-menu-tile > .obj-print {
  scale: 1;
  opacity: 1;
}

.site-menu.is-v2.is-open .site-menu-svc:nth-child(1) .site-menu-tile > .obj-print { transition-delay: 0.22s, 0s, 0.22s; }
.site-menu.is-v2.is-open .site-menu-svc:nth-child(2) .site-menu-tile > .obj-print { transition-delay: 0.29s, 0s, 0.29s; }
.site-menu.is-v2.is-open .site-menu-svc:nth-child(3) .site-menu-tile > .obj-print { transition-delay: 0.36s, 0s, 0.36s; }

.site-menu.is-v2.is-open .site-menu-svc:hover .site-menu-tile > .obj-print,
.site-menu.is-v2.is-open .site-menu-svc:focus-visible .site-menu-tile > .obj-print,
.site-menu.is-v2.is-open .site-menu-svc:active .site-menu-tile > .obj-print {
  rotate: 6deg;
  scale: 1.12;
  transition-delay: 0s;
}

/* a clear ring for keyboard users */
.site-menu.is-v2 a:focus-visible,
.site-menu.is-v2 button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 6px;
}

/* a little more air between the email and the button on phones */
@media screen and (max-width: 767px) and (min-height: 761px) {
  .site-menu-mail {
    margin-bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-menu.is-v2 .site-menu-tile > .obj-print {
    scale: 1;
    opacity: 1;
    transition: none;
  }
}

/* Short phones: tighter rows so nothing scrolls on a 600px screen */
@media screen and (max-width: 767px) and (max-height: 760px) {
  .site-menu.is-v2 .site-menu-links > a {
    min-height: 54px;
    font-size: 30px;
  }

  .site-menu.is-v2 .site-menu-links > a.is-services {
    min-height: 48px;
  }

  .site-menu.is-v2 .site-menu-svc {
    min-height: 48px;
    gap: 12px;
  }

  .site-menu.is-v2 .site-menu-sub {
    padding-bottom: 6px;
  }

  .site-menu-tile {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .site-menu-tile > .obj-print {
    width: 46px;
    height: 46px;
  }

  .site-menu.is-v2 .site-menu-svc b {
    font-size: 16px;
  }

  .site-menu.is-v2 .site-menu-svc i {
    font-size: 13px;
  }

  .site-menu.is-v2 .site-menu-panel {
    padding-top: 12px;
  }

  .site-menu-mail {
    margin-bottom: 4px;
  }
}

/* Tablet: the same single column, scaled up. The services become three colour cards and the
   email, place and button sit in one row pinned to the bottom. Everything shares two edges. */
@media screen and (min-width: 768px) {
  .site-menu.is-v2 {
    padding: 0 64px 40px;
  }

  .site-menu.is-v2 .site-menu-top {
    min-height: 80px;
  }

  .site-menu.is-v2 .site-menu-links {
    flex: 1 1 auto;
    padding: 0;
  }

  .site-menu.is-v2 .site-menu-links > a,
  .site-menu.is-v2 .site-menu-links > a.is-services {
    flex: 1 1 0;
    min-height: 96px;
    /* 156px (was 132px): taller tablets share the spare height between the rows instead of
       leaving it all between Contact and the bottom row (designer's second review, 2026-11-15) */
    max-height: 156px;
    font-size: clamp(72px, 9.4vw, 88px);
  }

  .site-menu.is-v2 .site-menu-sub {
    flex: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 14px 0 28px;
  }

  .site-menu.is-v2 .site-menu-svc {
    position: relative;
    box-sizing: border-box;
    align-items: flex-end;
    height: 184px;
    min-height: 0;
    padding: 16px;
    border-radius: 20px;
    background: var(--tile);
    color: var(--black);
    transition: translate 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
  }

  .site-menu.is-v2 .site-menu-svc:hover,
  .site-menu.is-v2 .site-menu-svc:focus-visible,
  .site-menu.is-v2 .site-menu-svc:active {
    translate: 0 -4px;
  }

  .site-menu.is-v2 .site-menu-tile {
    position: absolute;
    top: -12px;
    right: -8px;
    width: 104px;
    height: 104px;
    background: none;
  }

  .site-menu.is-v2 .site-menu-tile > .obj-print {
    width: 104px;
    height: 104px;
    rotate: -8deg;
  }

  /* the last card's object stays inside the right-hand edge shared by the rules and the button */
  .site-menu.is-v2 .site-menu-svc:last-child .site-menu-tile {
    right: 8px;
  }

  .site-menu.is-v2 .site-menu-svc-text {
    gap: 6px;
  }

  .site-menu.is-v2 .site-menu-svc b,
  .site-menu.is-v2 .site-menu-svc:hover b,
  .site-menu.is-v2 .site-menu-svc:focus-visible b,
  .site-menu.is-v2 .site-menu-svc:active b {
    font: 500 12px/1.2 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--black);
  }

  .site-menu.is-v2 .site-menu-svc i {
    font: 400 clamp(26px, 3.4vw, 32px) / 1 'Anton', sans-serif;
    text-transform: uppercase;
    color: var(--black);
  }

  .site-menu.is-v2 .site-menu-panel {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 24px;
    padding-top: 0;
    /* no rule above the footer row, at Andrew's request 2026-11-15 */
  }

  .site-menu-contact {
    flex-direction: row;
    align-items: center;
    gap: 28px;
  }

  .site-menu-mail {
    margin-bottom: 0;
  }

  .site-menu.is-v2 .button-primary {
    align-self: auto;
    min-width: 220px;
  }
}

@media screen and (min-width: 768px) and (max-height: 820px) {
  .site-menu.is-v2 .site-menu-links > a,
  .site-menu.is-v2 .site-menu-links > a.is-services {
    min-height: 72px;
    font-size: 56px;
  }

  .site-menu.is-v2 .site-menu-svc {
    height: 128px;
  }

  .site-menu.is-v2 .site-menu-tile,
  .site-menu.is-v2 .site-menu-tile > .obj-print {
    width: 76px;
    height: 76px;
  }
}

/* ---------- 2026-11-15: small reminder post-its on the Home desk scene (kept; fewer on smaller screens) ---------- */

.desk:has(.is-mini) {
  min-height: 700px;
}

.desk .win {
  z-index: 1;
}

.desk .note {
  z-index: 2;
}

.desk .note.is-mini {
  z-index: 0;
  width: 150px;
  padding: 12px 12px 16px;
  font-size: 14px;
  line-height: 1.25;
  box-shadow: -4px 4px 0 color-mix(in srgb, var(--black) 50%, transparent);
}

.desk .note.is-mini:hover {
  z-index: 5;
}

@media screen and (max-width: 1199px) and (min-width: 768px) {
  .desk:has(.is-mini) {
    min-height: 800px;
  }

  .desk .note.is-mini {
    width: 124px;
    font-size: 13px;
    padding: 10px 10px 14px;
  }

  .desk .note.is-mini.m1 { left: 1.5% !important; top: 13% !important; bottom: auto !important; }
  .desk .note.is-mini.m2 { left: auto !important; right: 1.5% !important; top: 22% !important; }
  .desk .note.is-mini.m3 { left: 2% !important; top: 34% !important; }
  .desk .note.is-mini.m4 { left: auto !important; right: 2% !important; top: 42% !important; }
  .desk .note.is-mini.m5 { left: 4% !important; top: 54% !important; bottom: auto !important; }
  .desk .note.is-mini.m6 { left: 40% !important; top: 56% !important; bottom: auto !important; }
  .desk .note.is-mini.m7 { left: auto !important; right: 5% !important; top: 57% !important; }
  .desk .note.is-mini.m8,
  .desk .note.is-mini.m9 { display: none; }
}

@media screen and (max-width: 767px) {
  .desk:has(.is-mini) {
    min-height: 0;
  }

  .desk .note.is-mini {
    display: inline-block;
    box-sizing: border-box;
    width: 47%;
    margin: 12px 1% 0;
    vertical-align: top;
    font-size: 13px;
  }

  .desk .note.is-mini.m5,
  .desk .note.is-mini.m6,
  .desk .note.is-mini.m7,
  .desk .note.is-mini.m8,
  .desk .note.is-mini.m9 {
    display: none;
  }
}

/* ---------- 2026-11-15 (D21): Home hero. Spreadsheet grid behind; each object starts as a bit of
   mess and becomes the object when "Sorted." lands like a stamp. Trialled, refined and made live
   the same day. The earlier mesh rules (.hero-bg, .hero-mesh, .hero-node) are no longer used. ---------- */

.hero-grid { position: absolute; inset: 0; overflow: hidden; --cw: 144px; --ch: 48px;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 98%); mask-image: linear-gradient(to bottom, #000 62%, transparent 98%); }
.hg-lines { position: absolute; inset: 0;
  background-image: linear-gradient(to right, color-mix(in srgb, var(--accent) 13%, transparent) 1px, transparent 1px), linear-gradient(to bottom, color-mix(in srgb, var(--accent) 13%, transparent) 1px, transparent 1px);
  background-size: var(--cw) var(--ch);
  -webkit-mask-image: radial-gradient(ellipse 46% 34% at 50% 50%, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0.28) 55%, #000 100%); mask-image: radial-gradient(ellipse 46% 34% at 50% 50%, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0.28) 55%, #000 100%);
  animation: hg-in 0.9s ease-out backwards; }
.hg-head, .hg-num, .hg-cell { position: absolute; left: calc(var(--cw) * var(--c, 0)); top: calc(var(--ch) * var(--r, 2)); width: var(--cw); height: var(--ch); box-sizing: border-box; display: flex; align-items: center; font: 400 13px 'JetBrains Mono', monospace; }
.hg-head { justify-content: center; color: color-mix(in srgb, var(--accent) 38%, transparent); background: color-mix(in srgb, var(--accent) 5%, transparent); animation: hg-in 0.9s ease-out 0.1s backwards; }
.hg-num { padding-left: 14px; color: color-mix(in srgb, var(--accent) 30%, transparent); animation: hg-in 0.9s ease-out 0.1s backwards; }
.hg-cell { padding: 0 12px; color: color-mix(in srgb, var(--white) 46%, transparent); animation: hg-in 0.5s ease-out calc(0.25s + var(--i) * 0.06s) backwards; }
.hg-cell i { position: absolute; left: 12px; right: 8px; font-style: normal; white-space: nowrap; overflow: hidden; }
.hg-cell.is-bad { background: color-mix(in srgb, var(--light-orange) 13%, transparent); }
.hg-cell.is-bad .is-mess { color: color-mix(in srgb, var(--light-orange) 78%, transparent); }
.hg-cell .is-tidy { opacity: 0; }
.hg-cell.is-bad .is-tidy { color: color-mix(in srgb, var(--accent) 70%, transparent); }
/* when "Sorted." lands, every bad cell comes right, one after another */
.hg-cell.is-bad { animation: hg-in 0.5s ease-out calc(0.25s + var(--i) * 0.06s) backwards, hg-calm 0.4s ease calc(2.1s + var(--i) * 0.07s) forwards; }
.hg-cell .is-mess { animation: hg-out 0.3s ease calc(2.1s + var(--i) * 0.07s) forwards; }
.hg-cell .is-tidy { animation: hg-on 0.3s ease calc(2.2s + var(--i) * 0.07s) forwards; }
.hg-select { position: absolute; left: 0; top: 0; width: var(--cw); height: var(--ch); box-sizing: border-box; border: 2px solid var(--accent); opacity: 0; animation: hg-hop 14s step-end 3.4s infinite; }
@keyframes hg-in { from { opacity: 0; } }
@keyframes hg-out { to { opacity: 0; } }
@keyframes hg-on { to { opacity: 1; } }
@keyframes hg-calm { to { background-color: color-mix(in srgb, var(--accent) 7%, transparent); } }
@keyframes hg-hop {
  0% { opacity: 0.7; translate: calc(var(--cw) * 8) calc(var(--ch) * 3); }
  20% { opacity: 0.7; translate: calc(var(--cw) * 1) calc(var(--ch) * 5); }
  40% { opacity: 0.7; translate: calc(var(--cw) * 8) calc(var(--ch) * 12); }
  60% { opacity: 0.7; translate: calc(var(--cw) * 2) calc(var(--ch) * 15); }
  80% { opacity: 0.7; translate: calc(var(--cw) * 1) calc(var(--ch) * 4); }
  100% { opacity: 0.7; translate: calc(var(--cw) * 8) calc(var(--ch) * 3); }
}

/* bigger objects; each starts as a bit of mess and becomes the object when "Sorted." lands */
#hero.hero-v2 .h1-obj { position: relative; width: 1.3em; height: 1.3em; margin: -0.26em -0.04em -0.26em 0.04em; vertical-align: 0.135em; animation: none; }
#hero.hero-v2 .h1-obj .p3 { animation: hv-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) calc(2.08s + var(--n) * 0.1s) backwards, hero-float 5s ease-in-out 3.2s infinite alternate; }
.h1-mess { position: absolute; left: 50%; top: 50%; z-index: 2; translate: -50% -50%; white-space: nowrap; font: 600 0.25em/1 'JetBrains Mono', monospace; letter-spacing: 0; text-transform: none; padding: 0.75em 0.85em; border-radius: 3px;
  animation: hv-mess-in 0.45s cubic-bezier(0.34, 1.4, 0.64, 1) calc(var(--d, 0s) + 0.2s) backwards, hv-jitter 0.9s ease-in-out calc(var(--d, 0s) + 0.7s) 2 alternate, hv-mess-out 0.22s ease-in calc(2s + var(--n) * 0.1s) forwards; }
.h1-mess.is-cell { background: var(--light-orange); color: var(--dark-orange); border: 2px solid var(--dark-orange); rotate: -11deg; }
.h1-mess.is-note { background: var(--light-yellow); color: var(--dark-yellow); box-shadow: -4px 4px 0 color-mix(in srgb, var(--black) 55%, transparent); rotate: 8deg; font-family: Epilogue, sans-serif; padding: 0.9em 0.9em 1.3em; }
.h1-mess.is-lead { background: var(--accent-light); color: var(--accent-dark); box-shadow: -4px 4px 0 color-mix(in srgb, var(--black) 55%, transparent); rotate: -6deg; }
@keyframes hv-mess-in { from { opacity: 0; transform: translateY(-2.4em) rotate(26deg); } }
@keyframes hv-jitter { from { transform: rotate(-3deg); } to { transform: rotate(4deg) translateY(-0.12em); } }
@keyframes hv-mess-out { to { opacity: 0; transform: scale(0.2) rotate(-30deg); } }
@keyframes hv-pop { from { opacity: 0; transform: scale(0) rotate(-50deg); } }

/* "Sorted." comes down like a stamp, and the headline takes the knock */
.hero-v2 .hero-sorted { position: relative; transform-origin: 50% 55%; animation: hv-stamp 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.2) 1.9s backwards; }
.hero-v2 .hero-sorted::after { content: ''; position: absolute; inset: 0.02em -0.12em 0.06em; border: 0.04em solid var(--accent); border-radius: 0.12em; opacity: 0; pointer-events: none; animation: hv-ring 0.6s ease-out 2.15s; }
.hero-v2 .hero-title { animation: hv-thud 0.32s ease-out 2.15s; }
.hero-v2 .hero-line { animation-delay: 2.5s; }
#hero.hero-v2 .hero-actions { animation-delay: 2.65s; }
@keyframes hv-stamp { 0% { opacity: 0; transform: scale(3) rotate(-8deg); } 55% { opacity: 1; transform: scale(0.93) rotate(-1.5deg); } 100% { transform: none; } }
@keyframes hv-ring { from { opacity: 0.8; transform: scale(1); } to { opacity: 0; transform: scale(1.45, 1.8); } }
@keyframes hv-thud { 0% { transform: translateY(0); } 30% { transform: translateY(5px); } 100% { transform: translateY(0); } }

.hg-cell.is-small { display: none; }
/* on tablets and phones the cells that would sit behind the words are left out, and two
   wrong cells are added where they can be seen */
@media screen and (max-width: 991px) { .hero-grid { --cw: 112px; --ch: 44px; } .hg-cell.is-mid { display: none; } .hg-cell.is-small { display: flex; } }
/* on tablets and phones the text runs further down, so the lower cells are left out as well */
@media screen and (max-width: 991px) { .hg-cell.is-low { display: none; } }
@media screen and (max-width: 767px) { .hero-grid { --cw: 84px; --ch: 40px; } .hg-head, .hg-num, .hg-cell { font-size: 11px; } .hg-cell { padding: 0 6px; } .hg-cell i { left: 6px; right: 4px; } .hg-num { padding-left: 8px; } }

@media (prefers-reduced-motion: reduce) {
  .hg-lines, .hg-head, .hg-num, .hg-cell, .hg-cell.is-bad, .hg-select, .hero-v2 .hero-sorted, .hero-v2 .hero-sorted::after, .hero-v2 .hero-title, #hero.hero-v2 .h1-obj .p3 { animation: none; }
  .h1-mess, .hg-cell .is-mess { display: none; }
  .hg-cell .is-tidy { opacity: 1; animation: none; }
  .hg-select { opacity: 0.7; translate: calc(var(--cw) * 8) calc(var(--ch) * 3); }
}

/* ---------- 2026-11-15 (D23): content added before launch ---------- */

/* Services, "What we need from you" under the four steps */
.needs {
  margin-top: 16px;
  padding: 32px;
  border-radius: 20px;
  background: var(--dark-green-1);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 24px 48px;
  align-items: start;
}

.needs-title {
  margin: 0;
  color: var(--accent);
}

.needs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.needs-list li {
  position: relative;
  padding-left: 28px;
  color: var(--accent-light);
}

.needs-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 2px;
  background: var(--accent);
}

.page-section > .placeholder-tag {
  margin-top: 20px;
}

/* the second and later words of a step number sit beside it ("01 First") */
.get.is-four .get-number {
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* Footer: registered company details */
.footer-company {
  margin: 20px 0 0;
  max-width: 760px;
}

@media screen and (max-width: 767px) {
  .needs {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

/* ---------- 2026-11-15 (D29): the Advise page, and its link from Services ---------- */

.get.across li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.get.across .get-number {
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.across-link {
  margin-top: auto;
  padding-top: 24px;
}

.get.across p {
  margin-bottom: 0;
}

.handover-more {
  margin-top: 16px;
}

/* a heading block with a second paragraph (Advise, "Who you're asking") */
.page-section-head .medium-l + .medium-l {
  margin-top: 16px;
}

/* ---------- 2026-11-15 (D29): Advise, Build and Run in the menus ---------- */

/* desktop dropdown: two labelled columns, "What we fix" and "How we help" */
.site-nav-menu.has-groups {
  width: 600px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 10px;
}

.site-nav-menu-label {
  display: block;
  padding: 8px 10px 6px;
  font: 400 12px 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--grey-60);
}

.site-nav-menu.has-groups .site-nav-all {
  grid-column: 1 / -1;
}

/* on a dark tile the small line under the name would vanish, so it takes the light green */
.site-nav-col:last-of-type .site-nav-service i {
  color: var(--accent-light);
}

/* phone and tablet menu: one quiet row of three links */
.site-menu:not(.is-v2) .site-menu-modes {
  display: none;
}

.site-menu.is-v2 .site-menu-modes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 20px;
  min-height: 52px;
  border-bottom: 2px solid color-mix(in srgb, var(--white) 16%, transparent);
}

.site-menu-modes span {
  flex: none;
  font: 400 12px 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--grey-60);
}

.site-menu-modes a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font: 600 17px Epilogue, sans-serif;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}

.site-menu-modes a:hover,
.site-menu-modes a:focus-visible {
  color: var(--accent);
}

.site-menu.is-v2.is-open .site-menu-links > :nth-child(6) { transition-delay: 0.24s, 0.24s, 0s; }

@media screen and (min-width: 768px) {
  .site-menu.is-v2 .site-menu-modes {
    flex: none;
    min-height: 64px;
    gap: 0 32px;
  }

  .site-menu-modes a {
    font-size: 20px;
  }
}

/* Footer: a Union flag that looks the same in every browser */
.footer-place {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-flag {
  flex: none;
  width: 22px;
  height: auto;
}

/* 2026-11-15: the desktop Services dropdown gets the phone menu's object treatment. Each object
   is bigger than its tile, leans out of it, and tips the other way on hover or focus. */
.site-nav-service-obj > .obj-print {
  flex: none;
  width: 62px;
  height: 62px;
  max-width: none;
  rotate: -6deg;
  transition: rotate 0.25s cubic-bezier(0.645, 0.045, 0.355, 1), scale 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.site-nav-service:hover .site-nav-service-obj > .obj-print,
.site-nav-service:focus-visible .site-nav-service-obj > .obj-print {
  rotate: 6deg;
  scale: 1.12;
}

.site-nav-service b {
  transition: color 0.2s;
}

.site-nav-service:hover b,
.site-nav-service:focus-visible b {
  color: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  .site-nav-service-obj > .obj-print {
    transition: none;
  }
}

/* ---------- 2026-11-15 (D31): Home loading screen. One second of the spreadsheet opening, on the
   same grid lines as the hero, shown once per visit. Trialled and made live the same day. ---------- */

.loader { display: none; }
.has-loader .loader { display: block; position: fixed; inset: 0; z-index: 3000; background: var(--black); --cw: 144px; --ch: 48px; transition: opacity 0.3s ease; }
.has-loader.loader-done .loader { opacity: 0; pointer-events: none; }
/* the same grid as the hero, on the same lines, so the loader hands straight over to it */
.loader-lines { position: absolute; inset: 0;
  background-image: linear-gradient(to right, color-mix(in srgb, var(--accent) 13%, transparent) 1px, transparent 1px), linear-gradient(to bottom, color-mix(in srgb, var(--accent) 13%, transparent) 1px, transparent 1px);
  background-size: var(--cw) var(--ch);
  animation: ld-wipe 0.55s cubic-bezier(0.3, 0.7, 0.2, 1) both; }
.loader-box { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.loader-cells { display: grid; grid-template-columns: repeat(10, 30px); gap: 0; border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); background: var(--black); }
.loader-cells i { height: 30px; border-right: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); background: var(--accent); transform-origin: 0 50%; animation: ld-fill 0.12s ease-out calc(0.12s + var(--n) * 0.07s) both; }
.loader-cells i:last-child { border-right: 0; }
.loader-cells i:nth-child(4) { background: var(--light-orange); animation-name: ld-fill, ld-fix; animation-duration: 0.12s, 0.2s; animation-delay: calc(0.12s + var(--n) * 0.07s), 0.62s; animation-fill-mode: both, forwards; }
.loader-file { font: 500 13px 'JetBrains Mono', monospace; letter-spacing: 0.4px; color: color-mix(in srgb, var(--accent) 75%, transparent); white-space: nowrap; }
.loader-file b { font-weight: 500; color: var(--white); }
@keyframes ld-wipe { from { clip-path: inset(0 100% 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes ld-fill { from { opacity: 0; transform: scaleX(0); } }
@keyframes ld-fix { to { background: var(--accent); } }
/* nothing in the hero starts until the loader has gone */
.is-loading #hero, .is-loading #hero * { animation-play-state: paused !important; }
.is-loading .site-nav { opacity: 0; }
/* keeps the bar's own background and shadow transitions, and adds the fade-in after the loader */
.site-nav { transition: background-color 0.25s, box-shadow 0.25s, opacity 0.3s ease; }
@media screen and (max-width: 991px) { .has-loader .loader { --cw: 112px; --ch: 44px; } }
@media screen and (max-width: 767px) { .has-loader .loader { --cw: 84px; --ch: 40px; } .loader-cells { grid-template-columns: repeat(10, 24px); } .loader-cells i { height: 24px; } .loader-file { font-size: 11px; } }

/* 2026-11-15 (D32): the strip now carries sixteen sectors, not six names, so each row is much
   longer. The loop takes longer in proportion, which keeps the words moving at a readable pace. */
.logo-strip .mq-track {
  animation-duration: 72s;
}

/* ---------- 2026-11-15 (D33): the kinds of business we work with, as tags in "This is us" ---------- */

.kind-tags {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.kind-tags li {
  padding: 7px 14px 6px;
  border: 2px solid currentColor;
  border-radius: 100px;
  font: 600 14px/1.3 Epilogue, sans-serif;
  color: var(--accent-dark);
}

.fit-us .kind-tags li {
  color: var(--black);
}

/* ---------- 2026-11-15 (D29): the interactive centrepiece on Advise, Build and Run ---------- */

.pick {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 16px;
  --tone: var(--accent);
  --tone-ink: var(--black);
  --ground: var(--dark-green-1);
}

.pick.is-screen {
  --tone: var(--pp-second-mid);
  --ground: var(--pp-orange-ground);
}

.pick.is-dial {
  --tone: var(--accent-hover);
}

.pick-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pick-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 10px 20px;
  border: 0;
  border-radius: 14px;
  background: var(--accent-opacity-13);
  color: var(--white);
  font: 400 22px/1.1 'Anton', sans-serif;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, translate 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.pick-item:hover,
.pick-item:focus-visible {
  background: var(--accent-opacity-25);
  translate: 6px 0;
}

.pick-item.is-on {
  background: var(--tone);
  color: var(--tone-ink);
  translate: 0 0;
}

.pick-num {
  flex: none;
  font: 600 12px 'JetBrains Mono', monospace;
  opacity: 0.65;
}

.pick-stage {
  box-sizing: border-box;
  min-height: 460px;
  padding: 40px;
  border-radius: 20px;
  background: var(--ground);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.pick-text h3 {
  margin: 0 0 12px;
  color: var(--tone);
}

.pick-text p {
  margin: 0;
  color: var(--accent-light);
}

.pick.is-screen .pick-text p {
  color: var(--white);
}

/* without scripts every item is listed; with them only the chosen one shows */
.pick:not(.is-live) .pick-text + .pick-text {
  margin-top: 24px;
}

.pick.is-live .pick-text {
  display: none;
}

.pick.is-live .pick-text.is-on {
  display: block;
  animation: pick-in 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes pick-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* Advise: the working behind a decision */
.weigh {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: -8px 8px 0 var(--accent-hover);
  color: var(--black);
  rotate: -2deg;
}

.weigh-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 18px;
}

.weigh-foot b {
  padding: 5px 12px 4px;
  border: 3px solid var(--accent-dark);
  border-radius: 6px;
  font: 400 18px/1 'Anton', sans-serif;
  text-transform: uppercase;
  color: var(--accent-dark);
  rotate: -4deg;
}

.pick.is-tick .weigh-foot b {
  animation: weigh-stamp 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.2) 0.55s backwards;
}

.weigh-foot span {
  font: 400 11px 'JetBrains Mono', monospace;
  color: var(--grey-60);
}

@keyframes weigh-stamp {
  from {
    opacity: 0;
    scale: 2.2;
  }
}

/* Build: an app screen with the chosen part lit */
.app {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  height: 320px;
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: -8px 8px 0 var(--pp-second-hot);
  rotate: 2deg;
}

.app-side {
  padding: 16px 10px;
  background: var(--dark-green-1);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.app-side b {
  margin: 0 8px 10px;
  font: 400 11px 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--accent);
}

.app-side span {
  padding: 8px 10px;
  border-radius: 8px;
  font: 600 13px Epilogue, sans-serif;
  color: var(--accent-light);
  transition: background-color 0.25s, color 0.25s;
}

.app-side span.is-on {
  background: var(--accent);
  color: var(--black);
}

.app-main {
  padding: 18px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 16px;
}

.app-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.app-stats i {
  height: 46px;
  border-radius: 8px;
  background: var(--accent-light);
}

.app-stats i:nth-child(2) {
  background: var(--light-orange);
}

.app-stats i:nth-child(3) {
  background: var(--light-yellow);
}

.app-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  border-bottom: 2px solid var(--accent-dark);
}

.app-chart i {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 0 0;
  background: var(--accent-hover);
  transform-origin: 50% 100%;
}

.pick.is-tick .app-chart i {
  animation: app-grow 0.5s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--n) * 0.04s) backwards;
}

.pick.is-tick .app-stats i {
  animation: pick-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

@keyframes app-grow {
  from {
    transform: scaleY(0);
  }
}

/* Run: a month ticking round */
.dial {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto;
  --r: 114px;
}

.dial-ring {
  position: absolute;
  inset: 26px;
  border: 2px dashed var(--accent-opacity-25);
  border-radius: 50%;
}

.dial-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  border-radius: 50%;
  border: 2px solid var(--accent-hover);
  background: var(--dark-green-1);
  color: var(--accent);
  display: grid;
  place-items: center;
  font: 600 12px 'JetBrains Mono', monospace;
  transform: rotate(var(--a)) translateY(calc(var(--r) * -1)) rotate(calc(var(--a) * -1));
  transition: background-color 0.3s, color 0.3s, scale 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dial-dot.is-on {
  background: var(--accent);
  color: var(--black);
  scale: 1.18;
}

.dial-hand {
  position: absolute;
  left: 50%;
  top: calc(50% - 88px);
  width: 4px;
  height: 88px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--accent);
  transform-origin: 50% 100%;
  rotate: calc(var(--turn, var(--i)) * 60deg);
  transition: rotate 0.7s cubic-bezier(0.34, 1.3, 0.64, 1);
}

.dial-centre {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 104px;
  height: 104px;
  margin: -52px 0 0 -52px;
  border-radius: 50%;
  background: var(--accent-hover);
  color: var(--black);
  display: grid;
  place-items: center;
  text-align: center;
  font: 400 20px/1 'Anton', sans-serif;
  text-transform: uppercase;
}

/* the three-service row on these pages: columns divided by rules, each with its object */
.get.across {
  gap: 0;
  border-top: 2px solid color-mix(in srgb, var(--white) 16%, transparent);
}

.get.across li {
  background: none;
  border-radius: 0;
  padding: 32px 32px 8px;
  border-left: 2px solid color-mix(in srgb, var(--white) 16%, transparent);
}

.get.across li:first-child {
  padding-left: 0;
  border-left: 0;
}

.across-obj {
  width: 112px;
  height: 112px;
  margin: 0 0 20px -8px;
  object-fit: contain;
  rotate: -6deg;
  transition: rotate 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), scale 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.get.across li:hover .across-obj {
  rotate: 6deg;
  scale: 1.1;
}

.get.across .get-number {
  margin-bottom: 12px;
}

@media screen and (max-width: 991px) {
  .pick {
    grid-template-columns: 1fr;
  }

  .pick-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .pick-item {
    min-height: 56px;
    font-size: 19px;
  }

  .pick-item:hover,
  .pick-item:focus-visible {
    translate: 0 0;
  }

  .pick-stage {
    min-height: 0;
    padding: 32px;
    gap: 32px;
  }

  .get.across li {
    padding: 24px 20px 8px;
  }
}

@media screen and (max-width: 767px) {
  .pick-stage {
    grid-template-columns: 1fr;
    padding: 28px 20px;
  }

  .pick-texts {
    min-height: 150px;
  }

  .get.across {
    border-top: 0;
  }

  .get.across li,
  .get.across li:first-child {
    padding: 24px 0 8px;
    border-left: 0;
    border-top: 2px solid color-mix(in srgb, var(--white) 16%, transparent);
  }
}

@media screen and (max-width: 479px) {
  .pick-item {
    font-size: 16px;
    padding: 8px 12px;
    gap: 10px;
  }

  .app {
    grid-template-columns: 100px minmax(0, 1fr);
    height: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pick-item,
  .weigh-row i,
  .dial-hand,
  .dial-dot,
  .across-obj {
    transition: none;
  }

  .pick.is-live .pick-text.is-on,
  .pick.is-tick .weigh-foot b,
  .pick.is-tick .app-chart i,
  .pick.is-tick .app-stats i {
    animation: none;
  }
}

/* ---------- 2026-11-15 (D29): a different picture for each item on Advise and Build ---------- */

/* only the chosen item's picture shows (the first one, if scripts are off) */
.pick.is-live [data-pick-scene]:not(.is-on):not(.sc),
.pick:not(.is-live) [data-pick-scene]:not([data-pick-scene='0']) {
  display: none;
}

.pick.is-tick .sc.is-on {
  animation: pick-in 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.sc {
  font: 400 12px/1.3 'JetBrains Mono', monospace;
  color: var(--accent-dark);
}

.sc b,
.sc i,
.sc em {
  font-style: normal;
  font-weight: 400;
}

.sc .is-good {
  background: var(--accent);
  color: var(--black);
}

.sc .is-bad {
  background: var(--light-orange);
  color: var(--dark-orange);
}

.sc-cap {
  display: block;
  margin-bottom: 8px;
}

/* Advise: the sheet is a fixed height so the window does not jump between items */
.weigh-body {
  box-sizing: border-box;
  height: 196px;
  padding: 18px 18px 6px;
}

/* 1. buy it or leave it: two columns compared */
.sc-table {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 6px;
  align-items: center;
}

.sc-table b {
  padding: 6px 8px;
  border-radius: 6px;
  background: var(--accent-dark);
  color: var(--accent-light);
  text-align: center;
}

.sc-table i {
  padding: 8px;
  border-radius: 6px;
  background: var(--pp-accent-pale, var(--accent-light));
  color: var(--black);
  text-align: center;
}

/* 2. borrow for it: cash by month against the lender's floor */
.sc-bars {
  position: relative;
  height: 128px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  border-bottom: 2px solid var(--accent-dark);
}

.sc-bars i {
  flex: 1;
  height: var(--h);
  border-radius: 3px 3px 0 0;
  background: var(--accent-hover);
  transform-origin: 50% 100%;
}

.sc-bars i.is-low {
  background: var(--light-orange);
}

.sc-bars em {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 40%;
  border-top: 2px dashed var(--dark-orange);
  padding-top: 3px;
  font-size: 11px;
  color: var(--dark-orange);
  text-align: right;
}

.pick.is-tick .sc-bars i,
.pick.is-tick .sc-mini i {
  animation: app-grow 0.5s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--n) * 0.03s) backwards;
}

/* 3 and 6. a list with a verdict on each line */
.sc-list,
.sc-rank,
.sc-leads,
.sc-quote {
  display: grid;
  gap: 6px;
}

.sc-list > div,
.sc-rank > div,
.sc-leads > div,
.sc-quote > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 34px;
  padding: 0 8px 0 10px;
  border-radius: 6px;
  background: var(--pp-accent-pale, var(--accent-light));
  color: var(--black);
}

.sc-list b,
.sc-rank b,
.sc-leads b {
  flex: none;
  padding: 4px 8px;
  border-radius: 100px;
  background: var(--light-yellow);
  color: var(--dark-yellow);
  font-size: 11px;
}

/* 4. where to grow: each market's size, and a call on it */
.sc-rank span {
  flex: none;
  width: 52px;
}

.sc-rank i {
  flex: none;
  width: calc(var(--w) * 0.48);
  height: 12px;
  margin-right: auto;
  border-radius: 3px;
  background: var(--accent-hover);
}

/* 5. is the structure right: who reports to whom, with the weak spot marked */
.sc-tree {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.sc-tree b,
.sc-tree span {
  padding: 8px 12px;
  border-radius: 6px;
  background: var(--accent-dark);
  color: var(--accent-light);
}

.sc-tree > div {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding-top: 12px;
  border-top: 2px solid var(--accent-dark);
  text-align: center;
}

.sc-tree span {
  background: var(--pp-accent-pale, var(--accent-light));
  color: var(--black);
  padding: 8px 4px;
}

.sc-tree em {
  color: var(--dark-orange);
}

/* Build: the main part of the app screen */
.app-main {
  grid-template-rows: minmax(0, 1fr);
}

.app-main .sc {
  min-height: 0;
}

.sc-money {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 14px;
  height: 100%;
}

/* quotes: lines that add up */
.sc-quote i {
  flex: none;
}

.sc-quote .is-total {
  margin-top: 6px;
  background: var(--accent-dark);
  color: var(--accent-light);
}

/* jobs: a board with three columns */
.sc-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  align-items: start;
}

.sc-board > div {
  display: grid;
  gap: 6px;
}

.sc-board b {
  font-size: 11px;
}

.sc-board i {
  height: 38px;
  border-radius: 6px;
  background: var(--pp-accent-pale, var(--accent-light));
  border-left: 4px solid var(--accent-hover);
}

.sc-board i.is-hot {
  border-left-color: var(--pp-second-hot);
  background: var(--light-orange);
}

.sc-board i.is-done {
  border-left-color: var(--accent-dark);
  opacity: 0.55;
}

/* portal: where a customer's job is up to */
.sc-track {
  display: grid;
  gap: 16px;
  align-content: center;
  height: 100%;
}

.sc-track b {
  font: 400 26px/1 'Anton', sans-serif;
  text-transform: uppercase;
  color: var(--black);
}

.sc-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.sc-steps span {
  padding-top: 8px;
  border-top: 6px solid var(--pp-accent-pale, var(--accent-light));
  font-size: 10px;
}

.sc-steps span.is-done {
  border-top-color: var(--accent-hover);
}

.sc-track em {
  justify-self: start;
  padding: 6px 10px;
  border-radius: 100px;
  background: var(--light-yellow);
  color: var(--dark-yellow);
}

/* leads: who, from where, and whether they have been chased */
.sc-leads span {
  margin-right: auto;
}

.sc-leads i {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--light-orange);
}

.sc-leads i.is-done {
  background: var(--accent-hover);
}

/* reports: one number, a small chart, and when it went out */
.sc-report {
  display: grid;
  gap: 8px;
  align-content: center;
  height: 100%;
}

.sc-report .sc-cap {
  margin: 0;
}

.sc-report b {
  font: 400 34px/1 'Anton', sans-serif;
  color: var(--black);
}

.sc-mini {
  height: 64px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  border-bottom: 2px solid var(--accent-dark);
}

.sc-mini i {
  flex: 1;
  height: var(--h);
  border-radius: 3px 3px 0 0;
  background: var(--accent-hover);
  transform-origin: 50% 100%;
}

.sc-report em {
  justify-self: start;
  padding: 5px 10px;
  border-radius: 100px;
  background: var(--accent);
  color: var(--black);
}

@media (prefers-reduced-motion: reduce) {
  .pick.is-tick .sc.is-on,
  .pick.is-tick .sc-bars i,
  .pick.is-tick .sc-mini i {
    animation: none;
  }
}

/* rows in the Build pictures keep their own height and sit at the top */
.sc-quote,
.sc-leads,
.sc-board {
  align-content: start;
}

.sc-quote > div span {
  white-space: nowrap;
}

/* ---------- 2026-11-15 (D29): the "How we help" row in the phone and tablet menu, after the
   designer's third review. It now belongs to the Services block: no rule between the services
   and the row, one rule beneath it. ---------- */

.site-menu.is-v2 .site-menu-sub {
  border-bottom: 0;
  padding-bottom: 2px;
}

.site-menu.is-v2 .site-menu-modes a {
  padding: 0 10px;
}

.site-menu.is-v2 .site-menu-modes a:first-of-type {
  margin-left: -10px;
}

.site-menu.is-v2 .site-menu-modes {
  gap: 0 4px;
}

.site-menu.is-v2 .site-menu-modes span {
  margin-right: 20px;
}

/* the page you are on: lime and underlined, so it is not shown by colour alone */
.site-menu-modes a.is-current {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

@media screen and (min-width: 768px) {
  .site-menu.is-v2 .site-menu-sub {
    padding-bottom: 10px;
  }

  /* on tablets the three links speak in the same voice as the cards above them */
  .site-menu.is-v2 .site-menu-modes a {
    font: 400 clamp(26px, 3.4vw, 32px) / 1 'Anton', sans-serif;
    text-transform: uppercase;
    padding: 0 14px;
  }

  .site-menu.is-v2 .site-menu-modes a:first-of-type {
    margin-left: -14px;
  }

  .site-menu.is-v2 .site-menu-modes {
    min-height: 72px;
  }
}

/* very short phones: win back the height the row added, so nothing scrolls at 600px tall */
@media screen and (max-width: 767px) and (max-height: 620px) {
  .site-menu.is-v2 .site-menu-modes {
    min-height: 44px;
  }

  .site-menu.is-v2 .site-menu-svc {
    min-height: 44px;
  }

  .site-menu.is-v2 .site-menu-links > a {
    min-height: 50px;
  }

  .site-menu.is-v2 .site-menu-links > a.is-services {
    min-height: 44px;
  }

  .site-menu.is-v2 .site-menu-panel {
    padding-top: 4px;
  }
}

/* ---------- 2026-11-15: "What you get" panels on the service pages link to Advise, Build and Run ---------- */

.get.is-toned li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.get-more {
  position: relative;
  margin-top: auto;
  padding: 28px 0 3px;
  font: 400 16px Epilogue, sans-serif;
  color: inherit;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
  transition: background-size 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.get.is-toned li:nth-child(1) .get-more {
  color: var(--accent-light);
}

.get.is-toned li:nth-child(n + 2) .get-more {
  color: var(--black);
}

.get-more:hover,
.get-more:focus-visible {
  background-size: 40% 2px;
}

/* a finger-sized target without changing how it looks */
.get-more::after {
  content: '';
  position: absolute;
  inset: 12px -8px -10px;
}

/* ---------- 2026-11-15: the page you are on is marked inside the Services menus too ---------- */

/* desktop dropdown: a lit row, the name in lime and underlined like the top links */
.site-nav-service.is-current {
  background: var(--accent-opacity-13);
}

.site-nav-service.is-current b {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

/* phone menu rows: the same lime, underlined name */
.site-menu.is-v2 .site-menu-svc.is-current b {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

/* tablet cards: a ring round the card you are on (the name there is black on colour) */
@media screen and (min-width: 768px) {
  .site-menu.is-v2 .site-menu-svc.is-current {
    outline: 3px solid var(--white);
    outline-offset: 3px;
  }

  .site-menu.is-v2 .site-menu-svc.is-current b {
    color: var(--black);
    text-decoration: none;
  }
}

/* 2026-11-15: case studies on the service pages. Each has its own picture (art.js), and the two
   invented examples carry a permanent label saying so. */
canvas.forecast,
canvas.pipeline {
  display: block;
  width: 100%;
  height: 100%;
}

.story-note {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 12px;
  border: 1px solid var(--accent-opacity-25);
  border-radius: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--accent-light);
}

/* 2026-11-15: the four-stop example on Advise, Build and Run (components/ModeExample.astro) */
.trail {
  --trail: 0;
  --trail-across: 1;
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--trail-n, 4), 1fr);
  gap: 32px;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
}

.trail::before,
.trail::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 4px;
  background: var(--accent-opacity-13);
}

.trail::after {
  background: var(--accent);
  transform: scaleX(var(--trail));
  transform-origin: left center;
}

.trail-stop {
  position: relative;
  padding-top: 44px;
}

.trail-stop::before {
  content: '';
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--black);
  border: 4px solid var(--dark-green-1);
  box-sizing: border-box;
  transition: border-color 0.3s, background-color 0.3s, transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1);
}

.trail-stop.is-lit::before {
  border-color: var(--accent);
  background: var(--accent);
  transform: scale(1.25);
}

.trail-when,
.trail-big,
.trail-stop p {
  display: block;
  opacity: 0.28;
  transform: translateY(10px);
  transition: opacity 0.5s, transform 0.5s;
}

.trail-stop.is-lit .trail-when,
.trail-stop.is-lit .trail-big,
.trail-stop.is-lit p {
  opacity: 1;
  transform: none;
}

.trail-stop.is-lit .trail-big { transition-delay: 0.08s; }
.trail-stop.is-lit p { transition-delay: 0.16s; }

.trail-when {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-60);
}

.trail-big {
  margin: 10px 0 14px;
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--accent);
}

.trail-stop p {
  margin: 0;
}

.trail + .hero-second-link {
  display: inline-block;
  margin-top: 40px;
}

@media screen and (max-width: 991px) {
  .trail {
    --trail-across: 0;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
  }

  .trail::before,
  .trail::after {
    top: 0;
    bottom: 0;
    left: 6px;
    right: auto;
    width: 4px;
    height: auto;
  }

  .trail::after {
    transform: scaleY(var(--trail));
    transform-origin: center top;
  }

  .trail-stop {
    padding: 0 0 0 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trail-when,
  .trail-big,
  .trail-stop p,
  .trail-stop::before {
    transition: none;
  }
}

/* room under the last step, so the picture stays put while its final stage plays */
@media screen and (min-width: 992px) {
  [data-lit-steps] .steps-wrapper {
    padding-bottom: 260px;
  }
}

/* 2026-11-15, designer's sixth review: no one-word last lines */
.story-note,
.trail-big {
  text-wrap: balance;
}

/* ---------- 2026-11-15: "What we actually do" (components/Capabilities.astro), the ruled index ---------- */
.caps .page-section-head {
  margin-bottom: 40px;
}

.caps-rows {
  margin: 0;
  padding: 0;
  list-style: none;
}

.caps-row {
  padding: 18px 0;
  border-top: 2px solid color-mix(in srgb, var(--white) 16%, transparent);
}

.caps-row b {
  position: relative;
  display: block;
  font-family: Epilogue, sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.25;
  color: var(--white);
  transition: color 0.2s, padding-left 0.2s;
}

.caps-row b::before {
  content: '//';
  position: absolute;
  left: 0;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.2s, transform 0.2s;
}

.caps-row span {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  line-height: 1.4;
  color: var(--grey-60);
  transition: color 0.2s;
}

@media (hover: hover) {
  .caps-row:hover b {
    color: var(--accent);
    padding-left: 28px;
  }

  .caps-row:hover b::before {
    opacity: 1;
    transform: none;
  }

  .caps-row:hover span {
    color: var(--white);
  }
}

/* A. the ruled index */
.caps-index {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  padding-top: 32px;
}

.caps-index::before,
.caps-index::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 4px;
  background: var(--accent-opacity-13);
}

.caps-index::after {
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.caps.is-in .caps-index::after {
  transform: none;
}

.caps-word {
  margin: 0 0 20px;
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--white);
}

.caps-index .caps-word,
.caps-index .caps-row {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s, transform 0.4s;
}

.caps.is-in .caps-index .caps-word {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.25s + var(--i) * 0.12s);
}

.caps.is-in .caps-index .caps-row {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.55s + var(--i) * 0.05s);
}

@media screen and (max-width: 991px) {
  .caps-index {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .caps-index .caps-rows {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 32px;
  }
}

@media screen and (max-width: 600px) {
  .caps-index .caps-rows {
    grid-template-columns: 1fr;
  }

  .caps-row span {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .caps-index::after { transform: none; transition: none; }

  .caps-index .caps-word,
  .caps-index .caps-row {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* 2026-11-15: the footer has a third column ("How we help"); on phones the columns wrap */
@media screen and (max-width: 767px) {
  .site-footer-cols {
    flex-wrap: wrap;
    gap: 28px 40px;
  }
}

/* ---------- 2026-11-15 (M14): the question form, reworked ---------- */
.form-input.is-message {
  height: auto;
  min-height: 148px;
  padding: 18px 24px;
  line-height: 1.5;
  resize: vertical;
}

.form-optional {
  color: var(--grey-60);
  font-weight: 400;
}

.form-privacy {
  margin: -8px 0 24px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--grey-60);
}

.form-privacy a {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-privacy a:hover {
  color: var(--accent);
}

/* a field that has been filled in wrongly shows it once the reader has moved on */
.form-input:not(:placeholder-shown):not(:focus):invalid {
  border-color: var(--light-orange);
}

/* ---------- 2026-11-15: Growth, "First, the plan" (components/GrowthPlan.astro) ---------- */
.plan-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 72px;
  align-items: center;
}

.plan-answers .caps-row {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s, transform 0.4s;
}

.plan.is-in .plan-answers .caps-row {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i) * 0.09s);
}

.plan-answers .caps-row:last-child {
  border-bottom: 2px solid color-mix(in srgb, var(--white) 16%, transparent);
}

.plan-sheet {
  position: relative;
  padding: 28px 32px 24px;
  border-radius: 14px;
  background: var(--accent-light);
  color: var(--black);
  box-shadow: -10px 10px 0 var(--pp-second-hot);
  transform: rotate(1.2deg);
}

.plan-sheet-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--black);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
}

.plan-key {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 400;
}

.plan-key i {
  width: 14px;
  height: 6px;
  border-radius: 3px;
}

.plan-key i.is-cost {
  margin-left: 10px;
}

.plan-sheet .is-worth { background: var(--accent-dark); }
.plan-sheet .is-cost { background: var(--pp-second-hot); }

.plan-line {
  display: grid;
  grid-template-columns: 11.5em minmax(0, 1fr) 6.2em;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--black) 18%, transparent);
}

.plan-name {
  font-family: Epilogue, sans-serif;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.2;
}

.plan-bars {
  display: grid;
  gap: 5px;
}

.plan-bars i {
  display: block;
  height: 9px;
  width: var(--w);
  border-radius: 5px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.plan.is-in .plan-bars i {
  transform: none;
  transition-delay: calc(0.25s + var(--i) * 0.12s);
}

.plan-stamp {
  justify-self: end;
  padding: 3px 10px 1px;
  border: 3px solid currentColor;
  border-radius: 6px;
  font-family: 'Anton', sans-serif;
  font-size: 20px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: scale(2.2) rotate(-14deg);
  transition: opacity 0.18s, transform 0.28s cubic-bezier(0.3, 1.5, 0.5, 1);
}

.plan-stamp.is-go { color: var(--accent-dark); }
.plan-stamp.is-wait { color: var(--dark-yellow); }
.plan-stamp.is-stop { color: var(--dark-orange); }

.plan.is-in .plan-stamp {
  opacity: 1;
  transform: rotate(-6deg);
  transition-delay: calc(0.9s + var(--i) * 0.22s);
}

.plan-foot {
  margin: 14px 0 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: color-mix(in srgb, var(--black) 65%, transparent);
}

@media screen and (max-width: 991px) {
  .plan-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .plan-sheet {
    transform: none;
  }
}

@media screen and (max-width: 600px) {
  .plan-sheet {
    padding: 22px 18px 18px;
    box-shadow: -6px 6px 0 var(--pp-second-hot);
  }

  .plan-line {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
  }

  .plan-bars {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .plan-stamp {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .plan-answers .caps-row,
  .plan-bars i,
  .plan-stamp {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .plan-stamp {
    transform: rotate(-6deg);
  }
}

/* 2026-11-15: the three bits of mess in the Home heading take their words from an attribute, so the
   heading itself reads "The money. The work. The customers. Sorted." to search engines and screen readers */
.h1-mess::before {
  content: attr(data-t);
}

/* 2026-11-15: the verdict stamps start oversized before they land; keep that from widening the page on phones */
.plan {
  overflow-x: clip;
}

/* 2026-11-15 (illustration sweep): on phones "Why it works" keeps the desktop order, "No handover" first.
   The template moved the small yellow card to the top. */
@media screen and (max-width: 991px) {
  #w-node-_1b308ae3-f32b-0063-38bd-d4546a3d6a23-fe3f7aed {
    order: 0;
  }
}

/* ---------- 2026-11-15 (M20): the furry figures are never cropped ----------
   Each picture is square, so its box is square too, at every width. Before this the box was a fixed
   height and cut 17% off the picture on desktop and a third at tablet width (heads and feet lost).
   Chosen by Andrew from two options; the other is kept in forge-src/figure-framing-trial-2026-11-15/. */
.closing-image,
.lost-image {
  aspect-ratio: 1 / 1;
  min-height: 0;
}

/* 2026-11-15: labels on the trial pages of the illustration sweep */

/* ---------- 2026-11-15 (M21): no flicker when a picker moves from one option to the next ----------
   Before: the old text and picture were switched off outright and the new ones faded in from nothing,
   so there was a blank beat between them, and the text jumped up or down because each option's text
   is a different height. Now every option's text and picture sit in the same place, one on top of
   the other; the old one fades out as the new one fades in, and the space is sized for the tallest. */
.pick.is-live .pick-texts {
  display: grid;
}

.pick.is-live .pick-text {
  display: block;
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  animation: none;
}

.pick.is-live .pick-text.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.3s ease 0.1s, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.1s, visibility 0s;
  animation: none;
}

.pick.is-live .weigh-body,
.pick.is-live .app-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
}

.pick.is-live .sc[data-pick-scene] {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0s linear 0.2s;
  animation: none;
}

.pick.is-live .sc[data-pick-scene].is-on {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease 0.1s, visibility 0s;
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .pick.is-live .pick-text,
  .pick.is-live .pick-text.is-on,
  .pick.is-live .sc[data-pick-scene],
  .pick.is-live .sc[data-pick-scene].is-on {
    transition: none;
    transform: none;
  }
}

/* ---------- 2026-11-15: the Advise, Build and Run heads take their own colours ----------
   Trialled at /mode-colour-trial, then made live the same day (Andrew: "make those three different").
   Advise is purple, Build is blue, Run is teal: a cool family, against the lime, orange and yellow of
   the three services. Each is a dark ground with a light accent, the same recipe as the service heads. */
:root {
  --mode-purple-ground: #36206b;
  --mode-purple-mid: #6a48c9;
  --mode-purple-deep: #24134d;
  --mode-purple-light: #cfbcff;
  --mode-blue-ground: #10346c;
  --mode-blue-mid: #3a74d6;
  --mode-blue-deep: #0a2350;
  --mode-blue-light: #aecbff;
  --mode-teal-ground: #0b4745;
  --mode-teal-mid: #1c958a;
  --mode-teal-deep: #073230;
  --mode-teal-light: #9deadd;
}

.page-head.is-purple { --ph-ground: var(--mode-purple-ground); --ph-light: var(--mode-purple-light); --ph-deep: var(--mode-purple-deep); }
.page-head.is-blue { --ph-ground: var(--mode-blue-ground); --ph-light: var(--mode-blue-light); --ph-deep: var(--mode-blue-deep); }
.page-head.is-teal { --ph-ground: var(--mode-teal-ground); --ph-light: var(--mode-teal-light); --ph-deep: var(--mode-teal-deep); }

.page-head:is(.is-purple, .is-blue, .is-teal) {
  background: var(--ph-ground);
}

.page-head:is(.is-purple, .is-blue, .is-teal) .eyebrow,
.page-head:is(.is-purple, .is-blue, .is-teal) .is-accent {
  color: var(--ph-light);
}

.page-head:is(.is-purple, .is-blue, .is-teal) .page-head-line {
  color: var(--white);
}

.page-head:is(.is-purple, .is-blue, .is-teal) .button-primary {
  background-color: var(--ph-light);
  color: var(--ph-deep);
}

.page-head:is(.is-purple, .is-blue, .is-teal) .hero-second-link {
  color: var(--white);
  border-color: color-mix(in srgb, var(--ph-light) 45%, transparent);
}

/* the small line under Advise, Build and Run in the desktop menu takes its tile's light colour */
.site-nav-col:last-of-type .site-nav-service i {
  color: var(--sl, var(--accent-light));
}

/* 2026-11-15 (illustration sweep): on phones the amounts in Build's quote picture were cut off at the
   right edge. The drawn app gets a narrower side bar and tighter rows, and a long label gives way
   before a figure does. */
@media screen and (max-width: 479px) {
  .app {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .app-side {
    padding: 14px 6px;
  }

  .app-side span {
    padding: 7px 8px;
    font-size: 12px;
  }

  .app-main {
    padding: 12px 10px;
  }

  .sc-quote > div {
    padding: 0 6px 0 8px;
    gap: 6px;
    font-size: 11px;
  }

  .sc-quote > div span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* ---------- 2026-11-15 (M21): no flicker moving through the desktop Services dropdown ----------
   Each object is bigger than its row once it tips and grows on hover, so it spilled a few pixels
   into the rows above and below. With the pointer near the line between two rows, the spilled
   object caught the pointer, its own row lit again, it shrank back, and so on: a flicker.
   The objects no longer catch the pointer, and the row under the pointer is drawn on top of its
   neighbours so its object is never cut by the next row's tile. */

.site-nav-service-obj,
.site-nav-service-obj > .obj-print {
  pointer-events: none;
}

.site-nav-service {
  position: relative;
}

.site-nav-service:hover,
.site-nav-service:focus-visible {
  z-index: 1;
}

/* ---------- 2026-11-15 (M13): the calculator on About's spreadsheet picture, bigger ----------
   Was 22% of the picture's width and wholly inside it. Now 36%, with a little of it cut by the
   corner, closer to the size the objects have on Home's desk. */
.bs-obj {
  left: -3%;
  bottom: -4%;
  width: 36%;
}

/* ---------- 2026-11-15 (M13): fuller "before" desks on the three service pages ----------
   The desks looked empty on wide screens: one centre piece, four notes and bare green between.
   Each page now adds more of its own mess in the gaps: extra windows and small reminder notes.
   No printed objects here: they would distract from the before and after. Under 1200px the desk
   is a tight grid already, so the extras are left out. */

.scene-extra {
  position: absolute;
  inset: 0;
  display: block;
}

.scene .scene-win {
  z-index: 1;
}

.scene .scene-note {
  z-index: 2;
}

.note.scene-mini {
  width: 150px;
  padding: 12px 12px 16px;
  font-size: 14px;
  line-height: 1.25;
  box-shadow: -4px 4px 0 color-mix(in srgb, var(--black) 50%, transparent);
}

@media screen and (max-width: 1199px) {
  .scene-extra {
    display: none;
  }
}

/* the two notes nearest the handle need the full-width desk; on narrower desktops they would sit under it */
@media screen and (max-width: 1399px) {
  .note.scene-mini.is-far {
    display: none;
  }
}

/* 2026-11-15: the layering above lifted the sheet and notes over the "after" side, so they stayed
   on show as the handle crossed them. The desk now keeps its layering to itself. */
.scene {
  isolation: isolate;
}

/* ---------- 2026-11-15 (M13): three thin pictures filled out ---------- */

/* 1. Home's before and after, "before" side: more of the same mess on wide screens */
.mess-extra {
  position: absolute;
  inset: 0;
  display: block;
}

.mess-extra .mess-win {
  display: block;
}

@media screen and (max-width: 1199px) {
  .mess-extra {
    display: none;
  }
}

/* 2. The "after" screen: the bars say what they are, and a short list sits beside them */
.tidy-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 20px;
  min-height: 0;
}

.tidy-col {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
  min-height: 0;
}

.tidy-cap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font: 600 13px 'JetBrains Mono', monospace;
  color: var(--accent-dark);
}

.tidy-cap span {
  font-weight: 400;
  opacity: 0.75;
  white-space: nowrap;
}

.tidy-axis {
  display: flex;
  gap: 10px;
  font: 400 11px 'JetBrains Mono', monospace;
  color: var(--accent-dark);
}

.tidy-axis span {
  flex: 1;
  text-align: center;
}

.tidy-chart.is-labelled {
  margin-top: 26px;
}

.tidy-chart.is-labelled i {
  position: relative;
}

.tidy-chart.is-labelled i[data-v] {
  background: var(--accent-dark);
}

.tidy-chart.is-labelled i[data-v]::after {
  content: attr(data-v);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translateX(-50%);
  background: var(--black);
  color: var(--accent);
  font: 600 12px 'JetBrains Mono', monospace;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.tidy-today {
  background: var(--accent-light);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--accent-dark);
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tidy-today strong {
  font: 400 18px/1 'Anton', sans-serif;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 2px;
}

.tidy-today p {
  margin: 0;
  display: grid;
  grid-template-columns: 16px 1fr;
  column-gap: 8px;
  line-height: 1.3;
}

.tidy-today p i {
  width: 14px;
  height: 14px;
  border: 2px solid var(--accent-dark);
  border-radius: 4px;
  margin-top: 2px;
  grid-row: span 2;
}

.tidy-today p b {
  color: var(--black);
  font-weight: 600;
}

.tidy-today em {
  font: 400 11px 'JetBrains Mono', monospace;
  font-style: normal;
  margin-top: auto;
  opacity: 0.8;
}

@media screen and (max-width: 1199px) {
  .tidy-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .tidy-today {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .tidy-axis {
    gap: 4px;
    font-size: 9px;
  }

  .tidy-chart.is-labelled {
    gap: 4px;
  }

  .tidy-cap {
    font-size: 11px;
  }
}

/* 3. Run's dial: a word in each dot in place of a number */
.dial.is-words {
  width: 320px;
  height: 320px;
  --r: 126px;
}

.dial.is-words .dial-ring {
  inset: 34px;
}

.dial.is-words .dial-dot {
  width: 74px;
  height: 74px;
  margin: -37px 0 0 -37px;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.dial.is-words .dial-hand {
  top: calc(50% - 86px);
  height: 86px;
}

@media screen and (max-width: 479px) {
  .dial.is-words {
    width: 276px;
    height: 276px;
    --r: 106px;
  }

  .dial.is-words .dial-ring {
    inset: 32px;
  }

  .dial.is-words .dial-dot {
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
    font-size: 9px;
    letter-spacing: 0;
  }

  .dial.is-words .dial-centre {
    width: 88px;
    height: 88px;
    margin: -44px 0 0 -44px;
    font-size: 17px;
  }

  .dial.is-words .dial-hand {
    top: calc(50% - 72px);
    height: 72px;
  }
}

/* on phones the figure on the latest bar lines up with the bar's right edge, so it stays inside the screen */
@media screen and (max-width: 767px) {
  .tidy-chart.is-labelled i[data-v]::after {
    left: auto;
    right: 0;
    transform: none;
  }
}

/* on tablets the titled chart gives up some height so the four pills under it still fit the screen */
@media screen and (max-width: 1199px) and (min-width: 768px) {
  .compare.is-desk .tidy-chart.is-labelled {
    min-height: 56px;
    margin-top: 22px;
  }

  .compare.is-desk .tidy-col {
    gap: 6px;
  }
}

/* ---------- 2026-11-15 (M13): the designer's remaining fixes ---------- */

/* Home, "Three ways" on tablets: the two closed cards were 64px wide, with cropped objects and
   titles one word to a line. Tablets now get the stacked layout phones already had. */
@media screen and (max-width: 991px) and (min-width: 768px) {
  .panels {
    flex-direction: column;
    height: auto;
  }

  .panel,
  .panel.is-on {
    flex: none;
    height: 132px;
    transition: height 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  .panel.is-on {
    height: 440px;
  }

  .panel-num {
    font-size: 64px;
    top: 20px;
  }

  .panel:not(.is-on) .panel-num,
  .panel:not(.is-on) .panel-chip {
    display: none;
  }

  .panel:not(.is-on) .panel-body {
    bottom: 50%;
    transform: translateY(50%);
    right: 150px;
  }

  .panel:not(.is-on) .panel-title {
    margin-bottom: 0;
    font-size: 32px;
  }



  .panel-body {
    bottom: 24px;
  }

  .panel-obj,
  .panel.is-on .panel-obj {
    width: 240px;
    height: 240px;
    right: -30px;
    top: 0;
  }}

/* Home desk on tablets: five small notes sat half hidden behind the sheet. They go, and the one
   under the sheet's bottom edge moves clear of it. */
@media screen and (max-width: 991px) and (min-width: 768px) {
  .desk .note.is-mini.m1,
  .desk .note.is-mini.m2,
  .desk .note.is-mini.m3,
  .desk .note.is-mini.m4,
  .desk .note.is-mini.m5 {
    display: none;
  }
}

/* About, "How we work": each card carries its object, as the same three do on Services */
.get.is-toned li {
  position: relative;
}

.get-obj {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 112px;
  height: 112px;
  transform: rotate(-10deg);
}

@media screen and (max-width: 991px) {
  .get-obj {
    width: 76px;
    height: 76px;
  }
}

/* Services, "No surprises on the bill": the six cells are named, so the bar is not empty at rest */
.charge-bars i {
  display: grid;
  place-items: end center;
  padding-bottom: 12px;
  font-style: normal;
}

.charge-bars i b {
  grid-area: 1 / 1;
  font: 600 12px 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-light);
  transition: opacity 0.3s;
}

.charge-bars i + i {
  box-shadow: inset 1px 0 0 color-mix(in srgb, var(--accent-light) 22%, transparent);
}

.charge-bars i b.is-ongoing,
.charge-draw[data-mode='ongoing'] .charge-bars i b.is-project {
  opacity: 0;
}

.charge-draw[data-mode='ongoing'] .charge-bars i b.is-ongoing {
  opacity: 1;
  color: var(--light-yellow);
}

.charge-draw[data-mode='ongoing'] .charge-bars i + i {
  box-shadow: none;
}

@media screen and (max-width: 479px) {
  .charge-bars i b {
    font-size: 9.5px;
    letter-spacing: 0;
  }
}

@media screen and (max-width: 991px) and (min-width: 768px) {
  .desk .note.is-mini.m6 {
    display: none;
  }
}

@media screen and (max-width: 991px) {
  .get-obj {
    width: 58px;
    height: 58px;
    top: 8px;
    right: 8px;
  }
}

/* ---------- 2026-11-15: object audit ----------
   One bulb, one cog and one shield for Advise, Build and Run, in one colour each, everywhere.
   Every object, the menus' included, is now drawn the printed way (offset shadow and stipple);
   the menus used the bare picture before, so they had no stipple.
   The stipple dots were a fixed 8px, which on a small object left room for only a handful, so
   small objects looked unprinted. The dots now scale with the object, down to 2.5px. */
.obj-print {
  display: block;
}

.p3 {
  container-type: inline-size;
}

.p3-dots {
  background-size: clamp(2.5px, 3.4cqw, 8px) clamp(2.5px, 3.4cqw, 8px);
}

/* About, "Who you'll deal with": a printed clock in the corner, as the calculator sits on the
   spreadsheets picture above it */
.tr-obj {
  position: absolute;
  right: -4%;
  bottom: -5%;
  width: 34%;
  aspect-ratio: 1;
  transform: rotate(10deg);
}

/* ---------- 2026-11-15 (M13): About's two pictures carry two objects each ----------
   Chosen for what each picture is about, and made for it in the plaster style: a calculator and
   a lever-arch file on the spreadsheets, a name badge and a telephone on the rota (no clock). */
.bs-obj {
  left: -4%;
  bottom: -5%;
  width: 40%;
}

.bs-obj2 {
  position: absolute;
  right: -5%;
  top: -6%;
  width: 37%;
  aspect-ratio: 1;
  transform: rotate(12deg);
}

.tr-obj {
  right: -1%;
  bottom: -2%;
  width: 33%;
  transform: rotate(8deg);
}

.tr-obj2 {
  position: absolute;
  left: -8%;
  top: -10%;
  width: 36%;
  aspect-ratio: 1;
  transform: rotate(-12deg);
}

/* the objects on the three static pictures lean a little towards the pointer (set by a script in
   the layout); this is the easing back and forth */
.desk-obj,
.bs-obj,
.bs-obj2,
.tr-obj,
.tr-obj2 {
  transition: translate 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
  .desk-obj,
  .bs-obj,
  .bs-obj2,
  .tr-obj,
  .tr-obj2 {
    transition: none;
  }
}

/* 2026-11-15: About, "How we work". The objects tip and grow a little when their card is hovered,
   the same movement the objects in the Services menu make, so the same three objects behave the
   same way wherever they are. */
.get-obj {
  transition: rotate 0.25s cubic-bezier(0.645, 0.045, 0.355, 1), scale 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.get.is-toned li:hover .get-obj {
  rotate: 16deg;
  scale: 1.12;
}

@media (prefers-reduced-motion: reduce) {
  .get-obj {
    transition: none;
  }
}

/* ---------- 2026-11-15 (M13): post-it notes that look like real ones ----------
   Every sticky note on the site (Home's desk, the "before" desks): a darker strip along the top
   where the glue is, a bottom corner lifting off the desk with a soft shadow under it, a faint
   sheen across the paper. The small reminder notes are in handwriting (Caveat). The three numbered
   notes keep the site's face so they stay easy to read and click. "It's fixable." is a sticker,
   not a note, and is left alone. */
.note:not(.is-fix) {
  border-radius: 2px 2px 26px 3px / 2px 2px 7px 3px;
  box-shadow: -3px 4px 0 color-mix(in srgb, var(--black) 34%, transparent), -10px 18px 18px -8px color-mix(in srgb, var(--black) 55%, transparent);
  background-image:
    linear-gradient(to top left, color-mix(in srgb, var(--black) 20%, transparent), transparent 62%),
    linear-gradient(to bottom, color-mix(in srgb, var(--black) 9%, transparent) 0 15%, transparent 15.5%),
    linear-gradient(168deg, color-mix(in srgb, #fff 22%, transparent) 0, transparent 46%, color-mix(in srgb, var(--black) 7%, transparent) 100%);
  background-size: 34% 22%, 100% 100%, 100% 100%;
  background-position: right bottom, 0 0, 0 0;
  background-repeat: no-repeat;
}

.desk .note.is-mini,
.note.scene-mini {
  font: 700 21px/1.05 'Caveat', cursive;
  letter-spacing: 0.2px;
  padding: 18px 12px 14px;
}

@media screen and (max-width: 1199px) {
  .desk .note.is-mini {
    font-size: 18px;
  }
}

/* ---------- 2026-11-15 (M13): Home's desk, the notes drop in ----------
   When the desk scrolls into view its notes fall onto it one after another (the reminders, then
   the three numbered notes, then "It's fixable." with a thump). More notes fall with them and do
   not stick: they tumble straight through and off the bottom. A script on Home adds .is-drop, so
   without it, or with reduced motion, the notes are simply in place. Home's desk only: the
   "before" desks stay still, as the aftermath. */
.desk.is-drop .note {
  opacity: 0;
}

.desk.is-drop.is-go .note {
  animation: note-drop 0.72s cubic-bezier(0.3, 1.25, 0.5, 1) both;
  animation-delay: calc(var(--n) * 0.13s + 0.15s);
}

.desk.is-drop.is-go .note.is-fix {
  animation: note-thump 0.5s cubic-bezier(0.3, 1.5, 0.5, 1) both;
  animation-delay: calc(var(--n) * 0.13s + 0.5s);
}

.desk.is-drop.is-go .note.is-faller {
  animation: note-fall var(--t, 1.25s) cubic-bezier(0.45, 0, 0.9, 0.55) both;
  animation-delay: calc(var(--n) * 0.13s + 0.1s);
  z-index: 3;
  pointer-events: none;
}

@keyframes note-drop {
  0% { opacity: 0; translate: var(--dx) -620px; rotate: var(--spin); scale: 1.18; }
  12% { opacity: 1; }
  70% { translate: 0 6px; rotate: calc(var(--spin) * -0.12); scale: 0.98; }
  100% { opacity: 1; translate: 0 0; rotate: 0deg; scale: 1; }
}

@keyframes note-thump {
  0% { opacity: 0; scale: 2.2; rotate: -10deg; }
  60% { opacity: 1; scale: 0.94; }
  100% { opacity: 1; scale: 1; rotate: 0deg; }
}

/* a note that does not stick: in at the top, out past the bottom, turning as it goes */
@keyframes note-fall {
  0% { opacity: 1; translate: 0 -160px; rotate: var(--spin); }
  100% { opacity: 1; translate: var(--dx) 1100px; rotate: calc(var(--spin) * 4); }
}

/* ---------- 2026-11-15 (M13): About's corner objects, placed by the designer ----------
   From 992px the objects sit over the corners of the picture and overhang its edge, so each shows
   whole and nothing on the sheet or the rota is covered (the telephone had been hiding the start
   of "whos_on_your_job.xlsx"). Under 992px the pictures stack under their text, where an overhang
   would sit on the paragraph above and push the page sideways, so there they stay clipped inside. */
.bs-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 20px;
}

.bs-obj { left: -12%; bottom: -8%; width: 40%; }
.bs-obj2 { right: -10%; top: -4%; width: 36%; }
.tr-obj2 { left: -9%; top: -12%; width: 30%; }
.tr-obj { right: -9%; bottom: -3%; width: 32%; }

@media screen and (min-width: 992px) {
  .bs,
  .tr {
    overflow: visible;
  }

  .bs-obj { left: -17%; bottom: -14.5%; width: 44%; }
  .bs-obj2 { right: -17%; top: -13%; width: 40%; }
  .tr-obj2 { left: -17%; top: -19%; width: 38%; }
  .tr-obj { right: -14%; bottom: -10%; width: 36%; }

  /* the objects' transparent margins reach past the page edge; this stops a sideways scroll */
  main.page:has(.bs) {
    overflow-x: clip;
  }
}

/* ---------- 2026-11-15 (M13): Home's desk, four more touches on the drop ----------
   Set off by the script on Home. (1) One reminder loses its grip a few seconds after everything
   lands and slides off the desk. (2) On wide screens two reminders land on top of the sheet.
   (3) A hovered note's loose corner lifts further. (4) When "It's fixable." lands, the notes
   nearest it jump. */
.desk .note.is-slip {
  animation: note-slip 2.8s cubic-bezier(0.5, 0, 0.9, 0.5) forwards !important;
  z-index: 3;
  pointer-events: none;
}

@keyframes note-slip {
  0% { opacity: 1; translate: 0 0; rotate: 0deg; }
  22% { translate: 0 6px; rotate: 7deg; }
  34% { translate: 2px 14px; rotate: 5deg; }
  48% { translate: 4px 30px; rotate: 11deg; }
  100% { opacity: 1; translate: 60px 900px; rotate: 55deg; }
}

.desk .note.is-onsheet {
  z-index: 2 !important;
}

.desk .note:not(.is-fix) {
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), border-radius 0.3s, box-shadow 0.3s, background-size 0.3s;
}

.desk .note:not(.is-fix):hover {
  border-radius: 2px 2px 52px 3px / 2px 2px 20px 3px;
  background-size: 48% 38%, 100% 100%, 100% 100%;
  box-shadow: -3px 4px 0 color-mix(in srgb, var(--black) 34%, transparent), -18px 30px 24px -10px color-mix(in srgb, var(--black) 60%, transparent);
}

.desk .note.is-jolt {
  animation: note-jolt 0.42s cubic-bezier(0.3, 1.4, 0.5, 1) both !important;
}

@keyframes note-jolt {
  0% { opacity: 1; translate: 0 0; rotate: 0deg; }
  35% { opacity: 1; translate: var(--jx) var(--jy); rotate: var(--jr); }
  100% { opacity: 1; translate: 0 0; rotate: 0deg; }
}

@media (prefers-reduced-motion: reduce) {
  .desk .note:not(.is-fix) {
    transition: none;
  }
}

/* ---------- 2026-11-15 (M13): Home, "Four questions": each answer is a small screen ----------
   Was a flat coloured square with one fact on it. Now a window on the site's stippled dark green
   panel, with more on it and its service's printed object at the corner. The panel stays the same
   for all four (the designer: a backdrop that changed at each flip would make the card flash);
   every other window leans the other way, so the card rocks slightly as it flips. Sizes are in
   cqw so the whole screen scales with the card. */
.answer-card:has(.aw) {
  transform: none;
}

.answer-card.is-turning:has(.aw) {
  transform: rotateY(90deg);
}

.answer-face.aw {
  padding: 0;
  gap: 0;
}

.answer-face.aw.is-on {
  display: grid;
}

.aw { position: relative; aspect-ratio: 1; border-radius: 20px; container-type: inline-size; display: grid; place-items: center; font-family: Epilogue, sans-serif; color: var(--black);
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent) 1.2px, transparent 1.4px) 0 0 / 9px 9px, var(--dark-green-1); }
.aw-win { width: 88%; height: 82cqw; display: flex; flex-direction: column; border-radius: 2.4cqw; overflow: hidden; transform: rotate(-2deg); background: var(--tone); box-shadow: -1.6cqw 1.6cqw 0 var(--pp-second-hot); }
.aw.is-money { --tone: var(--accent); --bar: var(--accent-dark); }
.aw.is-work { --tone: var(--light-orange); --bar: var(--dark-orange); }
.aw.is-customers { --tone: var(--light-yellow); --bar: var(--dark-yellow); }
.aw.is-all { --tone: var(--white); --bar: var(--dark-green-1); }
.aw-bar { display: flex; align-items: center; gap: 1.6cqw; padding: 2cqw 3cqw; background: var(--bar); color: var(--tone); font: 600 2.5cqw 'JetBrains Mono', monospace; }
.aw-bar .win-dots i { background: var(--tone); opacity: 0.7; }
.aw-bar em { margin-left: auto; font-style: normal; font-weight: 400; opacity: 0.8; }
.aw-body { flex: 1; padding: 4.8cqw 4.8cqw 5.4cqw; display: flex; flex-direction: column; justify-content: space-between; gap: 2.6cqw; }
.aw-label { font: 600 2.6cqw 'JetBrains Mono', monospace; text-transform: uppercase; letter-spacing: 0.06em; }
.aw-figure { font: 800 11.5cqw/1 Epilogue, sans-serif; letter-spacing: -0.02em; }
.aw-line { width: 100%; height: auto; color: var(--dark-green-1); }
.aw-note { font-size: 3.1cqw; }
.aw-note.is-tag { align-self: flex-start; background: var(--black); color: var(--light-orange); border-radius: 100px; padding: 1.2cqw 2.6cqw; font: 600 2.6cqw 'JetBrains Mono', monospace; }
.aw-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; }
.aw-chips span { background: color-mix(in srgb, var(--black) 9%, transparent); border-radius: 1.6cqw; padding: 1.6cqw 2cqw; font: 700 3.2cqw Epilogue, sans-serif; }
.aw-chips i { display: block; font: 400 2.4cqw 'JetBrains Mono', monospace; font-style: normal; opacity: 0.75; margin-bottom: 0.4cqw; }
.aw-track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2cqw; }
.aw-track li { position: relative; padding-top: 4cqw; font: 600 2.6cqw Epilogue, sans-serif; opacity: 0.55; }
.aw-track li::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2.2cqw; border-radius: 100px; background: color-mix(in srgb, var(--dark-orange) 28%, transparent); }
.aw-track li.is-done, .aw-track li.is-now { opacity: 1; }
.aw-track li.is-done::before { background: var(--dark-orange); }
.aw-track li.is-now::before { background: linear-gradient(to right, var(--dark-orange) 55%, color-mix(in srgb, var(--dark-orange) 28%, transparent) 55%); }
.aw-rows { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 2.2cqw 3cqw; font-size: 3.5cqw; }
.aw-rows dt { font: 400 2.5cqw 'JetBrains Mono', monospace; opacity: 0.75; align-self: center; }
.aw-rows dd { margin: 0; font-weight: 600; }
.aw-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.6cqw; }
.aw-bars li { display: grid; grid-template-columns: 17cqw 1fr 8cqw; align-items: center; gap: 2cqw; font-size: 3cqw; opacity: 0.8; }
.aw-bars i { height: 5.4cqw; border-radius: 1cqw; background: color-mix(in srgb, var(--dark-yellow) 45%, transparent); }
.aw-bars em { font: 600 2.8cqw 'JetBrains Mono', monospace; font-style: normal; text-align: right; }
.aw-bars li.is-best { opacity: 1; font-weight: 700; }
.aw-bars li.is-best i { background: var(--dark-yellow); }
.aw-bars li.is-worst i { background: var(--pp-second-hot); }
.aw-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2cqw; counter-reset: aw; }
.aw-list li { counter-increment: aw; position: relative; padding-left: 8.4cqw; display: grid; grid-template-columns: minmax(0, 1fr) 22cqw; column-gap: 3cqw; row-gap: 0.4cqw; align-items: center; }
.aw-list li b, .aw-list li span { grid-column: 1; }
.aw-list li i { grid-column: 2; grid-row: 1; height: 2.6cqw; border-radius: 100px; background: var(--dark-green-1); justify-self: start; }
.aw-list li em { grid-column: 2; grid-row: 2; font: 600 2.8cqw 'JetBrains Mono', monospace; font-style: normal; }
.aw-list li::before { content: counter(aw); position: absolute; left: 0; top: 0.2cqw; width: 6cqw; height: 6cqw; border-radius: 50%; background: var(--dark-green-1); color: var(--accent); display: grid; place-items: center; font: 600 2.8cqw 'JetBrains Mono', monospace; }
.aw-list b { font: 700 3.9cqw/1.2 Epilogue, sans-serif; }
.aw-list span { font: 400 2.5cqw 'JetBrains Mono', monospace; opacity: 0.75; }
.aw-obj { position: absolute; right: -7%; bottom: -8%; width: 34%; aspect-ratio: 1; transform: rotate(10deg); }
.aw.is-customers .aw-obj { right: -9.5%; bottom: -9.5%; }
.aw.is-work .aw-win, .aw.is-all .aw-win { transform: rotate(1.5deg); }

.aw.is-work .aw-win,
.aw.is-all .aw-win {
  transform: rotate(1.5deg);
}

/* stacked under the questions (tablet and phone) there is no margin for the object to overhang into */
@media screen and (max-width: 991px) {
  .aw-obj,
  .aw.is-customers .aw-obj {
    right: -2%;
    bottom: -3%;
    width: 28%;
  }
}

/* the old face rules set a flat colour and the new screen rules set position; these put both right */
.answer-face.aw {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent) 1.2px, transparent 1.4px) 0 0 / 9px 9px, var(--dark-green-1);
}

/* only the answer being shown is on screen (the screen rules above would otherwise show all four at once) */
.answer-face.aw:not(.is-on) {
  display: none;
}

/* one full-width column, so each window is 88% of the card whatever is in it */
.answer-face.aw {
  grid-template-columns: minmax(0, 1fr);
  justify-content: stretch;
}

/* ---------- 2026-11-15: menu service tiles tidied ----------
   The objects were only a little bigger than their tiles and leant, so their edges nearly met
   the tile's edges and slivers of tile and offset shadow showed unevenly. Each object now sits
   square on the tile's bottom left corner and breaks out of the top right only, so the offset
   shadow stays on the tile. Phone menu and desktop Services dropdown alike. */
.site-nav-service-obj {
  position: relative;
  margin-right: 6px;
}

.site-nav-service-obj > .obj-print {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 120%;
  height: 120%;
  rotate: 0deg;
  transform-origin: 0 100%;
}

.site-nav-service:hover .site-nav-service-obj > .obj-print,
.site-nav-service:focus-visible .site-nav-service-obj > .obj-print {
  rotate: 0deg;
  scale: 1.1;
}

@media screen and (max-width: 767px) {
  .site-menu.is-v2 .site-menu-tile {
    position: relative;
    margin-right: 6px;
  }

  .site-menu.is-v2 .site-menu-tile > .obj-print {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 120%;
    height: 120%;
    rotate: 0deg;
    transform-origin: 0 100%;
  }

  .site-menu.is-v2.is-open .site-menu-svc:hover .site-menu-tile > .obj-print,
  .site-menu.is-v2.is-open .site-menu-svc:focus-visible .site-menu-tile > .obj-print,
  .site-menu.is-v2.is-open .site-menu-svc:active .site-menu-tile > .obj-print {
    rotate: 0deg;
    scale: 1.1;
  }
}

/* ---------- 2026-11-15: Home banner, our own medal ----------
   The new medal hangs from a ribbon, so it is taller and narrower than the rosette it replaced
   and sat mostly off the corner. Pulled in so the ribbon and most of the disc show. */
@media screen and (min-width: 1200px) {
  .large-banner-content-illustration-right {
    right: -96px;
    bottom: -70px;
  }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
  .large-banner-content-illustration-right {
    right: -84px;
    bottom: -58px;
  }
}

/* ---------- 2026-11-15: Home "Us, and not us", our own thumbs ----------
   The new thumbs stand upright and fill their box top to bottom, so at the old size they
   reached up into the heading. Smaller, with the foot of each kept where it was. */
.thumb-obj {
  width: 216px;
  height: 216px;
  top: -38px;
  left: 36px;
}

@media screen and (max-width: 767px) {
  .thumb-obj {
    width: 160px;
    height: 160px;
    top: -42px;
    left: 12px;
  }
}

/* ---------- 2026-11-15: About, the calculator and lever-arch file sized like the telephone and badge ----------
   The spreadsheets picture is narrower than the rota (494px against 691px at 1440), and its
   objects were sized as a share of it, so they came out smaller than the rota's. Both are also
   tall, narrow shapes. Larger shares bring them to the same size on screen. */
.bs-obj { left: -16%; bottom: -11%; width: 50%; }
.bs-obj2 { right: -15%; top: -9%; width: 48%; }

@media screen and (min-width: 992px) {
  .bs-obj { left: -22%; bottom: -19%; width: 53%; }
  .bs-obj2 { right: -19%; top: -19%; width: 49%; }
}

/* ---------- 2026-11-15: About, all four objects a little smaller ----------
   Andrew: "a little bit dominating". About an eighth off each, on both pictures and at every
   width, moved in by the same share so each still overhangs its corner the same way. */
/* under 992px the two pictures are the same width, so the shares are close to each other */
.bs-obj { left: -10%; bottom: -7%; width: 35%; }
.bs-obj2 { right: -9%; top: -6%; width: 34%; }
.tr-obj2 { left: -8%; top: -10%; width: 27%; }
.tr-obj { right: -8%; bottom: -2%; width: 28%; }

@media screen and (min-width: 992px) {
  .bs-obj { left: -19%; bottom: -16%; width: 47%; }
  .bs-obj2 { right: -16%; top: -16%; width: 43%; }
  .tr-obj2 { left: -14%; top: -16%; width: 33%; }
  .tr-obj { right: -12%; bottom: -8%; width: 32%; }
}

/* ---------- 2026-11-15: before and after, the "Before" title no longer shows over the after side ----------
   The title carried z-index 2 with nothing to contain it, so it was drawn above the "after" layer
   wherever the handle was. The "before" layer is now its own stacking group, so everything in it,
   the title included, stays under the "after" layer and is covered as the handle moves left.
   Applies to every before and after on the site (Home and the three service pages). */
.compare-before {
  isolation: isolate;
}

/* ---------- 2026-11-15: hero, the "ask Dave" note ----------
   Its words sat high on the note (more space below than above), which beside the two centred
   labels read as a slip. Same size of note, words centred top to bottom. */
.h1-mess.is-note {
  padding: 1.1em 0.9em;
}

/* ---------- 2026-11-16 (M26): the last bare objects get the printed treatment ----------
   Home's banner coin and medal, and the row of three service objects on Advise, Build and Run,
   were plain pictures with no offset shadow or stipple. They are now drawn like every other
   object, so each needs to be a block for the printed layers to sit in. */
span.across-obj,
span.large-banner-content-illustration-left,
span.large-banner-content-illustration-right {
  display: block;
}

/* ---------- 2026-11-16 (M25): the thank-you page gets its own figure ----------
   The heading panel on the left as before, the lime figure reading the letter on the right, laid
   out like the 404 page's pair. Under 992px the picture sits beneath the panel. */
.thanks-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.thanks-grid > .page-head {
  margin: 0;
  height: 100%;
  box-sizing: border-box;
}

.thanks-image {
  border-radius: 20px;
  background: #254c32 url('/forge/siblings/letter.jpg') center / cover no-repeat;
  min-height: 520px;
}

@media screen and (max-width: 991px) {
  .thanks-grid {
    grid-template-columns: 1fr;
  }

  .thanks-image {
    min-height: 420px;
  }
}

/* ---------- 2026-11-16: the thank-you figure is never cropped either ----------
   I gave this picture's box a fixed height, which is the mistake M20 fixed on 2026-11-15 for
   every other figure: at desktop width it cut the top of the head and the feet. Its box is now
   square like theirs, at every width, so the whole picture always shows. */
.thanks-image {
  aspect-ratio: 1 / 1;
  min-height: 0;
}

@media screen and (max-width: 991px) {
  .thanks-image {
    min-height: 0;
  }
}

/* ---------- 2026-11-16: Home, "Four questions": the card stays put until the last question ----------
   The card sticks only for as long as the questions' column is taller than it. The column was
   920px and the card 500px, so the card let go about 65px after the fourth question took over,
   and slid up under the menu while its answer was still turning. The column now runs on below
   the fourth question, which keeps the card in place while that question is read. Side by side
   layout only; stacked, the card is not sticky. */
@media screen and (min-width: 992px) {
  #questions .steps-wrapper {
    padding-bottom: 260px;
  }
}

/* ---------- 2026-11-16: Advise, Build and Run, the row of three services at tablet width ----------
   The tablet rule that gives plain ".get" lists two columns (block 6 of the 2026-11-14 pass) was
   written before this row existed. It left Growth alone on a second line, indented 20px against
   Strategic finance above it, with a rule down its left and half the row empty. From 768 to 991px
   the row now keeps its three columns, as the toned row above it on the same pages already does.
   From 640 to 767px it is one column, which is what its stacked rules (top rule, no side rule)
   were written for; two columns there left Growth alone on a line as well. The selectors repeat
   the earlier rule's two ":not()" parts so that these win over it. */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .get.across:not(.is-toned):not(.is-four) {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (min-width: 640px) and (max-width: 767px) {
  .get.across:not(.is-toned):not(.is-four) {
    grid-template-columns: 1fr;
  }
}

/* ---------- 2026-11-16: Home, "Four questions": one current question (trial version D) ----------
   Three things each kept their own idea of where the reader was: the green bar was pinned near
   the top of the window, headings lit and stayed lit (the template's script, tied to the scroll
   wheel), and the card followed its own line. They could disagree: the bar beside question 01
   while the card answered 02. Now one number, set in src/pages/index.astro, drives all three.
   Only the current heading is bright; "!important" is needed because the template's script
   writes its own opacity onto each heading. The bar leaves the top of the window and sits beside
   the current question, sliding to the next. Side by side layout only. */
@media screen and (min-width: 992px) {
  #questions .step .is-step {
    opacity: 0.3 !important;
    transition: opacity 0.4s;
  }

  #questions .step.is-lit .is-step {
    opacity: 1 !important;
  }

  #questions .steps-scrollbar {
    position: relative;
  }

  #questions .steps-scrollbar-line {
    position: absolute;
    left: 0;
    top: 0;
    transition: top 0.4s cubic-bezier(0.645, 0.045, 0.355, 1), height 0.4s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.4s;
  }
}

@media screen and (min-width: 992px) and (prefers-reduced-motion: reduce) {
  #questions .step .is-step,
  #questions .steps-scrollbar-line {
    transition: none;
  }
}

/* ---------- 2026-11-16 (M39): project steps, "one current step" ----------
   The model chosen for Home's "Four questions", for the project steps on the service pages.
   Applies where the component is given "follow" (data-follow): Strategic finance, Operations
   and Growth since change log part 142, and the local trial page /steps-trial. The bar leaves the top
   of the window and sits beside the current step; only that step's heading is bright, which the
   existing "[data-lit-steps]" rules already do once the script lights one step at a time. */
@media screen and (min-width: 992px) {
  [data-lit-steps][data-follow] .steps-scrollbar {
    position: relative;
  }

  [data-lit-steps][data-follow] .steps-scrollbar-line {
    position: absolute;
    left: 0;
    top: 0;
    transition: top 0.4s cubic-bezier(0.645, 0.045, 0.355, 1), height 0.4s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.4s;
  }
}

@media screen and (min-width: 992px) and (prefers-reduced-motion: reduce) {
  [data-lit-steps][data-follow] .steps-scrollbar-line {
    transition: none;
  }
}

/* ---------- 2026-11-16: the designer's final pass (change log part 154) ----------
   Fixes from the review of every live page at four sizes. Each is numbered as in the log. */

/* 154.1 Home, "Three salaries" banner: the coin and medal sat on the copy below 1200px. The rule
   of 2026-11-16 that made them blocks also undid the template's "hide on phones". */
@media screen and (max-width: 767px) {
  span.large-banner-content-illustration-left,
  span.large-banner-content-illustration-right {
    display: none;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  .large-banner-content-illustration-left {
    width: 220px;
    height: 220px;
    left: -70px;
    bottom: -110px;
  }

  .large-banner-content-illustration-right {
    width: 240px;
    height: 240px;
    right: -70px;
    bottom: -100px;
  }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
  .large-banner-content-illustration-right {
    right: -130px;
    bottom: -90px;
  }
}

/* 154.2 Run, the picker's dial: 320px wide in a column of 203 to 277px, so its dots sat on the
   text. The smaller dial already drawn for phones is used up to 1279px; from 992px the picture
   goes above the text, and from 768 to 991px it keeps its own column. */
@media screen and (min-width: 480px) and (max-width: 1279px) {
  .dial.is-words {
    width: 276px;
    height: 276px;
    --r: 106px;
  }

  .dial.is-words .dial-ring {
    inset: 32px;
  }

  .dial.is-words .dial-dot {
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
    font-size: 9px;
    letter-spacing: 0;
  }

  .dial.is-words .dial-centre {
    width: 88px;
    height: 88px;
    margin: -44px 0 0 -44px;
    font-size: 17px;
  }

  .dial.is-words .dial-hand {
    top: calc(50% - 72px);
    height: 72px;
  }
}

@media screen and (min-width: 992px) and (max-width: 1279px) {
  .pick-stage:has(.dial.is-words) {
    grid-template-columns: 1fr;
    gap: 20px;
    justify-items: start;
  }

  .pick-stage:has(.dial.is-words) .pick-texts {
    justify-self: stretch;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  .pick-stage:has(.dial.is-words) {
    grid-template-columns: 276px minmax(0, 1fr);
  }
}

/* 154.3 Home, "Us, and not us": the thumbs reached into "This is us" and "This is not". */
@media screen and (min-width: 768px) and (max-width: 1199px) {
  .thumb-obj {
    width: 170px;
    height: 170px;
    top: -44px;
  }
}

/* 154.4 Build, the picker's app screen: the amounts were cut off wherever its column was narrow
   (measured: cut at every width from 768 to 1320px, whole at 1440px). Squeezing the drawn screen
   was not enough at 1100px, so below 1440px the picture goes above the text, as Run's dial does. */
@media screen and (min-width: 768px) and (max-width: 1439px) {
  .pick-stage:has(.app) {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .pick-stage:has(.app) .app {
    width: 100%;
    max-width: 420px;
  }
}

/* 154.5 Home, "Three ways in", 992 to 1199px: the closed panels are about 165px wide, so
   "Running" ran to the edge and the cog was cut. */
@media screen and (min-width: 992px) and (max-width: 1199px) {
  .panel-title {
    font-size: 32px;
  }

  .panel-body {
    left: 20px;
    right: 20px;
  }

  .panel:not(.is-on) .panel-obj {
    transform: rotate(8deg) scale(0.46);
  }
}

/* 154.6 Home, "Four questions": the question mark sits on the same stippled panel as the four
   answers, so the backdrop no longer changes at each turn. */
.answer-face.is-ask {
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent) 1.2px, transparent 1.4px) 0 0 / 9px 9px, var(--dark-green-1);
  border: 0;
}

.answer-face.is-ask b {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
}

/* 154.7 Home, "Four questions": the card eases out of each turn. It used one "ease-in" curve both
   ways, so it sped up into its stop. */
.answer-card {
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.answer-card.is-turning {
  transition-timing-function: ease-in;
}

/* 154.8 One current step: the text under a heading that is not current steps back with it, so a
   paragraph no longer out-shouts its own dimmed heading. Home and the service pages. */
@media screen and (min-width: 992px) {
  #questions .step p,
  [data-lit-steps][data-follow] .step p {
    transition: opacity 0.4s;
  }

  #questions .step:not(.is-lit) p,
  [data-lit-steps][data-follow] .step:not(.is-lit) p {
    opacity: 0.6;
  }
}

@media screen and (min-width: 992px) and (prefers-reduced-motion: reduce) {
  #questions .step p,
  [data-lit-steps][data-follow] .step p {
    transition: none;
  }
}

/* ---------- 2026-11-16: the designer's three "should fix" points (change log part 156) ---------- */

/* 156.1 Home, the main heading below 992px: each phrase on a line of its own, where it used to
   break wherever the words ran out and leave "The" stranded. The breaks are in the page and only
   switched on here. On a phone "The customers." with its object needs 343px at 46px and has 327px,
   so the size follows the window's width a little. */
.hero-br {
  display: none;
}

@media screen and (max-width: 991px) {
  .hero-br {
    display: inline;
  }
}

@media screen and (max-width: 479px) {
  .hero-title {
    font-size: min(46px, 10.8vw);
  }
}

/* 156.2 Advise "Who you're asking", Build "One price, agreed first", Run "Month by month": a short
   block of text had the right half of its row empty. An object now sits beside it: the brain on
   Advise (who you are asking), the cog on Build, the shield on Run. 992px and wider; narrower,
   the block already fills its row and the object is left out. */
.side-obj {
  display: none;
}

@media screen and (min-width: 992px) {
  .page-section.has-side-obj {
    display: grid;
    grid-template-columns: minmax(0, 584px) minmax(0, 1fr);
    align-items: center;
    gap: 40px;
  }

  .page-section.has-side-obj .page-section-head {
    margin-bottom: 0;
  }

  .side-obj {
    display: block;
    width: 220px;
    height: 220px;
    justify-self: center;
    rotate: 8deg;
    transition: rotate 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), scale 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  }

  .page-section.has-side-obj:hover .side-obj {
    rotate: -4deg;
    scale: 1.06;
  }
}

@media (prefers-reduced-motion: reduce) {
  .side-obj {
    transition: none;
  }
}

/* 156.3 About, the lime "This is us" bar from 768 to 991px: the sentence was squeezed into a
   column about 156px wide between the label and the tags. Label and sentence share a row and the
   tags take a row of their own. */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .fit.is-stacked .fit-us {
    flex-wrap: wrap;
    gap: 16px 24px;
  }

  .fit.is-stacked .fit-us p {
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
  }

  .fit.is-stacked .fit-us .kind-tags {
    flex: 0 0 100%;
  }
}

/* ---------- 2026-11-16: the furry figures go back to the shorter frame (change log part 157) ----------
   The figures were redrawn as wide pictures (2 to 1) with the figure and its props inside the
   middle, so they can be cropped at the sides, or a little at top and bottom, without losing
   anything. The square boxes of 2026-11-15 (M20) and 2026-11-16 were there only because the old
   square pictures lost heads and feet in a shorter box. The boxes return to the heights they had
   before: 520px beside the card, shorter when stacked. The picture always fills its box.
   Safe range, from the set's own notes and checked on the site: any box from about 0.85 to 1
   (a narrow phone) up to about 2.4 to 1. */
.closing-image,
.lost-image,
.thanks-image {
  aspect-ratio: auto;
  min-height: 520px;
}

@media screen and (max-width: 991px) {
  .closing-image,
  .thanks-image {
    min-height: 420px;
  }

  .lost-image {
    min-height: 480px;
  }
}

@media screen and (max-width: 767px) {
  .lost-image {
    min-height: 320px;
  }
}

@media screen and (max-width: 479px) {
  .closing-image,
  .thanks-image {
    min-height: 320px;
  }
}

/* Contact and Home: the figure beside the form (rewritten 2026-11-16, change log part 159).
   Part 157 gave the figure a 560px box that stayed in view while the form scrolled, because the
   form was 1,034px tall and a slot that tall cut the picture. Andrew did not want it scrolling
   ("need to be full height"), so the form was shortened first (the block below) and the figure
   is the full height of the form again.
   1200px and wider: form 11 parts, picture 13 (see the note on the rule below). The form is
   wide enough for its fields in pairs and stays short; the picture's box is about 0.75 to 0.95
   as wide as it is tall, which the pictures stand (checked against the set's recorded bounds).
   992 to 1199px: the picture goes under the form, 560px tall, as on a tablet. Beside the form
   at these widths its box would be far taller than it is wide. */
@media screen and (min-width: 1200px) {
  .page .form-image.is-post,
  .form-image.is-laptop {
    min-height: 560px;
  }
}

/* 2026-11-16 (change log part 160): the form a little wider, at Andrew's word, but still narrower
   than the picture, so the pair stays offset against the two equal boxes above it. 11 parts to
   13 (45.8% to 54.2%) from 1200px up, where the template had 5 to 7 (41.7% to 58.3%). This
   replaces the equal columns that part 159 used from 1200 to 1389px, which lost the offset. */
@media screen and (min-width: 1200px) {
  .form-image-grid:has(> .form-image.is-post),
  .form-image-grid:has(> .form-image.is-laptop) {
    grid-template-columns: minmax(0, 11fr) minmax(0, 13fr);
  }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
  .form-image-grid:has(> .form-image.is-post),
  .form-image-grid:has(> .form-image.is-laptop) {
    grid-template-columns: minmax(0, 1fr);
  }

  .page .form-image.is-post,
  .form-image.is-laptop {
    min-height: 0;
    height: 560px;
  }
}

/* Home's figure: our own, an orange figure in a chair with a laptop, in place of the template's
   picture (Yeti.webp). Its box has the same tall-slot problem as Contact's and the same answer. */
.form-image.is-laptop {
  background: #6fae6e url('/forge/siblings/laptop.jpg') center / cover no-repeat;
}

/* ---------- 2026-11-16: a shorter "Or just ask" form, Home and Contact (change log part 159) ----------
   The form's panel was 1,034px tall. Three changes, none to the heading, its spacing, the
   panel's padding or the gaps between fields, which follow the site's own conventions:
   1. Name with Company, and Email with Phone, share a row wherever the form itself is at least
      380px wide, so each box is at least 182px (400 and 192 until part 160 narrowed the form's
      column a little at 1200px). Narrower, they stay one to a row. This follows
      the form's own width (a container query), not the window's, so it is right wherever the
      form is put. The order for the keyboard is unchanged: name, company, email, phone.
   2. The field boxes are 56px tall, the height of the button, where they were 62px. They are
      used only by this form.
   3. The question box opens three lines tall (108px, was 158px) and still grows as you type. */
.form-block {
  container-type: inline-size;
}

.form-input {
  height: 56px;
  padding-top: 0;
  padding-bottom: 0;
}

.form-input.is-message {
  height: auto;
  min-height: 108px;
  padding: 16px 24px;
}

@container (min-width: 380px) {
  .form-block-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 16px;
  }

  .form-block-form > * {
    grid-column: 1 / -1;
  }

  .form-block-form > button,
  .form-block-form > input[type='submit'] {
    justify-self: start;
  }

  .form-block-form > label[for='Full-Name'] { grid-column: 1; grid-row: 1; }
  .form-block-form > #Full-Name { grid-column: 1; grid-row: 2; }
  .form-block-form > label[for='Company'] { grid-column: 2; grid-row: 1; }
  .form-block-form > #Company { grid-column: 2; grid-row: 2; }
  .form-block-form > label[for='email'] { grid-column: 1; grid-row: 3; }
  .form-block-form > #email { grid-column: 1; grid-row: 4; }
  .form-block-form > label[for='Phone'] { grid-column: 2; grid-row: 3; }
  .form-block-form > #Phone { grid-column: 2; grid-row: 4; }
}

/* ---------- 2026-11-16: in place of the reviews (change log part 166) ----------
   No reviews on the site (Andrew, 2026-11-16). Home's review wall became "What's actually on the
   desk", a pile of job tickets (src/components/DeskPile.astro); Services' became "What we were
   asked, and what we did", a wall of cards that turn over (src/components/AskedDid.astro); the
   chip above Home's heading shows the three service objects. The "mdr-" rules below were worked
   out with the designer on the local trial page /mandates-trial and moved here unchanged. */

/* The chip above Home's heading: the three service objects on small discs, where the template
   had three stock faces. Everything else about the chip is the template's own. */
.chip-disc {
  box-sizing: border-box;
  display: grid;
  place-items: center;
  background: var(--dark-green-1);
  border-color: color-mix(in srgb, var(--accent) 35%, transparent);
  overflow: hidden;
}

.chip-disc .p3 {
  display: block;
  width: 22px;
  height: 22px;
}

/* each service has one colour, used by its tickets, cards and filter */
.mdr-ticket,
.mdr-ask,
.mdr-chip {
  --c: var(--light-yellow);
}

.mdr-ticket.is-work,
.mdr-ask.is-work,
.mdr-chip.is-work {
  --c: var(--accent);
}

.mdr-ticket.is-customers,
.mdr-ask.is-customers,
.mdr-chip.is-customers {
  --c: var(--light-orange);
}

/* the row of controls above the pile and above the wall */
.mdr-bar {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
}

.mdr-filters,
.mdr-bar-side {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.mdr-bar-side {
  gap: 16px;
}

.mdr-chip,
.mdr-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  box-sizing: border-box;
  padding: 6px 14px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--white) 28%, transparent);
  background: none;
  color: var(--white);
  font: 500 12px/1 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.mdr-chip b {
  font-weight: 500;
  opacity: 0.6;
}

.mdr-chip:hover,
.mdr-btn:hover {
  border-color: var(--white);
}

/* the chosen filter fills with its service colour ("Everything" fills cream) */
.mdr-chip[aria-pressed='true'] {
  background: var(--c);
  border-color: var(--c);
  color: var(--black);
}

.mdr-chip:not([class*='is-'])[aria-pressed='true'] {
  background: var(--white);
  border-color: var(--white);
}

/* the service object on a small dark disc, as on the chip above Home's heading */
.mdr-chip-obj {
  flex: none;
  width: 26px;
  height: 26px;
  margin-left: -6px;
  box-sizing: border-box;
  padding: 4px;
  border-radius: 50%;
  background: var(--dark-green-1);
}

.mdr-count {
  color: var(--accent-light);
  font: 500 12px/1 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.mdr-count b {
  display: inline-block;
  min-width: 2ch;
  text-align: right;
  color: var(--accent);
  font-weight: 600;
}

.mdr-chip:focus-visible,
.mdr-btn:focus-visible,
.mdr-ticket:focus-visible,
.mdr-ask:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---- refined idea 1: the pile ---- */

/* the desk */
.mdr-pile {
  --tw: clamp(220px, 22%, 288px);
  --fall: -720px;
  position: relative;
  height: 560px;
  margin-top: 16px;
  border-radius: 20px;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent) 1.2px, transparent 1.4px) 0 0 / 9px 9px, var(--dark-green-1);
  overflow: hidden;
}

/* wider tickets are shorter, so the desk can be too */
@media screen and (min-width: 1280px) {
  .mdr-pile {
    height: 538px;
  }
}

/* a ticket: placed by its --fx (across), --y (down) and --r (tilt); --dx and --dy are where
   it has been dragged to */
.mdr-ticket {
  position: absolute;
  left: calc(20px + (100% - 40px - var(--tw)) * var(--fx));
  top: var(--y);
  z-index: var(--z);
  width: var(--tw);
  color: var(--black);
  rotate: var(--r);
  translate: var(--dx, 0px) var(--dy, 0px);
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  transition: translate 0.3s cubic-bezier(0.3, 1.4, 0.5, 1), rotate 0.3s cubic-bezier(0.3, 1.4, 0.5, 1), scale 0.3s cubic-bezier(0.3, 1.4, 0.5, 1), opacity 0.3s;
}

/* the shadow is its own layer so it can move with transforms alone; --sh is how far the
   ticket sits off whatever is under it (more for the rows on top) */
.mdr-shadow {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: var(--black);
  opacity: 0.55;
  translate: calc(var(--sh) * -1) var(--sh);
  transition: translate 0.3s cubic-bezier(0.3, 1.4, 0.5, 1), opacity 0.3s;
}

.mdr-paper {
  position: relative;
  box-sizing: border-box;
  padding: 14px 16px 14px;
  border-radius: 12px;
  background: var(--c);
}

/* before the first drop the desk is clear (set by the script, so no script means no hiding) */
.mdr-pile.is-armed .mdr-ticket {
  opacity: 0;
}

/* the drop: falls, lands, lifts a touch, settles. Fill is "backwards" only, so once landed the
   ticket is back on its ordinary styles and hover, focus and dragging work as normal */
.mdr-pile.is-in .mdr-ticket {
  animation: mdr-drop 0.74s var(--d) backwards;
}

.mdr-pile.is-in .mdr-shadow {
  animation: mdr-shadow 0.74s var(--d) backwards;
}

@keyframes mdr-drop {
  0% { opacity: 0; translate: 0 var(--fall); rotate: calc(var(--r) * -2.4); animation-timing-function: cubic-bezier(0.5, 0, 0.9, 0.55); }
  10% { opacity: 1; }
  60% { opacity: 1; translate: 0 0; rotate: calc(var(--r) * 1.35); animation-timing-function: cubic-bezier(0.2, 0.7, 0.4, 1); }
  78% { translate: 0 -7px; rotate: calc(var(--r) * 0.9); animation-timing-function: cubic-bezier(0.5, 0, 0.8, 0.5); }
  100% { translate: 0 0; rotate: var(--r); }
}

/* in the air the shadow is far off and faint; it snaps in as the ticket lands */
@keyframes mdr-shadow {
  0% { opacity: 0; translate: -46px 46px; animation-timing-function: cubic-bezier(0.5, 0, 0.9, 0.55); }
  60% { opacity: 0.55; translate: calc(var(--sh) * -0.5) calc(var(--sh) * 0.5); }
  78% { opacity: 0.5; translate: calc(var(--sh) * -1.5) calc(var(--sh) * 1.5); }
  100% { opacity: 0.55; translate: calc(var(--sh) * -1) var(--sh); }
}

/* pulled out of the pile: on top, straight, lifted, with a longer shadow */
.mdr-ticket:hover,
.mdr-ticket:focus-visible,
.mdr-ticket.is-held {
  z-index: 200;
  rotate: 0deg;
  scale: 1.05;
  translate: var(--dx, 0px) calc(var(--dy, 0px) - 8px);
}

.mdr-ticket:hover .mdr-shadow,
.mdr-ticket:focus-visible .mdr-shadow,
.mdr-ticket.is-held .mdr-shadow {
  opacity: 0.45;
  translate: -16px 16px;
}

/* in the hand it follows the pointer exactly, so no easing on position */
.mdr-ticket.is-held {
  cursor: grabbing;
  scale: 1.07;
  translate: var(--dx, 0px) var(--dy, 0px);
  transition: rotate 0.2s, scale 0.2s;
}

.mdr-ticket.is-held .mdr-shadow {
  translate: -22px 22px;
}

/* a filter is on: tickets from the other services fade back, the chosen ones come to the top */
.mdr-pile.is-filtered .mdr-ticket {
  z-index: calc(var(--z) + 40);
}

.mdr-pile.is-filtered .mdr-ticket.is-off {
  z-index: var(--z);
  opacity: 0.2;
  scale: 0.97;
  pointer-events: none;
}

.mdr-pile.is-filtered .mdr-ticket:not(.is-off):hover,
.mdr-pile.is-filtered .mdr-ticket:not(.is-off):focus-visible {
  z-index: 200;
}

/* the ticket itself */
.mdr-ticket header,
.mdr-ticket footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font: 500 11px/1 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* on the narrowest tickets a long mode label drops under the job number */
.mdr-ticket header {
  padding-right: 50px;
  flex-wrap: wrap;
  row-gap: 6px;
}

.mdr-no {
  opacity: 0.7;
  white-space: nowrap;
}

.mdr-no b {
  font-weight: 700;
}

/* how we are helping: a small label in ink */
.mdr-mode {
  padding: 4px 6px;
  border-radius: 5px;
  background: var(--black);
  color: var(--c);
  font: 500 10px/1 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.mdr-job {
  display: block;
  margin: 12px 0 6px;
  padding-right: 44px;
  font: 400 clamp(21px, 1.75vw, 25px)/1 'Anton', sans-serif;
  text-transform: uppercase;
}

.mdr-ticket p {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
}

/* the stub: a tear line, the trade on the left and the stamp on the right */
.mdr-ticket footer {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1.5px dashed color-mix(in srgb, var(--black) 40%, transparent);
  align-items: flex-end;
}

.mdr-ticket footer span {
  opacity: 0.7;
  line-height: 1.25;
}

/* the stamp: two rings, never straight, overlapping the tear line as a real one would */
.mdr-stamp {
  flex: none;
  margin-top: -18px;
  padding: 5px 8px 4px;
  border: 2px solid currentColor;
  border-radius: 5px;
  outline: 1px solid currentColor;
  outline-offset: 2px;
  font-weight: 700;
  letter-spacing: 1px;
  rotate: var(--sr);
  opacity: 0.85;
}

/* work still in progress gets a broken ring */
.mdr-stamp.is-open {
  border-style: dashed;
}

/* the stamp comes down just after the ticket has landed */
.mdr-pile.is-in .mdr-stamp {
  animation: mdr-stamp 0.26s calc(var(--d) + 0.7s) backwards;
}

@keyframes mdr-stamp {
  0% { opacity: 0; scale: 2; animation-timing-function: cubic-bezier(0.6, 0, 0.9, 0.4); }
  65% { opacity: 0.85; scale: 0.9; }
  100% { opacity: 0.85; scale: 1; }
}

/* the service object hangs off the top corner, which helps the paper look like it has edges */
.mdr-obj {
  position: absolute;
  right: -6px;
  top: -10px;
  width: 60px;
  height: 60px;
  rotate: 10deg;
  transition: rotate 0.3s cubic-bezier(0.3, 1.4, 0.5, 1);
}

.mdr-ticket:hover .mdr-obj,
.mdr-ticket:focus-visible .mdr-obj {
  rotate: -4deg;
}

/* "Show all" only exists on small screens, while six are showing and no filter is on */
.mdr-more {
  display: none;
  margin-top: 16px;
}

/* tablet and phone: a tidy list, two across then one, with a short drop as it comes into view */
@media screen and (max-width: 991px) {
  .mdr-pile {
    --fall: -30px;
    height: auto;
    padding: 24px 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
  }

  .mdr-ticket {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    z-index: auto;
    rotate: calc(var(--r) * 0.2);
    translate: none;
    cursor: default;
    touch-action: auto;
    --sh: 6px;
  }

  .mdr-ticket:hover,
  .mdr-ticket:focus-visible {
    z-index: auto;
    rotate: 0deg;
    scale: 1;
    translate: 0 -3px;
  }

  .mdr-ticket:hover .mdr-shadow,
  .mdr-ticket:focus-visible .mdr-shadow {
    opacity: 0.55;
    translate: -9px 9px;
  }

  .mdr-pile.is-in .mdr-ticket,
  .mdr-pile.is-in .mdr-shadow {
    animation-delay: calc(var(--d) * 0.4);
  }

  .mdr-pile.is-in .mdr-stamp {
    animation-delay: calc(var(--d) * 0.4 + 0.7s);
  }

  .mdr-job {
    font-size: 24px;
  }

  .mdr-obj {
    right: -4px;
  }

  /* here a filter removes the other tickets instead of fading them */
  .mdr-pile.is-filtered .mdr-ticket.is-off,
  .mdr-pile.is-short:not(.is-filtered) .mdr-ticket:nth-child(n + 7) {
    display: none;
  }

  .mdr-pile.is-short:not(.is-filtered) + .mdr-more {
    display: inline-flex;
  }
}

@media screen and (max-width: 599px) {
  .mdr-pile {
    grid-template-columns: minmax(0, 1fr);
    padding: 22px 16px 22px 20px;
  }

  .mdr-bar-side {
    width: 100%;
    justify-content: space-between;
  }
}

/* ---- refined idea 2: asked, and did ---- */

.mdr-wall {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.mdr-wall-col {
  display: grid;
  gap: 16px;
}

.mdr-wall-col:nth-child(2) {
  margin-top: 40px;
}

.mdr-wall-col:nth-child(4) {
  margin-top: 24px;
}

/* the card is a real button; the 3D turn happens on the layer inside it */
.mdr-ask {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  perspective: 1100px;
  -webkit-tap-highlight-color: transparent;
}

/* both faces share one grid cell, so the card is as tall as its longer side and nothing clips */
.mdr-ask-inner {
  display: grid;
  min-height: 236px;
  transform-style: preserve-3d;
  transition: transform 0.75s cubic-bezier(0.3, 1.3, 0.45, 1);
}

.mdr-face {
  grid-area: 1 / 1;
  position: relative;
  box-sizing: border-box;
  padding: 20px 22px 22px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* the question side: the site's own dark card, with the bottom corner folded up (--ear) */
.mdr-face.is-front {
  --ear: 28px;
  background: var(--accent-opacity-13);
  color: var(--white);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--ear)), calc(100% - var(--ear)) 100%, 0 100%);
  transition: clip-path 0.3s cubic-bezier(0.3, 1.3, 0.45, 1);
}

/* the answer side: printed paper in the service colour */
.mdr-face.is-back {
  background: var(--c);
  color: var(--black);
  transform: rotateY(180deg);
}

.mdr-ask[aria-pressed='true'] .mdr-ask-inner {
  transform: rotateY(180deg);
}

/* a small lift as the card goes over; two names so it plays again on every turn */
.mdr-ask.is-moved .mdr-ask-inner {
  animation: mdr-lift-a 0.75s cubic-bezier(0.3, 0, 0.3, 1);
}

.mdr-ask.is-moved[aria-pressed='true'] .mdr-ask-inner {
  animation-name: mdr-lift-b;
}

@keyframes mdr-lift-a {
  35% { scale: 1.06; }
}

@keyframes mdr-lift-b {
  35% { scale: 1.06; }
}

/* the folded corner shows the colour of the answer underneath */
.mdr-ear {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46px;
  height: 46px;
  background: var(--c);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  transform-origin: 100% 100%;
  scale: 0.609;
  transition: scale 0.3s cubic-bezier(0.3, 1.3, 0.45, 1);
}

/* with a mouse: the corner lifts further and the card leans, as a hint before the click */
@media (hover: hover) {
  .mdr-ask[aria-pressed='false']:hover .mdr-ask-inner {
    transform: rotateY(12deg);
  }

  .mdr-ask:hover .mdr-face.is-front {
    --ear: 46px;
  }

  .mdr-ask:hover .mdr-ear {
    scale: 1;
  }
}

.mdr-face-top,
.mdr-face-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.mdr-face-top {
  align-items: center;
  min-height: 34px;
}

.mdr-face-foot {
  margin-top: auto;
  align-items: flex-end;
}

.mdr-face i,
.mdr-face em,
.mdr-turn {
  font: 500 11px/1.3 'JetBrains Mono', monospace;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* "We were asked" takes the service colour, the first link between the two sides */
.mdr-face.is-front i {
  color: var(--c);
}

.mdr-face em {
  opacity: 0.7;
}

.mdr-turn {
  flex: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.mdr-ask:hover .mdr-turn,
.mdr-ask:focus-visible .mdr-turn {
  opacity: 1;
}

/* keeps "Turn over" clear of the folded corner */
.mdr-face.is-front .mdr-turn {
  margin-right: 22px;
  color: var(--c);
}

/* the service object on a disc of its own colour, the same pairing as on the tickets */
.mdr-ask-obj {
  flex: none;
  width: 38px;
  height: 38px;
  box-sizing: border-box;
  padding: 5px;
  border-radius: 50%;
  background: var(--c);
  rotate: 8deg;
}

.mdr-face strong {
  font: 500 19px/1.3 Epilogue, sans-serif;
}

/* on the answer side the question stays, small, so an answer is never read without it */
.mdr-was {
  font: 400 13px/1.35 Epilogue, sans-serif;
  opacity: 0.72;
  padding-bottom: 12px;
  border-bottom: 1.5px dashed color-mix(in srgb, var(--black) 40%, transparent);
}

.mdr-face.is-back strong {
  font: 400 26px/1 'Anton', sans-serif;
  text-transform: uppercase;
}

/* the cards rise into place one after another when the wall comes into view */
.mdr-wall.is-armed .mdr-ask {
  opacity: 0;
}

.mdr-wall.is-in .mdr-ask {
  animation: mdr-rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--i) * 80ms) backwards;
}

@keyframes mdr-rise {
  from { opacity: 0; translate: 0 28px; }
}

@media screen and (max-width: 991px) {
  .mdr-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mdr-wall-col:nth-child(n) {
    margin-top: 0;
  }
}

@media screen and (max-width: 599px) {
  .mdr-wall {
    grid-template-columns: minmax(0, 1fr);
  }

  .mdr-ask-inner {
    min-height: 0;
  }
}

/* motion off: nothing drops, rises, turns or eases; everything is simply there */
@media (prefers-reduced-motion: reduce) {
  .mdr-ticket,
  .mdr-shadow,
  .mdr-stamp,
  .mdr-obj,
  .mdr-ask,
  .mdr-ask-inner,
  .mdr-face,
  .mdr-ear {
    animation: none !important;
    transition: none !important;
  }

  .mdr-pile.is-armed .mdr-ticket,
  .mdr-wall.is-armed .mdr-ask {
    opacity: 1;
  }
}

/* ---------- 2026-11-16: Services, "asked, and did" ends by fading into the page (change log part 168) ----------
   Andrew liked how the old review wall dissolved into the dark so the next heading rose out of
   it. Here no real card is faded: each column carries on with one blank "Next question" card
   (decoration, hidden from screen readers, not focusable), and only those sink under a gradient
   to the page's black. Worked out by the designer on /mandates-trial and moved here unchanged.
   The gradient is in var(--black), so it only suits a section on the page's own background. */
.mdf-ghost {
  --c: var(--light-yellow);
}

.mdf-ghost.is-work {
  --c: var(--accent);
}

.mdf-ghost.is-customers {
  --c: var(--light-orange);
}

/* every column ends with one blank card, stretched so all four finish on the same line; the
   fade lies over that last --mdf-tail only, which is always blank card and never a real one */
.mdf-wall {
  --mdf-tail: 240px;
  position: relative;
  align-items: stretch;
}

.mdf-wall .mdr-wall-col {
  grid-template-rows: repeat(3, auto) minmax(var(--mdf-tail), 1fr);
}

.mdf-wall::after {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: -1px;
  height: calc(var(--mdf-tail) + 1px);
  background: linear-gradient(color-mix(in srgb, var(--black) 0%, transparent), color-mix(in srgb, var(--black) 55%, transparent) 40%, var(--black) 90%);
  pointer-events: none;
}

.mdf-ghost {
  box-sizing: border-box;
  padding: 20px 22px 22px;
  border-radius: 14px;
  background: var(--accent-opacity-13);
  display: flex;
  flex-direction: column;
  gap: 16px;
  user-select: none;
  -webkit-user-select: none;
}

.mdf-ghost i {
  color: var(--c);
  font: 500 11px/1.3 'JetBrains Mono', monospace;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* three lines waiting for a question */
.mdf-ghost b {
  height: 0;
  width: 88%;
  border-top: 1.5px dashed color-mix(in srgb, var(--white) 26%, transparent);
}

.mdf-ghost b:nth-of-type(2) {
  width: 74%;
}

.mdf-ghost b:nth-of-type(3) {
  width: 52%;
}

.mdf-wall.is-armed .mdf-ghost {
  opacity: 0;
}

.mdf-wall.is-in .mdf-ghost {
  animation: mdr-rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--i) * 80ms) backwards;
}

/* two columns: the first two wall columns now sit above the last two, so only the last two
   keep their blank card */
@media screen and (max-width: 991px) {
  .mdf-wall {
    --mdf-tail: 200px;
  }

  .mdf-wall .mdr-wall-col:nth-child(-n + 2) {
    grid-template-rows: none;
  }

  .mdf-wall .mdr-wall-col:nth-child(-n + 2) .mdf-ghost {
    display: none;
  }
}

/* one column: a single blank card ends the list */
@media screen and (max-width: 599px) {
  .mdf-wall {
    --mdf-tail: 170px;
  }

  .mdf-wall .mdr-wall-col:nth-child(3) {
    grid-template-rows: none;
  }

  .mdf-wall .mdr-wall-col:nth-child(3) .mdf-ghost {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mdf-ghost {
    animation: none !important;
  }

  .mdf-wall.is-armed .mdf-ghost {
    opacity: 1;
  }
}

/* ==========================================================================
   2026-11-16, change log part 172. Colours for Advise, Build and Run (tracker D39), Andrew's
   Option 1: the services are the light ones, the ways of helping the dark ones.
   Operations and Growth get light page heads to match their own menu tiles, on the pattern of
   Strategic finance's lime head. Advise, Build and Run use the dark heads the site already had
   (yellow, green, orange), so they need no new styles here.
   ========================================================================== */

.page-head.is-peach {
  background: var(--light-orange);
}

.page-head.is-sun {
  background: var(--light-yellow);
}

.page-head.is-peach .eyebrow,
.page-head.is-peach .is-accent {
  color: var(--pp-orange-ground);
}

.page-head.is-sun .eyebrow,
.page-head.is-sun .is-accent {
  color: var(--dark-yellow);
}

.page-head:is(.is-peach, .is-sun) .h2,
.page-head:is(.is-peach, .is-sun) .page-head-line {
  color: var(--black);
}

.page-head.is-peach .button-primary {
  background-color: var(--pp-orange-ground);
  color: var(--light-orange);
}

.page-head.is-sun .button-primary {
  background-color: var(--dark-yellow);
  color: var(--light-yellow);
}

.page-head.is-peach .button-primary:hover,
.page-head.is-peach .button-primary:focus-visible {
  background-color: var(--black);
  color: var(--light-orange);
}

.page-head.is-sun .button-primary:hover,
.page-head.is-sun .button-primary:focus-visible {
  background-color: var(--black);
  color: var(--light-yellow);
}

.page-head:is(.is-peach, .is-sun) .hero-second-link {
  color: var(--black);
  border-color: color-mix(in srgb, var(--black) 40%, transparent);
}

.page-head:is(.is-peach, .is-sun) .hero-second-link:hover {
  border-color: var(--black);
}

/* The rows that show the three ways side by side keep their three colours (dark green, orange,
   lime) but in a new order, so that each recoloured object sits on a ground it stands off:
   orange compass on lime, yellow blocks on dark green, green oil can on orange. Home and
   Services set this in their own data; this is the same order for "What you get" on the service
   pages and "How we work" on About. */
.get.is-toned li:nth-child(1) {
  background: var(--accent-hover);
}

.get.is-toned li:nth-child(2) {
  background: var(--dark-green-1);
}

.get.is-toned li:nth-child(3) {
  background: var(--pp-second-mid);
}

.get.is-toned li:nth-child(odd) .get-number,
.get.is-toned li:nth-child(odd) .get-label,
.get.is-toned li:nth-child(odd) p,
.get.is-toned li:nth-child(odd) .get-more {
  color: var(--black);
}

.get.is-toned li:nth-child(2) .get-number,
.get.is-toned li:nth-child(2) .get-label,
.get.is-toned li:nth-child(2) p {
  color: var(--white);
}

.get.is-toned li:nth-child(2) .get-more {
  color: var(--accent-light);
}

/* ==========================================================================
   2026-11-16, change log part 174. One colour per way of helping, everywhere (Andrew: "Yes,
   match the menu"). The rows that show Advise, Build and Run side by side now use the same
   grounds as the menu tiles and the page heads: dark yellow, dark green, burnt orange, each
   with its light accent on the numbers and headings. Replaces the order set in part 172.
   ========================================================================== */

.is-m-advise { --m-ground: var(--dark-yellow); --m-light: var(--light-yellow); }
.is-m-build { --m-ground: var(--dark-green-1); --m-light: var(--accent); }
.is-m-run { --m-ground: var(--pp-orange-ground); --m-light: var(--light-orange); }

.panel:is(.is-m-advise, .is-m-build, .is-m-run) {
  background: var(--m-ground);
  color: var(--white);
}

.panel:is(.is-m-advise, .is-m-build, .is-m-run) .panel-num {
  color: var(--m-light);
}

.handover-stop:is(.is-m-advise, .is-m-build, .is-m-run) .handover-card {
  background: var(--m-ground);
  color: var(--accent-light);
}

.handover-stop:is(.is-m-advise, .is-m-build, .is-m-run) .handover-title {
  color: var(--m-light);
}

.get.is-toned li:nth-child(1) { background: var(--dark-yellow); --m-light: var(--light-yellow); }
.get.is-toned li:nth-child(2) { background: var(--dark-green-1); --m-light: var(--accent); }
.get.is-toned li:nth-child(3) { background: var(--pp-orange-ground); --m-light: var(--light-orange); }

.get.is-toned li:nth-child(n) p {
  color: var(--white);
}

.get.is-toned li:nth-child(n) .get-number,
.get.is-toned li:nth-child(n) .get-label,
.get.is-toned li:nth-child(n) .get-more {
  color: var(--m-light);
}

/* The three-card rows on the Advise, Build and Run pages themselves ("What you get", "How a
   build goes") are not Advise, Build and Run: they are three steps or three things. They keep
   the dark green, orange and lime they had before part 172, so they do not borrow the colours
   that now mean one way of helping each. */
.get.is-toned.is-steps li:nth-child(1) { background: var(--dark-green-1); }
.get.is-toned.is-steps li:nth-child(2) { background: var(--pp-second-mid); }
.get.is-toned.is-steps li:nth-child(3) { background: var(--accent-hover); }

.get.is-toned.is-steps li:nth-child(1) p {
  color: var(--accent-light);
}

.get.is-toned.is-steps li:nth-child(1) .get-number,
.get.is-toned.is-steps li:nth-child(1) .get-label {
  color: var(--accent);
}

.get.is-toned.is-steps li:nth-child(n + 2) p,
.get.is-toned.is-steps li:nth-child(n + 2) .get-number,
.get.is-toned.is-steps li:nth-child(n + 2) .get-label,
.get.is-toned.is-steps li:nth-child(n + 2) .get-more {
  color: var(--black);
}

/* ==========================================================================
   2026-11-16, change log part 177. Width checks (tracker M30): two fixes.
   ========================================================================== */

/* 1. Service pages, the "before" desk at tablet width: the four notes ran past the bottom of the
   frame on Operations (by 24px) and touched it on Growth; up to 1199px they cleared it by only
   11px. The frame is taller across the whole tap-to-switch range above phone width. */
@media screen and (min-width: 768px) and (max-width: 1199px) {
  .compare.is-desk {
    height: 672px;
  }
}

/* 2. Services, "Advise. Build. Run." once the cards stack: the object in the corner sat over the
   heading (phone) or the first line of text (tablet). The words now stop short of it. */
@media screen and (min-width: 480px) and (max-width: 991px) {
  .handover-card .handover-title,
  .handover-card p {
    padding-right: 160px;
  }
}

@media screen and (max-width: 479px) {
  .handover-card .handover-title {
    padding-right: 88px;
  }
}

/* ==========================================================================
   2026-11-16, change log part 178. Flicker, second pass (tracker M29).
   ========================================================================== */

/* 1. Growth, "See what every pound brought back": the name and the three figures dip out and
   ease back in when the source changes, in place of an instant swap. */
.source-name,
.source-back b,
.source-reads dd {
  transition: opacity 0.2s ease, color 0.3s;
}

.source-side.is-swapping .source-name,
.source-side.is-swapping .source-back b,
.source-side.is-swapping .source-reads dd {
  opacity: 0;
  transition-duration: 0.12s;
}

/* 2. Home, "Three ways to work with us". As a panel opened or closed, its words re-wrapped
   while it was still moving: measured on desktop, a closing panel's heading went from one line
   to two to three and its label jumped five times in half a second. The words now step out
   while the panel moves and come back once it has settled; the number and the object stay.
   Two names for one animation, so it starts again each time a panel changes state. */
/* an opening panel's heading re-wraps in its first three frames, so its words are out from
   the first frame; a closing panel's do not move until later, so they can fade */
@keyframes panel-words-open {
  0%, 78% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes panel-words-shut {
  0% { opacity: 1; }
  12%, 78% { opacity: 0; }
  100% { opacity: 1; }
}

.panel.is-on .panel-body {
  animation: panel-words-open 0.62s both;
}

.panel:not(.is-on) .panel-body {
  animation: panel-words-shut 0.62s both;
}

/* stacked (tablet and phone): the words change place in one frame as the class changes, so
   there they are out from the first frame */
@media screen and (max-width: 991px) {
  @keyframes panel-words-open {
    0%, 55% { opacity: 0; }
    100% { opacity: 1; }
  }

  @keyframes panel-words-shut {
    0%, 55% { opacity: 0; }
    100% { opacity: 1; }
  }

  /* the big number faded in, never cut */
  .panel.is-on .panel-num {
    animation: panel-words-open 0.62s both;
  }
}

@media (prefers-reduced-motion: reduce) {
  .panel .panel-body,
  .panel .panel-num {
    animation: none;
  }

  .source-name,
  .source-back b,
  .source-reads dd {
    transition: none;
  }
}

/* ==========================================================================
   2026-11-16, change log part 181. Cookie banner: the button and the link behave like the
   site's own (Andrew: "the button has the usual button hover effect, and the No Thanks link
   should have a hover effect as well"). The button lifts 2px and changes colour, as every
   primary button does; "No thanks" firms up its underline, as every text link does.
   ========================================================================== */

.consent-yes {
  transition: background-color 0.25s, color 0.25s, transform 0.25s;
}

.consent-yes:hover,
.consent-yes:focus-visible {
  background: var(--dark-green-1);
  color: var(--accent);
}

.consent-yes:hover {
  transform: translateY(-2px);
}

.consent-yes:active {
  transform: none;
}

.consent-no {
  transition: border-color 0.25s;
}

.consent-no:hover,
.consent-no:focus-visible {
  border-bottom-color: var(--black);
}

.consent a {
  transition: color 0.25s;
}

.consent a:hover,
.consent a:focus-visible {
  color: var(--black);
}

.consent-yes:focus-visible,
.consent-no:focus-visible,
.consent a:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .consent-yes:hover {
    transform: none;
  }
}

/* 2026-11-16, change log part 182. Cookie banner: a printed cookie sits on its top right corner,
   poking out as the site's other objects do. The words stop short of it. */
.consent-obj {
  position: absolute;
  top: -30px;
  right: -18px;
  width: 84px;
  height: 84px;
  transform: rotate(10deg);
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.consent:hover .consent-obj {
  transform: rotate(-4deg) scale(1.06);
}

.consent p {
  padding-right: 44px;
}

@media screen and (max-width: 767px) {
  .consent-obj {
    right: -6px;
    width: 72px;
    height: 72px;
    top: -26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .consent:hover .consent-obj {
    transform: rotate(10deg);
  }
}

/* 2026-11-16, change log part 183. Links that jump to a section land with its heading clear of
   the sticky menu. Before, Home's sections stopped 72px from the top, which put the heading
   15px under the 87px menu on desktop and flush against it on a phone; and a link to a
   heading itself (Build's "Follow the whole project") put the heading right under the menu. */
#main.is-home section[id],
h2[id] {
  scroll-margin-top: 112px;
}

@media screen and (max-width: 991px) {
  #main.is-home section[id],
  h2[id] {
    scroll-margin-top: 96px;
  }
}

/* ==========================================================================
   2026-11-16, change log part 187. Home hero: the spreadsheet cells are placed by a script on
   wide screens (see index.astro), so none sits under the words and the sides are used.
   ========================================================================== */

/* cells that exist only on wide screens */
.hg-cell.is-wide { display: none; }

@media screen and (min-width: 992px) {
  .hg-cell.is-wide { display: flex; }
  /* a cell with no free square at this size is left out */
  .hero-grid.is-placed .hg-cell.is-out { display: none; }
  /* the highlight is moved by the script, one cell every 2.8 seconds */
  .hero-grid.is-placed .hg-select { animation: hg-in 0.4s ease-out 3.4s backwards; opacity: 0.7; transition: translate 0.001s; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-grid.is-placed .hg-select { animation: none; }
}

/* 2026-11-16, change log part 189. Home's pile holds sixteen tickets in four rows (it held
   twelve in three), so the desk is one row taller and the tickets fall a little further. */
.mdr-pile {
  height: 742px;
  --fall: -900px;
}

@media screen and (min-width: 1280px) {
  .mdr-pile {
    height: 716px;
  }
}

@media screen and (max-width: 991px) {
  .mdr-pile {
    height: auto;
  }
}

/* ==========================================================================
   2026-11-16, change log part 191. Small pieces that came with the new copy.
   ========================================================================== */

/* Services, "No surprises on the bill": the drawing says it is an example */
.charge-eg {
  align-self: flex-start;
  margin-bottom: auto;
  color: color-mix(in srgb, var(--black) 55%, transparent);
  font: 600 12px/1 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Build's picker: the screen drawing says it is illustrative, as Advise's does */
.app-note {
  position: absolute;
  right: 16px;
  bottom: 3px;
  color: var(--grey-60);
  font: 400 11px/1 'JetBrains Mono', monospace;
  font-style: normal;
}

/* About's rota on phones: "Account managers" is longer than the label it replaced */
@media screen and (max-width: 599px) {
  .tr-who {
    padding-left: 1.2cqw;
    padding-right: 0.6cqw;
    letter-spacing: -0.2px;
  }

  .tr-who.is-off {
    font-size: 0.88em;
  }
}

/* Home, the experience banner: its new heading runs to three lines, so the lines are evened
   out and no single word is left alone on the last one */
.is-banner-content .h2 {
  text-wrap: balance;
}

/* Growth's source picker: "Paid search" and "Paid social" are longer than "Search" and "Ads",
   so the name column is a little wider and each name stays on one line */
.source-label {
  white-space: nowrap;
}

@media screen and (min-width: 768px) {
  .source-row {
    grid-template-columns: 132px 1fr;
  }
}

@media screen and (max-width: 767px) {
  .source-row {
    grid-template-columns: 96px 1fr;
  }
}

/* 2026-11-16, change log part 198. Before and after sliders on wide screens. The handle stops
   4% from either edge, and on a very wide frame that strip is wider than the 56px the titles
   sit in from the edge, so the first letter of "Before" (and the last of "After") stayed in
   view with the handle pulled all the way across. The titles now sit further in than the
   strip is wide, at any width. */
@media screen and (min-width: 1200px) {
  .compare-before .compare-title {
    left: max(56px, calc(4% + 24px));
  }

  .compare-after .compare-title {
    right: max(56px, calc(4% + 24px));
  }
}
