@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/fonts/bricolage-grotesque.woff2") format("woff2-variations");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("assets/fonts/instrument-sans.woff2") format("woff2-variations");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo.woff2") format("woff2-variations");
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 75% 125%;
  font-display: swap;
}

@font-face {
  font-family: "Archivo Black";
  src: url("assets/fonts/archivo-black.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  /* the actual brand: paper, true black, one crimson */
  --paper: #f2f1ef;
  --paper-lift: #fbfbfa;
  --paper-sink: #e4e3e0;
  --umber: #0b0b0c;
  --umber-line: #272729;
  --ink: #0c0c0d;
  --ink-2: #45454a;
  --ink-3: #78787f;
  --line: #dcdbd8;
  --line-soft: #e7e6e3;

  /* brand crimson, sampled from the logo */
  --clay: #e9114c;
  --clay-deep: #c20c3e;
  --clay-lift: #ff4874;

  --display: "Bricolage Grotesque", "Archivo Black", Arial, sans-serif;
  --wordmark: "Archivo Black", Arial, sans-serif;
  --sans: "Instrument Sans", -apple-system, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1340px;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.4, 0.5, 1);

  --z-grain: 90;
  --z-head: 40;

  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* iOS 26 falls back to white where the root background is transparent */
  background-color: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.06rem);
  font-weight: 400;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

/* grain, so the flat surfaces have tooth */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.28'/%3E%3C/svg%3E");
}

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

/* Photographs are wrapped in <picture> so a WebP can be offered first. The
   wrapper must not become a layout box of its own, or every flex and grid
   parent would suddenly be laying out the picture instead of the image. */
picture {
  display: contents;
}

figure,
blockquote {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

/* uppercase is a display device, applied deliberately */
.hero__title,
.page-head__title,
.rule-head h2,
.enquire h2,
.offer__row h3,
.dossier__head h2,
.lost h1 {
  text-transform: uppercase;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--paper-lift);
}

.skip:focus {
  left: 0.75rem;
  top: 0.75rem;
}

.stop {
  color: var(--clay);
}

/* ---------- reveal ---------- */

/* an animation, not a transition, so hover transitions are never
   overridden by this rule */
.js .reveal {
  opacity: 0;
}

.js .reveal.is-in {
  animation: rise 0.8s var(--ease) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Motion is typed, not uniform. Copy rises, headlines clip up from a
   baseline, and photographs wipe open and settle. One curve throughout
   so the whole page still feels like one hand. */
.js .reveal--head.is-in {
  animation: head-rise 0.95s var(--ease) both;
}

@keyframes head-rise {
  from {
    opacity: 0;
    clip-path: inset(100% -4% -12% -4%);
    transform: translate3d(0, 12px, 0);
  }
  to {
    opacity: 1;
    clip-path: inset(-14% -4% -12% -4%);
    transform: none;
  }
}

.js .reveal--plate.is-in {
  animation: plate-open 1.05s var(--ease) both;
}

@keyframes plate-open {
  from {
    opacity: 0;
    clip-path: inset(14% 0 0 0);
    transform: scale(1.05);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: none;
  }
}

/* section rules draw themselves in brand crimson */
.rule-head {
  position: relative;
}

.rule-head::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
}

.js .rule-head.is-in::before {
  animation: draw 1s var(--ease) 0.12s both;
}

@keyframes draw {
  to {
    transform: scaleX(1);
  }
}

/* ---------- masthead ---------- */

/* Safari 26 (Liquid Glass) samples background-color and backdrop-filter
   set DIRECTLY on a sticky/fixed element to tint its floating toolbar,
   and leaves a transparent strip above the header when it does. The fix
   is to keep the sticky parent itself transparent and move every visual
   property onto an absolutely-positioned child: Safari's sampler does
   not read the child, so no gap is produced. theme-color no longer
   affects this in Safari 26. */
.masthead {
  position: sticky;
  top: 0;
  z-index: var(--z-head);
  background-color: transparent;
  /* extend into the area behind the floating URL pill */
  padding-top: env(safe-area-inset-top, 0px);
}

.masthead__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-color: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s ease;
}

.masthead.is-stuck .masthead__bg {
  border-bottom-color: var(--line);
}

.masthead__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  min-height: 78px;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-right: auto;
}

.mark__glyph {
  display: grid;
  place-items: center;
  width: 24px;
  height: 27px;
  color: var(--clay);
  transition: transform 0.5s var(--spring);
}

.mark:hover .mark__glyph {
  transform: translateY(-2px);
}

.mark__glyph svg {
  width: 100%;
  height: 100%;
}

.mark__text {
  font-family: var(--wordmark);
  font-size: 1.16rem;
  letter-spacing: 0.005em;
  white-space: nowrap;
  text-transform: uppercase;
}

.mark__text em {
  font-style: normal;
  color: var(--clay);
  font-size: 0.78em;
  padding-inline: 0.34em;
}

.nav {
  display: flex;
  gap: clamp(1.4rem, 2.6vw, 2.4rem);
}

.nav a {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  padding-block: 0.35rem;
  color: var(--ink-2);
  transition: color 0.3s ease;
}

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

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}

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

.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.masthead__cta {
  position: relative;
  padding: 0.6rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    transform 0.3s var(--spring);
}

.masthead__cta:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper-lift);
}

.masthead__cta:active {
  transform: scale(0.97);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 1.5px;
  width: 22px;
  margin-inline: auto;
  background: var(--ink);
  transition: transform 0.45s var(--spring);
}

