/* buhr-consulting.com — "Selective colour" redesign.
   The page reads like a black-and-white photograph with one red element in it:
   photos, type and logos are monochrome, and red appears only where it means
   something — Maike's blazer, the full stops of the headline, and the button
   to book a call. Design rationale and prototype: the design review of
   2 October 2026.
   No inline styles anywhere: the production CSP allows style-src 'self' only. */

/* ---------------------------------------------------------------- fonts --- */

/* Archivo is variable in width and weight. Google serves the whole design
   space (widths 62–125 %, weights 100–900); this file is cut to widths
   100–125 % and weights 400–900, the only part used (fontTools
   varLib.instancer wght=400:900 wdth=100:125), 61 kB instead of 90 kB. */
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-var-400-900.woff2") format("woff2");
  font-weight: 400 900;
  font-stretch: 100% 125%;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("/fonts/source-serif-4-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Only the large pull quote is italic, and only at this weight. */
@font-face {
  font-family: "Source Serif 4";
  src: url("/fonts/source-serif-4-300italic.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

/* --------------------------------------------------------------- tokens --- */

:root {
  --paper: #F3F3F1;      /* page: a light concrete grey */
  --surface: #FFFFFF;
  --ink: #141516;        /* type, rules, the testimonial band */
  --grey: #55575A;       /* secondary text, 6.5:1 on paper */
  --line: #D5D5D1;
  --field-line: #858581; /* field edges, 3.3:1 on paper (WCAG 1.4.11) */
  --red: #E60005;        /* brand red: action and emphasis only */
  --red-press: #C30004;  /* red text on paper, 5.6:1 */
  --blue: #2DAAE1;       /* logo blue: the AI circle and nowhere else */
  --night: #121417;
  --night-text: #A9ADB3; /* 8.2:1 on night */

  --display: "Archivo", "Arial Black", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  --max: 1320px;
  --gutter: clamp(20px, 5vw, 64px);
  --header-h: 64px;
  --section: clamp(72px, 10vw, 152px);

  color-scheme: light;
}

/* ---------------------------------------------------------------- reset --- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* In-page links land below the sticky header, not under it. */
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 18px/1.55 var(--serif);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  text-wrap: balance;
}

p {
  margin: 0;
}

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font: 600 13px/1.2 var(--display);
  font-stretch: 112%;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
}

/* The red full stop that ends headlines. */
.stop {
  font-style: normal;
  color: var(--red);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 60;
  padding: 10px 14px;
  background: var(--surface);
  font: 600 15px/1 var(--display);
}

.skip-link:focus {
  left: 12px;
}

/* --------------------------------------------------------------- header --- */

.top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(243, 243, 241, 0.92);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s;
}

.top.is-scrolled {
  border-bottom-color: var(--line);
}

.top__in {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: var(--max);
  height: var(--header-h);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* 2 px of padding makes the logo link a 44 px tap target. */
.top__logo {
  display: block;
  padding: 2px 0;
}

.top__logo img {
  width: auto;
  height: 40px;
}

.nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 15px 2px;
  font: 500 15px/1 var(--display);
  letter-spacing: 0.01em;
  text-decoration: none;
}

/* A red underline that draws in from the left. */
.nav a::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 8px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  /* Transparent, so it shows only in forced-colours mode, where the red fill
     is dropped and the border is all that outlines the button. */
  border: 2px solid transparent;
  border-radius: 2px;
  background: var(--red);
  color: #fff;
  font: 650 16px/1 var(--display);
  font-stretch: 108%;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn:hover {
  background: var(--red-press);
}

.btn:active {
  transform: translateY(1px);
}

.btn--sm {
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
}

.menu-btn {
  display: none;
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.menu-btn span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s;
}

.menu-btn span:nth-child(1) {
  top: 16px;
}

.menu-btn span:nth-child(2) {
  top: 26px;
}

.menu-open .menu-btn span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.menu-open .menu-btn span:nth-child(2) {
  transform: translateY(-5px) rotate(-45deg);
}

