:root {
  --ink: #142029;
  --muted: #536269;
  --line: #d8dedb;
  --paper: #f7f7f2;
  --white: #ffffff;
  --steel: #2f5f73;
  --steel-dark: #1f4050;
  --safety: #e7a92d;
  --rust: #c94d33;
  --green: #687f62;
  --shadow: 0 20px 60px rgba(20, 32, 41, .12);
  --shadow-strong: 0 28px 90px rgba(20, 32, 41, .22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

body:has(dialog[open]) {
  overflow: hidden;
}

a {
  color: inherit;
  overflow-wrap: anywhere;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: 3px;
  background: transparent;
}

.scroll-progress span {
  display: block;
  height: 100%;
  background: var(--safety);
  transform: scaleX(0);
  transform-origin: left;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 247, 242, .94);
  border-bottom: 1px solid rgba(20, 32, 41, .08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
}

.brand-logo {
  width: 58px;
  height: 58px;
  display: block;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 5px 18px rgba(20, 32, 41, .12);
}

.brand-text {
  font-size: clamp(15px, 1.8vw, 18px);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.primary-nav a {
  text-decoration: none;
}

.primary-nav a:hover {
  color: var(--steel-dark);
}

.primary-nav a.is-active {
  color: var(--steel-dark);
}

.primary-nav a.is-active::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 5px;
  background: var(--safety);
}

.nav-call {
  padding: 10px 14px;
  color: var(--white) !important;
  background: var(--steel);
  border-radius: 4px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 4px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.section,
.section-band {
  padding: clamp(56px, 8vw, 112px) clamp(18px, 4vw, 56px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  min-height: calc(100vh - 72px);
  background:
    linear-gradient(90deg, rgba(247, 247, 242, .96) 0%, rgba(247, 247, 242, .9) 48%, rgba(232, 236, 232, .82) 100%),
    repeating-linear-gradient(135deg, rgba(47, 95, 115, .12) 0 1px, transparent 1px 18px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--steel);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

h1 {
  max-width: 860px;
  margin-bottom: 20px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: .98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.2;
}

.lead {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-copy {
  min-width: 0;
  max-width: 100%;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(20, 32, 41, .12);
}

.button.primary {
  color: var(--white);
  background: var(--steel);
}

.button.primary:hover {
  background: var(--steel-dark);
}

.button.secondary {
  color: var(--steel-dark);
  background: var(--white);
  border-color: var(--line);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin: 0;
}

.hero-stats div {
  padding: 16px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(20, 32, 41, .08);
  border-radius: 6px;
}

.hero-stats dt {
  font-weight: 900;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.hero-photo-panel {
  width: 100%;
  height: clamp(420px, 48vw, 560px);
  display: block;
  object-fit: cover;
  object-position: center;
  background: var(--white);
  border: 10px solid rgba(255, 255, 255, .72);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.visual-note {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 2px;
  max-width: 260px;
  padding: 16px;
  color: var(--white);
  background: rgba(20, 32, 41, .9);
  border-radius: 6px;
}

.visual-note span {
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-block: 1px solid var(--line);
  background: var(--ink);
}

.trust-strip span {
  min-height: 68px;
  display: grid;
  place-items: center;
  padding: 14px;
  color: var(--white);
  border-right: 1px solid rgba(255, 255, 255, .16);
  font-weight: 800;
  text-align: center;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow),
.split-section p,
.coverage-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 18px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  display: grid;
  gap: 20px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 95, 115, .3);
  box-shadow: var(--shadow);
}

.service-copy {
  padding: 6px 6px 0;
}

.service-card p {
  color: var(--muted);
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.service-cta {
  color: var(--white);
  background: var(--steel);
}

.gallery-open {
  color: var(--steel-dark);
  background: var(--white);
  border-color: var(--line);
}

.service-gallery {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  grid-auto-rows: 118px;
  gap: 8px;
}

.gallery-thumb {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #e7ece9;
  border: 0;
  border-radius: 6px;
  cursor: zoom-in;
}

.gallery-thumb::after {
  content: "View";
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 5px 8px;
  color: var(--white);
  background: rgba(20, 32, 41, .82);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 900;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease;
}

.gallery-thumb:hover::after,
.gallery-thumb:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.service-gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: 1px solid rgba(20, 32, 41, .08);
  transition: transform .28s ease, filter .28s ease;
}

.gallery-thumb:hover img,
.gallery-thumb:focus-visible img {
  transform: scale(1.045);
  filter: contrast(1.04) saturate(1.04);
}

.service-gallery .gallery-thumb:first-child {
  grid-row: span 2;
}

.service-gallery .gallery-thumb:nth-child(5) {
  grid-column: 1 / -1;
}

.icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 28px;
  color: var(--ink);
  background: var(--safety);
  border-radius: 4px;
  font-weight: 900;
}

.split-section,
.coverage,
.contact {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(340px, 1.1fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: start;
}

.industry-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.industry-list a,
.region-panel span {
  display: flex;
  min-height: 58px;
  align-items: center;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.industry-list a:hover {
  border-left-color: var(--safety);
  transform: translateX(3px);
}

.process {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: step;
}

.process-list li {
  position: relative;
  min-height: 210px;
  padding: 76px 24px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  counter-increment: step;
}

.process-list li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 22px;
  left: 24px;
  color: var(--rust);
  font-weight: 900;
  font-size: 20px;
}

.process-list strong,
.process-list span {
  display: block;
}

.process-list strong {
  margin-bottom: 10px;
  font-size: 22px;
}

.process-list span {
  color: var(--muted);
}

.coverage {
  background:
    linear-gradient(120deg, rgba(104, 127, 98, .13), rgba(231, 169, 45, .12)),
    var(--paper);
}

.region-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact {
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}

.region-panel span,
.industry-list a,
.process-list li {
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.region-panel span:hover,
.process-list li:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(20, 32, 41, .08);
}

.contact .eyebrow {
  color: var(--safety);
}

.contact-copy p {
  color: rgba(255, 255, 255, .72);
}

.contact-methods {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-methods a {
  color: var(--white);
  font-size: 20px;
  font-weight: 900;
  text-decoration-color: rgba(255, 255, 255, .28);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
  min-width: 0;
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.contact-form.is-primed {
  transform: translateY(-2px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .22);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 4px;
  font: inherit;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(47, 95, 115, .16);
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

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

.form-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.quick-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  display: grid;
  gap: 8px;
}

.quick-actions a {
  min-width: 92px;
  padding: 11px 13px;
  color: var(--white);
  background: rgba(20, 32, 41, .92);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 6px;
  box-shadow: 0 12px 34px rgba(20, 32, 41, .2);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  backdrop-filter: blur(12px);
}

.quick-actions a:first-child {
  background: var(--steel);
}

.quick-actions a:hover,
.quick-actions a:focus-visible {
  transform: translateY(-1px);
  background: var(--steel-dark);
}

.gallery-dialog {
  width: min(1040px, calc(100% - 28px));
  max-height: calc(100dvh - 28px);
  padding: 16px;
  color: var(--white);
  background: rgba(20, 32, 41, .96);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  box-shadow: var(--shadow-strong);
}

.gallery-dialog::backdrop {
  background: rgba(8, 12, 14, .72);
  backdrop-filter: blur(10px);
}

.gallery-dialog figure {
  display: grid;
  gap: 12px;
  margin: 0;
}

.gallery-dialog img {
  width: 100%;
  max-height: min(70dvh, 720px);
  object-fit: contain;
  background: #0d151a;
  border-radius: 6px;
}

.gallery-dialog figcaption {
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
}

.dialog-close,
.dialog-nav {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .18);
  color: var(--white);
  background: rgba(255, 255, 255, .1);
  border-radius: 6px;
  cursor: pointer;
}

.dialog-close {
  top: 12px;
  right: 12px;
  padding: 9px 11px;
}

.dialog-nav {
  top: 50%;
  padding: 11px 13px;
  transform: translateY(-50%);
}

.dialog-prev {
  left: 18px;
}

.dialog-next {
  right: 18px;
}

.dialog-enquire {
  margin-top: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s ease, transform .5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, .78);
  background: #0d151a;
  font-size: 14px;
}

.site-footer a {
  color: var(--white);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 900;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
}

@media (max-width: 980px) {
  .hero,
  .split-section,
  .coverage,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy,
  .section-heading,
  .coverage-copy {
    min-width: 0;
  }

  .service-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 65px;
    right: 18px;
    left: 18px;
    display: none;
    align-items: stretch;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    flex-direction: column;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .brand-text {
    max-width: 210px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(33px, 8.7vw, 38px);
    line-height: 1.06;
  }

  .lead {
    max-width: 100%;
    font-size: 17px;
  }

  .hero-stats,
  .service-grid,
  .process-list,
  .industry-list,
  .region-panel,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .visual-note {
    position: static;
    max-width: none;
    margin-top: 12px;
  }

  .contact {
    padding-inline: 18px;
  }

  .contact-copy,
  .contact-form {
    min-width: 0;
    width: 100%;
  }

  .contact h2 {
    font-size: clamp(31px, 11vw, 42px);
    line-height: 1.08;
    overflow-wrap: break-word;
  }

  .contact-copy p {
    font-size: 18px;
    overflow-wrap: break-word;
  }

  .contact-methods a {
    font-size: clamp(18px, 6.1vw, 24px);
    line-height: 1.25;
  }

  .contact-form {
    padding: 18px;
  }

  .service-gallery {
    grid-auto-rows: 104px;
  }

  .quick-actions {
    right: 10px;
    bottom: 10px;
    left: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quick-actions a {
    min-width: 0;
    padding-inline: 8px;
    font-size: 12px;
  }

  .dialog-nav {
    position: static;
    transform: none;
  }

  .gallery-dialog {
    padding-top: 52px;
  }
}

@media (max-width: 460px) {
  .site-header {
    padding-inline: 18px;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .section,
  .section-band {
    padding-inline: 20px;
  }

  .contact {
    padding-inline: 20px;
  }

  .contact-form {
    padding: 16px;
  }

  h1 {
    font-size: 32px;
  }

  .lead {
    font-size: 16px;
  }

  .service-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .hero-photo-panel {
    height: 320px;
  }

  .service-gallery {
    grid-auto-rows: 96px;
  }

  .service-actions {
    display: grid;
  }

  .quick-actions {
    left: 8px;
    right: 8px;
    gap: 6px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