.burger[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.burger[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

.drawer {
  position: relative;
  z-index: 1;
  display: none;
  border-top: 1px solid transparent;
  padding-inline: var(--gutter);
  /* collapsed by height rather than [hidden], so it can animate */
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    max-height 0.45s var(--ease),
    opacity 0.28s ease,
    border-color 0.3s ease,
    visibility 0s linear 0.45s;
}

.drawer.is-open {
  max-height: min(80vh, 40rem);
  opacity: 1;
  visibility: visible;
  border-top-color: var(--line);
  transition:
    max-height 0.5s var(--ease),
    opacity 0.3s ease 0.05s,
    border-color 0.3s ease,
    visibility 0s;
}

.drawer__pad {
  padding-block: 0.5rem max(2rem, env(safe-area-inset-bottom, 0px));
}

/* each row settles in just after the panel opens */
.drawer a {
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition:
    opacity 0.35s var(--ease),
    transform 0.4s var(--ease);
}

.drawer.is-open a {
  opacity: 1;
  transform: none;
}

.drawer.is-open a:nth-child(1) { transition-delay: 0.10s; }
.drawer.is-open a:nth-child(2) { transition-delay: 0.16s; }
.drawer.is-open a:nth-child(3) { transition-delay: 0.22s; }
.drawer.is-open a:nth-child(4) { transition-delay: 0.28s; }
.drawer.is-open a:nth-child(5) { transition-delay: 0.34s; }

.drawer a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.9rem;
}

.drawer a span:last-child {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--ink-3);
}

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

.hero {
  position: relative;
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  min-height: min(80dvh, 780px);
  max-width: none;
  padding-right: 0;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px), calc((100% - var(--wrap)) / 2 + var(--gutter)));
}

.hero__copy {
  position: relative;
  z-index: 2;
  padding-block: clamp(1.5rem, 4vw, 3rem);
}

.tagline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  padding-bottom: clamp(1.25rem, 2.5vw, 2rem);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-3);
}

.tagline span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.tagline span:first-child::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: var(--clay);
}

.tagline__place {
  margin-left: auto;
}

.hero__title {
  font-size: clamp(2.5rem, 5.6vw, 5.6rem);
  line-height: 0.9;
  letter-spacing: -0.042em;
  text-wrap: balance;
}

.hero__title em {
  font-style: normal;
  color: var(--clay);
}

.hero__lede {
  max-width: 42ch;
  padding-top: clamp(1.25rem, 2.5vw, 2rem);
  color: var(--ink-2);
  font-size: clamp(1rem, 0.96rem + 0.3vw, 1.16rem);
  line-height: 1.6;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
}

.hero__actions .button {
  margin-top: 0;
}

.link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding-block: 0.3rem;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--clay);
  transition: gap 0.4s var(--spring);
}

.link::after {
  content: "";
  width: 0.95em;
  height: 0.95em;
  background: currentColor;
  -webkit-mask: var(--arrow) center / contain no-repeat;
  mask: var(--arrow) center / contain no-repeat;
  transition: transform 0.4s var(--spring);
}

.link:hover::after {
  transform: translateX(4px);
}

.link::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0.28;
  transform-origin: left;
  transition: opacity 0.35s ease;
}

.link:hover::before {
  opacity: 0.7;
}

.link--quiet {
  color: var(--ink-2);
}

.hero__figure {
  position: relative;
  align-self: stretch;
  min-height: min(72dvh, 700px);
  overflow: hidden;
  background: var(--paper-sink);
}

/* a soft depth pass over the graded photograph */
.hero__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* the photograph is already graded, so this is only enough shadow to
     seat the crimson caption, not a second grade on top */
  background: linear-gradient(
    to top,
    rgba(9, 9, 10, 0.34) 0%,
    rgba(9, 9, 10, 0.06) 30%,
    rgba(9, 9, 10, 0) 55%
  );
}

.hero__figure figcaption {
  z-index: 2;
}

.hero__figure-inner {
  position: absolute;
  inset: 0;
  overflow: hidden;
  animation: plate-in 1.3s var(--ease) both;
}

.hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  animation: drift 22s ease-in-out infinite alternate;
}

@keyframes plate-in {
  from {
    clip-path: inset(0 0 100% 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes drift {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.11);
  }
}

.hero__figure figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  display: grid;
  gap: 0.15rem;
  padding: 1.1rem 1.4rem;
  background: var(--clay);
  color: #fff;
  font-size: 0.86rem;
  animation: rise 0.9s var(--ease) 0.9s both;
}

.hero__figure-place {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.hero__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: clamp(1.25rem, 2.5vw, 2rem);
  font-size: 0.88rem;
  color: var(--ink-3);
}

.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.hero__scroll::after {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: var(--ink-3);
  transform-origin: left;
  animation: sweep 2.4s var(--ease) infinite;
}

@keyframes sweep {
  0% {
    transform: scaleX(0);
    opacity: 0;
  }
  40% {
    transform: scaleX(1);
    opacity: 1;
  }
  100% {
    transform: scaleX(1);
    opacity: 0;
  }
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-inline: var(--gutter);
  }

  .hero__figure {
    min-height: clamp(280px, 52vw, 420px);
    margin-inline: calc(-1 * var(--gutter));
  }
}

/* ---------- section heads ---------- */

.rule-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1rem, 4vw, 4rem);
  align-items: baseline;
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line);
}

.rule-head h2 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
}

.rule-head p {
  max-width: 46ch;
  color: var(--ink-3);
  text-wrap: pretty;
}

.rule-head--pale {
  border-top-color: var(--umber-line);
}

.rule-head--pale h2 {
  color: var(--paper);
}

.rule-head--pale p {
  color: color-mix(in srgb, var(--paper) 60%, transparent);
}

/* ---------- case index ---------- */

.case__index {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.92rem;
  color: var(--ink-3);
}

.case__index span {
  color: var(--clay);
  font-weight: 500;
}

/* ---------- voice ---------- */

.voice {
  padding-block: clamp(4rem, 9vw, 8rem);
  background: var(--paper-lift);
  border-block: 1px solid var(--line-soft);
}

.voice__inner {
  max-width: 1060px;
}

.voice blockquote p {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(1.5rem, 3.2vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.022em;
  text-indent: -0.36em;
  text-wrap: pretty;
}

.voice blockquote p::before {
  content: "\201C";
  color: var(--clay);
}

.voice blockquote p::after {
  content: "\201D";
  color: var(--clay);
}

.voice blockquote em {
  font-style: normal;
  color: var(--clay-deep);
}

.voice__credit {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 1rem;
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
  font-size: 0.95rem;
  color: var(--ink-3);
}

.voice__name {
  font-weight: 500;
  color: var(--ink);
}

/* ---------- practice / offer rows ---------- */

.practice,
.wider {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--umber);
  color: var(--paper);
}

.offer {
  padding-top: clamp(1rem, 3vw, 2rem);
}

