:root {
  --ink: #0b1724;
  --ink-soft: #22303e;
  --blue: #2374ab;
  --blue-bright: #1d628f;
  --mist: #eff3f6;
  --line: #dce3e8;
  --paper: #ffffff;
  --text: #4f5d68;
  --text-dark: #17232d;
  --radius: 3px;
  --shell: 1180px;
  --shadow: 0 18px 50px rgba(11, 23, 36, 0.12);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--text);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(47, 140, 202, 0.48);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  padding: 0.7rem 1rem;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 227, 232, 0.85);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 68px;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 3vw, 2.8rem);
}

.primary-nav a {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-nav a:not(.nav-cta)::after {
  display: block;
  width: 0;
  height: 2px;
  margin-top: 3px;
  background: var(--blue);
  content: "";
  transition: width 180ms ease;
}

.primary-nav a:not(.nav-cta):hover::after,
.primary-nav a:not(.nav-cta):focus-visible::after {
  width: 100%;
}

.primary-nav .nav-cta {
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  padding: 0.72rem 1.15rem;
  transition: background 180ms ease, color 180ms ease;
}

.primary-nav .nav-cta:hover,
.primary-nav .nav-cta:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(760px, calc(100svh - 80px));
  overflow: hidden;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  isolation: isolate;
}

.hero-image,
.proof-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image {
  object-position: 56% center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 14, 23, 0.92) 0%, rgba(5, 14, 23, 0.72) 48%, rgba(5, 14, 23, 0.48) 100%),
    linear-gradient(0deg, rgba(5, 14, 23, 0.25), rgba(5, 14, 23, 0.25));
}

.hero-content {
  padding-block: clamp(6rem, 12vw, 9rem);
}

.eyebrow {
  margin: 0 0 1.1rem;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #73b7e5;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--text-dark);
  font-weight: 620;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  max-width: 720px;
  margin-bottom: 1.5rem;
  color: var(--paper);
  font-size: clamp(1.75rem, 1.25rem + 2vw, 2.75rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.14;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.22);
}

main h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(1.75rem, 1.5rem + 1vw, 2rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h3 {
  margin-bottom: 0.85rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-intro {
  max-width: 700px;
  margin-bottom: 2.2rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.4rem 2rem;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius);
  padding: 0.82rem 1.35rem;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.button-primary {
  background: var(--blue);
  color: var(--paper);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--blue-bright);
}

.text-link {
  font-weight: 700;
  text-decoration-thickness: 1px;
}

.light-link {
  color: rgba(255, 255, 255, 0.86);
}

.hero-index {
  position: absolute;
  right: max(24px, calc((100vw - var(--shell)) / 2));
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.hero-index i {
  display: block;
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue) 17%, rgba(255, 255, 255, 0.28) 17%);
}

.section {
  padding-block: clamp(5rem, 9vw, 8rem);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.6fr);
  align-items: end;
  gap: 3rem;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.section-heading h2 {
  max-width: 780px;
  margin-bottom: 0;
}

