@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: italic;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/barlow-latin-800-italic.woff2") format("woff2");
}

:root {
  /* Brand black from the logo, concrete greys and one lime signal colour */
  --graphite: #1d1d1b;
  --graphite-soft: #2b2b28;
  --surface: #f0f1ee;
  --white: #ffffff;
  --concrete: #dfe1dc;
  --ink: #1d1d1b;
  --ink-soft: #5c5f58;
  --signal: #55b900;
  --signal-hover: #66cc12;
  --button: #a4c400;
  --button-hover: #b6d71a;
  --signal-green: #55b900;
  --signal-text: #2f6e00;
  --line: rgba(29, 29, 27, 0.13);

  --font: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Barlow", "Helvetica Neue", Arial, sans-serif;

  --step-meta: 0.875rem;
  --step-small: 1rem;
  --step-body: clamp(1.0625rem, 1.03rem + 0.15vw, 1.125rem);
  --step-lead: clamp(1.1875rem, 1.05rem + 0.55vw, 1.5rem);
  --step-h3: clamp(1.5rem, 1.3rem + 0.7vw, 2rem);
  --step-h2: clamp(2.1rem, 1.55rem + 1.9vw, 3.25rem);
  --step-h1: clamp(2.5rem, 1.6rem + 3vw, 4.5rem);

  --gutter: clamp(1rem, 0.4rem + 2.4vw, 2.5rem);
  --gap: clamp(0.75rem, 0.5rem + 0.8vw, 1.25rem);
  --radius: 0.5rem;
  --container: 84rem;
  --bar-height: 5.75rem;
  --skew: -10deg;
}

@media (max-width: 759px) {
  :root {
    --bar-height: 4.75rem;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar-height) + 1rem);
  background: var(--graphite);
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

/* No tap flash or click outline; the focus ring stays for keyboard users only */
* {
  -webkit-tap-highlight-color: transparent;
}

:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--signal-text);
  outline-offset: 3px;
}

.topbar :focus-visible,
.site-footer :focus-visible,
.on-dark :focus-visible {
  outline-color: var(--signal);
}

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--signal);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

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

.heading {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

/* The backslash from the logo separates the four trades wherever they are listed */
.trades {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.55em;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.trades li + li::before {
  content: "\\";
  margin-right: 0.55em;
  color: var(--signal-green);
}

/* Lime plate: the slanted panel from the logo, used for one word or label at a time */
.plate {
  display: inline-block;
  padding: 0.02em 0.28em 0.06em;
  background: var(--signal);
  color: var(--ink);
  transform: skewY(-3deg);
}

.plate--dark {
  background: var(--ink);
  color: var(--signal);
}

/* Arrow link: the signal colour points the way */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.2rem;
  border-bottom: 1.5px solid currentColor;
  font-size: var(--step-small);
  font-weight: 700;
  text-decoration: none;
}

.arrow-link::after {
  content: "";
  width: 1.1rem;
  height: 0.7rem;
  background: var(--signal-green);
  -webkit-mask: url("../img/arrow.svg") center / contain no-repeat;
  mask: url("../img/arrow.svg") center / contain no-repeat;
  transition: transform 0.25s ease;
}

.arrow-link:hover::after,
.arrow-link:focus-visible::after {
  transform: translateX(0.25rem);
}

.arrow {
  display: inline-block;
  width: 1.25rem;
  height: 0.8rem;
  background: currentColor;
  -webkit-mask: url("../img/arrow.svg") center / contain no-repeat;
  mask: url("../img/arrow.svg") center / contain no-repeat;
  transition: transform 0.25s ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0 1.4rem;
  border: 1.5px solid var(--signal);
  border-radius: 0.25rem;
  font-size: var(--step-small);
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.button--solid {
  background: var(--button);
  border-color: var(--button);
  color: var(--ink);
}

.button--solid:hover,
.button--solid:focus-visible {
  background: var(--button-hover);
  border-color: var(--button-hover);
}

.button--outline {
  border-color: var(--ink);
  color: var(--ink);
}

.button--outline:hover,
.button--outline:focus-visible {
  background: var(--ink);
  color: var(--white);
}

.button--light {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.button--light:hover,
.button--light:focus-visible {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.button svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

/* Top bar: brand black, logo centred, menu left, contact right */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--graphite);
  color: var(--white);
}

.topbar__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--bar-height);
  padding-inline: var(--gutter);
}

.menu-toggle {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 2.75rem;
  padding: 0;
  background: none;
  border: 0;
  font-size: var(--step-small);
  font-weight: 600;
  cursor: pointer;
}

.menu-toggle__icon {
  position: relative;
  width: 1.25rem;
  height: 0.85rem;
  border-block: 2px solid currentColor;
}

.menu-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background: currentColor;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon {
  border-color: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after {
  transform: rotate(45deg);
  box-shadow: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background: currentColor;
  transform: rotate(-45deg);
}

.topbar__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.topbar__logo img {
  width: 9rem;
  transition: transform 0.25s ease;
}

.topbar__logo:hover img {
  transform: scale(1.03);
}

/* Home: the bar floats over the hero so the aurora runs behind it, and turns solid on scroll */
.topbar--over {
  background: transparent;
  transition: background-color 0.3s ease;
}

.topbar--over.is-scrolled {
  background: var(--graphite);
}

.topbar--over .topbar__phone {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
  color: var(--white);
}

.topbar--over .topbar__phone:hover,
.topbar--over .topbar__phone:focus-visible {
  background: var(--button);
  color: var(--ink);
}

.topbar__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar__link {
  font-size: var(--step-small);
  font-weight: 600;
  text-decoration: none;
}

.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.topbar__link svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: var(--signal-green);
}

