/* Mavista — shared styles for the homepage and project gallery.
   Start with these design tokens when changing the site's appearance. */
@import url('../font-source.css');
:root {
  --green: hsl(142 65% 24%);
  --green-dark: hsl(142 65% 17%);
  --gold: hsl(48 96% 53%);
  --gold-light: hsl(48 96% 65%);
  --ink: hsl(150 28% 8%);
  --text: #525252;
  --muted: #737373;
  --line: #e5e5e5;
  --surface: #fafafa;
  --font-body: 'Inter', Arial, sans-serif;
  --font-heading: 'Oswald', 'Arial Narrow', sans-serif;
  --container-width: 90rem;
  --narrow-width: 72rem;
  --gutter: 1rem;
  --header-height: 3.5rem;
}

/* Base and shared components */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font: 1rem/1.5 var(--font-body);
}

h1, h2, h3, p, ul, dl, dd {
  margin: 0;
}

h1, h2, h3 {
  font-weight: 600;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
  cursor: pointer;
}

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

button {
  border: 0;
  border-radius: 0;
}

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

address {
  font-style: normal;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 5px;
}

.hero :focus-visible, .more-projects:focus-visible {
  outline-color: var(--gold);
}

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

.container--narrow {
  max-width: var(--narrow-width);
}

.section {
  padding-block: 3rem;
}

.section-title {
  font: 600 1.5rem/1.25 var(--font-heading);
  text-transform: uppercase;
}

.section-description {
  margin-top: 1rem;
  color: var(--text);
  font-size: .875rem;
  line-height: 1.625;
}

.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-heading--services {
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .75rem;
  color: var(--green);
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.eyebrow--gold {
  color: #a77b00;
}

.text-gold {
  color: var(--gold);
}

.text-green {
  color: var(--green);
}

.brand {
  width: auto;
  height: 22px;
  mix-blend-mode: multiply;
  opacity: .95;
}

.brand--services, .brand--projects {
  display: none;
  opacity: .9;
}

.brand--footer {
  height: 32px;
  opacity: .85;
}

.icon {
  display: block;
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.eyebrow .icon {
  width: 1rem;
  height: 1rem;
  stroke-width: 2;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 44px;
  padding: .75rem 1.5rem;
  font-size: .875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .025em;
  transition: background-color .2s, color .2s, border-color .2s;
}

.button--gold {
  color: hsl(150 30% 10%);
  background: var(--gold);
}

.button--gold:hover {
  background: var(--gold-light);
}

.button--outline {
  color: #404040;
  border: 1px solid #d4d4d4;
  background: #fff;
}

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

.text-button {
  padding: .4rem 0;
  color: var(--muted);
  background: transparent;
  font-size: .7rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-button:hover {
  color: var(--green);
}

.skip-link {
  position: fixed;
  top: .5rem;
  left: 1rem;
  z-index: 100;
  padding: .75rem 1rem;
  color: #fff;
  background: var(--green);
  transform: translateY(-200%);
}

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

/* Header. Without JavaScript, all navigation links stay available. */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgb(255 255 255 / .95);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 2px rgb(0 0 0 / .05);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: var(--header-height);
  gap: 1rem;
}

.brand-link {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 44px;
}

.header-controls {
  display: none;
  align-items: center;
  gap: .5rem;
}

.js .header-controls {
  display: flex;
}

.language-switch {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid #d4d4d4;
}

.language-switch button {
  padding: .25rem .625rem;
  color: #525252;
  background: transparent;
  font-size: .6875rem;
  font-weight: 700;
  line-height: 1.5;
}

.language-switch button:hover {
  background: #f5f5f5;
}

.language-switch button[aria-pressed='true'] {
  background: var(--green);
  color: #fff;
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  margin-right: -.5rem;
  background: transparent;
}

.menu-toggle .icon {
  width: 26px;
  height: 26px;
  stroke-width: 1.75;
}

.site-navigation {
  order: 3;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  width: 100%;
  padding-bottom: 1rem;
}

.site-navigation a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: .75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .025em;
}

.site-navigation a:hover, .site-navigation a[aria-current] {
  color: var(--green);
}

.js .site-navigation {
  display: none;
}

.js .site-navigation.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100dvh - var(--header-height));
  overflow-y: auto;
  padding: .75rem var(--gutter);
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 20px rgb(0 0 0 / .08);
}