.offer__row {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1rem, 3vw, 3rem);
  align-items: baseline;
  padding-block: clamp(1.75rem, 3.2vw, 2.6rem);
  border-bottom: 1px solid var(--umber-line);
  transition: padding-left 0.55s var(--ease);
}

.offer__row:hover {
  padding-left: 0.7rem;
}

.offer__num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--clay-lift);
}

.offer__row h3 {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

.offer__row p {
  max-width: 50ch;
  color: color-mix(in srgb, var(--paper) 68%, transparent);
  text-wrap: pretty;
}

/* ---------- journal ---------- */

.journal {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.journal__grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: clamp(1.75rem, 3.5vw, 3.25rem);
  padding-top: clamp(2rem, 4vw, 3.25rem);
  align-items: start;
}

.journal__grid .post:first-child {
  grid-row: span 2;
}

.journal__grid .post:first-child .post__plate img {
  aspect-ratio: 5 / 4;
}

.journal__grid .post:first-child h3 {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
}

.journal__grid .post:not(:first-child) {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1.25rem;
  align-items: start;
  padding-bottom: clamp(1.25rem, 2vw, 1.75rem);
  border-bottom: 1px solid var(--line-soft);
}

.journal__grid .post:not(:first-child) .post__plate {
  grid-row: span 3;
}

.journal__grid .post:not(:first-child) .post__plate img {
  aspect-ratio: 1;
}

.journal__grid .post:not(:first-child) .post__meta,
.journal__grid .post:not(:first-child) h3,
.journal__grid .post:not(:first-child) .post__body {
  grid-column: 2;
}

.post__plate {
  display: block;
  overflow: hidden;
  background: var(--paper-sink);
}

.post__plate img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.post:hover .post__plate img {
  transform: scale(1.045);
}

.post__meta {
  display: flex;
  gap: 1rem;
  padding-block: 1rem 0.5rem;
  font-size: 0.88rem;
  color: var(--ink-3);
}

.post__meta span:first-child {
  color: var(--clay);
  font-weight: 500;
}

.post h3 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.015em;
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  line-height: 1.14;
  text-wrap: balance;
}

.post h3 a {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.5s var(--ease);
}

.post h3 a:hover,
.post h3 a:focus-visible {
  background-size: 100% 1px;
}

.post__body {
  padding-top: 0.6rem;
  color: var(--ink-3);
  font-size: 0.96rem;
  text-wrap: pretty;
}

/* ---------- case study page shell ---------- */

.case-page {
  display: block;
}

.case-hero__copy {
  display: block;
}

/* ---------- enquire ---------- */

.enquire {
  padding-block: clamp(4rem, 9vw, 8rem);
  border-top: 1px solid var(--line);
}

.enquire__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}

.enquire h2 {
  font-size: clamp(2.1rem, 5.4vw, 4.8rem);
  line-height: 0.99;
  letter-spacing: -0.03em;
}

.enquire h2 em {
  font-style: normal;
  color: var(--clay);
}

.enquire__side p {
  max-width: 42ch;
  color: var(--ink-2);
  text-wrap: pretty;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.6rem;
  padding: 0.95rem 1.75rem;
  border-radius: 100px;
  background: var(--ink);
  color: var(--paper-lift);
  font-size: 0.98rem;
  font-weight: 500;
  transition:
    background 0.35s ease,
    transform 0.3s var(--spring);
}

.button::after {
  content: "";
  width: 1em;
  height: 1em;
  background: currentColor;
  -webkit-mask: var(--arrow) center / contain no-repeat;
  mask: var(--arrow) center / contain no-repeat;
  transition: transform 0.4s var(--spring);
}

.button:hover {
  background: var(--clay-deep);
}

.button:hover::after {
  transform: translateX(4px);
}

.button:active {
  transform: scale(0.975);
}

.enquire__note {
  padding-top: 1.35rem;
  font-size: 0.88rem;
  color: var(--ink-3);
}

/* ---------- foot ---------- */

.foot {
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: calc(clamp(2.5rem, 5vw, 4rem) + env(safe-area-inset-bottom, 0px));
  background: var(--umber);
  color: var(--paper);
}

.foot__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.62fr 0.86fr 1fr;
  gap: clamp(1.75rem, 4vw, 4rem);
  align-items: start;
}

/* the footer carries the same lockup as the header, glyph and all */
.mark--foot {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-right: 0;
  padding-bottom: 0.85rem;
}

.mark--foot .mark__text {
  font-size: 1.3rem;
  color: var(--paper);
}

.mark--foot .mark__glyph {
  width: 22px;
  height: 25px;
  color: var(--clay);
}

.foot__brand p {
  max-width: 30ch;
  color: color-mix(in srgb, var(--paper) 62%, transparent);
  font-size: 0.96rem;
}

.foot__nav {
  display: grid;
  gap: 0.55rem;
  font-size: 0.96rem;
}

.foot__nav a {
  color: color-mix(in srgb, var(--paper) 78%, transparent);
  transition: color 0.3s ease;
}

.foot__nav a:hover {
  color: var(--clay-lift);
}

.foot__meta {
  display: grid;
  gap: 0.55rem;
  justify-items: end;
  text-align: right;
  font-size: 0.88rem;
  color: color-mix(in srgb, var(--paper) 55%, transparent);
}

.foot__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  max-width: var(--wrap);
  margin-inline: auto;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: 1.25rem var(--gutter) 0;
  border-top: 1px solid var(--umber-line);
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--paper) 50%, transparent);
}

.foot__legal a:hover {
  color: var(--clay-lift);
}

.foot__legal span:last-child {
  margin-left: auto;
}

.foot__nav-label {
  color: color-mix(in srgb, var(--paper) 42%, transparent);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* a button, because it opens the banner rather than going anywhere, but it
   should read as one of the legal links beside it */
.foot__cookies {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: color 0.3s ease;
}

.foot__cookies:hover {
  color: var(--clay-lift);
}

/* ---------- cookie consent ---------- */

.consent {
  position: fixed;
  z-index: 80;
  right: var(--gutter);
  bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  left: var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  max-width: 46rem;
  margin-inline: auto;
  padding: 1.15rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-lift);
  box-shadow: 0 18px 50px -24px rgb(11 11 12 / 45%);
  opacity: 0;
  transform: translateY(0.75rem);
  transition:
    opacity 0.3s ease,
    transform 0.35s var(--ease);
}

