/* Kwik RC Frames website
   Colours and type are set once here. Change a value below and it changes everywhere. */

/* One typeface for the whole site: Geist, with ordinary letter proportions (not stretched wide, not narrow).
   Headings are the same typeface, just bigger and bolder. Served from vendor/fonts. */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../vendor/fonts/geist-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../vendor/fonts/geist-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Colours: light cast concrete, smooth shutter finish, graphite, rebar steel, Kwik red */
  --cast: #d6d5d1;
  --shutter: #ecece9;
  --graphite: #1c2124;
  --steel: #5b6469;
  --kwik: #e00000;      /* logo red is #ff0000; this shade keeps white button text readable */
  --kwik-deep: #b50000;
  --line: rgba(28, 33, 36, 0.16);
  --line-strong: rgba(28, 33, 36, 0.7);

  /* Type */
  --font: 'Geist', 'Segoe UI', Arial, sans-serif;
  --font-display: var(--font);   /* headings use the same typeface as the text */
  --t-small: 0.875rem;
  --t-body: 1.0625rem;
  --t-lead: 1.25rem;
  --t-h3: 1.5rem;
  --t-h2: clamp(1.9rem, 3.6vw, 3.1rem);
  --t-h1: clamp(2.5rem, 5.6vw, 5.25rem);

  /* Layout */
  --gutter: clamp(1.25rem, 4.5vw, 4rem);
  --max: 82rem;
  --header-h: 4rem;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.55;
  color: var(--graphite);
  background: var(--cast);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-color: var(--kwik); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--kwik); outline-offset: 3px; }

h2 {
  font-family: var(--font-display);
  font-size: var(--t-h2);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h3 {
  font-size: var(--t-h3);
  font-weight: 680;
  line-height: 1.15;
}

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

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--graphite); color: var(--shutter); padding: 0.75rem 1rem;
}
.skip:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0.75rem 1.35rem;
  border: 1.5px solid var(--kwik); border-radius: var(--radius);
  background: var(--kwik); color: #fff;
  font-weight: 640; font-size: 1rem; line-height: 1.1;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.button:hover { background: var(--kwik-deep); border-color: var(--kwik-deep); }
.button--quiet { background: transparent; color: var(--graphite); border-color: var(--graphite); }
.button--quiet:hover { background: var(--graphite); color: var(--shutter); border-color: var(--graphite); }
.button--small { min-height: 2.5rem; padding: 0.5rem 1rem; font-size: 0.9375rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  background: rgba(214, 213, 209, 0.88);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner {
  height: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand__mark svg { display: block; }
.brand__name { font-weight: 800; font-size: 1.3rem; line-height: 1; white-space: nowrap; }
.brand__name span { font-weight: 450; font-size: 1.0625rem; margin-left: 0.15rem; }
.brand img { height: 2.25rem; width: auto; }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav ul { display: flex; gap: 1.6rem; }
.site-nav ul a { text-decoration: none; font-weight: 560; font-size: 0.975rem; padding: 0.4rem 0; border-bottom: 2px solid transparent; }
.site-nav ul a:hover { border-bottom-color: var(--kwik); }
.menu-button { display: none; }

@media (max-width: 860px) {
  .menu-button {
    display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0 0.9rem;
    border: 1.5px solid var(--graphite); border-radius: var(--radius); background: transparent;
    font-weight: 600; cursor: pointer;
  }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1rem var(--gutter) 1.5rem;
    background: var(--cast); border-bottom: 1px solid var(--line);
    transform: translateY(-0.5rem); opacity: 0; visibility: hidden;
    transition: opacity 0.18s, transform 0.18s, visibility 0s 0.18s;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; transition: opacity 0.18s, transform 0.18s; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 0.85rem 0; font-size: 1.25rem; font-weight: 680; border-bottom: 1px solid var(--line); }
}

/* ---------- Hero: the frame builds itself when the page opens ---------- */
.build { position: relative; background: var(--cast); }
.build__stage { position: relative; height: 100vh; height: 100svh; min-height: 34rem; overflow: hidden; }
.build__canvas { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity 0.5s; }
.build__stage::before {
  content: ''; position: absolute; inset: 0 auto 0 0; width: 62%; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(214, 213, 209, 0.9) 0%, rgba(214, 213, 209, 0.75) 45%, rgba(214, 213, 209, 0) 100%);
}
.build__fallback { display: none; }