.topbar__link:hover,
.topbar__link:focus-visible,
.site-menu__list a[aria-current="page"] {
  color: var(--signal);
}

.topbar__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0 0.95rem;
  border-radius: 0.25rem;
  background: var(--button);
  color: var(--ink);
  font-size: var(--step-small);
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.25s ease;
}

.topbar__phone:hover,
.topbar__phone:focus-visible {
  background: var(--button-hover);
}

.topbar__phone svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

/* Full-screen menu behind the bar; the bar stays on top as its header */
.site-menu {
  position: fixed;
  inset: 0;
  z-index: -1;
  height: 100dvh;
  overflow-y: auto;
  background: radial-gradient(70% 50% at 85% 100%, rgba(47, 138, 0, 0.35) 0%, rgba(29, 29, 27, 0) 70%), var(--graphite);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.55s cubic-bezier(0.7, 0, 0.2, 1), visibility 0s linear 0.55s;
}

.site-menu.is-open {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path 0.55s cubic-bezier(0.7, 0, 0.2, 1), visibility 0s;
}

html.menu-open {
  overflow: hidden;
}

.site-menu__inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: center;
  gap: 2rem;
  min-height: 100%;
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
  padding-block: calc(var(--bar-height) + 2rem) 3rem;
}

.site-menu__list a {
  display: inline-block;
  padding-block: 0.2rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1.4rem + 4.2vw, 5.5rem);
  font-weight: 700;
  line-height: 1.08;
  text-decoration: none;
}

.site-menu__sub {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin: 0.25rem 0 0.75rem;
}

.site-menu__sub a {
  font-family: var(--font);
  font-size: var(--step-small);
  font-weight: 600;
  color: #cfd0cb;
}

.site-menu__list a:hover,
.site-menu__list a:focus-visible {
  color: var(--signal);
}

.site-menu__contact {
  display: grid;
  align-content: start;
  gap: 0.35rem;
  color: #c8c8c8;
}

.site-menu__label {
  margin-bottom: 0.5rem;
  color: var(--signal);
  font-weight: 700;
}

.site-menu__contact a {
  text-decoration: none;
}

.no-js .site-menu {
  position: static;
  clip-path: none;
  visibility: visible;
}

.no-js .menu-toggle {
  visibility: hidden;
}

@media (max-width: 759px) {
  .topbar__inner {
    grid-template-columns: auto 1fr auto;
    gap: 0.75rem;
  }

  .topbar__logo {
    order: -1;
  }

  .topbar__link {
    display: none;
  }

  .topbar__logo img {
    width: 7rem;
  }

  .topbar__phone span,
  [data-menu-label] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .menu-toggle {
    justify-self: end;
    order: 2;
  }

  .topbar__phone {
    padding: 0 0.75rem;
  }

  .site-menu__inner {
    grid-template-columns: 1fr;
  }
}

/* Hero: one oversized statement on brand black, running over the photo of the vans */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: max(36rem, 100svh);
  margin-top: calc(var(--bar-height) * -1);
  background: radial-gradient(60% 55% at 72% 62%, rgba(31, 90, 8, 0.55) 0%, rgba(8, 9, 7, 0) 70%), #080907;
  color: var(--white);
}

/* Live aurora: a slow noise wave of green light falling from the top edge */
.hero__aurora {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
}

.hero__aurora.is-ready {
  opacity: 1;
}

/* Glowing saw blade behind the copy, turning slowly */
.hero__blade {
  position: absolute;
  z-index: -2;
  left: 50%;
  top: calc(100% - 11rem);
  width: clamp(34rem, 78vw, 62rem);
  aspect-ratio: 1;
  margin-left: calc(clamp(34rem, 78vw, 62rem) / -2);
  background: url("../img/blade-glow-900.webp") center / contain no-repeat;
  opacity: 0.6;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: blade-turn 120s linear infinite;
}

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

/* The vans as a faint, fading backdrop so the copy stays on dark */
.hero__bg {
  position: absolute;
  z-index: -2;
  inset: auto 0 0;
  width: 100%;
  height: 66%;
  object-fit: cover;
  object-position: 50% 62%;
  opacity: 0.24;
  pointer-events: none;
  -webkit-mask: linear-gradient(180deg, transparent 0%, #000 60%, #000 88%, transparent 100%);
  mask: linear-gradient(180deg, transparent 0%, #000 60%, #000 88%, transparent 100%);
}

/* Darkens the edges so the copy stays readable over the glow */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(120% 85% at 50% 42%, rgba(8, 9, 7, 0) 30%, rgba(8, 9, 7, 0.45) 100%);
  pointer-events: none;
}

.hero__stage {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-block: calc(var(--bar-height) + 2rem) 4rem;
  text-align: center;
}

/* The sign from the vans: a lime panel with a white edge and black shards behind it */
.hero__sign {
  position: relative;
  isolation: isolate;
  display: inline-block;
  transform: skewX(-8deg);
}

.hero__sign::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -1.1rem -2.4rem;
  background: #0b0b0a;
  clip-path: polygon(0 18%, 7% 8%, 6% 0, 22% 6%, 40% 0, 62% 7%, 100% 0, 94% 30%, 100% 52%, 95% 78%, 100% 100%, 70% 94%, 48% 100%, 26% 93%, 9% 100%, 4% 70%, 0 48%);
}