/* The phone menu: a full-screen sheet under the header. */
.sheet {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 25;
  flex-direction: column;
  gap: 6px;
  padding: calc(var(--header-h) + 40px) var(--gutter) 40px;
  background: var(--paper);
  overflow-y: auto;
}

.sheet a {
  padding: 6px 0;
  font: 800 clamp(30px, 9vw, 44px)/1.15 var(--display);
  font-stretch: 115%;
  text-decoration: none;
}

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

  .menu-btn {
    display: block;
  }

  /* Scoped to the widths that have a menu button: a menu left open while a
     tablet rotates past 899 px must not stay on screen with no way to close
     it (site.js also closes it when that happens). */
  .menu-open .sheet {
    display: flex;
  }

  .menu-open {
    overflow: hidden;
  }

  .top__in {
    gap: 10px;
  }

  .top__in .btn--sm {
    margin-left: auto;
  }
}

@media (max-width: 380px) {
  .top__logo {
    padding: 5px 0;
  }

  .top__logo img {
    height: 34px;
  }

  .btn--sm {
    padding: 0 14px;
  }
}

/* ----------------------------------------------------------------- hero --- */

.hero__in {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: end;
  gap: clamp(24px, 4vw, 64px);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px) var(--gutter) clamp(48px, 6vw, 96px);
}

.hero__text {
  min-width: 0;
  padding-bottom: clamp(0px, 2vw, 24px);
}

/* Sized by the smaller of width and height, so the three words always fit on
   the first screen — sideways phones included. */
.hero__title {
  margin: 22px 0 28px;
  font-weight: 850;
  font-stretch: 112%;
  font-size: clamp(2.9rem, min(8.2vw, 15vh), 6.9rem);
  font-size: clamp(2.9rem, min(8.2vw, 15svh), 6.9rem);
  line-height: 0.9;
  letter-spacing: -0.025em;
}

/* "Refocus": each word comes into focus like a camera lens, one after the
   other. The resting state is the sharp one, so nothing depends on it. */
.hero__title span {
  display: block;
  animation: focus-pull 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero__title span:nth-child(2) {
  animation-delay: 0.2s;
}

.hero__title span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes focus-pull {
  from {
    filter: blur(18px);
    opacity: 0.2;
    letter-spacing: 0.04em;
  }

  to {
    filter: blur(0);
    opacity: 1;
    letter-spacing: -0.025em;
  }
}

.hero__sub {
  max-width: 30em;
  font-size: clamp(1.15rem, 1.5vw, 1.45rem);
  line-height: 1.45;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  margin-top: 32px;
}

.arrow-link {
  padding: 14px 0;
  border-bottom: 2px solid var(--ink);
  font: 600 16px/1 var(--display);
  font-stretch: 108%;
  text-decoration: none;
}

.arrow-link:hover {
  border-color: var(--red-press);
  color: var(--red-press);
}

.hero__photo {
  position: relative;
  min-width: 0;
  margin: 0;
}

.hero__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: min(700px, calc(100vh - var(--header-h) - 120px));
  max-height: min(700px, calc(100svh - var(--header-h) - 120px));
  object-fit: cover;
  object-position: 50% 18%;
}

.caption {
  margin-top: 10px;
  font: 500 12px/1.3 var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey);
}