.consent.is-in {
  opacity: 1;
  transform: none;
}

.consent__copy {
  flex: 1 1 22rem;
  margin: 0;
  color: var(--ink-2);
  font-size: 0.92rem;
  line-height: 1.5;
}

.consent__copy a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.consent__actions {
  display: flex;
  gap: 0.6rem;
}

/* accept and decline carry the same weight on purpose: a decline that is
   harder to find than an accept is not a real choice */
.consent__btn {
  padding: 0.6rem 1.25rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.consent__btn:hover {
  background: color-mix(in srgb, var(--ink) 8%, transparent);
}

.consent__btn--yes {
  background: var(--ink);
  color: var(--paper);
}

.consent__btn--yes:hover {
  background: var(--clay);
  border-color: var(--clay);
  color: var(--paper);
}

@media (max-width: 560px) {
  .consent {
    right: 0.75rem;
    left: 0.75rem;
    padding: 1rem;
  }

  .consent__actions {
    width: 100%;
  }

  .consent__btn {
    flex: 1;
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .consent {
    transition: none;
  }
}

/* ---------- interior page heads ---------- */

.page-head {
  padding-top: clamp(2.5rem, 5.5vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.page-head__title {
  max-width: 19ch;
  font-size: clamp(2.1rem, 5.9vw, 5.6rem);
  line-height: 0.97;
  letter-spacing: -0.032em;
  text-wrap: balance;
}

.page-head__title em {
  font-style: normal;
  color: var(--clay);
}

.page-head__foot {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  padding-top: clamp(2rem, 4vw, 3rem);
}

.page-head__lede {
  max-width: 46ch;
  color: var(--ink-2);
  font-size: clamp(1.02rem, 0.97rem + 0.35vw, 1.22rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.band-plate {
  overflow: hidden;
}

.band-plate img {
  height: clamp(260px, 46vh, 540px);
  object-fit: cover;
}

/* ---------- dossier ---------- */

.dossier {
  padding-block: clamp(3rem, 7vw, 6rem);
  border-top: 1px solid var(--line);
}

.dossier--tint {
  background: var(--paper-lift);
}

.dossier__head h2 {
  padding-block: 0.8rem 0.9rem;
  font-size: clamp(2rem, 4.6vw, 3.8rem);
  letter-spacing: -0.028em;
}

.dossier__lede {
  max-width: 50ch;
  color: var(--ink-2);
  font-size: clamp(1.02rem, 0.97rem + 0.3vw, 1.18rem);
  text-wrap: pretty;
}

.dossier__plate {
  margin-top: clamp(2rem, 4vw, 3.25rem);
  overflow: hidden;
  background: var(--paper-sink);
}

.spec {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  margin: 0;
  padding-block: clamp(1.75rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--line-soft);
}

.spec dt {
  font-size: 0.86rem;
  color: var(--ink-3);
  padding-bottom: 0.45rem;
}

.spec dd {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.25;
}

.spec--stack {
  grid-template-columns: 1fr;
  gap: 1.6rem;
  border-bottom: 0;
  padding-top: 0;
}

.spec--stack dd {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.dossier__body {
  padding-top: clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

.dossier__body h3 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.015em;
  font-size: clamp(1.75rem, 3.2vw, 2.8rem);
  text-wrap: balance;
}

.dossier__body p {
  color: var(--ink-2);
  max-width: 48ch;
  text-wrap: pretty;
}

.points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding-top: clamp(2.25rem, 4vw, 3.25rem);
}

.points--wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.points li {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.points h4 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 0.45rem;
  font-size: 1.3rem;
}

.points p {
  color: var(--ink-3);
  font-size: 0.96rem;
  text-wrap: pretty;
}

.points--pale li {
  border-top-color: var(--umber-line);
}

.points--pale h4 {
  color: var(--paper);
}

.points--pale p {
  color: color-mix(in srgb, var(--paper) 64%, transparent);
}

.provenance {
  max-width: 66ch;
  padding-top: clamp(2rem, 3.5vw, 3rem);
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ink-3);
}

/* ---------- services detail ---------- */

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

.detail__inner {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(1.75rem, 5vw, 5rem);
  align-items: start;
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

.detail__copy h2 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.015em;
  padding-block: 0.9rem 1.15rem;
  font-size: clamp(1.85rem, 3.4vw, 3rem);
  max-width: 21ch;
  text-wrap: balance;
}

.detail__body {
  max-width: 50ch;
  color: var(--ink-2);
  text-wrap: pretty;
}

.detail__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  padding-top: 1.25rem;
}

.checklist {
  padding-top: 0.4rem;
}

.checklist li {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  padding-block: 0.8rem;
  border-bottom: 1px solid var(--line-soft);
  font-size: 1rem;
  color: var(--ink-2);
}

.checklist li::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--clay);
}

/* ---------- process ---------- */

.process {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--umber);
  color: var(--paper);
}

.steps {
  padding-top: clamp(1rem, 3vw, 2rem);
}

.steps li {
  display: grid;
  grid-template-columns: 3.5rem 9.5rem minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: baseline;
  padding-block: clamp(1.5rem, 3vw, 2.4rem);
  border-bottom: 1px solid var(--umber-line);
}

.steps__num {
  font-family: var(--display);
  font-size: 1.25rem;
  color: var(--clay-lift);
}

.steps__when {
  font-size: 0.88rem;
  color: color-mix(in srgb, var(--paper) 58%, transparent);
}

.steps h3 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.015em;
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
}

.steps p {
  color: color-mix(in srgb, var(--paper) 68%, transparent);
  max-width: 44ch;
  text-wrap: pretty;
}