.hero__sign::after {
  content: "";
  position: absolute;
  right: 1.2rem;
  bottom: 0.7rem;
  width: clamp(3rem, 7vw, 6rem);
  height: 0.9rem;
  background: repeating-linear-gradient(115deg, #0b0b0a 0 0.3rem, transparent 0.3rem 0.6rem);
}

.hero__title {
  padding: clamp(1.1rem, 2.4vw, 2.1rem) clamp(2rem, 5.5vw, 5rem);
  border: clamp(0.3rem, 0.6vw, 0.5rem) solid var(--white);
  background: linear-gradient(100deg, #6fc700 0%, #8fe000 48%, #58b800 100%);
  box-shadow: 0 30px 90px -20px rgba(111, 199, 0, 0.55);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 0.8rem + 6.2vw, 7rem);
  font-style: italic;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.hero__line {
  display: block;
  transform: skewX(8deg);
}

.hero__line--white {
  color: var(--white);
  text-shadow: 0.05em 0.05em 0 #0b0b0a;
}

.hero__line--black {
  color: #0b0b0a;
}

.hero__ribbon {
  position: relative;
  z-index: 1;
  margin-top: -0.4rem;
  padding: 0.55rem clamp(1.25rem, 3vw, 2.25rem);
  border: 0.25rem solid var(--white);
  background: #0b0b0a;
  color: var(--white);
  font-size: clamp(0.875rem, 0.7rem + 0.7vw, 1.375rem);
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: skewX(-8deg);
}

.hero__ribbon i {
  margin-inline: 0.4em;
  color: #8fe000;
}

.hero__lead {
  max-width: 34em;
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--step-lead);
  line-height: 1.5;
  text-shadow: 0 1px 14px rgba(8, 9, 7, 0.8);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 1.75rem;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.hero__cta {
  min-height: 3.75rem;
  padding: 0 2.25rem;
  border-radius: 999px;
  font-size: 1.125rem;
}

.hero__link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 0.35em;
}

.hero__link:hover,
.hero__link:focus-visible {
  text-decoration-color: var(--button);
}

.hero__link svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1rem;
  margin-top: clamp(1.75rem, 3.5vw, 2.75rem);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9375rem;
}

.hero__chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.9rem 0.4rem 0.45rem;
  border-radius: 999px;
}

.hero__chips svg {
  box-sizing: content-box;
  width: 1.125rem;
  height: 1.125rem;
  padding: 0.4rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  fill: none;
  stroke: var(--button);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 859px) {
  .hero__stage {
    padding-block: calc(var(--bar-height) + 1rem) 2rem;
  }
}

@media (max-width: 599px) {
  .hero__sign {
    display: block;
    width: calc(100% - 1.5rem);
  }

  .hero__sign::before {
    inset: -0.9rem -0.9rem;
  }

  .hero__sign::after {
    display: none;
  }

  .hero__title {
    padding: 1.1rem 0.5rem;
    font-size: clamp(2rem, 9.4vw, 2.75rem);
  }

  .hero__ribbon {
    width: calc(100% - 2.5rem);
    padding: 0.55rem 0;
    font-size: clamp(0.6875rem, 3.2vw, 0.8125rem);
    letter-spacing: 0.05em;
    white-space: nowrap;
  }

  .hero__ribbon i {
    margin-inline: 0.3em;
  }

  .hero__lead {
    margin-top: 1.5rem;
    font-size: 1.0625rem;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }

  .hero__cta {
    width: 100%;
  }

  .hero__chips {
    display: grid;
    gap: 0.35rem;
    margin-top: 1.5rem;
  }
}

@media (max-width: 419px) {
  .hero__actions,
  .hero__cta {
    width: 100%;
  }
}

/* Intro: centred statement on grey */
.intro {
  padding-block: clamp(3.5rem, 7vw, 6rem);
  text-align: center;
}

.intro__inner {
  display: grid;
  justify-items: center;
  gap: 1.25rem;
  max-width: 52rem;
}

.intro__title {
  font-size: var(--step-h2);
}

.intro__text {
  color: var(--ink-soft);
  font-size: var(--step-lead);
  line-height: 1.5;
}

/* Tiles: what the company stands for, in different colours and weights */
.values {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: var(--gap);
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-height: 15rem;
  padding: clamp(1.5rem, 2.2vw, 2rem);
  border-radius: var(--radius);
  overflow: hidden;
}

.tile__title {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: var(--step-h3);
  font-weight: 700;
  line-height: 1.1;
}