@media (max-width: 699px) {
  .hero__in {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero__title {
    margin: 18px 0 22px;
    font-size: clamp(2.8rem, 14.5vw, 4.6rem);
  }

  .hero__photo img {
    max-height: none;
  }
}

@media (max-width: 499px) {
  .eyebrow__city {
    display: none;
  }
}

/* Sideways phones: keep two columns and drop everything that is not the
   message, so headline, offer and button fit beside the portrait. */
@media (orientation: landscape) and (max-height: 520px) {
  .hero__in {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: center;
    padding-top: 18px;
    padding-bottom: 32px;
  }

  .hero__text .eyebrow,
  .hero__photo .caption {
    display: none;
  }

  .hero__title {
    margin: 0 0 14px;
    font-size: clamp(2.4rem, 14vh, 4.4rem);
    font-size: clamp(2.4rem, 14svh, 4.4rem);
  }

  .hero__sub {
    font-size: 1rem;
  }

  .hero__actions {
    margin-top: 16px;
  }

  .hero__photo img {
    max-height: calc(100vh - var(--header-h) - 40px);
    max-height: calc(100svh - var(--header-h) - 40px);
  }

  .sheet {
    padding-top: calc(var(--header-h) + 12px);
  }

  .sheet a {
    font-size: 26px;
  }
}

/* ------------------------------------------------------------ proof strip --- */

.proof {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.creds {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 40px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 26px var(--gutter);
  list-style: none;
  font-size: 16px;
  line-height: 1.45;
  color: var(--grey);
}

.creds b {
  display: block;
  margin-bottom: 2px;
  font: 750 20px/1.2 var(--display);
  font-stretch: 110%;
  color: var(--ink);
}

@media (max-width: 699px) {
  .creds {
    grid-template-columns: 1fr;
  }
}

/* The client logos, all fourteen, as one slow monochrome band moving
   sideways. The files are prepared by tools/redesign-images.mjs: one ink
   colour, trimmed, scaled to the same visual weight on the same 320x112
   canvas. The list is in the page twice so the band loops without a seam:
   both copies move left by their own width, and as the first leaves, the
   second has taken its place. Each copy must be wider than the screen
   (14 x 196 px = 2744 px here).
   Content that moves by itself for more than five seconds needs a way to stop
   it (WCAG 2.2.2): the button at the band's right end pauses it, so does
   pointing at it, and with reduced motion it is a still, wrapped wall. */
.logos {
  display: flex;
  align-items: center;
  gap: 8px;
  /* The right padding lines the pause button up with the content edge. */
  padding: 30px max(12px, calc(var(--gutter) - 22px)) 34px 0;
  border-top: 1px solid var(--line);
}

/* The band takes what the button leaves, and fades out before it. */
.logos__viewport {
  display: flex;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.logos__track {
  --logo-w: 140px;
  --logo-gap: 56px;

  display: flex;
  flex: none;
  align-items: center;
  gap: var(--logo-gap);
  margin: 0;
  /* The gap after the last logo, so the seam between the copies is spaced
     like every other pair. */
  padding: 0 var(--logo-gap) 0 0;
  list-style: none;
  animation: logos-scroll 55s linear infinite;
}

.logos__track li {
  flex: none;
  width: var(--logo-w);
}

.logos__track img {
  width: 100%;
  opacity: 0.8;
}

@keyframes logos-scroll {
  to {
    transform: translateX(-100%);
  }
}

.logos.is-paused .logos__track {
  animation-play-state: paused;
}

/* Only where there is a real pointer: on touch screens :hover sticks after a
   tap, and the band would stay paused after pressing play. */
@media (hover: hover) {
  .logos__viewport:hover .logos__track {
    animation-play-state: paused;
  }
}

/* Revealed by site.js; without the script there is nothing to pause it with
   but the pointer, so it does not promise more. */
.logos__toggle {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.logos__toggle[hidden] {
  display: none;
}

.logos__toggle:hover {
  border-color: var(--ink);
}

/* Two bars while it moves (pause), a triangle once paused (play). */
.logos__icon {
  width: 12px;
  height: 14px;
  border-left: 4px solid;
  border-right: 4px solid;
}

.logos.is-paused .logos__icon {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent currentColor;
}

@media (max-width: 699px) {
  .logos__track {
    --logo-w: 104px;
    --logo-gap: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logos {
    padding-inline: 0;
  }

  .logos__viewport {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .logos__track {
    flex: 1;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 18px;
    padding: 0 var(--gutter);
  }

  .logos__track[aria-hidden="true"],
  .logos__toggle {
    display: none;
  }
}

/* Three to a row on phones rather than two. */
@media (prefers-reduced-motion: reduce) and (max-width: 699px) {
  .logos__track {
    --logo-gap: 14px;
  }
}

/* ------------------------------------------------------------- sections --- */

.sec {
  padding-block: var(--section);
}

.sec__head {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.h2 {
  font-weight: 820;
  font-stretch: 112%;
  font-size: clamp(2.3rem, 5.2vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

/* ------------------------------------------------------------ expertise --- */

.services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.services li {
  position: relative;
  padding-top: 22px;
  border-top: 2px solid var(--ink);
}

.services li::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.services li:hover::before {
  width: 100%;
}

.services h3 {
  margin-bottom: 12px;
  font-weight: 760;
  font-stretch: 108%;
  font-size: clamp(1.3rem, 1.7vw, 1.6rem);
  line-height: 1.12;
}

.services p {
  font-size: 17px;
  color: var(--grey);
}

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

@media (max-width: 599px) {
  .services {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ------------------------------------------------------------- approach --- */

.approach {
  /* The circles start their slide-in 22 % outside the diagram; without the
     clip that overhang widens the page on phones until the section scrolls
     into view. It must be clip, not hidden: hidden makes the section a scroll
     container, and a view() timeline then measures the diagram against that
     box, which never scrolls, so the circles never move. hidden stays as the
     fallback for browsers without clip, which lack view() timelines too. */
  overflow: hidden;
  overflow: clip;
  background: var(--surface);
}

.approach__in {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}

/* Two circles, blue for AI and red for human judgment — the interlocking b
   and c of the logo. They slide together as the section scrolls into view;
   where the browser cannot do scroll-driven animation they simply overlap. */
.venn {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16 / 10;
}

.venn__c {
  position: absolute;
  top: 0;
  display: flex;
  align-items: center;
  width: 62.5%;
  aspect-ratio: 1;
  border-radius: 50%;
  font: 750 clamp(15px, 1.6vw, 20px)/1.15 var(--display);
  font-stretch: 110%;
  mix-blend-mode: multiply;
}

.venn__ai {
  left: 0;
  justify-content: flex-start;
  padding-left: 13%;
  border: 2px solid var(--blue);
  background: rgba(45, 170, 225, 0.22);
}

.venn__hi {
  right: 0;
  justify-content: flex-end;
  padding-right: 10%;
  border: 2px solid var(--red);
  background: rgba(230, 0, 5, 0.14);
  text-align: right;
}

.venn__mid {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24%;
  transform: translate(-50%, -50%);
  font: 600 clamp(11px, 1.05vw, 13px)/1.3 var(--display);
  letter-spacing: 0.02em;
  text-align: center;
}

@supports (animation-timeline: view()) {
  .venn__ai {
    animation: venn-in-left linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
  }

  .venn__hi {
    animation: venn-in-right linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
  }

  .venn__mid {
    animation: venn-mid linear both;
    animation-timeline: view();
    animation-range: entry 20% cover 45%;
  }
}

/* The same movement driven by site.js from the scroll position, for browsers
   without scroll-driven animations (Firefox, Safari before 26). --venn-p runs
   from 0 (apart) to 1 (overlapping); without the script it stays 1. */
.venn-js .venn__ai {
  transform: translateX(calc((1 - var(--venn-p, 1)) * -22%));
}

.venn-js .venn__hi {
  transform: translateX(calc((1 - var(--venn-p, 1)) * 22%));
}

.venn-js .venn__mid {
  opacity: calc((var(--venn-p, 1) - 0.5) * 2);
}

@keyframes venn-in-left {
  from {
    transform: translateX(-22%);
  }

  to {
    transform: none;
  }
}

@keyframes venn-in-right {
  from {
    transform: translateX(22%);
  }

  to {
    transform: none;
  }
}

@keyframes venn-mid {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.approach__text .h2 {
  margin-top: 14px;
}

.lede {
  max-width: 28em;
  margin-top: 22px;
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  line-height: 1.45;
}

/* Two columns need about 900 px before the overlap label fits; below that the
   diagram sits above the text at full width. */
@media (max-width: 899px) {
  .approach__in {
    grid-template-columns: 1fr;
  }

  .venn__mid {
    width: 28%;
  }
}

/* On narrow phones the overlap of two 62.5 % circles is only ~80 px wide, too
   narrow for its label: larger circles widen it to ~115 px, and the box grows
   with them so they do not hang over the text below. */
@media (max-width: 420px) {
  .venn {
    aspect-ratio: 100 / 68;
  }

  .venn__c {
    width: 68%;
    font-size: 14px;
  }

  .venn__ai {
    padding-left: 9%;
  }

  .venn__hi {
    padding-right: 3%;
  }

  .venn__mid {
    width: 34%;
    font-size: 10px;
  }
}

/* ------------------------------------------------------------- voices --- */

.voices {
  background: var(--night);
  color: #fff;
}

.voices .eyebrow {
  color: var(--night-text);
}

.feature {
  max-width: 1040px;
  margin: 28px 0 0;
}

.feature blockquote,
.quote blockquote {
  margin: 0;
}

/* The opening mark hangs in the margin so the text edge stays straight. */
.feature p {
  font: italic 300 clamp(1.65rem, 3.4vw, 3rem)/1.18 var(--serif);
  letter-spacing: -0.01em;
  text-indent: -0.42em;
}

.feature .mark {
  color: var(--red);
}

.feature figcaption,
.quote figcaption {
  margin-top: 26px;
  font: 500 15px/1.4 var(--display);
  color: var(--night-text);
}

.feature figcaption b,
.quote figcaption b {
  display: block;
  font-weight: 700;
  color: #fff;
}

.voices__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px clamp(32px, 5vw, 80px);
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.quote {
  margin: 0;
}

.quote p {
  font-size: 19px;
  line-height: 1.55;
  color: #E6E7E9;
}

.quote p + p {
  margin-top: 0.8em;
}

@media (max-width: 799px) {
  .voices__grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------- about --- */

.about {
  padding-bottom: var(--section);
}

.about__img {
  margin: 0;
}

.about__img img {
  width: 100%;
  max-height: 640px;
  aspect-ratio: 1600 / 666;
  object-fit: cover;
  object-position: 78% 30%;
}

.about__img .caption {
  max-width: var(--max);
  margin: 10px auto 0;
  padding-inline: var(--gutter);
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 32px clamp(32px, 6vw, 96px);
  padding-top: clamp(48px, 6vw, 88px);
}

.about__grid .h2 {
  margin-top: 14px;
}

.about__lead {
  margin-top: 18px;
  font: 650 clamp(1.25rem, 1.8vw, 1.6rem)/1.3 var(--display);
  font-stretch: 104%;
}

.about__body p {
  max-width: 34em;
  font-size: 19px;
  line-height: 1.6;
}

.about__body p + p {
  margin-top: 1em;
}

/* A red Archivo drop cap opens the story. */
.about__body p:first-child::first-letter {
  float: left;
  margin: 0.06em 0.08em 0 0;
  font: 850 4.1em/0.8 var(--display);
  font-stretch: 112%;
  color: var(--red);
}

@media (max-width: 799px) {
  .about__grid {
    grid-template-columns: 1fr;
  }

  .about__img img {
    aspect-ratio: 4 / 3;
  }
}

/* ------------------------------------------------------------- contact --- */

.contact {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: start;
  gap: 48px clamp(32px, 6vw, 112px);
}

.contact__title {
  margin: 16px 0 24px;
  font-weight: 860;
  font-stretch: 115%;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.contact__intro > p {
  max-width: 26em;
  font-size: 19px;
}

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

.direct li {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: baseline;
  gap: 12px;
  font: 600 17px/1.3 var(--display);
  overflow-wrap: anywhere;
}

.direct span {
  font: 600 12px/1 var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
}

/* Both links get a 44 px tap height without moving the lines apart. */
.direct a {
  display: inline-block;
  margin: -12px 0;
  padding: 12px 0;
  text-decoration-color: var(--line);
  text-underline-offset: 4px;
}

.direct a:hover {
  text-decoration-color: var(--red);
}

.contact__photo {
  margin: 40px 0 0;
}

.contact__photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 80% 35%;
}

.form {
  position: relative;
  display: grid;
  gap: 20px;
  padding: clamp(22px, 3vw, 40px);
  background: var(--paper);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.field label {
  font: 600 14px/1.2 var(--display);
}

.field label small {
  font-weight: 500;
  font-size: 1em;
  color: var(--grey);
}

.field input,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--field-line);
  border-radius: 2px;
  background: var(--surface);
  color: var(--ink);
  font: 400 17px/1.4 var(--serif);
}

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

.field input::placeholder,
.field textarea::placeholder {
  color: #6B6C6F;
  opacity: 1;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--ink);
  outline: 2px solid var(--ink);
  outline-offset: 0;
}

/* Shown by site.js when the contact service sends the visitor back with
   ?error=1 or ?error=2 (to #contact). It sits at the top of the section,
   across both columns, because that is where #contact lands on every screen;
   inside the form it was a screen below the landing point on phones. */
.contact__grid > .form__message {
  grid-column: 1 / -1;
}

.form__message {
  padding: 12px 14px;
  border-left: 3px solid var(--red);
  background: var(--surface);
  font: 600 15px/1.4 var(--display);
  color: var(--red-press);
}

.form__note {
  font: 400 14px/1.5 var(--display);
  color: var(--grey);
}

.form__note a {
  display: inline-block;
  margin: -12px 0;
  padding: 12px 0;
  color: var(--ink);
  text-underline-offset: 3px;
}

/* Spam trap. Present in the markup for bots to fill in, invisible and out of
   reach for people: the service drops any post that arrives with it set. */
.form__trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 899px) {
  .contact__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 499px) {
  .form__row {
    grid-template-columns: 1fr;
  }

  .form .btn {
    width: 100%;
  }
}

/* ------------------------------------------------------------ thank you --- */

.thanks {
  padding-block: clamp(56px, 10vw, 140px) clamp(72px, 12vw, 168px);
}

.thanks__title {
  margin: 18px 0 24px;
  font-weight: 860;
  font-stretch: 115%;
  font-size: clamp(3rem, 9vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.thanks__text {
  max-width: 28em;
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.45;
}

.thanks .arrow-link {
  display: inline-block;
  margin-top: 32px;
}

/* -------------------------------------------------------------- privacy --- */

.legal {
  padding-block: clamp(56px, 10vw, 140px) clamp(72px, 12vw, 168px);
}

.legal__title {
  margin: 18px 0 24px;
  font-weight: 860;
  font-stretch: 115%;
  font-size: clamp(3rem, 9vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.legal__lead {
  max-width: 28em;
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.45;
}

.legal__body {
  max-width: 40em;
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid var(--line);
}

.legal__body h2 {
  margin: 40px 0 12px;
  font-weight: 700;
  font-stretch: 108%;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.2;
}

.legal__body h2:first-child {
  margin-top: 0;
}

.legal__body p + p {
  margin-top: 14px;
}

.legal__body a {
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.legal__body .legal__date {
  margin-top: 40px;
  font: 400 14px/1.5 var(--display);
  color: var(--grey);
}

/* --------------------------------------------------------------- footer --- */

.foot {
  padding-block: 48px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.foot__grid {
  display: grid;
  grid-template-columns: auto repeat(3, minmax(0, 1fr));
  gap: 28px 48px;
  font: 400 14px/1.6 var(--display);
  color: var(--grey);
}

.foot__grid img {
  width: auto;
  height: 36px;
}

.foot__grid a {
  display: inline-block;
  margin: -12px 0;
  padding: 12px 0;
  color: var(--ink);
  text-underline-offset: 3px;
}

@media (max-width: 899px) {
  .foot__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 499px) {
  .foot__grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------- forced colours --- */

/* Windows high-contrast mode replaces background colours, which would erase
   the menu bars (they are drawn as backgrounds). */
@media (forced-colors: active) {
  .menu-btn span {
    background: CanvasText;
  }
}

/* ---------------------------------------------------------- reduced motion --- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