.gallery-back {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.site-header--gallery .header-inner {
  flex-wrap: nowrap;
}

.gallery-back-full {
  display: none;
}

.gallery-back-short {
  display: inline;
}

html:not(.js) .site-header {
  position: static;
}

.gallery-back:hover {
  color: var(--green);
}

.gallery-header-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.gallery-header-controls .language-switch {
  display: none;
}

.js .gallery-header-controls .language-switch {
  display: inline-flex;
}

/* Mobile menu and narrow header sizing */
.brand-link .brand {
  width: min(183px, 44vw);
  height: auto;
}
.menu-open {
  overflow: hidden;
}
.menu-backdrop {
  position: fixed;
  inset: var(--header-height) 0 0;
  z-index: 40;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / .4);
}
.menu-toggle .menu-close-icon {
  display: none;
}
.menu-toggle[aria-expanded='true'] > .icon:first-child {
  display: none;
}
.menu-toggle[aria-expanded='true'] .menu-close-icon {
  display: block;
}
.site-navigation .mobile-contact {
  color: var(--green);
  border-top: 1px solid var(--line);
  padding-top: .5rem;
}
@media (min-width: 1024px) {
  .site-navigation .mobile-contact {
    display: none;
  }
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: 100dvh;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 32% center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: hsl(142 65% 17% / .2);
  mix-blend-mode: multiply;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, hsl(150 28% 8% / .95), hsl(150 28% 8% / .55), hsl(142 65% 17% / .15));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 6rem;
  padding-bottom: 2.5rem;
  color: #fff;
}

.hero-eyebrow {
  max-width: 20rem;
  margin-bottom: .75rem;
  color: rgb(255 255 255 / .7);
  font-size: .6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .18em;
  line-height: 1.375;
}

.hero h1 {
  max-width: 56rem;
  font: 700 2.15rem/.95 var(--font-heading);
  text-transform: uppercase;
}

.hero-description {
  max-width: 36rem;
  margin-top: 1rem;
  color: rgb(255 255 255 / .95);
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.625;
}

.button--hero {
  width: 100%;
  min-height: 48px;
  margin-top: 1.5rem;
  padding: .875rem 1.5rem;
  color: #fff;
  border: 1px solid rgb(255 255 255 / .4);
}

.button--hero:hover {
  background: rgb(255 255 255 / .1);
}

/* About and statistics */
.about-content {
  padding-block: 3rem;
}

.about-content > .section-title {
  margin-bottom: 2rem;
}

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

.pillar {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f5f5f5;
}

.pillar:last-child {
  border: 0;
  padding-bottom: 0;
}

.pillar .icon {
  width: 28px;
  height: 28px;
  color: var(--green);
  stroke-width: 1.3;
}

.pillar h3 {
  font: 600 1rem/1.375 var(--font-heading);
  text-transform: uppercase;
}

.pillar p {
  color: var(--text);
  font-size: .875rem;
  line-height: 1.625;
}

.statistics {
  border-top: 1px solid var(--line);
  background: rgb(250 250 250 / .6);
}

.statistics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1rem;
  padding-block: 2rem;
}

.statistic {
  display: flex;
  flex-direction: column;
}
.statistic dd {
  order: -1;
  color: var(--green);
  font: 700 1.5rem/1.2 var(--font-heading);
}

.statistic dt {
  margin-top: .25rem;
  color: var(--muted);
  font-size: .6875rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  line-height: 1.375;
}

/* Client logos. Clone is added by JS; reduced-motion keeps a scrollable single list. */
.clients {
  padding-block: 2rem;
  border-block: 1px solid var(--line);
}