.build__copy {
  position: absolute; z-index: 2;
  left: var(--gutter); top: calc(var(--header-h) + clamp(2rem, 9vh, 6rem));
  width: min(46rem, 52vw);
  pointer-events: none;
}
.build__copy a { pointer-events: auto; }
.build__title {
  font-family: var(--font-display);
  font-size: var(--t-h1);
  font-weight: 650;
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.build__captions { display: grid; margin-top: clamp(1.25rem, 3vh, 2rem); max-width: 30rem; }
.build__caption {
  grid-area: 1 / 1;
  font-size: var(--t-lead); line-height: 1.45;
  opacity: 0; transform: translateY(0.4rem);
  transition: opacity 0.45s, transform 0.45s;
}
.build__caption.is-on { opacity: 1; transform: none; }
.build__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

.readout {
  position: absolute; z-index: 2;
  right: var(--gutter); bottom: clamp(1.5rem, 6vh, 3.5rem);
  width: 17rem;
  border: 1.5px solid var(--graphite);
  background: rgba(236, 236, 233, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.readout__head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; border-bottom: 1px solid var(--line-strong); }
.readout__level { padding: 0.55rem 0 0.55rem 0.85rem; font-weight: 680; font-size: 1rem; }
.readout__pause {
  align-self: stretch; min-width: 4.25rem; padding: 0 0.85rem;
  border: 0; border-left: 1px solid var(--line-strong); background: none; cursor: pointer;
  font-size: var(--t-small); font-weight: 640;
}
.readout__pause:hover { background: var(--graphite); color: var(--shutter); }
.readout__rows { padding: 0.35rem 0.85rem 0.6rem; }
.readout__row { position: relative; display: flex; justify-content: space-between; align-items: baseline; padding: 0.45rem 0 0.55rem; }
.readout__row + .readout__row { border-top: 1px solid var(--line); }
.readout__row dt { font-size: var(--t-small); font-weight: 600; color: var(--steel); }
.readout__row dd { font-size: 0.9375rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.readout__row::after {
  content: ''; position: absolute; left: 0; bottom: 0.2rem; height: 3px;
  width: calc(var(--done) * 100%);
  background: var(--kwik);
}

@media (max-width: 760px) {
  .build__stage::before {
    content: ''; position: absolute; inset: 0 0 auto 0; width: auto; height: 68%; z-index: 1; pointer-events: none;
    background: linear-gradient(rgba(214, 213, 209, 0.94) 62%, rgba(214, 213, 209, 0));
  }
  .build__copy { top: calc(var(--header-h) + 1.25rem); width: auto; right: var(--gutter); }
  .build__caption { font-size: 1.0625rem; }
  .build__actions { margin-top: 1.1rem; }
  .build__actions .button { min-height: 2.75rem; padding: 0.6rem 1rem; font-size: 0.9375rem; }
  .readout { left: var(--gutter); right: var(--gutter); width: auto; bottom: 1rem; }
  .readout__level { padding: 0.45rem 0 0.45rem 0.7rem; font-size: 0.9375rem; }
  .readout__rows { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; padding: 0.45rem 0.7rem 0.6rem; }
  .readout__row { flex-direction: column; padding: 0 0 0.55rem; }
  .readout__row + .readout__row { border-top: 0; }
  .readout__row dt { font-size: 0.75rem; }
  .readout__row dd { font-size: 0.875rem; }
  .readout__row::after { bottom: 0; }
}

/* No 3D available: show a still, drawing-style background instead */
.build.no-3d .build__canvas, .build.no-3d .readout { display: none; }
.build.no-3d .build__fallback {
  display: block; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), rgba(224, 0, 0, 0.35) calc(25% - 1px) 25%),
    repeating-linear-gradient(0deg, transparent 0 calc(33.33% - 1px), rgba(224, 0, 0, 0.25) calc(33.33% - 1px) 33.33%);
  opacity: 0.6;
}
.build.no-3d .build__caption { position: static; opacity: 1; transform: none; }
.build.no-3d .build__caption:not([data-caption="0"]) { display: none; }

@media (prefers-reduced-motion: reduce) {
  .build__canvas, .build__caption { transition: none; }
  .build__caption:not([data-caption="0"]) { display: none; }
  .build__caption[data-caption="0"] { opacity: 1; transform: none; }
}

/* ---------- Title block ---------- */
.titleblock { padding: 0 var(--gutter); background: var(--cast); }
.titleblock__grid {
  max-width: calc(var(--max) - 2 * var(--gutter)); margin: 0 auto;
  display: grid; grid-template-columns: repeat(6, 1fr);
  border: 2px solid var(--graphite);
  transform: translateY(-1px);
}
.titleblock__grid > div { padding: 0.9rem 1rem 1.05rem; border-left: 1px solid var(--line-strong); }
.titleblock__grid > div:first-child { border-left: 0; }
.titleblock__grid dt { font-size: 0.8125rem; font-weight: 600; color: var(--steel); }
.titleblock__grid dd { margin-top: 0.15rem; font-size: 1.0625rem; font-weight: 680; line-height: 1.3; }
@media (max-width: 1000px) {
  .titleblock__grid { grid-template-columns: repeat(3, 1fr); }
  .titleblock__grid > div:nth-child(4) { border-left: 0; }
  .titleblock__grid > div:nth-child(n + 4) { border-top: 1px solid var(--line-strong); }
}
@media (max-width: 560px) {
  .titleblock__grid { grid-template-columns: repeat(2, 1fr); }
  .titleblock__grid > div:nth-child(4) { border-left: 1px solid var(--line-strong); }
  .titleblock__grid > div:nth-child(odd) { border-left: 0; }
  .titleblock__grid > div:nth-child(n + 3) { border-top: 1px solid var(--line-strong); }
}

/* ---------- Sections ---------- */
.precast, .compare, .services, .projects, .contact { padding: clamp(4.5rem, 11vw, 9rem) 0; }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head p { margin-top: 1.1rem; font-size: var(--t-lead); line-height: 1.45; color: var(--steel); max-width: 38rem; }

/* ---------- Precast viewer ---------- */
.precast { background: var(--shutter); margin-top: clamp(3rem, 7vw, 5rem); }
.viewer {
  display: grid;
  grid-template-columns: minmax(18rem, 1fr) minmax(0, 1.75fr);
  grid-template-areas: "tabs stage" "panels stage";
  grid-template-rows: auto 1fr;
  column-gap: clamp(2rem, 4vw, 4rem);
}
.viewer__tabs { grid-area: tabs; display: flex; flex-wrap: wrap; gap: 0 1.5rem; border-bottom: 1px solid var(--line); }
.viewer__tabs button {
  position: relative; padding: 0.8rem 0; border: 0; background: none; cursor: pointer;
  font-weight: 680; font-size: 1.0625rem; color: var(--steel);
}
.viewer__tabs button[aria-selected="true"] { color: var(--graphite); }
.viewer__tabs button[aria-selected="true"]::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--kwik);
}
.viewer__tabs button:hover { color: var(--graphite); }
.viewer__panels { grid-area: panels; padding-top: 2rem; }
.product h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 650; line-height: 1.15; }
.product > p:first-of-type { margin-top: 0.9rem; max-width: 34rem; }
.product__list { margin-top: 1.4rem; border-top: 1px solid var(--line); }
.product__list li { padding: 0.65rem 0 0.65rem 1.25rem; border-bottom: 1px solid var(--line); position: relative; }
.product__list li::before { content: ''; position: absolute; left: 0; top: 1.15rem; width: 0.55rem; height: 2px; background: var(--kwik); }
.product__note { margin-top: 1.2rem; font-size: var(--t-small); color: var(--steel); }