.tile__icon {
  flex: none;
  width: 2.1rem;
  height: 2.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tile p {
  line-height: 1.55;
}

.tile--photo {
  grid-row: span 2;
  padding: 0;
  background: var(--graphite);
  color: var(--white);
}

.tile--photo .tile__body {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: clamp(1.5rem, 2.2vw, 2rem);
}

.tile--photo .tile__icon {
  color: var(--signal);
}

.tile--photo p {
  color: #cfd0cb;
}

.tile__image {
  width: 100%;
  margin-top: auto;
  aspect-ratio: 4 / 3.3;
  object-fit: cover;
  object-position: 30% 50%;
}

.tile--signal {
  background: var(--signal);
  color: var(--ink);
}

.tile--white {
  background: var(--white);
}

.tile--white .tile__icon,
.tile--concrete .tile__icon {
  color: var(--signal-green);
}

.tile--white p,
.tile--concrete p {
  color: var(--ink-soft);
}

.tile--concrete {
  background: var(--concrete);
}

.tile--dark {
  background: var(--graphite-soft);
  color: var(--white);
}

.tile__label {
  align-self: flex-start;
  padding: 0.3rem 0.7rem;
  border-radius: 0.2rem;
  background: var(--signal);
  color: var(--ink);
  font-size: var(--step-meta) !important;
  font-weight: 700;
}

.tile__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 1rem;
  margin-top: auto;
}

.tile__facts dt {
  color: #a9aba5;
  font-size: var(--step-meta);
}

.tile__facts dd {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
}

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

  .tile--photo {
    grid-row: auto;
    grid-column: 1 / -1;
  }

  .tile__image {
    aspect-ratio: 16 / 9;
  }
}

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

  .tile {
    min-height: 0;
  }
}

/* Bore sizes: pick a job, see the hole at its real proportion within the 200 mm maximum */
.bores {
  padding-block: clamp(1rem, 3vw, 2rem) clamp(3.5rem, 7vw, 6rem);
}

.bores__box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.bores__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3.5vw, 3rem);
}

.bores__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.75rem;
}

.bores__tabs button {
  min-height: 2.75rem;
  padding: 0 1rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: var(--step-small);
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

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

.bores__tabs button[aria-selected="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.no-js .bores__tabs {
  display: none;
}

.bore[hidden] {
  display: none;
}

.no-js .bore[hidden] {
  display: block;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.bore__size {
  font-family: var(--font-display);
  font-size: clamp(3rem, 2rem + 3vw, 4.75rem);
  font-weight: 700;
  line-height: 1;
}

.bore__size small {
  margin-left: 0.15em;
  font-size: 0.45em;
}

.bore__title {
  margin: 0.5rem 0 0.75rem;
  font-size: var(--step-h3);
}

.bore p {
  max-width: 34em;
  color: var(--ink-soft);
}

.bores__note {
  margin-top: auto;
  padding-top: 1.75rem;
  color: var(--ink-soft);
  font-size: var(--step-meta);
}

.bores__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 1.5rem;
}

/* The slab: concrete texture with the hole and a 200 mm reference ring */
.slab {
  --mm: 200;
  position: relative;
  display: grid;
  place-items: center;
  min-height: 30rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.35) 0 1px, transparent 2px) 0 0 / 23px 19px,
    radial-gradient(circle at 70% 60%, rgba(0, 0, 0, 0.12) 0 1px, transparent 2px) 0 0 / 17px 29px,
    radial-gradient(circle at 40% 80%, rgba(0, 0, 0, 0.08) 0 2px, transparent 3px) 0 0 / 41px 37px,
    linear-gradient(135deg, #c9cbc5, #b5b8b1);
}

.slab__frame {
  position: relative;
  width: min(78%, 24rem);
  aspect-ratio: 1;
}

.slab__max {
  position: absolute;
  inset: 0;
  border: 2px dashed rgba(29, 29, 27, 0.45);
  border-radius: 50%;
}

.slab__max span {
  position: absolute;
  top: -0.2rem;
  left: 50%;
  padding: 0.15rem 0.5rem;
  border-radius: 0.2rem;
  background: rgba(29, 29, 27, 0.75);
  color: var(--white);
  font-size: var(--step-meta);
  font-weight: 600;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.slab__hole {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--mm) / 200 * 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #2b2b28 0 55%, #1d1d1b 75%);
  box-shadow: 0 0 0 0.35rem var(--signal), inset 0 0.6rem 1.2rem rgba(0, 0, 0, 0.6);
  transform: translate(-50%, -50%);
  transition: width 0.6s cubic-bezier(0.6, 0, 0.2, 1);
}

.slab__label {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  padding: 0.4rem 0.75rem;
  border-radius: 0.2rem;
  background: var(--white);
  font-size: var(--step-meta);
  font-weight: 700;
}

@media (max-width: 859px) {
  .bores__box {
    grid-template-columns: minmax(0, 1fr);
  }

  .slab {
    order: -1;
    min-height: 19rem;
  }

  .slab__frame {
    width: 15rem;
  }

  .bores__tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: calc(clamp(1.5rem, 3.5vw, 3rem) * -1);
    padding-inline: clamp(1.5rem, 3.5vw, 3rem);
    scrollbar-width: none;
  }

  .bores__tabs button {
    flex: none;
  }
}

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

/* Quote on a dark photo band */
.quote {
  position: relative;
  padding-block: clamp(4rem, 8vw, 7rem);
  overflow: hidden;
  background: var(--graphite);
  color: var(--white);
  isolation: isolate;
}