.fit {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

/* ---------- journal page ---------- */

.lead-post {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(1.75rem, 4vw, 4rem);
  align-items: center;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.lead-post__plate {
  display: block;
  overflow: hidden;
  background: var(--paper-sink);
}

.lead-post__plate img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.lead-post__plate:hover img {
  transform: scale(1.035);
}

.lead-post__copy h2 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.015em;
  padding-block: 0.5rem 0.9rem;
  font-size: clamp(1.85rem, 3.4vw, 2.9rem);
  text-wrap: balance;
}

.lead-post__body {
  max-width: 44ch;
  color: var(--ink-2);
  padding-bottom: 1.1rem;
  text-wrap: pretty;
}

.archive {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
}

.filters button {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: none;
  color: var(--ink-2);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    transform 0.25s var(--spring);
}

.filters button:hover {
  border-color: var(--ink-3);
}

.filters button:active {
  transform: scale(0.96);
}

.filters button[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper-lift);
}

.stack {
  padding-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}

.stack li {
  border-bottom: 1px solid var(--line-soft);
}

.stack a {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr) 4.5rem;
  gap: 1rem 2rem;
  align-items: baseline;
  padding-block: clamp(1.1rem, 2.2vw, 1.7rem);
  transition: padding-left 0.5s var(--ease);
}

.stack a:hover {
  padding-left: 0.6rem;
}

.stack__topic {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--clay);
}

.stack__title {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.015em;
  font-size: clamp(1.2rem, 2.1vw, 1.7rem);
  line-height: 1.16;
}

.stack__time {
  justify-self: end;
  font-size: 0.88rem;
  color: var(--ink-3);
}

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

.origin {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.origin__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

.origin__body p {
  color: var(--ink-2);
  font-size: clamp(1.02rem, 0.97rem + 0.25vw, 1.12rem);
  text-wrap: pretty;
}

.split {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--umber);
  color: var(--paper);
}

.split__lede {
  max-width: 62ch;
  padding-block: clamp(1.5rem, 3vw, 2.5rem) 0;
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.28rem);
  line-height: 1.55;
  color: color-mix(in srgb, var(--paper) 80%, transparent);
  text-wrap: pretty;
}

.principles {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.offer--light .offer__row {
  border-bottom-color: var(--line-soft);
}

.offer--light .offer__num {
  color: var(--clay);
}

.offer--light .offer__row p {
  color: var(--ink-3);
}

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

.contact {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  padding-bottom: clamp(4rem, 8vw, 7rem);
  border-top: 1px solid var(--line);
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2.5vw, 2rem);
}

.field {
  display: block;
  padding-bottom: 1.4rem;
}

.field > span {
  display: block;
  padding-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-2);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: none;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.02rem;
  transition: border-color 0.3s ease;
}

.field textarea {
  resize: vertical;
  line-height: 1.6;
}

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

.field select {
  appearance: none;
  cursor: pointer;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-bottom-color: #9d3a2c;
}

.field__error {
  display: block;
  padding-top: 0.45rem;
  font-size: 0.86rem;
  color: #9d3a2c;
}

.form .button {
  border: 0;
  cursor: pointer;
  font-family: var(--sans);
}

.form__note {
  margin-top: 1.4rem;
  padding: 1rem 1.25rem;
  background: var(--paper-lift);
  border-left: 2px solid var(--clay);
  font-size: 0.96rem;
  color: var(--ink-2);
}

.form__note[data-tone="good"] {
  border-left-color: #1d7a4c;
}

.form__note[data-tone="bad"] {
  border-left-color: var(--clay-deep);
  color: var(--ink);
}

.form__small {
  padding-top: 1.15rem;
  font-size: 0.88rem;
  color: var(--ink-3);
}

.form__small a {
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* the honeypot: off-screen rather than display:none, since some bots skip
   anything that is not rendered at all */
.form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- 404 ---------- */

.lost {
  display: grid;
  place-items: center;
  min-height: 62dvh;
  padding-block: clamp(3rem, 8vw, 7rem);
  text-align: center;
}

.lost h1 {
  font-size: clamp(2.4rem, 6.5vw, 6rem);
  letter-spacing: -0.03em;
}

.lost h1 em {
  font-style: normal;
  color: var(--clay);
}

.lost p {
  max-width: 44ch;
  padding-top: 1.25rem;
  color: var(--ink-2);
  text-wrap: pretty;
}

.lost__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.25rem;
  padding-top: 1.75rem;
}

/* ---------- responsive ---------- */

/* Stacked layouts: a ratio chosen for a narrow column becomes a wall
   of image once it spans the full width. Flatten it and cap the height
   so no photograph ever dominates the screen. */
@media (max-width: 1080px) {
  .journal__grid .post:first-child .post__plate img,
  .lead-post__plate img,
  .post__plate img,
  .shots__item img,
  .dossier__plate img,
  .band-plate img {
    aspect-ratio: 16 / 10;
    max-height: 48vh;
    object-fit: cover;
  }

  .case-hero__plate img {
    max-height: 52vh;
  }
}

@media (max-width: 700px) {
  .journal__grid .post:first-child .post__plate img,
  .lead-post__plate img,
  .post__plate img,
  .shots__item img,
  .dossier__plate img,
  .band-plate img {
    aspect-ratio: 16 / 9;
    max-height: 38vh;
  }

  .case-hero__plate img {
    max-height: 40vh;
  }
}