.clients-heading {
  display: flex;
  align-items: center;
  position: relative;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.clients-heading .text-button {
  position: absolute;
  right: var(--gutter);
}
.clients h2, .certifications h2 {
  color: var(--muted);
  font: 600 .75rem/1.5 var(--font-body);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.client-marquee {
  overflow-x: auto;
}

.client-track {
  display: flex;
  width: max-content;
}

.js .client-marquee {
  overflow: hidden;
}

.js .client-track {
  animation: client-scroll 50s linear infinite;
}

.client-list {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 1.5rem;
  padding-right: 1.5rem;
}

.client-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 8rem;
  height: 5rem;
  flex: 0 0 auto;
}

.client-list img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.client-marquee:hover .client-track, .client-track.is-paused {
  animation-play-state: paused;
}

@keyframes client-scroll {
  to {
    transform: translateX(-50%);
  }
}

/* Services */
.services .eyebrow {
  margin-bottom: .375rem;
}

.services-grid {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.service-card {
  background: #fff;
}

.service-card-inner {
  height: 100%;
  padding: 1.25rem;
}

.service-card .icon {
  width: 28px;
  height: 28px;
  margin-bottom: 1rem;
  color: var(--green);
  stroke-width: 1.4;
}

.service-card h3 {
  margin-bottom: .5rem;
  font: 600 1.125rem/1.4 var(--font-heading);
  text-transform: uppercase;
}

.service-card p {
  color: var(--text);
  font-size: .875rem;
  line-height: 1.625;
}

/* Project cards and gallery */
.projects-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.project-card {
  position: relative;
  display: grid;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 2px;
  background: #e5e5e5;
}

.project-card > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s;
}

.project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(150 28% 8% / .9), hsl(150 28% 8% / .25), transparent);
}

.project-card:hover > img {
  transform: scale(1.05);
}

.project-card-content {
  position: relative;
  align-self: end;
  z-index: 1;
  padding: 1rem;
  color: #fff;
}

.project-card h3 {
  font: 600 1rem/1.375 var(--font-body);
}

.project-card--long-title h3 {
  font-size: .875rem;
  line-height: 1.5;
}

.project-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin-top: .25rem;
  color: rgb(255 255 255 / .7);
  font-size: .75rem;
}