.viewer__stage {
  grid-area: stage; position: relative;
  aspect-ratio: 5 / 4; min-height: 22rem;
  background: var(--shutter);
  border: 1px solid var(--line);
  touch-action: pan-y;
  cursor: grab;
}
.viewer__stage.is-dragging { cursor: grabbing; }
.viewer__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.viewer__hint {
  position: absolute; left: 1rem; bottom: 1rem; font-size: var(--t-small); font-weight: 600; color: var(--steel);
  transition: opacity 0.3s; pointer-events: none;
}
.viewer__hint.is-gone { opacity: 0; }
.viewer__toggle {
  position: absolute; right: 1rem; bottom: 1rem;
  min-height: 2.75rem; padding: 0.55rem 1rem;
  border: 1.5px solid var(--graphite); border-radius: var(--radius);
  background: rgba(236, 236, 233, 0.85); cursor: pointer;
  font-weight: 640; font-size: 0.9375rem;
  transition: background-color 0.15s, color 0.15s;
}
.viewer__toggle:hover { background: var(--graphite); color: var(--shutter); }
.viewer__toggle[aria-pressed="true"] { background: var(--graphite); color: var(--shutter); }
.viewer__toggle[aria-pressed="true"]::before {
  content: ''; display: inline-block; width: 0.6rem; height: 0.6rem; margin-right: 0.5rem; background: var(--kwik);
}
.viewer.no-3d .viewer__stage { display: none; }