@media (max-width: 1080px) {
  .hero__foot,
  .case__inner,
  .enquire__inner,
  .rule-head,
  .page-head__foot,
  .dossier__body,
  .detail__inner,
  .lead-post,
  .origin__body,
  .contact {
    grid-template-columns: 1fr;
  }

  .case--flip .case__plate {
    order: 0;
  }

  .offer__row {
    grid-template-columns: 3.25rem 1fr;
  }

  .offer__row p {
    grid-column: 2;
  }

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

  .journal__grid .post:first-child {
    grid-row: auto;
  }

  .points,
  .points--wide,
  .spec {
    grid-template-columns: 1fr 1fr;
  }

  .steps li {
    grid-template-columns: 3.25rem 1fr;
  }

  .steps__when,
  .steps h3,
  .steps p {
    grid-column: 2;
  }

  .stack a {
    grid-template-columns: 1fr 4.5rem;
  }

  .stack__topic {
    grid-column: 1 / -1;
  }

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

  .foot__meta {
    grid-column: 1 / -1;
    justify-items: start;
    text-align: left;
  }
}

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

  .burger {
    display: flex;
  }

  .drawer {
    display: block;
  }

  .masthead__inner {
    min-height: 66px;
  }

  .tagline__place {
    margin-left: 0;
  }

  .hero__plate figcaption span:last-child {
    margin-left: 0;
  }

  .ledger__list span:last-child {
    margin-left: 0;
    width: 100%;
  }

  .journal__grid .post:not(:first-child) {
    grid-template-columns: 6rem 1fr;
  }

  .points,
  .points--wide,
  .spec,
  .spec--stack,
  .form__row {
    grid-template-columns: 1fr;
  }

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

  .foot__legal span:last-child {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .drawer,
  .drawer a {
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal,
  .js .reveal--head.is-in,
  .js .reveal--plate.is-in,
  .js .rule-head.is-in::before {
    opacity: 1;
    clip-path: none;
    animation: none;
  }

  .rule-head::before {
    transform: scaleX(1);
  }
}

/* ---------- article prose ---------- */

.prose {
  max-width: 68ch;
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

.prose p {
  color: var(--ink-2);
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  line-height: 1.72;
  padding-bottom: 1.4rem;
  text-wrap: pretty;
}

.prose h2 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.015em;
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  padding-block: 1.4rem 0.9rem;
}

/* ---------- questions people actually ask ---------- */

.faq {
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

.faq__list {
  display: grid;
  gap: 0;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line);
}

.faq__item {
  padding-block: clamp(1.5rem, 2.6vw, 2.1rem);
  border-bottom: 1px solid var(--line);
}

.faq__item h3 {
  max-width: 40ch;
  font-family: var(--sans);
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.012em;
  padding-bottom: 0.7rem;
}

.faq__item p {
  max-width: 68ch;
  color: var(--ink-2);
  font-size: clamp(1rem, 0.97rem + 0.2vw, 1.1rem);
  line-height: 1.7;
  text-wrap: pretty;
}

/* ---------- unwritten journal pieces, marked honestly ---------- */

.post__plate--draft {
  display: block;
  overflow: hidden;
  background: var(--paper-sink);
  opacity: 0.62;
}

.post__untitled {
  color: var(--ink-3);
}

.stack__row {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr) 4.5rem;
  gap: 1rem 2rem;
  align-items: baseline;
  padding-block: clamp(1.1rem, 2.2vw, 1.7rem);
}

.stack__row--draft .stack__topic {
  color: var(--ink-3);
}

.stack__row--draft .stack__title {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink-3);
}

.stack__row--draft .stack__time {
  font-style: normal;
  color: var(--ink-3);
}

@media (max-width: 1080px) {
  .stack__row {
    grid-template-columns: 1fr 4.5rem;
  }

  .stack__row .stack__topic {
    grid-column: 1 / -1;
  }
}

/* ---------- client row ---------- */

.clients {
  padding-block: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
}

.clients__label {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--ink-3);
  padding-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}

.clients__label::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: var(--clay);
}

/* three clients is a row, not a marquee: a loop would repeat a mark
   on screen. each logo is boxed and optically balanced, because their
   drawn weights differ far more than their pixel sizes do. */
.clients__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.clients__mark {
  display: grid;
  place-items: center;
  min-height: 4.5rem;
}

.clients__mark img {
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(1) brightness(0);
  opacity: 0.9;
  transition:
    opacity 0.4s var(--ease),
    transform 0.5s var(--ease);
}

.clients__mark:hover img {
  opacity: 1;
  transform: scale(1.03);
}

/* an SVG wordmark renders at its intrinsic size unless told otherwise,
   so this one is driven by width to sit at the same visual weight as
   the compact marks beside it */
.clients__mark--rb img {
  width: min(100%, 15.5rem);
  height: auto;
}

.clients__mark--pale img {
  max-height: 4.4rem;
}

.clients__mark--bryn img {
  max-height: 4.2rem;
}

@media (max-width: 700px) {
  .clients__row {
    grid-template-columns: 1fr;
    gap: 2rem;
    justify-items: center;
  }

  .clients__mark--rb img {
    max-width: min(100%, 15rem);
  }
}

/* ---------- portfolio showcase ---------- */

.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(3rem, 6vw, 5rem);
}

.tile {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  isolation: isolate;
}

.tile--wide {
  grid-column: 1 / -1;
}

.tile__media {
  display: block;
  overflow: hidden;
}

.tile__media img {
  width: 100%;
  height: clamp(230px, 30vw, 380px);
  object-fit: cover;
  /* dimmed by default so the label stays legible over busy, light
     case-study screenshots */
  filter: brightness(0.66) saturate(0.92);
  transition:
    transform 1.2s var(--ease),
    filter 0.6s var(--ease);
}

.tile--wide .tile__media img {
  height: clamp(280px, 40vw, 560px);
}

.tile:hover .tile__media img,
.tile:focus-visible .tile__media img {
  transform: scale(1.055);
  filter: brightness(0.52) saturate(0.92);
}

/* the panel slides up over the image on hover */
.tile__body {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  gap: 0.5rem;
  padding: clamp(2.75rem, 5vw, 4.5rem) clamp(1.25rem, 2.5vw, 2rem) clamp(1.25rem, 2.5vw, 2rem);
  background: linear-gradient(
    to top,
    rgba(8, 8, 9, 0.94) 0%,
    rgba(8, 8, 9, 0.86) 42%,
    rgba(8, 8, 9, 0.45) 78%,
    rgba(8, 8, 9, 0) 100%
  );
  transform: translateY(0);
  transition: transform 0.6s var(--ease);
}

.tile__index {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--clay-lift);
}

.tile__name {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1;
}

.tile__name i {
  font-style: normal;
  color: var(--clay-lift);
}

.tile__line {
  max-width: 40ch;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.92);
}

/* tags stay hidden until hover, so the tile reads as an image first */
.tile__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.55s var(--ease),
    opacity 0.45s var(--ease),
    margin-top 0.55s var(--ease);
}

.tile:hover .tile__tags,
.tile:focus-visible .tile__tags {
  max-height: 6rem;
  opacity: 1;
  margin-top: 0.35rem;
}

.tile__tags span {
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 100px;
  font-size: 0.78rem;
  white-space: nowrap;
}