.section-heading > p {
  max-width: 390px;
  margin: 0 0 0.6rem;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.capability-card {
  min-height: 330px;
  padding: 2rem clamp(1.2rem, 2.5vw, 2rem);
  border-right: 1px solid var(--line);
}

.capability-card:first-child {
  padding-left: 0;
}

.capability-card:last-child {
  border-right: 0;
}

.capability-icon {
  --capability-icon: none;
  display: block;
  width: 3rem;
  height: 3rem;
  margin-bottom: clamp(3.5rem, 7vw, 6.5rem);
  background-color: var(--blue);
  -webkit-mask: var(--capability-icon) center / contain no-repeat;
  mask: var(--capability-icon) center / contain no-repeat;
}

.capability-icon--factory {
  --capability-icon: url("img/icons/factory.svg");
}

.capability-icon--fan {
  --capability-icon: url("img/icons/fan.svg");
}

.capability-icon--car {
  --capability-icon: url("img/icons/car.svg");
}

.capability-icon--motorcycle {
  --capability-icon: url("img/icons/motorcycle.svg");
}

.capability-card p {
  margin-bottom: 0;
}

.image-pair {
  display: grid;
  grid-template-columns: 38fr 62fr;
  min-height: 520px;
  background: var(--ink);
}

.image-tile {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

.image-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.image-tile-small img {
  object-position: 47% center;
}

.image-tile-large img {
  object-position: 50% 58%;
}

.image-tile:hover img {
  transform: scale(1.025);
}

.image-tile::after {
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(transparent, rgba(5, 14, 23, 0.72));
  content: "";
}

.image-tile figcaption {
  position: absolute;
  right: 1.5rem;
  bottom: 1.25rem;
  left: 1.5rem;
  z-index: 1;
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.why {
  background: var(--paper);
}

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.why-copy {
  align-self: center;
}

.why-copy h2 {
  max-width: 690px;
}

.large-copy {
  color: var(--ink-soft);
  font-size: clamp(1.15rem, 1.7vw, 1.32rem);
  line-height: 1.65;
}

.quality-panel {
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  background: #fbfcfd;
  box-shadow: var(--shadow);
}

.quality-item {
  display: grid;
  gap: 0.25rem;
  padding: clamp(1.5rem, 4vw, 2.3rem);
  border-bottom: 1px solid var(--line);
}

.quality-item:last-child {
  border-bottom: 0;
}

.quality-item strong {
  color: var(--ink);
  font-size: 1.32rem;
}

.quality-item > span:last-child {
  font-size: 0.92rem;
}

.quality-kicker {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.certificate {
  text-decoration: none;
  transition: background 180ms ease;
}

.certificate:hover,
.certificate:focus-visible {
  background: #edf6fc;
}

.proof {
  position: relative;
  overflow: hidden;
  padding-block: clamp(5rem, 9vw, 8rem);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  isolation: isolate;
}

.proof-image {
  object-position: center 54%;
}

.proof-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(6, 15, 24, 0.95), rgba(6, 15, 24, 0.74));
}

.proof h2,
.proof h3 {
  color: var(--paper);
}

.proof h2 {
  max-width: 700px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(3rem, 7vw, 6rem);
  background: rgba(255, 255, 255, 0.18);
}

.proof-grid article {
  min-height: 290px;
  padding: 1.6rem;
  background: rgba(8, 20, 31, 0.67);
  backdrop-filter: blur(5px);
}

.proof-grid article > span {
  display: block;
  margin-bottom: 5rem;
  color: #73b7e5;
  font-size: 0.74rem;
  font-weight: 800;
}

.proof-grid p {
  margin-bottom: 0;
}

.contact {
  background: var(--mist);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.contact-details h2 {
  max-width: 520px;
}

address {
  display: grid;
  margin: 2.4rem 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
  font-style: normal;
  line-height: 1.65;
}

address span:first-child {
  margin-bottom: 0.5rem;
  color: var(--ink);
  font-weight: 750;
}

.enquiry-form {
  display: none;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.js .enquiry-form {
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.field {
  margin-bottom: 1.25rem;
}

.field label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 750;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid #c7d0d7;
  border-radius: 2px;
  background: #fbfcfd;
  color: var(--ink);
  padding: 0.85rem 0.9rem;
  transition: border 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field input {
  min-height: 49px;
}

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

.field input:focus,
.field textarea:focus {
  border-color: var(--blue);
  outline: 0;
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(35, 116, 171, 0.12);
}

.field [aria-invalid="true"] {
  border-color: #b33b3b;
}

.field-error {
  min-height: 1.2em;
  color: #9a2e2e;
  font-size: 0.8rem;
}

.field-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.35rem;
  color: #596771;
  font-size: 0.76rem;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.form-footer p {
  max-width: 360px;
  margin: 0;
  font-size: 0.82rem;
}

.form-status {
  min-height: 1.4em;
  margin: 1rem 0 0;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 700;
}

.form-status[data-state="success"] {
  color: #216c45;
}

.form-status[data-state="error"] {
  color: #9a2e2e;
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cf-turnstile {
  min-height: 0;
}

.button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.noscript-note {
  border-left: 3px solid var(--blue);
  padding-left: 1rem;
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.65);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  min-height: 110px;
  font-size: 0.82rem;
}

.footer-inner p {
  margin: 0;
}

.footer-meta {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 0.2rem;
  text-align: center;
}

.privacy-settings {
  border: 0;
  background: transparent;
  color: var(--paper);
  padding: 0.2rem 0.35rem;
  cursor: pointer;
  font-size: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer-inner a {
  justify-self: end;
  color: var(--paper);
  font-weight: 700;
}

.consent-banner {
  position: fixed;
  z-index: 90;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: grid;
  width: min(calc(100% - 48px), 820px);
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.4rem 2rem;
  margin-inline: auto;
  max-height: calc(100svh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 22px 70px rgba(5, 14, 23, 0.24);
  color: var(--text);
  padding: 1.25rem 1.35rem;
}

.consent-copy h2 {
  margin: 0 0 0.25rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.consent-copy p {
  margin: 0;
  max-width: 54ch;
  font-size: 0.9rem;
  line-height: 1.5;
}

.consent-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.consent-actions .button {
  min-height: 44px;
  padding: 0.7rem 1rem;
  font-size: 0.75rem;
  white-space: nowrap;
}

.consent-decline {
  border: 1px solid var(--line);
  background: var(--mist);
  color: var(--ink);
}

.consent-decline:hover,
.consent-decline:focus-visible {
  background: #e2e9ee;
}

@media (max-width: 980px) {
  .capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .capability-card:nth-child(2) {
    border-right: 0;
  }

  .capability-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .capability-card:nth-child(3) {
    padding-left: 0;
  }

  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .why-copy {
    max-width: 760px;
  }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 72px;
  }

  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .header-inner {
    min-height: 72px;
  }

  .brand img {
    width: 62px;
  }

  .menu-toggle {
    display: flex;
    position: relative;
    z-index: 2;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    inset: 72px 0 auto;
    display: grid;
    max-height: 0;
    visibility: hidden;
    overflow: hidden;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px rgba(11, 23, 36, 0.11);
    opacity: 0;
    transition: max-height 220ms ease, opacity 180ms ease, visibility 180ms ease;
  }

  .primary-nav[data-open="true"] {
    max-height: calc(100svh - 72px);
    visibility: visible;
    opacity: 1;
  }

  .primary-nav a,
  .primary-nav .nav-cta {
    width: 100%;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    padding: 1.25rem 1.5rem;
    text-align: left;
  }

  .primary-nav a:not(.nav-cta)::after {
    display: none;
  }

  .hero {
    min-height: 680px;
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(5, 14, 23, 0.94), rgba(5, 14, 23, 0.66));
  }

  .hero-content {
    padding-block: 5.5rem 7rem;
  }

  .section-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.2rem;
  }

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

  .capability-card,
  .capability-card:first-child,
  .capability-card:nth-child(3) {
    min-height: 0;
    padding: 1.6rem 0 2.1rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .capability-card:last-child {
    border-bottom: 0;
  }

  .capability-icon {
    margin-bottom: 2.25rem;
  }

  .image-pair {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .image-tile {
    min-height: 340px;
  }

  .why-grid {
    gap: 3rem;
  }

  .quality-panel {
    min-width: 0;
  }

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

  .proof-grid article {
    min-height: 230px;
  }

  .proof-grid article > span {
    margin-bottom: 3.2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .form-footer .button {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    padding-block: 1.6rem;
    text-align: center;
  }

  .footer-inner a {
    justify-self: center;
  }

  .consent-banner {
    right: 16px;
    bottom: 16px;
    left: 16px;
    width: min(calc(100% - 32px), 820px);
    max-height: calc(100svh - 32px);
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .consent-actions {
    justify-content: flex-end;
  }
}

@media (max-width: 430px) {
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .text-link {
    text-align: center;
  }

  .hero-index {
    right: 16px;
  }

  .enquiry-form {
    margin-inline: -4px;
  }

  .consent-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .consent-actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
