/* TDK Designs & Branding Solutions
   One stylesheet for the whole site. Colours and type sizes are set as
   variables at the top so they can be changed in one place. */

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

:root {
  /* Brand colours, sampled from the TDK logo */
  --orange: #f16122;
  --orange-ink: #b23c08;      /* orange dark enough for text on white */
  --charcoal: #58595b;
  --ink: #232426;
  --paper: #ffffff;
  --mat: #eef0f1;             /* cool grey, like a cutting mat */
  --line: #d6d9dc;

  /* Process colours: used only in the printer's colour bar */
  --cyan: #00aeef;
  --magenta: #ec008c;
  --yellow: #ffe600;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 1.9rem);
  --step-3: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
  --step-4: clamp(2.35rem, 1.1rem + 5.4vw, 5.4rem);

  --wrap: 78rem;
  --gutter: 1.25rem;
  --radius: 4px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
.on-dark :focus-visible,
.on-orange :focus-visible { outline-color: #fff; }

.sr {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
}
.skip:focus { top: 1rem; }

.wrap {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}

/* ---------- Type ---------- */

.display,
h1, h2 {
  font-stretch: 125%;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }

h3 {
  font-size: var(--step-1);
  font-stretch: 112%;
  font-weight: 700;
  line-height: 1.2;
}

.lead {
  font-size: var(--step-1);
  line-height: 1.5;
  max-width: 38em;
}

.prose p { max-width: 66ch; }
.prose p + p { margin-top: 1em; }

.muted { color: var(--charcoal); }

.textlink {
  color: var(--orange-ink);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
}
.textlink:hover { color: var(--ink); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.btn--primary { background: var(--orange); color: #1a1a1a; }
.btn--primary:hover { background: var(--ink); color: #fff; }

.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #fff; color: var(--ink); }

.btn--outline-dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline-dark:hover { background: var(--ink); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.site-header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.75rem;
}

.brand { display: block; flex: none; }
.brand img { width: auto; height: 3rem; }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav ul { display: flex; gap: 1.75rem; }
.site-nav li a {
  display: block;
  padding: 0.5rem 0;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}
.site-nav li a:hover { border-bottom-color: var(--line); }
.site-nav li a[aria-current="page"] { border-bottom-color: var(--orange); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0.4rem 0.8rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: none;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle__bars {
  position: relative;
  width: 1.1rem; height: 2px;
  background: currentColor;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute; left: 0;
  width: 100%; height: 2px;
  background: currentColor;
  transition: transform 0.2s;
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 60rem) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 0.5rem var(--gutter) 1.5rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -18px rgba(35, 36, 38, 0.35);
  }
  .site-nav[data-open] { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li a {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
    font-size: var(--step-1);
  }
  .site-nav li a[aria-current="page"] { border-bottom-color: var(--line); color: var(--orange-ink); }
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--mat { background: var(--mat); }
.section--tight-top { padding-top: 0; }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}
.section__head p { max-width: 34em; margin-top: 0.9rem; }

/* ---------- Printer's marks (the site's one recurring motif) ---------- */

.cropmarks {
  --cm: 1.5rem;       /* space between the trim edge and the sheet edge */
  --cm-gap: 0.4rem;   /* marks stop this far short of the trim corner */
  --cm-ink: var(--ink);
  position: relative;
  padding: var(--cm);
  background:
    linear-gradient(var(--cm-ink), var(--cm-ink)) var(--cm) 0 / 1px calc(var(--cm) - var(--cm-gap)) no-repeat,
    linear-gradient(var(--cm-ink), var(--cm-ink)) 0 var(--cm) / calc(var(--cm) - var(--cm-gap)) 1px no-repeat,
    linear-gradient(var(--cm-ink), var(--cm-ink)) calc(100% - var(--cm)) 0 / 1px calc(var(--cm) - var(--cm-gap)) no-repeat,
    linear-gradient(var(--cm-ink), var(--cm-ink)) 100% var(--cm) / calc(var(--cm) - var(--cm-gap)) 1px no-repeat,
    linear-gradient(var(--cm-ink), var(--cm-ink)) var(--cm) 100% / 1px calc(var(--cm) - var(--cm-gap)) no-repeat,
    linear-gradient(var(--cm-ink), var(--cm-ink)) 0 calc(100% - var(--cm)) / calc(var(--cm) - var(--cm-gap)) 1px no-repeat,
    linear-gradient(var(--cm-ink), var(--cm-ink)) calc(100% - var(--cm)) 100% / 1px calc(var(--cm) - var(--cm-gap)) no-repeat,
    linear-gradient(var(--cm-ink), var(--cm-ink)) 100% calc(100% - var(--cm)) / calc(var(--cm) - var(--cm-gap)) 1px no-repeat;
}

.colourbar { display: flex; flex: none; }
.colourbar i { display: block; width: 1.1rem; height: 1.1rem; }
.colourbar i:nth-child(1) { background: var(--cyan); }
.colourbar i:nth-child(2) { background: var(--magenta); }
.colourbar i:nth-child(3) { background: var(--yellow); }
.colourbar i:nth-child(4) { background: var(--ink); }
.colourbar i:nth-child(5) { background: var(--orange); }

.regmark { width: 1.25rem; height: 1.25rem; flex: none; color: var(--ink); }

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

.hero { padding-block: clamp(2.25rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5rem); overflow: hidden; }

.hero__title {
  max-width: 15.5em;
  animation: register 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s both;
}

/* The headline starts out of register, like a misaligned print, then snaps in. */
@keyframes register {
  from {
    text-shadow:
      -0.07em 0 0 var(--cyan),
      0.06em 0.04em 0 var(--magenta),
      0 -0.05em 0 var(--yellow);
  }
  to {
    text-shadow:
      0 0 0 rgba(0, 174, 239, 0),
      0 0 0 rgba(236, 0, 140, 0),
      0 0 0 rgba(255, 230, 0, 0);
  }
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  margin-top: clamp(1.5rem, 3.5vw, 3rem);
}

.hero__lead .btn-row { margin-top: 1.75rem; }

.hero__facts {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: var(--step--1);
  color: var(--charcoal);
}
.hero__facts a { color: var(--ink); font-weight: 650; }

.proof__trim {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0.5rem;
}

.shot {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--mat);
  text-decoration: none;
}
.shot--wide { grid-column: 1 / -1; aspect-ratio: 2.3 / 1; }
.shot--half { aspect-ratio: 13 / 8; }
.shot--half + .shot--half { aspect-ratio: 10 / 8; }  /* keeps both halves the same height in a 1.3fr / 1fr grid */
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot__tag {
  position: absolute;
  left: 0; bottom: 0;
  padding: 0.4rem 0.75rem;
  background: var(--paper);
  color: var(--ink);
  font-size: var(--step--1);
  font-weight: 700;
  line-height: 1.2;
  transition: background-color 0.15s;
}
.shot:hover .shot__tag,
.shot:focus-visible .shot__tag { background: var(--orange); }

.proof__slug {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-inline: 1.5rem;
  font-size: var(--step--1);
  color: var(--charcoal);
}

@media (max-width: 56rem) {
  .hero__grid { grid-template-columns: 1fr; }
  .cropmarks { --cm: 1rem; --cm-gap: 0.3rem; }
  .proof { margin-inline: -0.5rem; }
  .proof__slug { padding-inline: 1rem; }
}

/* ---------- Clients band ---------- */

.clients { background: var(--ink); color: #fff; padding-block: 2.5rem; }
.clients__in {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: 1.5rem 3rem;
  align-items: center;
}
.clients__title {
  font-size: var(--step-0);
  font-stretch: 100%;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
}
.clients__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2.25rem;
}
.clients__list img { width: auto; height: 2.6rem; border-radius: 2px; }

@media (max-width: 56rem) {
  .clients__in { grid-template-columns: 1fr; }
  .clients__list { gap: 1rem 1.5rem; }
  .clients__list img { height: 2.1rem; }
}

/* ---------- Services list ---------- */

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

.service {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) minmax(0, 3fr);
  gap: 1rem 2.5rem;
  align-items: center;
  padding-block: 1.6rem;
  border-top: 1px solid var(--line);
}
.service__name { font-size: var(--step-2); font-stretch: 125%; font-weight: 800; line-height: 1.1; }
.service__name a { text-decoration: none; }
.service__name a::after { content: ""; position: absolute; inset: 0; }
.service:hover .service__name a { color: var(--orange-ink); }
.service__text { color: var(--charcoal); }
.service__thumb { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

@media (max-width: 56rem) {
  .service { grid-template-columns: minmax(0, 1fr) 7.5rem; gap: 0.5rem 1.25rem; }
  .service__name { grid-column: 1; }
  .service__text { grid-column: 1; }
  .service__thumb { grid-column: 2; grid-row: 1 / span 2; aspect-ratio: 1; align-self: start; }
}
@media (max-width: 30rem) {
  .service { grid-template-columns: minmax(0, 1fr) 5.5rem; }
}

/* ---------- Work: mosaic (home) and gallery (inner pages) ---------- */

.mosaic {
  --tile: clamp(13rem, 27vw, 23rem);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.75rem 1.25rem;
}
.mosaic__item:nth-child(1) { grid-column: span 7; }
.mosaic__item:nth-child(2) { grid-column: span 5; }
.mosaic__item:nth-child(n + 3) { grid-column: span 4; --tile: clamp(11rem, 19vw, 16rem); }

.mosaic__item a { display: block; height: var(--tile); background: var(--mat); overflow: hidden; }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 56rem) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mosaic__item:nth-child(n) { grid-column: span 1; --tile: clamp(9rem, 40vw, 16rem); }
  .mosaic__item:nth-child(1) { grid-column: span 2; --tile: clamp(12rem, 52vw, 22rem); }
}
@media (max-width: 30rem) {
  .mosaic { grid-template-columns: 1fr; }
  .mosaic__item:nth-child(n) { grid-column: span 1; --tile: 62vw; }
}

.caption { margin-top: 0.7rem; line-height: 1.35; }
.caption strong { display: block; font-weight: 700; }
.caption span { color: var(--charcoal); font-size: var(--step--1); }

.gallery { columns: 3 19rem; column-gap: 1.25rem; }
.gallery__item { break-inside: avoid; margin-bottom: 1.75rem; }
.gallery__item[hidden] { display: none; }
.gallery__item a { display: block; background: var(--mat); cursor: zoom-in; }
.gallery__item img { width: 100%; }

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.filter {
  min-height: 2.75rem;
  padding: 0.45rem 1rem;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- About block / stats ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split--top { align-items: start; }
.split h2 { margin-bottom: 1.25rem; }
.split .textlink { display: inline-block; margin-top: 1.5rem; }

@media (max-width: 56rem) {
  .split { grid-template-columns: 1fr; }
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 2rem;
  margin-top: clamp(2rem, 5vw, 3.5rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.section--mat .stats { border-top-color: #c9cdd1; }
.stats dt { font-size: var(--step-3); font-stretch: 125%; font-weight: 800; line-height: 1; }
.stats dd { margin-top: 0.4rem; color: var(--charcoal); }

@media (max-width: 30rem) {
  .stats { grid-template-columns: 1fr; }
}

.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem 2rem; margin-top: 1.25rem; }
.values li {
  padding: 0.85rem 0 0.85rem 1.1rem;
  border-left: 4px solid var(--orange);
  font-weight: 650;
  line-height: 1.3;
}
@media (max-width: 30rem) {
  .values { grid-template-columns: 1fr; }
}

.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 3rem; }
.trio h3 { margin-bottom: 0.6rem; }
.trio p { color: var(--charcoal); }
@media (max-width: 56rem) {
  .trio { grid-template-columns: 1fr; }
}

/* ---------- Process (a real sequence, so it is numbered) ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  counter-reset: step;
}
.steps li { counter-increment: step; padding-top: 1.1rem; border-top: 4px solid var(--ink); }
.steps li::before {
  content: counter(step);
  display: block;
  margin-bottom: 0.6rem;
  font-size: var(--step-3);
  font-stretch: 125%;
  font-weight: 800;
  line-height: 1;
  color: var(--orange-ink);
}
.steps h3 { margin-bottom: 0.5rem; }
.steps p { color: var(--charcoal); }
@media (max-width: 56rem) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 30rem) {
  .steps { grid-template-columns: 1fr; }
}

/* ---------- Tick list ---------- */

.ticks { display: grid; gap: 0.6rem; }
.ticks--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }
.ticks li { position: relative; padding-left: 1.6rem; line-height: 1.4; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.42em;
  width: 0.7rem; height: 0.7rem;
  background: var(--orange);
}
@media (max-width: 40rem) {
  .ticks--cols { grid-template-columns: 1fr; }
}

/* ---------- Inner page header ---------- */

.pagehead { background: var(--mat); padding-block: clamp(2rem, 5vw, 3.75rem) clamp(2.25rem, 5vw, 4rem); }
.pagehead h1 { font-size: clamp(2.1rem, 1.2rem + 3.8vw, 4.1rem); max-width: 16em; }
.pagehead .lead { margin-top: 1.25rem; }
.pagehead .btn-row { margin-top: 1.75rem; }

.crumbs { display: flex; flex-wrap: wrap; gap: 0.4rem 0.6rem; margin-bottom: 1.25rem; font-size: var(--step--1); color: var(--charcoal); }
.crumbs li + li::before { content: "/"; margin-right: 0.6rem; color: #9a9da1; }
.crumbs a { text-underline-offset: 0.2em; }
.crumbs a:hover { color: var(--orange-ink); }

/* ---------- Video ---------- */

.videoframe { max-width: 26rem; background: var(--ink); }
.videoframe video { width: 100%; height: auto; }

/* ---------- Call to action band ---------- */

.cta { background: var(--orange); color: #1a1a1a; padding-block: clamp(3rem, 7vw, 5rem); }
.cta__in {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 2rem 3rem;
  align-items: center;
}
.cta p { margin-top: 1rem; font-size: var(--step-1); line-height: 1.45; max-width: 30em; }
.cta .btn-row { justify-content: flex-end; }
@media (max-width: 56rem) {
  .cta__in { grid-template-columns: 1fr; }
  .cta .btn-row { justify-content: flex-start; }
}

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

.contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 56rem) {
  .contact { grid-template-columns: 1fr; }
}

.details { display: grid; gap: 0; border-bottom: 1px solid var(--line); }
.details > div {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 0.25rem 0.75rem;
  padding-block: 1.1rem;
  border-top: 1px solid var(--line);
}
.details svg { width: 1.5rem; height: 1.5rem; margin-top: 0.15rem; color: var(--orange-ink); grid-row: span 2; }
.details dt { font-size: var(--step--1); color: var(--charcoal); line-height: 1.3; }
.details dd { font-weight: 650; font-size: var(--step-1); line-height: 1.3; overflow-wrap: anywhere; }
.details dd a { text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.details dd a:hover { color: var(--orange-ink); }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; }
.form h2 { grid-column: 1 / -1; font-size: var(--step-2); }
.form__intro { grid-column: 1 / -1; margin-top: -0.4rem; color: var(--charcoal); }
.field { display: grid; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 650; }
.field label span { font-weight: 400; color: var(--charcoal); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.85rem;
  border: 2px solid #aeb2b6;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--ink); outline: 3px solid var(--orange); outline-offset: 0; }
.field--trap { position: absolute; left: -200vw; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form__status { font-weight: 650; }
.form__status[data-state="ok"] { color: #17643a; }
.form__status[data-state="error"] { color: #a3200f; }
@media (max-width: 36rem) {
  .form { grid-template-columns: 1fr; }
}

.map { border: 0; width: 100%; height: clamp(18rem, 40vw, 26rem); background: var(--mat); }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: #e8e9ea; }
.site-footer .colourbar { width: 100%; }
.site-footer .colourbar i { flex: 1; width: auto; height: 6px; }
.site-footer .colourbar i:nth-child(4) { background: var(--charcoal); }
.site-footer .colourbar i:nth-child(5) { background: var(--paper); }

.site-footer__in {
  display: grid;
  grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.6fr));
  gap: 2.5rem 2.5rem;
  padding-block: clamp(2.75rem, 6vw, 4.5rem) 2.5rem;
}
.site-footer__brand img { width: 12.5rem; height: auto; }
.site-footer__brand p { margin-top: 1.1rem; max-width: 24em; color: #c3c6c9; }
.site-footer h2 {
  margin-bottom: 0.9rem;
  font-size: var(--step-0);
  font-stretch: 112%;
  font-weight: 700;
  letter-spacing: 0;
  color: #fff;
}
.site-footer li + li { margin-top: 0.45rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }

.social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.social a {
  display: grid;
  place-items: center;
  width: 2.75rem; height: 2.75rem;
  border: 1px solid #5d6064;
  border-radius: var(--radius);
}
.social a:hover { background: var(--orange); border-color: var(--orange); color: #1a1a1a; }
.social svg { width: 1.25rem; height: 1.25rem; }

.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-block: 1.25rem 1.75rem;
  border-top: 1px solid #45474a;
  font-size: var(--step--1);
  color: #b6b9bc;
}
.site-footer__base a { text-decoration: underline; text-underline-offset: 0.2em; }

@media (max-width: 56rem) {
  .site-footer__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 30rem) {
  .site-footer__in { grid-template-columns: 1fr; }
}

/* ---------- Lightbox ---------- */

.lightbox {
  width: 100vw; max-width: 100vw;
  height: 100dvh; max-height: 100dvh;
  margin: 0; padding: 0;
  border: 0;
  background: rgba(20, 21, 22, 0.96);
  color: #fff;
}
.lightbox::backdrop { background: rgba(20, 21, 22, 0.96); }
.lightbox__in {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100%;
  padding: 0.75rem clamp(0.75rem, 3vw, 2rem) 1.25rem;
}
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: 0.75rem; }
.lightbox__count { font-size: var(--step--1); color: #c3c6c9; }
.lightbox__stage { display: grid; place-items: center; min-height: 0; }
.lightbox__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox__foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 0.9rem; }
.lightbox__caption { line-height: 1.35; }
.lightbox__caption strong { display: block; }
.lightbox__caption span { color: #c3c6c9; font-size: var(--step--1); }
.lightbox__nav { display: flex; gap: 0.5rem; flex: none; }
.lightbox button {
  display: inline-grid;
  place-items: center;
  min-width: 3rem; min-height: 3rem;
  padding: 0 0.9rem;
  border: 1px solid #6a6d71;
  border-radius: var(--radius);
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.lightbox button:hover { background: var(--orange); border-color: var(--orange); color: #1a1a1a; }
.lightbox button svg { width: 1.2rem; height: 1.2rem; }

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

.lost { padding-block: clamp(4rem, 12vw, 9rem); }
.lost p { margin-top: 1.25rem; }
.lost .btn-row { margin-top: 2rem; }

/* ==========================================================
   Version 2: darker, image-led presentation
   ========================================================== */

.on-dark .btn--primary:hover { background: #fff; color: var(--ink); }
.btn--outline-light { border-color: #fff; color: #fff; background: transparent; }
.btn--outline-light:hover { background: #fff; color: var(--ink); }

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

.hero { background: var(--ink); color: #fff; }
.hero .lead { color: #e9eaeb; }
.hero .cropmarks { --cm-ink: #fff; }
.hero .hero__facts { border-top-color: #4a4c50; color: #b9bcc0; }
.hero .hero__facts a { color: #fff; }
.hero .proof__slug { color: #b9bcc0; }
.hero .regmark { color: #fff; }
.hero .colourbar i:nth-child(4) { background: #fff; }

/* ---------- Dark inner-page header, with optional feature photo ---------- */

.pagehead { background: var(--ink); color: #fff; }
.pagehead .lead { color: #e9eaeb; }
.pagehead .crumbs { color: #b9bcc0; }
.pagehead .crumbs a:hover { color: #fff; }
.pagehead .crumbs li + li::before { color: #7d8085; }
.pagehead .cropmarks { --cm-ink: #fff; }
.pagehead--media .pagehead__in {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.pagehead__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 56rem) {
  .pagehead--media .pagehead__in { grid-template-columns: 1fr; }
}

/* ---------- Service tiles ---------- */

.tiles {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}
.tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  grid-column: span 4;
  min-height: clamp(15rem, 24vw, 20rem);
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  isolation: isolate;
}
.tile:nth-child(1) { grid-column: span 7; min-height: clamp(17rem, 30vw, 25rem); }
.tile:nth-child(2) { grid-column: span 5; min-height: clamp(17rem, 30vw, 25rem); }
.tile img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(24, 25, 27, 0.94) 0%, rgba(24, 25, 27, 0.72) 34%, rgba(24, 25, 27, 0.08) 72%);
}
.tile:hover img,
.tile:focus-visible img { transform: scale(1.05); }
.tile__body { padding: clamp(1.1rem, 2.4vw, 1.75rem); }
.tile__name {
  display: inline;
  font-size: var(--step-2);
  font-stretch: 125%;
  font-weight: 800;
  line-height: 1.15;
  background: linear-gradient(var(--orange), var(--orange)) 0 100% / 0 4px no-repeat;
  padding-bottom: 0.2rem;
  transition: background-size 0.3s;
}
.tile:hover .tile__name,
.tile:focus-visible .tile__name { background-size: 100% 4px; }
.tile__text { display: block; margin-top: 0.6rem; max-width: 30em; color: #e3e4e6; line-height: 1.45; }

@media (max-width: 56rem) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile:nth-child(n) { grid-column: span 1; min-height: 15rem; }
  .tile:nth-child(1) { grid-column: span 2; }
}
@media (max-width: 36rem) {
  .tiles { grid-template-columns: 1fr; }
  .tile:nth-child(n) { grid-column: span 1; min-height: 13.5rem; }
}

/* ---------- "What makes us different" ---------- */

.why {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.why__intro p { margin-top: 1.1rem; color: #c9cccf; max-width: 26em; }
.why__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; }
.why__list li { padding-block: 1.3rem; border-top: 1px solid #4a4c50; }
.why__list h3 { display: flex; align-items: baseline; gap: 0.7rem; margin-bottom: 0.45rem; }
.why__list h3::before { content: ""; flex: none; width: 0.7rem; height: 0.7rem; background: var(--orange); }
.why__list p { color: #c9cccf; padding-left: 1.4rem; }
.section--dark { background: var(--ink); color: #fff; }
@media (max-width: 56rem) {
  .why { grid-template-columns: 1fr; }
}
@media (max-width: 36rem) {
  .why__list { grid-template-columns: 1fr; }
}

/* ---------- Mission and vision ---------- */

.statements { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); }
.statement h2 { margin-bottom: 1rem; }
.statement p { font-size: var(--step-1); line-height: 1.5; }
.statement { padding-top: 1.5rem; border-top: 6px solid var(--orange); }
.statement + .statement { border-top-color: var(--ink); }
@media (max-width: 56rem) {
  .statements { grid-template-columns: 1fr; }
}

.bigquote { font-size: var(--step-2); font-stretch: 112%; font-weight: 600; line-height: 1.3; max-width: 30em; text-wrap: balance; }

/* ---------- Values ---------- */

.valuegrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 3rem; }
.valuegrid li { padding-block: 1.4rem; border-top: 1px solid #c9cdd1; }
.valuegrid h3 { margin-bottom: 0.4rem; }
.valuegrid p { color: var(--charcoal); }
@media (max-width: 56rem) {
  .valuegrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 30rem) {
  .valuegrid { grid-template-columns: 1fr; }
}

/* ---------- Offer panels (services page) ---------- */

.offer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); }
.offer__panel { padding-top: 1.5rem; border-top: 6px solid var(--orange); }
.offer__panel + .offer__panel { border-top-color: var(--ink); }
.offer__panel h2 { font-size: var(--step-2); margin-bottom: 0.9rem; }
.offer__panel > p { color: var(--charcoal); margin-bottom: 1.4rem; max-width: 34em; }
.ticks small { display: block; font-size: var(--step--1); color: var(--charcoal); margin-top: 0.15rem; }
@media (max-width: 56rem) {
  .offer { grid-template-columns: 1fr; }
}

/* ---------- Client logo grid ---------- */

.clientgrid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.75rem; }
.clientgrid li { background: #fff; border: 1px solid var(--line); }
.clientgrid img { width: 100%; height: auto; }
@media (max-width: 56rem) {
  .clientgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 30rem) {
  .clientgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Dark header carrying the full TDK Designs & Branding Solutions logo ---------- */

.site-header { background: var(--ink); color: #fff; border-bottom-color: #3d3f43; }
.site-header__in { min-height: 5.75rem; }
.brand img { height: 4.1rem; }
.site-nav li a:hover { border-bottom-color: #6a6d71; }
.nav-toggle { border-color: #fff; color: #fff; }
html { scroll-padding-top: 6.5rem; }

@media (max-width: 60rem) {
  .site-nav { background: var(--ink); border-bottom-color: #3d3f43; box-shadow: 0 18px 30px -18px rgba(0, 0, 0, 0.6); }
  .site-nav li a { border-bottom-color: #3d3f43; }
  .site-nav li a:hover { border-bottom-color: #3d3f43; }
  .site-nav li a[aria-current="page"] { border-bottom-color: #3d3f43; color: var(--orange); }
}
@media (max-width: 30rem) {
  .site-header__in { min-height: 5rem; }
  .brand img { height: 3.5rem; }
}

/* ==========================================================
   Motion
   Everything here is switched off for visitors who have asked
   their device for reduced motion (see the last block).
   ========================================================== */

/* Smooth cross-fade when moving between pages (supported browsers) */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }

/* Scroll progress line under the header */
.progress {
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

/* Buttons lift slightly */
.btn { transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.2s cubic-bezier(0.2, 0.7, 0.2, 1); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Photos zoom gently under the pointer */
.gallery__item a,
.mosaic__item a { overflow: hidden; }
.gallery__item img,
.mosaic__item img,
.shot img { transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.gallery__item a:hover img,
.mosaic__item a:hover img,
.shot:hover img { transform: scale(1.05); }
.clientgrid li { transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s; }
.clientgrid li:hover { transform: translateY(-4px); box-shadow: 0 14px 24px -16px rgba(35, 36, 38, 0.5); }

/* ---------- Hero: the page "prints" itself in on load ---------- */

@keyframes rise { from { opacity: 0; transform: translateY(1.5rem); } to { opacity: 1; transform: none; } }
@keyframes print { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__lead > * { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero__lead > :nth-child(1) { animation-delay: 0.35s; }
.hero__lead > :nth-child(2) { animation-delay: 0.5s; }
.hero__lead > :nth-child(3) { animation-delay: 0.65s; }

.proof { position: relative; }
.proof .shot { animation: print 1s cubic-bezier(0.7, 0, 0.2, 1) both; }
.proof .shot:nth-child(1) { animation-delay: 0.45s; }
.proof .shot:nth-child(2) { animation-delay: 0.8s; }
.proof .shot:nth-child(3) { animation-delay: 0.95s; }
.proof .shot__tag { animation: fade 0.4s 1.7s both; }
.proof .colourbar i { animation: pop 0.35s cubic-bezier(0.3, 1.4, 0.5, 1) both; }
.proof .colourbar i:nth-child(1) { animation-delay: 1.5s; }
.proof .colourbar i:nth-child(2) { animation-delay: 1.58s; }
.proof .colourbar i:nth-child(3) { animation-delay: 1.66s; }
.proof .colourbar i:nth-child(4) { animation-delay: 1.74s; }
.proof .colourbar i:nth-child(5) { animation-delay: 1.82s; }
.proof__slug .regmark { animation: spin 1.2s 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.proof__slug span:last-child { animation: fade 0.5s 1.95s both; }

/* Rotating stamp on the corner of the proof sheet */
.badge {
  position: absolute;
  z-index: 2;
  top: -2.75rem; right: -1.5rem;
  width: clamp(5.25rem, 9vw, 7.5rem);
  height: auto;
  animation: pop 0.6s 1.3s cubic-bezier(0.3, 1.4, 0.5, 1) both;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}
.badge__spin { transform-origin: 60px 60px; animation: spin 18s linear infinite; }
.badge text { font-size: 12.5px; font-stretch: 125%; font-weight: 800; fill: #1a1a1a; letter-spacing: 0.06em; }
@media (max-width: 56rem) {
  .badge { top: -2.25rem; right: 0.25rem; }
}

/* Inner pages: header text rises, feature photo prints in */
.pagehead__in > div:first-child > * { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.pagehead__in > div:first-child > :nth-child(2) { animation-delay: 0.1s; }
.pagehead__in > div:first-child > :nth-child(3) { animation-delay: 0.22s; }
.pagehead__in > div:first-child > :nth-child(4) { animation-delay: 0.34s; }
.pagehead__img img { animation: print 1s 0.3s cubic-bezier(0.7, 0, 0.2, 1) both; }

/* ---------- Scrolling services ticker ---------- */

.ticker { overflow: hidden; background: var(--orange); color: #1a1a1a; padding-block: 0.95rem; }
.ticker__track {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  width: max-content;
  padding-left: 1.75rem;
  animation: ticker 48s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker span { font-size: var(--step-1); font-stretch: 125%; font-weight: 800; white-space: nowrap; }
.ticker i { flex: none; width: 0.6rem; height: 0.6rem; background: #1a1a1a; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Reveal on scroll (classes are added by site.js) ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.75s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Photos beside text wipe in like a print head crossing the sheet */
.js [data-reveal="print"] {
  opacity: 1;
  transform: none;
  transition: none;
  visibility: hidden;   /* hidden, not clipped, so the scroll watcher can still see it coming */
}
.js [data-reveal="print"].is-in {
  visibility: visible;
  animation: print 1.1s cubic-bezier(0.7, 0, 0.2, 1) both;
}

/* Small flourishes that follow the reveal */
.js .why__list li h3::before { transform: scale(0); transition: transform 0.45s cubic-bezier(0.3, 1.4, 0.5, 1); transition-delay: calc(var(--i, 0) * 90ms + 350ms); }
.js .why__list li.is-in h3::before { transform: scale(1); }

.js .steps li { position: relative; border-top-color: transparent; }
.js .steps li::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -4px;
  height: 4px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s cubic-bezier(0.7, 0, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 90ms + 150ms);
}
.js .steps li.is-in::after { transform: scaleX(1); }

.js .site-footer .colourbar[data-reveal] { opacity: 1; transform: none; }
.js .site-footer .colourbar i { transform: scaleX(0); transform-origin: left; transition: transform 0.6s cubic-bezier(0.7, 0, 0.2, 1); }
.js .site-footer .colourbar i:nth-child(2) { transition-delay: 0.1s; }
.js .site-footer .colourbar i:nth-child(3) { transition-delay: 0.2s; }
.js .site-footer .colourbar i:nth-child(4) { transition-delay: 0.3s; }
.js .site-footer .colourbar i:nth-child(5) { transition-delay: 0.4s; }
.js .site-footer .colourbar.is-in i { transform: scaleX(1); }

@media print {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; visibility: visible !important; animation: none !important; }
}

/* ==========================================================
   Version 3: WhatsApp everywhere, quote form, location
   ========================================================== */

:root { --wa: #25d366; --wa-ink: #08210f; }

.btn--wa { background: var(--wa); color: var(--wa-ink); }
.btn--wa:hover { background: #fff; color: var(--ink); }
.on-orange .btn--wa { background: var(--ink); color: #fff; }
.on-orange .btn--wa:hover { background: #fff; color: var(--ink); }
.cta .btn-row { flex-wrap: wrap; }

/* Header layout: logo left, menu right */
.site-header__in { justify-content: flex-start; }
.site-nav { margin-left: auto; }
.nav-toggle { margin-left: auto; }
@media (max-width: 60rem) {
  .site-nav { margin-left: 0; }
}

/* Floating WhatsApp button */
.wa-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  height: 3.5rem;
  padding: 0 1.3rem 0 1rem;
  border-radius: 999px;
  background: var(--wa);
  color: var(--wa-ink);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 12px 26px -8px rgba(0, 0, 0, 0.55);
  view-transition-name: wa-float;
  animation: pop 0.5s 1.2s cubic-bezier(0.3, 1.4, 0.5, 1) both;
  transition: transform 0.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.wa-float:hover { transform: translateY(-3px); }
.wa-float svg { width: 1.75rem; height: 1.75rem; flex: none; }
.wa-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--wa);
  animation: ring 2.6s ease-out 2.2s infinite;
  pointer-events: none;
}
@keyframes ring { from { opacity: 0.8; transform: scale(1); } 70%, to { opacity: 0; transform: scale(1.35); } }
@media (max-width: 40rem) {
  .wa-float { width: 3.5rem; padding: 0; justify-content: center; }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .site-footer__base { padding-bottom: 5.25rem; }
}

/* Hero: three ways to reach the shop */
.hero__facts { line-height: 1.7; }

/* Contact: form first, details beside it */
.contact { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
@media (max-width: 56rem) {
  .contact { grid-template-columns: 1fr; }
}
.form__need {
  grid-column: 1 / -1;
  padding: 1rem 1.25rem;
  background: var(--mat);
  border-left: 4px solid var(--orange);
}
.form__need ul { margin-top: 0.5rem; padding-left: 1.2rem; list-style: disc; display: grid; gap: 0.25rem; }
.field small { color: var(--charcoal); font-size: var(--step--1); line-height: 1.35; }
.field input[type="file"] { min-height: 0; padding: 0.75rem; border-style: dashed; cursor: pointer; }
.field input[type="file"]::file-selector-button {
  margin-right: 0.9rem;
  padding: 0.5rem 0.9rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.details__link { display: inline-block; margin-top: 0.4rem; font-size: var(--step-0); color: var(--orange-ink); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.details__note { font-size: var(--step-0); font-weight: 400; color: var(--charcoal); }
.pagehead .btn-row { margin-top: 1.75rem; }

/* More client logos: seven across */
.clientgrid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
@media (max-width: 56rem) { .clientgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 30rem) { .clientgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; } }

/* Customer reviews (the section appears once real testimonials are added) */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 2.5rem; }
.review { padding-top: 1.4rem; border-top: 6px solid var(--orange); }
.review blockquote { margin: 0; font-size: var(--step-1); line-height: 1.5; }
.review__who { margin-top: 1.1rem; line-height: 1.35; }
.review__who strong { display: block; }
.review__who span { color: var(--charcoal); font-size: var(--step--1); }
@media (max-width: 56rem) { .reviews { grid-template-columns: 1fr; } }

/* Client logos are cut from one image: 7 columns by 3 rows */
.clientgrid li {
  aspect-ratio: 3 / 2;
  background: #fff url("../img/clients.webp") no-repeat;
  background-size: 700% 300%;
  background-position: calc(var(--x) * 100% / 6) calc(var(--y) * 100% / 2);
}

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__title { animation: none; }
  .tile img { transition: none; }
  .hero__lead > *, .proof .shot, .proof .shot__tag, .proof .colourbar i, .proof__slug .regmark,
  .proof__slug span:last-child, .badge, .badge__spin, .pagehead__in > div:first-child > *, .pagehead__img img { animation: none; }
  .ticker__track { animation: none; width: auto; flex-wrap: wrap; row-gap: 0.5rem; padding-inline: var(--gutter); }
  .js [data-reveal], .js [data-reveal="print"] { opacity: 1; transform: none; clip-path: none; transition: none; visibility: visible; animation: none; }
  .js .why__list li h3::before, .js .steps li::after, .js .site-footer .colourbar i { transform: none; transition: none; }
  .btn:hover, .clientgrid li:hover, .wa-float:hover { transform: none; }
  .wa-float, .wa-float::after { animation: none; }
  .wa-float::after { display: none; }
  .gallery__item a:hover img, .mosaic__item a:hover img, .shot:hover img, .tile:hover img { transform: none; }
  * { transition-duration: 0.01ms !important; }
}