/* ---------- case study pages ---------- */

.crumb {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  font-size: 0.9rem;
  color: var(--ink-3);
}

.crumb a {
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
  transition: border-color 0.35s ease;
}

.crumb a:hover {
  border-bottom-color: var(--clay);
}

.case-hero {
  padding-block: clamp(1.75rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
}

.case-hero__title {
  max-width: 18ch;
  font-size: clamp(2.1rem, 5.4vw, 5rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  text-wrap: balance;
}

.case-hero__lede {
  max-width: 52ch;
  padding-top: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--ink-2);
  font-size: clamp(1.02rem, 0.97rem + 0.3vw, 1.2rem);
  text-wrap: pretty;
}

.case-hero__plate {
  overflow: hidden;
  background: var(--paper-sink);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.case-hero__plate img {
  width: 100%;
  max-height: 76dvh;
  object-fit: cover;
}

.next-case {
  margin-top: clamp(3rem, 6vw, 5rem);
  background: var(--ink);
  color: var(--paper);
}

.next-case__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: clamp(2.25rem, 5vw, 4rem);
  transition: padding-left 0.55s var(--ease);
}

.next-case__inner:hover {
  padding-left: 1rem;
}

.next-case__label {
  font-size: 0.9rem;
  color: var(--clay-lift);
}

.next-case__name {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4.5vw, 3.6rem);
  text-transform: uppercase;
  letter-spacing: -0.035em;
}

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

  .tile__tags {
    max-height: 6rem;
    opacity: 1;
    margin-top: 0.35rem;
  }
}

.showcase-wrap {
  padding-top: clamp(1rem, 2vw, 2rem);
}

.showcase-wrap .showcase {
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}

/* =========================================================
   MOBILE CRAFT
   Small screens get their own type scale, touch sizing and
   rhythm rather than a squashed desktop layout.
   ========================================================= */

@media (max-width: 640px) {
  :root {
    --gutter: 1.5rem;
  }

  /* phones scroll faster than a desktop cursor: shorter travel and a
     quicker curve keep the cascade tight instead of straggling */
  .js .reveal.is-in {
    animation-duration: 0.55s;
  }

  .js .reveal--head.is-in {
    animation-duration: 0.6s;
  }

  .js .reveal--plate.is-in {
    animation-duration: 0.7s;
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translate3d(0, 14px, 0);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  /* --- type: lighter, tighter, fewer lines --- */

  .page-head {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .page-head__title {
    font-size: clamp(2rem, 9.5vw, 2.6rem);
    line-height: 0.98;
    letter-spacing: -0.035em;
  }

  .page-head__lede,
  .hero__lede {
    font-size: 1.02rem;
    line-height: 1.58;
  }

  .hero__title {
    font-size: clamp(2.1rem, 10.5vw, 3rem);
    letter-spacing: -0.038em;
  }

  /* long service headlines were 5 lines of heavy black */
  .detail__copy h2 {
    font-size: 1.45rem;
    line-height: 1.16;
    letter-spacing: -0.02em;
    max-width: none;
  }

  .rule-head h2,
  .enquire h2,
  .dossier__head h2,
  .case-hero__title {
    font-size: clamp(1.9rem, 8.5vw, 2.4rem);
  }

  .voice blockquote p {
    font-size: 1.3rem;
    line-height: 1.3;
    text-indent: 0;
  }

  .offer__row h3,
  .steps h3 {
    font-size: 1.35rem;
  }

  .tile__name {
    font-size: 1.65rem;
  }

  .next-case__name {
    font-size: 1.8rem;
  }

  /* --- touch: nothing interactive under 44px --- */

  .link,
  .foot__nav a,
  .crumb a,
  .post h3 a,
  .foot__legal a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .burger {
    width: 44px;
    height: 44px;
  }

  .filters button {
    min-height: 44px;
    padding-inline: 1.1rem;
  }

  .button {
    width: 100%;
    justify-content: center;
    min-height: 52px;
    padding-inline: 1.5rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .hero__actions .link {
    justify-content: center;
  }

  .mark {
    min-height: 44px;
  }

  /* --- rhythm: numbers inline, no wasted columns --- */

  .offer__row,
  .steps li {
    grid-template-columns: 1fr;
    gap: 0.4rem;
    padding-block: 1.5rem;
  }

  .offer__row:hover,
  .steps li:hover {
    padding-left: 0;
  }

  .offer__num,
  .steps__num {
    font-size: 0.95rem;
  }

  .offer__row h3,
  .offer__row p,
  .steps h3,
  .steps p,
  .steps__when {
    grid-column: 1;
  }

  .steps__when {
    order: -1;
  }

  /* spec reads as label/value pairs, not a cramped grid */
  .spec {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .spec > div {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    gap: 0.75rem;
    align-items: baseline;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--line-soft);
  }

  .spec dt {
    padding-bottom: 0;
  }

  .spec dd {
    font-size: 1rem;
  }

  .checklist li {
    padding-block: 0.95rem;
  }

  /* filters scroll rather than wrapping into a block */
  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    scroll-snap-type: x proximity;
  }

  .filters::-webkit-scrollbar {
    display: none;
  }

  .filters button {
    flex: none;
    scroll-snap-align: start;
  }

  .stack a,
  .stack__row {
    grid-template-columns: 1fr;
    gap: 0.3rem;
    padding-block: 1.25rem;
  }

  .stack__time {
    justify-self: start;
  }

  .journal__grid .post:not(:first-child) {
    grid-template-columns: 5rem 1fr;
    gap: 1rem;
  }

  .points li {
    padding-top: 0.9rem;
  }

  .case-hero__plate img {
    max-height: 46dvh;
  }

  .tile__media img,
  .tile--wide .tile__media img {
    height: clamp(200px, 56vw, 280px);
  }

  .tile__body {
    padding: 1.1rem;
  }

  .tile__line {
    font-size: 0.94rem;
  }

  .next-case__inner {
    padding-block: 2rem;
  }

  .next-case__inner:hover {
    padding-left: 0;
  }

  .form__row {
    gap: 0;
  }

  .voice,
  .practice,
  .process,
  .split,
  .enquire,
  .journal,
  .principles,
  .origin,
  .fit {
    padding-block: 3rem;
  }

  .marquee__track {
    gap: 1.5rem;
    animation-duration: 30s;
  }

  .hero__meta {
    font-size: 0.84rem;
  }

  .hero__scroll {
    display: none;
  }
}

/* very small phones */
@media (max-width: 360px) {
  :root {
    --gutter: 1.25rem;
  }

  .spec > div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .journal__grid .post:not(:first-child) {
    grid-template-columns: 1fr;
  }

  .journal__grid .post:not(:first-child) .post__plate {
    grid-row: auto;
  }

  .journal__grid .post:not(:first-child) .post__meta,
  .journal__grid .post:not(:first-child) h3,
  .journal__grid .post:not(:first-child) .post__body {
    grid-column: 1;
  }
}

/* ---------- enquiry page ---------- */

.enq {
  /* no bottom padding: the black panel runs straight into the black
     footer instead of leaving a pale stripe between two dark blocks */
  padding-block: clamp(2rem, 4vw, 3.5rem) 0;
}

.enq__panel {
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.enq__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

@media (min-width: 901px) {
  .enq__side {
    position: sticky;
    top: 6rem;
  }
}

.enq__title {
  font-size: clamp(2.2rem, 5.2vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  text-wrap: balance;
}

.enq__title em {
  font-style: normal;
  color: var(--clay);
}

.enq__lede {
  max-width: 40ch;
  padding-top: clamp(1rem, 2vw, 1.5rem);
  color: var(--ink-2);
  font-size: clamp(1.02rem, 0.97rem + 0.3vw, 1.16rem);
  line-height: 1.58;
  text-wrap: pretty;
}

.enq__steps {
  display: grid;
  gap: 0.25rem;
  padding-block: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 2.5vw, 1.75rem);
}

.enq__steps li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
  padding-block: 0.85rem;
  border-top: 1px solid var(--line-soft);
}

.enq__num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--clay);
}