@media (max-width: 900px) {
  .viewer { grid-template-columns: 1fr; grid-template-areas: "tabs" "stage" "panels"; }
  .viewer__tabs { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .viewer__tabs button { white-space: nowrap; }
  .viewer__stage { margin-top: 1.25rem; aspect-ratio: 1 / 1; min-height: 0; }
}

/* ---------- Off site vs on site ---------- */
.compare { background: var(--cast); }
.compare__lanes { display: grid; gap: 1.5rem; }
.lane { display: grid; grid-template-columns: 15rem 1fr; gap: 1.5rem; align-items: stretch; }
.lane__title { font-size: 1.125rem; padding-top: 0.6rem; }
.lane__steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; counter-reset: step; }
.lane__steps li {
  counter-increment: step;
  position: relative; min-height: 6.5rem; padding: 0.75rem 0.85rem;
  background: var(--graphite); color: var(--shutter);
  font-size: 0.9375rem; font-weight: 560; line-height: 1.3;
}
.lane__steps li::before { content: counter(step); display: block; margin-bottom: 0.5rem; font-size: 0.8125rem; font-weight: 700; opacity: 0.6; }
.lane--kwik .lane__steps li { background: var(--kwik); color: #fff; }
.lane--kwik .lane__steps::after {
  content: ''; grid-column: 2 / -1;
  border: 1.5px dashed var(--line-strong);
}
.compare__result { margin-top: clamp(2rem, 5vw, 3rem); max-width: 44rem; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.35; font-weight: 560; }

/* The steps appear one after another, the first time the section is seen */
@media (prefers-reduced-motion: no-preference) {
  .compare.will-animate .lane__steps li,
  .compare.will-animate .lane--kwik .lane__steps::after { opacity: 0; transform: translateY(0.75rem); }
  .compare.is-seen .lane__steps li,
  .compare.is-seen .lane--kwik .lane__steps::after { opacity: 1; transform: none; transition: opacity 0.4s, transform 0.4s; }
  .compare.is-seen .lane:first-child li:nth-child(1) { transition-delay: 0.15s; }
  .compare.is-seen .lane:first-child li:nth-child(2) { transition-delay: 0.45s; }
  .compare.is-seen .lane:first-child li:nth-child(3) { transition-delay: 0.75s; }
  .compare.is-seen .lane:first-child li:nth-child(4) { transition-delay: 1.05s; }
  .compare.is-seen .lane:first-child li:nth-child(5) { transition-delay: 1.35s; }
  .compare.is-seen .lane--kwik li { transition-delay: 0.15s; }
  .compare.is-seen .lane--kwik .lane__steps::after { transition-delay: 0.5s; }
}

@media (max-width: 760px) {
  .lane { grid-template-columns: 1fr; gap: 0.6rem; }
  .lane__title { padding-top: 0; }
  .lane__steps { grid-template-columns: 1fr; }
  .lane__steps li { min-height: 0; display: flex; gap: 0.75rem; align-items: baseline; }
  .lane__steps li::before { margin: 0; }
  .lane--kwik .lane__steps::after { display: none; }
}

/* ---------- Services ---------- */
.services { background: var(--shutter); }
.services__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem); }
.services__list li { border-top: 2px solid var(--graphite); padding-top: 1.1rem; }
.services__list p { margin-top: 0.6rem; color: var(--steel); max-width: 26rem; }
@media (max-width: 900px) { .services__list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services__list { grid-template-columns: 1fr; } }