.quote__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  opacity: 0.3;
  filter: grayscale(0.4);
}

.quote__inner {
  display: grid;
  grid-template-columns: 14rem minmax(0, 42rem);
  justify-content: center;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.quote__portrait {
  width: 14rem;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 45%;
  box-shadow: 0 0 0 0.4rem var(--signal);
}

.quote__mark {
  width: 2.5rem;
  margin-bottom: 1.25rem;
  fill: var(--signal);
}

.quote__text p {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
}

.quote__text footer {
  display: grid;
  margin-top: 1.5rem;
}

.quote__text footer span {
  color: #c8c9c4;
}

@media (max-width: 759px) {
  .quote__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .quote__portrait {
    width: 9rem;
  }

  .quote__mark {
    margin-inline: auto;
  }
}

/* Jobs: stacked cards, each sticks and the next one slides over it */
.jobs {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.stack {
  display: grid;
  gap: 2rem;
}

.stack__item {
  position: sticky;
  top: calc(var(--bar-height) + 1.5rem + var(--i) * 1.25rem);
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  height: clamp(28rem, calc(100svh - var(--bar-height) - 7rem), 34rem);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--concrete);
  box-shadow: 0 -0.75rem 2.5rem -1.5rem rgba(0, 0, 0, 0.35);
  transform-origin: 50% 0;
}

.feature--dark {
  background: var(--graphite);
  color: var(--white);
}

.feature--dark .feature__sub,
.feature--dark .feature__body > p:not([class]),
.feature--dark .feature__meta dt {
  color: #c3c4bf;
}

.feature--dark .feature__meta {
  border-top-color: rgba(255, 255, 255, 0.2);
}

.feature--white {
  background: var(--white);
}

.feature--signal {
  background: var(--signal);
}

.feature--signal .feature__sub,
.feature--signal .feature__body > p:not([class]),
.feature--signal .feature__meta dt {
  color: #33360f;
}

.feature--signal .arrow-link::after {
  background: var(--ink);
}

.feature__body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.75rem, 3.5vw, 3rem);
}

.feature__label {
  align-self: flex-start;
  font-weight: 700;
}

.feature__title {
  font-size: var(--step-h2);
}

.feature__sub {
  color: var(--ink-soft);
  font-size: var(--step-lead);
  font-weight: 500;
  line-height: 1.35;
}

.feature__body > p:not([class]) {
  color: var(--ink-soft);
}

.feature__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: auto;
  margin-bottom: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(29, 29, 27, 0.25);
}

.feature__meta dt {
  color: var(--ink-soft);
  font-size: var(--step-meta);
}

.feature__meta dd {
  font-weight: 700;
}

.feature__image {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.feature__image--contain {
  padding: 2rem;
  background: var(--white);
  object-fit: contain;
}

.feature .arrow-link {
  align-self: flex-start;
}

@media (max-width: 759px) {
  .feature {
    grid-template-columns: 1fr;
    grid-template-rows: 12rem 1fr;
    height: min(40rem, calc(100svh - var(--bar-height) - 2rem));
  }

  .feature__image {
    order: -1;
    min-height: 0;
  }

  .feature__body {
    gap: 0.75rem;
  }

  .feature__body > p:not([class]) {
    display: none;
  }

  .stack__item {
    top: calc(var(--bar-height) + 0.75rem + var(--i) * 0.75rem);
  }
}

/* About: white panel overlapping the photo of the vans */
.about {
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

.about__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: stretch;
}

.about__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin: clamp(1.5rem, 3vw, 2.5rem) -3rem clamp(1.5rem, 3vw, 2.5rem) 0;
  padding: clamp(1.75rem, 3.5vw, 3rem);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1.5rem 3rem -1.5rem rgba(0, 0, 0, 0.2);
}

.about__title {
  font-size: var(--step-h2);
}

.about__sub {
  color: var(--ink-soft);
  font-size: var(--step-lead);
  font-weight: 500;
}

.about__panel > p:not([class]) {
  color: var(--ink-soft);
}

.about__panel .checks {
  margin: 0 0 0.75rem;
}

.about__image {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: 50% 62%;
  border-radius: var(--radius);
}

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

  .about__panel {
    margin: -4rem 1rem 0;
  }

  .about__image {
    order: -1;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

/* Area and way of working on one dark panel */
.area {
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

.area__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 2.5rem clamp(2rem, 5vw, 4rem);
  padding: clamp(1.75rem, 3.5vw, 3rem);
  border-radius: var(--radius);
  background: var(--graphite);
  color: var(--white);
}

.area__title {
  font-size: var(--step-h2);
}

.area__text {
  margin: 1rem 0 1.5rem;
  color: #c8c9c4;
}

.area__places {
  display: grid;
  gap: 0.5rem;
}

.area__places li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 700;
  line-height: 1.1;
}

.area__places li::before {
  content: "";
  flex: none;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--signal);
}

.area__places li:last-child {
  color: #a9aba5;
}

.area__places li:last-child::before {
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--signal);
}

.steps-title {
  margin-bottom: 0.5rem;
  font-size: var(--step-h3);
}