.enq__step strong {
  display: block;
  font-weight: 600;
  padding-bottom: 0.15rem;
}

.enq__step {
  font-size: 0.96rem;
  color: var(--ink-3);
  text-wrap: pretty;
}

.enq__facts {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding-top: clamp(0.5rem, 1.5vw, 1rem);
}

.enq__facts > div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
}

.enq__facts dt {
  font-size: 0.88rem;
  color: var(--ink-3);
}

.enq__facts dd {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 500;
}

/* the form panel goes black: high contrast, on brand, and it stops
   the page reading as a washed-out grey slab */
.enq__panel {
  background: var(--umber);
  color: var(--paper);
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
}

.enq__panel .field > span {
  color: color-mix(in srgb, var(--paper) 72%, transparent);
}

.enq__panel .field input,
.enq__panel .field textarea {
  color: var(--paper);
  border-bottom-color: var(--umber-line);
}

.enq__panel .field input::placeholder,
.enq__panel .field textarea::placeholder {
  color: color-mix(in srgb, var(--paper) 32%, transparent);
}

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

.enq__panel .form__step {
  color: color-mix(in srgb, var(--paper) 62%, transparent);
}

.enq__panel .form__step:not(:first-child) {
  border-top-color: var(--umber-line);
}

.enq__panel .choice legend {
  color: color-mix(in srgb, var(--paper) 82%, transparent);
}

.enq__panel .choice__set span {
  background: transparent;
  border-color: var(--umber-line);
  color: color-mix(in srgb, var(--paper) 88%, transparent);
}

.enq__panel .choice__set label:hover span {
  border-color: color-mix(in srgb, var(--paper) 45%, transparent);
}

.enq__panel .choice__set input:checked + span {
  background: var(--clay);
  border-color: var(--clay);
  color: #fff;
}

.enq__panel .button {
  width: 100%;
  justify-content: center;
  background: var(--clay);
  color: #fff;
  margin-top: 0.5rem;
}

.enq__panel .button:hover {
  background: var(--clay-lift);
}

.enq__panel .form__note {
  background: rgba(255, 255, 255, 0.07);
  border-left-color: var(--clay);
  color: var(--paper);
}

.enq__panel .form__small {
  color: color-mix(in srgb, var(--paper) 52%, transparent);
}

.enq__panel .field__error {
  color: #ff9280;
}

.form__step {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 1.1rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-3);
}

.form__step::before {
  content: "";
  width: 1.4rem;
  height: 2px;
  background: var(--clay);
}

.form__step:not(:first-child) {
  padding-top: 1.5rem;
  margin-top: 1.25rem;
  border-top: 1px solid var(--line-soft);
}

/* choice pills instead of native selects: far better on a phone */
.choice {
  margin: 0 0 1.4rem;
  padding: 0;
  border: 0;
}

.choice legend {
  padding: 0 0 0.7rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-2);
}

.choice__set {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.choice__set label {
  position: relative;
  display: inline-flex;
}

.choice__set input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.choice__set span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--paper);
  font-size: 0.94rem;
  cursor: pointer;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    transform 0.25s var(--spring);
}

.choice__set label:hover span {
  border-color: var(--ink-3);
}

.choice__set input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper-lift);
}

.choice__set input:focus-visible + span {
  outline: 2px solid var(--clay);
  outline-offset: 2px;
}

.choice__set input:active + span {
  transform: scale(0.97);
}

.choice.has-error legend {
  color: #9d3a2c;
}

.choice.has-error .choice__set span {
  border-color: #9d3a2c;
}

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

  .enq__panel {
    margin-inline: calc(-1 * var(--gutter));
    border-inline: 0;
    padding-inline: var(--gutter);
  }
}

@media (max-width: 640px) {
  .enq__facts > div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .enq__steps li {
    grid-template-columns: 2.25rem 1fr;
  }
}

/* ---------- case study photography ---------- */

.shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  padding-top: clamp(2rem, 4vw, 3rem);
}

.shots__item {
  position: relative;
  overflow: hidden;
  background: var(--paper-sink);
}

.shots__item img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.shots__item:hover img {
  transform: scale(1.05);
}

.shots__item figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 0.7rem 0.95rem;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 500;
}

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

  .shots__item:first-child {
    grid-column: 1 / -1;
  }
}


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