/* ---------- Safety ---------- */
.safety { background: var(--graphite); color: var(--shutter); padding: clamp(4.5rem, 11vw, 9rem) 0; }
.safety__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.safety__intro p { margin-top: 1.2rem; font-size: var(--t-lead); line-height: 1.5; color: #c4c8c9; max-width: 34rem; }
.safety__intro p:first-of-type { margin-top: 1.5rem; }
.safety__steps h3 { font-size: 1.25rem; padding-bottom: 0.9rem; border-bottom: 1px solid rgba(236, 236, 233, 0.3); }
.safety__steps ol { counter-reset: s; }
.safety__steps li {
  counter-increment: s; display: grid; grid-template-columns: 2.25rem 1fr; gap: 0.5rem;
  padding: 0.85rem 0; border-bottom: 1px solid rgba(236, 236, 233, 0.14);
}
.safety__steps li::before { content: counter(s); font-weight: 720; color: #ff3b30; }
@media (max-width: 860px) { .safety__grid { grid-template-columns: 1fr; } }

/* ---------- Projects ---------- */
.projects { background: var(--cast); }
.filters { display: flex; flex-wrap: wrap; gap: 0.25rem 1.4rem; margin-bottom: 2rem; }
.filters button {
  position: relative; padding: 0.5rem 0; border: 0; background: none; cursor: pointer;
  font-weight: 620; color: var(--steel);
}
.filters button[aria-pressed="true"] { color: var(--graphite); }
.filters button[aria-pressed="true"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0.15rem; height: 2px; background: var(--kwik); }
.filters button:hover { color: var(--graphite); }
.filters button sup { margin-left: 0.2rem; font-size: 0.7em; font-weight: 600; color: var(--steel); }

.project-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(1.5rem, 4vw, 3rem); border-top: 2px solid var(--graphite); }
.project {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 0.95rem 0; border-bottom: 1px solid var(--line);
}
.project h3 { font-size: 1.125rem; font-weight: 620; }
.project__sector { font-size: var(--t-small); font-weight: 600; color: var(--steel); white-space: nowrap; }
.project--featured {
  grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name sector" "note note";
  padding: 1.4rem 0 1.3rem; border-bottom-color: var(--line-strong);
}
.project--featured h3 { grid-area: name; font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 650; line-height: 1.15; letter-spacing: -0.01em; }
.project--featured .project__sector { grid-area: sector; }
.project__note { grid-area: note; margin-top: 0.4rem; color: var(--steel); }
.project.is-hidden { display: none; }
.projects__empty { padding: 1.5rem 0; color: var(--steel); }
@media (max-width: 700px) { .project-list { grid-template-columns: 1fr; } }

.clients { margin-top: clamp(3.5rem, 8vw, 6rem); }
.clients h3 { font-size: 1.125rem; color: var(--steel); font-weight: 600; }
.clients ul { display: flex; flex-wrap: wrap; gap: 0.75rem 2.25rem; margin-top: 1.1rem; }
.clients li { font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: 700; letter-spacing: 0.01em; }

/* ---------- Film: the drone reel from site ---------- */
/* The video runs edge to edge, like a wide window onto the site. The heading sits over the bottom of it
   on a dark fade so it stays readable whatever is in the picture. */
.film { position: relative; background: var(--graphite); color: #fff; overflow: hidden; }
.film__video { width: 100%; height: min(56.25vw, calc(100svh - var(--header-h))); min-height: 26rem; object-fit: cover; }
.film__overlay {
  position: absolute; inset: auto 0 0 0; pointer-events: none;
  padding: clamp(6rem, 16vw, 12rem) 0 clamp(1.5rem, 3.5vw, 3rem);
  background: linear-gradient(rgba(20, 24, 26, 0), rgba(20, 24, 26, 0.55) 45%, rgba(20, 24, 26, 0.9));
}
.film__bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.film__text { max-width: 40rem; }
.film__text p { margin-top: 0.7rem; font-size: var(--t-lead); line-height: 1.45; color: #e3e5e4; }
@media (max-width: 700px) {
  .film__video { height: 125vw; max-height: 85svh; min-height: 0; }
  .film__bar { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .film__text p { font-size: 1.0625rem; }
}
.film__toggle {
  flex: none; pointer-events: auto;
  min-height: 2.75rem; min-width: 5rem; padding: 0.55rem 1rem;
  border: 1.5px solid #fff; border-radius: var(--radius);
  background: rgba(28, 33, 36, 0.7); color: #fff; cursor: pointer;
  font-weight: 640; font-size: 0.9375rem;
}
.film__toggle:hover { background: #fff; color: var(--graphite); }

/* ---------- Contact ---------- */
.contact { background: var(--shutter); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contact__intro > p { margin-top: 1.2rem; font-size: var(--t-lead); line-height: 1.45; color: var(--steel); max-width: 32rem; }
.contact__details { margin-top: 2.25rem; border-top: 2px solid var(--graphite); }
.contact__details > div { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.contact__details dt { font-size: var(--t-small); font-weight: 600; color: var(--steel); padding-top: 0.1rem; }
.contact__details dd { font-weight: 560; }

.contact__form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label { font-size: 0.9375rem; font-weight: 620; }
.field input, .field textarea {
  width: 100%; padding: 0.75rem 0.85rem;
  font: inherit; color: var(--graphite);
  background: #fff; border: 1.5px solid rgba(28, 33, 36, 0.35); border-radius: var(--radius);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--graphite); box-shadow: 0 0 0 3px rgba(224, 0, 0, 0.28); }
.field textarea { resize: vertical; min-height: 8rem; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--kwik); }
.form__error { min-height: 0; color: var(--kwik-deep); font-weight: 600; }
.form__error:empty { display: none; }
.contact__form .button { justify-self: start; }
.form__note { font-size: var(--t-small); color: var(--steel); }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--graphite); color: #b9bebf; padding: 3rem 0 3.5rem; font-size: var(--t-small); }
.site-footer__inner { display: grid; grid-template-columns: 1.2fr 1.6fr 1.6fr 1fr; gap: 1rem 2rem; }
.site-footer__mark svg { display: inline-block; vertical-align: -4px; margin-right: 0.55rem; }
.site-footer__name { color: var(--shutter); font-weight: 650; font-size: 1rem; }
@media (max-width: 860px) { .site-footer__inner { grid-template-columns: 1fr; } }