.project-category {
  display: inline-block;
  margin-bottom: .25rem;
  color: rgb(255 255 255 / .8);
  font-size: .625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.more-projects {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  aspect-ratio: 4 / 3;
  min-height: 0;
  padding: 1.5rem;
  color: #fff;
  background: var(--green);
  text-align: center;
  transition: background-color .2s;
}

.more-projects:hover {
  background: var(--green-dark);
}

.more-projects-title {
  font: 600 1.25rem/1.25 var(--font-heading);
  text-transform: uppercase;
}

.more-projects .icon {
  width: 18px;
  height: 18px;
}

.portfolio {
  min-height: calc(100dvh - 120px);
  padding-top: 6rem;
}

.project-filters {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
  padding-bottom: .5rem;
}

.project-filters button {
  flex: 0 0 auto;
  min-height: 44px;
  padding: .625rem .875rem;
  color: #525252;
  background: #f5f5f5;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .025em;
}

.project-filters button:hover {
  background: #e5e5e5;
}

.project-filters button[aria-pressed='true'] {
  color: #fff;
  background: var(--green);
}

.project-count {
  margin-top: 1rem;
  color: var(--muted);
  font-size: .75rem;
}

/* Equipment, careers, contact */
.equipment-details {
  max-width: 56rem;
  margin-top: 1.5rem;
}

.equipment-intro {
  margin-bottom: 1.25rem;
  color: #404040;
  font-size: .875rem;
  line-height: 1.625;
}

.specifications {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.specification {
  padding: .75rem;
  background: #fff;
}

.specification dt, .detail-label {
  color: var(--muted);
  font-size: .625rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.specification dd {
  margin-top: .125rem;
  font: 600 1rem/1.5 var(--font-heading);
}

.careers-grid {
  display: grid;
  align-items: center;
  gap: 2rem;
}

.careers-card {
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: var(--surface);
}

.careers-card h3 {
  margin-bottom: 1rem;
  font: 600 1.125rem/1.4 var(--font-heading);
  text-transform: uppercase;
}

.job-list {
  margin-bottom: 1.5rem;
  border-top: 1px solid var(--line);
}

.job-list li {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-block: .875rem;
  font-size: .875rem;
}

.job-list li + li {
  border-top: 1px solid var(--line);
}

.job-list .icon {
  width: 20px;
  height: 20px;
  color: var(--gold);
  stroke-width: 2;
}

.career-contact {
  display: grid;
  gap: .25rem;
  color: var(--text);
}

.career-contact a, .career-contact p {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 44px;
}

.career-contact a:hover {
  color: var(--green);
}

.career-contact .icon {
  width: 18px;
  height: 18px;
  color: #b68a00;
  stroke-width: 2;
}

.contact {
  border-top: 1px solid var(--line);
}

.contact-heading {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.contact-grid {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  min-width: 0;
  min-height: 120px;
  padding: 1.25rem;
  background: #fff;
}

a.contact-card:hover {
  background: var(--surface);
}

.contact-card .icon {
  color: var(--green);
}

.detail-label, .detail-value {
  display: block;
}

.detail-label {
  margin-bottom: .25rem;
}

.detail-value {
  overflow-wrap: anywhere;
  font: 600 1rem/1.5 var(--font-heading);
}

/* Certifications and footer */
.certifications {
  padding-block: 1.25rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.certifications h2 {
  margin-bottom: 1rem;
}

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

.certification {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.certification img {
  width: 3rem;
  height: 3rem;
  margin-bottom: .5rem;
  border-radius: 50%;
  object-fit: contain;
  background: var(--surface);
}

.certification p {
  color: var(--muted);
  font-size: .5rem;
  line-height: 1.375;
  text-transform: uppercase;
  letter-spacing: .025em;
}

.certification strong {
  margin-top: .25rem;
  color: var(--green);
  font-size: .75rem;
}

.site-footer {
  padding-block: 1.5rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}

/* Non-modal preference notice */
.cookie-banner {
  position: fixed;
  left: .75rem;
  right: .75rem;
  bottom: .75rem;
  z-index: 60;
  max-width: 48rem;
  margin-inline: auto;
  padding: 1rem;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 12px 40px rgb(12 31 22 / .18);
}

.cookie-banner h2 {
  font: 600 1.125rem/1.25 var(--font-heading);
  text-transform: uppercase;
}

.cookie-banner p {
  margin-top: .375rem;
  color: var(--text);
  font-size: .75rem;
  line-height: 1.625;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: .75rem;
}

.cookie-actions .button {
  font-size: .75rem;
}

/* Responsive layout: 640px tablet, 768px gallery, 1024px desktop/navigation. */
@media (min-width: 640px) {
  :root {
    --gutter: 1.25rem;
    --header-height: 4rem;
  }
  .section {
    padding-block: 3.5rem;
  }
  .section-title {
    font-size: 1.875rem;
  }
  .section-description {
    font-size: 1rem;
  }
  .section-heading {
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  .section-heading--services {
    gap: 1rem;
  }
  .eyebrow {
    font-size: .875rem;
  }
  .brand--services {
    display: block;
    height: 36px;
  }
  .brand--projects {
    display: block;
    height: 40px;
  }
  .hero-image {
    object-position: center;
  }
  .hero-content {
    padding-top: 7rem;
    padding-bottom: 3.5rem;
  }
  .hero-eyebrow {
    max-width: none;
    margin-bottom: 1.25rem;
    font-size: .75rem;
    letter-spacing: .3em;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .hero-description {
    margin-top: 1.25rem;
    font-size: 1rem;
    font-weight: 600;
  }
  .button--hero {
    width: auto;
    margin-top: 2rem;
    padding: 1rem 2rem;
    font-size: 1rem;
  }
  .about-content {
    padding-block: 3.5rem;
  }
  .about-content > .section-title {
    margin-bottom: 2.5rem;
  }
  .pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
  .pillar {
    gap: 1rem;
    padding-bottom: 0;
    border: 0;
  }
  .pillar .icon {
    width: 32px;
    height: 32px;
  }
  .gallery-back-full {
    display: inline;
  }
  .gallery-back-short {
    display: none;
  }
  .pillar h3 {
    font-size: 1.125rem;
  }
  .statistics-grid {
    padding-block: 1.5rem;
  }
  .statistic dd {
    font-size: 1.875rem;
  }
  .statistic dt {
    font-size: .75rem;
  }
  .clients {
    padding-block: 2.5rem;
  }
  .client-list {
    gap: 2rem;
    padding-right: 2rem;
  }
  .client-list li {
    width: 8rem;
    height: 5rem;
  }
  .services .eyebrow {
    margin-bottom: .5rem;
  }
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-card-inner {
    padding: 1.5rem;
  }
  .service-card .icon {
    margin-bottom: 1.5rem;
  }
  .service-card h3 {
    margin-bottom: .75rem;
    font-size: 1.25rem;
  }
  .service-card p {
    font-size: 1rem;
  }
  .service-card--wide {
    grid-column: 1 / -1;
  }
  .service-card--wide .service-card-inner {
    max-width: 28rem;
    margin-inline: auto;
    text-align: center;
  }
  .service-card--wide .icon {
    margin-inline: auto;
  }
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
  .project-card-content {
    padding: 1.5rem;
  }
  .project-card h3 {
    font-size: 1.125rem;
  }
  .project-card--long-title h3 {
    font-size: 1rem;
  }
  .project-card p {
    font-size: .875rem;
  }
  .more-projects {
    gap: 1rem;
  }
  .more-projects-title {
    font-size: 1.5rem;
  }
  .portfolio {
    padding-top: 7rem;
  }
  .project-filters {
    flex-wrap: wrap;
    overflow: visible;
  }
  .project-filters button {
    padding-inline: 1rem;
    font-size: .875rem;
  }
  .equipment-details {
    margin-top: 1.75rem;
  }
  .equipment-intro {
    margin-bottom: 1.5rem;
    font-size: 1rem;
  }
  .specification {
    padding: 1rem;
  }
  .specification dt, .detail-label {
    font-size: .75rem;
  }
  .specification dd, .detail-value {
    font-size: 1.125rem;
  }
  .careers-card {
    padding: 2rem;
  }
  .careers-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
  }
  .job-list li {
    gap: 1rem;
    padding-block: 1rem;
    font-size: 1rem;
  }
  .contact-heading {
    margin-bottom: 2.5rem;
  }
  .contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .contact-card {
    padding: 1.5rem;
  }
  .certifications-grid {
    gap: 1.5rem;
  }
  .certification img {
    width: 4rem;
    height: 4rem;
  }
  .certification p {
    font-size: .75rem;
  }
  .certification strong {
    font-size: .875rem;
  }
  .site-footer {
    padding-block: 2rem;
  }
  .cookie-banner {
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.25rem;
    padding: 1.25rem;
  }
  .cookie-banner p {
    font-size: .875rem;
  }
  .cookie-actions {
    flex-direction: row;
    gap: .625rem;
  }
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.75rem;
  }
  .hero-eyebrow {
    font-size: .875rem;
  }
  .projects-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .header-inner {
    flex-wrap: nowrap;
  }
  .site-navigation, .js .site-navigation {
    order: 0;
    flex-wrap: nowrap;
    display: flex;
    flex: 1;
    justify-content: flex-end;
    gap: 1rem;
    width: auto;
    padding: 0;
  }
  .site-navigation a {
    font-size: .6875rem;
    white-space: nowrap;
  }
  .menu-toggle {
    display: none;
  }

  :root {
    --gutter: 2.5rem;
    --header-height: 5rem;
  }
  .section {
    padding-block: 5rem;
  }
  .section-title {
    font-size: 3rem;
  }
  .header-inner {
    gap: 1.75rem;
  }
  .site-navigation, .js .site-navigation {
    gap: 1.75rem;
  }
  .site-navigation a {
    font-size: .75rem;
  }
  .hero-content {
    padding-bottom: 5rem;
  }
  .hero h1 {
    font-size: 4.5rem;
  }
  .hero-description {
    font-size: 1.125rem;
  }
  .about-content {
    padding-block: 4rem;
  }
  .pillars {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
  }
  .statistics-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
  }
  .statistic {
    padding-inline: 2.5rem;
  }
  .statistic + .statistic {
    border-left: 1px solid var(--line);
  }
  .statistic:first-child {
    padding-left: 0;
  }
  .statistic:last-child {
    padding-right: 0;
  }
  .service-card-inner {
    padding: 2rem;
  }
  .more-projects-title {
    font-size: 1.875rem;
  }
  .careers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
  }
  .contact-card {
    padding: 2rem;
  }
  .portfolio {
    padding-top: 8rem;
  }
  .gallery-back {
    font-size: .875rem;
  }
}

@media (min-width: 1280px) {
  .site-navigation, .js .site-navigation {
    gap: 2.25rem;
  }
  .site-navigation a {
    font-size: .875rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .client-marquee {
    overflow-x: auto;
  }
  [data-client-clone], [data-client-pause] {
    display: none !important;
  }
  .project-card:hover > img {
    transform: none;
  }
}