.steps li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.25rem 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.steps svg {
  grid-row: span 2;
  width: 2.25rem;
  height: 2.25rem;
  fill: none;
  stroke: var(--signal);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.steps h4 {
  font-size: 1.125rem;
  font-weight: 700;
}

.steps p {
  color: #c8c9c4;
  font-size: var(--step-small);
}

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

/* Contact band */
.contact {
  padding-block: clamp(3rem, 6vw, 5rem);
  background: var(--white);
  border-top: 6px solid var(--signal);
}

.contact__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.contact__title {
  font-size: var(--step-h2);
}

.contact__text {
  max-width: 36em;
  margin-top: 0.75rem;
  color: var(--ink-soft);
  font-size: var(--step-lead);
}

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

/* Footer */
.site-footer {
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  background: var(--graphite);
  color: #c8c8c8;
  font-size: var(--step-small);
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__brand img {
  width: 13rem;
  margin-bottom: 1.25rem;
}

.site-footer__social {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.site-footer__social a {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.site-footer .site-footer__social a:hover,
.site-footer .site-footer__social a:focus-visible {
  border-color: var(--signal);
  background: var(--signal);
  color: var(--white);
}

.site-footer__social svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 4rem;
}

.site-footer__nav ul {
  display: grid;
  align-content: start;
  gap: 0.5rem;
}

.site-footer__nav ul:first-child a {
  color: var(--white);
  font-weight: 700;
}

.site-footer a {
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--signal);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-top: 1.5rem;
  font-size: var(--step-meta);
}

/* Intro elements wait for the entrance timeline (removed by JS, with a failsafe) */
.motion-init [data-intro-title],
.motion-init [data-intro-fade] {
  visibility: hidden;
}

/* Glowing saw blade on the dark quote section, turning slowly */
.quote::before {
  content: "";
  position: absolute;
  z-index: 0;
  right: -15rem;
  bottom: -15rem;
  width: clamp(18rem, 34vw, 32rem);
  aspect-ratio: 1;
  background: url("../img/blade-glow-900.webp") center / contain no-repeat;
  opacity: 0.7;
  pointer-events: none;
  animation: blade-turn 120s linear infinite;
}

@keyframes blade-turn {
  to {
    transform: rotate(360deg);
  }
}

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

/* Shared section head */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 3rem;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.section-head__title {
  font-size: var(--step-h2);
}

.section-head__text {
  max-width: 34em;
  color: var(--ink-soft);
}

.icon {
  width: 2.25rem;
  height: 2.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* Clients */
.clients {
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

.clients__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
}

.clients__list li {
  display: grid;
  align-content: start;
  gap: 0.6rem;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  border-top: 3px solid var(--signal);
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--white);
}

.clients__list .icon {
  color: var(--signal-green);
}

.clients__list h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
}

.clients__list p {
  color: var(--ink-soft);
  font-size: var(--step-small);
}

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

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


/* Sub-page hero */
.page-hero {
  background: var(--white);
}

.page-hero__head {
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
}

.page-hero__title {
  max-width: 20em;
  font-size: var(--step-h1);
}

.page-hero__sub {
  max-width: 36em;
  margin-top: 0.6rem;
  color: var(--ink-soft);
  font-size: var(--step-lead);
  font-weight: 500;
}

.page-hero__photo {
  height: clamp(16rem, 44svh, 32rem);
  overflow: hidden;
}

.page-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
  color: var(--ink-soft);
  font-size: var(--step-meta);
}

.crumbs li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: #b5b5b5;
}

.crumbs a {
  text-decoration: none;
}

.crumbs a:hover,
.crumbs a:focus-visible {
  color: var(--signal-text);
  text-decoration: underline;
}

/* Chips (service jump links) */
.chips {
  padding-block: 1.5rem;
}

.chips ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chips a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem 0.55rem 0.75rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: var(--step-small);
  font-weight: 700;
  text-decoration: none;
}

.chips a:hover,
.chips a:focus-visible {
  border-color: var(--signal);
  color: var(--signal-text);
}

.chip__icon {
  width: 1.4rem;
  height: 1.4rem;
  fill: none;
  stroke: var(--signal-green);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Service rows on the services page */
.service-row {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.service-row:nth-of-type(even) {
  background: var(--white);
}

.service-row__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.service-row--flip .service-row__image {
  order: -1;
}

.service-row__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: var(--step-h2);
}

.service-row__icon {
  flex: none;
  width: 2.6rem;
  height: 2.6rem;
  fill: none;
  stroke: var(--signal-green);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-row__text > p {
  margin-bottom: 1rem;
  color: var(--ink-soft);
}

.service-row__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.checks {
  display: grid;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.checks li {
  position: relative;
  padding-left: 1.75rem;
  font-weight: 600;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 1rem;
  height: 0.55rem;
  border-left: 2.5px solid var(--signal-green);
  border-bottom: 2.5px solid var(--signal-green);
  transform: rotate(-45deg);
}

.service-row__examples {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.service-row__subtitle {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 800;
}

@media (max-width: 759px) {
  .service-row__main {
    grid-template-columns: 1fr;
  }

  .service-row__image,
  .service-row--flip .service-row__image {
    order: -1;
  }
}


/* Contact page */
.contact-page {
  padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(3rem, 6vw, 5rem);
}

.contact-cards {
  position: sticky;
  top: calc(var(--bar-height) + 1.5rem);
}

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

.contact-cards {
  display: grid;
  gap: var(--gap);
}

.contact-card {
  display: grid;
  gap: 0.35rem;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border-radius: var(--radius);
  text-decoration: none;
}

.contact-card svg {
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 0.5rem;
  fill: currentColor;
}

.contact-card--white svg {
  fill: var(--signal-green);
}

.contact-card__label {
  font-size: var(--step-small);
  font-weight: 700;
  opacity: 0.85;
}

.contact-card__value {
  font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem);
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.contact-card__note {
  font-size: var(--step-small);
  opacity: 0.85;
}

.contact-card--signal {
  background: var(--signal);
  color: var(--ink);
}

.contact-card--signal .contact-card__label,
.contact-card--signal .contact-card__note {
  opacity: 1;
}

.contact-card--white {
  background: var(--white);
}

.contact-card--dark {
  background: var(--graphite);
  color: var(--white);
}

a.contact-card:hover,
a.contact-card:focus-visible {
  box-shadow: inset 0 0 0 3px var(--signal);
}

.arrow-link--light {
  justify-self: start;
  margin-top: 0.75rem;
  color: var(--white);
}

/* Contact form: white sheet, grouped questions, underline fields */
.form {
  display: grid;
  gap: clamp(2rem, 3.5vw, 2.75rem);
  padding: clamp(1.75rem, 4vw, 3.25rem);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 0 var(--line), 0 1.5rem 3rem -2rem rgba(0, 0, 0, 0.25);
}

.form__title {
  font-size: var(--step-h2);
}

.form__intro p {
  margin-top: 0.5rem;
  color: var(--ink-soft);
  font-size: var(--step-small);
}

.req {
  color: var(--signal-text);
  font-weight: 800;
}

.form__group {
  display: grid;
  gap: 1.75rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.form__legend {
  display: block;
  width: 100%;
  margin-bottom: 1.25rem;
  padding: 0 0 0.75rem;
  border-bottom: 1px solid var(--line);
  font-size: var(--step-h3);
  font-family: var(--font-display);
  font-weight: 700;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem 2rem;
}

/* Radio list: large hit areas, custom circle, a short hint per option */
.options {
  display: grid;
  gap: 0.25rem;
}

.option {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.6rem 0.75rem;
  margin-inline: -0.75rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.option:hover {
  background: var(--surface);
}

.option input {
  appearance: none;
  flex: none;
  width: 1.4rem;
  height: 1.4rem;
  margin: 0.1rem 0 0;
  border: 2px solid #8d9095;
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.option input:checked {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 0.25rem var(--white), inset 0 0 0 1rem var(--signal-green);
}

.option input:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

.option__text {
  display: grid;
  gap: 0.1rem;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
}

.option__hint {
  color: var(--ink-soft);
  font-size: var(--step-small);
  font-weight: 400;
}

.option:has(input:checked) .option__text {
  color: var(--ink);
}

/* Underline fields */
.line-field {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.line-field label {
  font-size: var(--step-small);
  font-weight: 800;
}

.line-field input,
.line-field select,
.line-field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.5rem 0.1rem;
  border: 0;
  border-bottom: 1.5px solid #9a9da1;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.125rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.line-field textarea {
  min-height: 7rem;
  resize: vertical;
  line-height: 1.5;
}

.line-field ::placeholder {
  color: #a3a6aa;
}

.line-field input:hover,
.line-field select:hover,
.line-field textarea:hover {
  border-bottom-color: var(--ink);
}

.line-field input:focus,
.line-field select:focus,
.line-field textarea:focus {
  outline: none;
  border-bottom-color: var(--signal-green);
  box-shadow: 0 1.5px 0 0 var(--signal-green);
}

.select {
  position: relative;
}

.select select {
  appearance: none;
  padding-right: 2rem;
  cursor: pointer;
}

.select::after {
  content: "";
  position: absolute;
  right: 0.35rem;
  top: 50%;
  width: 0.6rem;
  height: 0.6rem;
  margin-top: -0.45rem;
  border-right: 2px solid var(--signal);
  border-bottom: 2px solid var(--signal);
  transform: rotate(45deg);
  pointer-events: none;
}

/* Errors only after a submit attempt */
.was-validated .line-field :invalid {
  border-bottom-color: #c62828;
  box-shadow: 0 1.5px 0 0 #c62828;
}

.was-validated .options:has(:invalid) .option input {
  border-color: #c62828;
}

.form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  padding-top: 0.5rem;
}

.form__footer .button {
  min-height: 3.5rem;
  padding: 0 1.75rem;
  border: 0;
  font-size: 1rem;
  cursor: pointer;
}

.form__footer .button .arrow {
  background: currentColor;
}

.form__demo {
  color: var(--ink-soft);
  font-size: var(--step-meta);
}

.form__status:empty {
  display: none;
}

.form__status {
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--signal);
  border-radius: 0.25rem;
  background: #f3f7e0;
  font-size: var(--step-small);
}

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

.company__title {
  margin-bottom: 1.25rem;
  font-size: var(--step-h3);
}

@media (max-width: 759px) {
  .contact-page__grid {
    grid-template-columns: 1fr;
  }

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

  .contact-cards {
    position: static;
  }
}


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

.faq__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

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

.faq__item summary {
  position: relative;
  padding: 1.15rem 2.5rem 1.15rem 0;
  font-size: 1.125rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

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

.faq__item summary::after {
  content: "";
  position: absolute;
  right: 0.4rem;
  top: 50%;
  width: 0.6rem;
  height: 0.6rem;
  margin-top: -0.45rem;
  border-right: 2px solid var(--signal);
  border-bottom: 2px solid var(--signal);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.faq__item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: -0.1rem;
}

.faq__item p {
  max-width: 40em;
  padding-bottom: 1.25rem;
  color: var(--ink-soft);
}


/* 404 */
.not-found {
  padding-block: clamp(4rem, 10vw, 8rem);
}

.not-found__inner {
  display: grid;
  justify-items: start;
  gap: 1rem;
}

.not-found__code {
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 700;
  line-height: 1;
}


/* Service detail page */
.service {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.service__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.service__lead {
  margin-bottom: 1.25rem;
  font-size: var(--step-lead);
  font-weight: 500;
  line-height: 1.45;
}

.service__text > p:not([class]) {
  max-width: 38em;
  margin-bottom: 1rem;
  color: var(--ink-soft);
}

.service__subtitle {
  margin: 2.5rem 0 0.75rem;
  font-size: var(--step-h3);
}

.service__aside {
  position: sticky;
  top: calc(var(--bar-height) + 1.5rem);
  display: grid;
  gap: var(--gap);
}

.spec {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border-radius: var(--radius);
  background: var(--graphite);
  color: var(--white);
}

.spec__title {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.spec dl {
  display: grid;
  gap: 0.9rem;
}

.spec dt {
  color: #a9aba5;
  font-size: var(--step-meta);
}

.spec dd {
  font-size: 1.125rem;
  font-weight: 700;
}

.spec__actions {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.service__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.service__image--contain {
  padding: 1.5rem;
  background: var(--white);
  object-fit: contain;
}

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

.others__title {
  margin-bottom: 1.25rem;
  font-size: var(--step-h3);
}

.others__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

.other {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
}

.other img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.other__body {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.25rem 1rem;
  padding: 1.25rem 1.5rem;
}

.other__name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.1;
}

.other__meta {
  grid-row: 2;
  color: var(--ink-soft);
  font-size: var(--step-small);
}

.other .arrow {
  grid-row: 1 / span 2;
  grid-column: 2;
  color: var(--signal-green);
}

.other:hover img {
  transform: scale(1.04);
}

.other:hover .arrow,
.other:focus-visible .arrow {
  transform: translateX(0.3rem);
}

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

  .service__aside {
    position: static;
  }

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

/* Service overview rows link through to the detail pages */
.service-row__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  align-items: center;
  margin-top: 1.75rem;
}

.service-row__image--contain {
  padding: 2rem;
  background: var(--white);
  object-fit: contain;
}

.service-row:nth-of-type(even) .service-row__image--contain {
  background: var(--surface);
}

/* Practice: a short photo series of one job */
.practice {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.practice__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
}

.practice figure {
  display: grid;
  gap: 0.6rem;
}

.practice img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
}

.practice__more {
  margin-top: 1.75rem;
}

.practice figcaption {
  font-weight: 700;
  line-height: 1.3;
}

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

/* Projects: one block per project, photos of the same project together */
.project {
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}

.project__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-bottom: 1.5rem;
}

.project__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  font-size: var(--step-meta);
}

.project__title {
  font-size: var(--step-h2);
}

.project__text {
  max-width: 40em;
  margin-top: 0.5rem;
  color: var(--ink-soft);
}

.project__count {
  color: var(--ink-soft);
  font-size: var(--step-meta);
  font-weight: 700;
}

.project__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr));
  gap: var(--gap);
}

.project__photo {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: var(--concrete);
}

.project__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project__photo:hover img {
  transform: scale(1.04);
}

@media (min-width: 760px) {
  .project__grid li:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }

  .project__grid li:first-child .project__photo {
    height: 100%;
    aspect-ratio: auto;
  }
}

/* Lightbox */
.lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(14, 14, 13, 0.96);
  color: var(--white);
}

.lightbox::backdrop {
  background: transparent;
}

.lightbox__stage {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 4.5rem var(--gutter) 3.5rem;
}

.lightbox__image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox__bar {
  position: absolute;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--gutter);
  font-weight: 700;
}

.lightbox__caption {
  position: absolute;
  inset: auto 0 1rem;
  text-align: center;
  color: #c9cbc4;
  font-size: var(--step-meta);
}

.lightbox__button {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.lightbox__button:hover {
  border-color: var(--signal);
  background: var(--signal);
}

.lightbox__button svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
}

.lightbox__nav--prev {
  left: var(--gutter);
}

.lightbox__nav--next {
  right: var(--gutter);
}

@media (max-width: 759px) {
  .lightbox__stage {
    padding-inline: 0;
  }

  .lightbox__image {
    border-radius: 0;
  }

  .lightbox__nav {
    top: auto;
    bottom: 0.75rem;
    translate: none;
  }
}

/* Long chip rows scroll sideways on a phone instead of stacking */
@media (max-width: 759px) {
  .chips--scroll ul {
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .chips--scroll a {
    flex: none;
    white-space: nowrap;
  }
}
