/* BIM Drafting Services — clean static rebuild */

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;600;700&family=Roboto:wght@300;400;500;700&family=Titillium+Web:wght@400;600&display=swap');

:root {
  --blue-dark: #153863;
  --blue-accent: #3a75b0;
  --blue-light: #5a9fd4;
  --text: #000000;
  --text-muted: #5d5d61;
  --border: #d8d8d8;
  --footer-bg: #2b2b2b;
  --footer-text: #ffffff;
  --max-width: 980px;
  --header-height: 116px;
  --font-heading: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: #fff;
}

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 8px 16px;
  background: var(--blue-dark);
  color: #fff;
}
.skip-link:focus { left: 0; }

.dev-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  padding: 6px 12px;
  background: #1a1a1a;
  color: #f5f5f5;
  font-size: 12px;
  text-align: center;
  letter-spacing: 0.04em;
  pointer-events: none;
}

/* Header — sticky like original Wix SITE_HEADER */
.site-header {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid #eee;
  z-index: 1000;
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.1);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 22px 20px 20px;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img { height: 70px; width: auto; }

.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  flex: 1;
}

.social-links {
  display: flex;
  gap: 10px;
  align-items: center;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.social-links a:hover { opacity: 1; }
.social-links svg { width: 20px; height: 20px; fill: #888; }

.main-nav { display: flex; align-items: center; }

.main-nav > ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav > ul > li {
  display: flex;
  align-items: center;
}

.main-nav > ul > li + li::before {
  content: '';
  flex-shrink: 0;
  width: 1px;
  height: 18px;
  background: var(--border);
  margin: 0 18px;
}

.main-nav a,
.main-nav .nav-trigger {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 6px;
  transition: color 0.2s;
  line-height: 1.4;
}

.main-nav a:hover,
.main-nav .nav-trigger:hover,
.main-nav a.active,
.main-nav a.nav-trigger.active { color: var(--blue-accent); }

.nav-item {
  position: relative;
}

.nav-item .nav-trigger {
  position: relative;
  text-decoration: none;
  display: inline-block;
}

.nav-item a.nav-trigger {
  cursor: pointer;
}

.nav-item button.nav-trigger {
  cursor: default;
}

/* Invisible bridge so the cursor can reach the dropdown without losing hover */
.nav-item .nav-trigger::after {
  content: '';
  position: absolute;
  left: -10px;
  right: -10px;
  top: 100%;
  height: 14px;
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  list-style: none;
  margin: 0;
  padding: 8px 0;
  z-index: 200;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown,
.nav-item.open .nav-dropdown { display: block; }

.nav-dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 15px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text);
  white-space: nowrap;
}
.nav-dropdown a:hover { background: #f5f5f5; color: var(--blue-accent); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  position: relative;
  z-index: 400;
  min-width: 44px;
  min-height: 44px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: 0.3s;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero slideshow — pulls under sticky header like original */
.hero {
  position: relative;
  height: 500px;
  overflow: hidden;
}

@media (min-width: 901px) {
  .hero {
    margin-top: calc(-1 * var(--header-height));
    height: calc(660px + var(--header-height));
  }
}

@media (min-width: 768px) and (max-width: 900px) {
  .hero { height: 660px; }
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
  background-size: cover;
  background-position: center;
}

.hero-slide.active { opacity: 1; z-index: 1; }

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(21, 56, 99, 0.67);
}

.hero-captions {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero-content {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 40px;
  color: #fff;
}

.hero-captions .hero-content {
  opacity: 0;
  transition: opacity 1.4s ease;
  pointer-events: none;
  user-select: none;
}

.hero-captions .hero-content.active {
  opacity: 1;
  pointer-events: auto;
  user-select: text;
}

.hero-content h1,
.hero-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 12px;
  line-height: 1.2;
}

.hero-content .hero-sub {
  font-family: var(--font-body);
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 300;
  margin: 0;
  max-width: 600px;
}

.hero-careers-link {
  color: inherit;
  text-decoration: none;
}

.hero-careers-link:hover {
  opacity: 0.9;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: none;
  border: none;
  color: #fff;
  font-size: 48px;
  cursor: pointer;
  padding: 20px;
  opacity: 0.8;
  transition: opacity 0.2s;
  line-height: 1;
}
.hero-arrow:hover { opacity: 1; }
.hero-arrow.prev { left: 20px; }
.hero-arrow.next { right: 20px; }

.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}
.hero-dots button.active { background: #fff; }

/* Services row */
.services {
  padding: 50px 0;
  background: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
  .service-card:not(:last-child) {
    border-right: 1px dotted var(--border);
  }
}

.service-card {
  text-align: center;
  padding: 20px 30px;
}

.service-card img {
  width: auto;
  max-width: 218px;
  height: 175px;
  object-fit: contain;
  margin: 0 auto 20px;
}

.service-card h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.service-card p {
  font-size: 16px;
  line-height: 1.4;
  color: var(--text);
  margin: 0;
  max-width: 280px;
  margin-inline: auto;
}

.service-card a { display: block; }
.service-card a:hover h2 { color: var(--blue-accent); }

/* Redefining Service Delivery banner — Wix comp-jt6v9pl2: image ~10% + color_19 overlay */
.banner-blue {
  background: url('../images/banner-redefining.jpg') center / cover no-repeat;
  padding: 70px 20px;
  text-align: center;
  color: #fff;
  position: relative;
}

.banner-blue::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(28, 75, 133, 0.9);
}

.banner-blue .container { position: relative; z-index: 1; }

.banner-blue h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.banner-blue p {
  font-size: 18px;
  font-weight: 300;
  margin: 0;
}

/* About section */
.about-section {
  padding: 60px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}

.about-text h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 400;
  margin: 0 0 8px;
}

.about-text h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--blue-accent);
  margin-top: 8px;
}

.about-text p {
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 16px;
}

.btn-outline {
  display: inline-block;
  padding: 10px 28px;
  border: 1px solid #333;
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  transition: all 0.2s;
  margin-top: 10px;
}
.btn-outline:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: #fff;
}

.about-image img {
  width: 100%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Section headings */
.section-heading {
  text-align: center;
  padding: 50px 20px 30px;
}

.section-heading h1,
.section-heading h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

.section-heading .light { color: #aaa; font-weight: 300; }
.section-heading .bold { color: var(--text); font-weight: 600; }

/* Featured projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .projects-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Homepage: single row of three */
.projects-grid--featured {
  grid-template-columns: 1fr;
  gap: 8px;
}

@media (min-width: 768px) {
  .projects-grid--featured {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }
}

.project-tile {
  position: relative;
  overflow: hidden;
  aspect-ratio: 323 / 133;
  display: block;
}

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

.featured-projects .project-tile:hover img {
  transform: scale(1.03);
}

.project-tile .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.35s ease;
}

.featured-projects .project-tile:hover .overlay {
  background: rgba(0, 0, 0, 0);
}

.project-tile .overlay span {
  color: #fff;
  font-family: var(--font-body);
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.35s ease;
  text-align: center;
  padding: 0 12px;
  line-height: 1.2;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.featured-projects .project-tile:hover .overlay span {
  opacity: 1;
}

/* Projects listing page: overlay on hover */
.projects-grid:not(.projects-grid--featured) .project-tile .overlay {
  background: rgba(0, 0, 0, 0.35);
}

.projects-grid:not(.projects-grid--featured) .project-tile:hover .overlay {
  background: rgba(21, 56, 99, 0.55);
}

.projects-grid:not(.projects-grid--featured) .project-tile .overlay span {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.08em;
  opacity: 0;
}

.projects-grid:not(.projects-grid--featured) .project-tile:hover .overlay span {
  opacity: 1;
}

.projects-grid:not(.projects-grid--featured) .project-tile:hover img {
  transform: scale(1.05);
}

.view-all-wrap { text-align: center; padding: 30px 0 50px; }

/* News */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px 60px;
}

@media (min-width: 600px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}

.news-card {
  border: 1px solid #eee;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.news-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }

.news-card-image {
  height: 200px;
  overflow: hidden;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-body { padding: 20px; }

.news-card h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  margin: 0;
}

.news-card a:hover h2 { color: var(--blue-accent); }

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 50px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1.2fr; }
}

.footer-logo img {
  width: auto;
  height: 59px;
  max-width: 191px;
  object-fit: contain;
  margin-bottom: 16px;
}

.footer-tagline {
  font-style: italic;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #ccc;
}

.footer-social { display: flex; gap: 12px; }
.footer-social a svg { fill: #fff; width: 22px; height: 22px; opacity: 0.8; }
.footer-social a:hover svg { opacity: 1; }

.footer-links ul { list-style: none; margin: 0; padding: 0; }

.footer-links li { margin-bottom: 8px; }

.footer-links a {
  font-size: 15px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: '›';
  color: #fff;
}

.footer-links a:hover { color: var(--blue-light); }

.footer-contact p {
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 4px;
  color: #ddd;
}

.footer-contact strong { color: #fff; }

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid #444;
  font-size: 13px;
  color: #999;
}

/* Inner pages */
.page-hero {
  background: var(--blue-dark);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

.page-hero .subtitle {
  font-size: 18px;
  font-weight: 300;
  margin-top: 12px;
  letter-spacing: 0.04em;
}

.page-hero-split h1 {
  margin-bottom: 0;
}

.page-hero-split .subtitle {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 4px 0 0;
}

.main-nav .nav-item.is-current .nav-trigger {
  color: var(--blue-accent);
}

/* Projects listing page — values from archive/wix-dump-20260623/projects.html */
.projects-hero {
  position: relative;
  color: #fff;
  background:
    linear-gradient(rgba(14, 38, 66, 0.66), rgba(14, 38, 66, 0.66)),
    url('../images/projects-hero-wix.jpg') center / cover no-repeat;
}

.projects-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 823px;
  margin: 0 auto;
  padding: 56px 20px 40px;
  text-align: center;
}

.projects-hero h1 {
  margin: 0 0 24px;
  font-family: var(--font-heading);
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.08;
}

.projects-hero-line {
  display: block;
  font-size: clamp(34px, 5.5vw, 52px);
}

.projects-hero-line--accent {
  display: inline-block;
  font-weight: 400;
  border-bottom: 2px solid #fff;
  padding-bottom: 8px;
  margin-top: 2px;
}

.projects-hero-intro {
  margin: 0 auto;
  text-align: center;
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 300;
  line-height: 1.75;
  letter-spacing: 0.02em;
}

.projects-gallery-section {
  position: relative;
  padding: 3px 20px 70px;
  overflow: hidden;
}

.projects-gallery-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(14, 38, 66, 0.95), rgba(14, 38, 66, 0.95)),
    url('../images/projects-gallery-bg.jpg') center / cover no-repeat fixed;
  z-index: 0;
}

.projects-gallery-bg::after {
  display: none;
}

.projects-gallery-inner {
  position: relative;
  z-index: 1;
  max-width: 978px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.project-bar {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 173px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
}

a.project-bar {
  cursor: pointer;
}

.project-bar:not(a) {
  cursor: default;
}

.project-bar-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.project-bar-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.project-bar-overlay--default {
  opacity: 1;
  visibility: visible;
  background: rgba(7, 23, 43, 0.82);
}

.project-bar-overlay--hover {
  opacity: 0;
  visibility: hidden;
  background: rgba(13, 41, 77, 0.18);
}

.project-bar:hover .project-bar-overlay--default,
.project-bar:focus-within .project-bar-overlay--default {
  opacity: 0;
  visibility: hidden;
}

.project-bar:hover .project-bar-overlay--hover,
.project-bar:focus-within .project-bar-overlay--hover {
  opacity: 1;
  visibility: visible;
}

.project-bar-title {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0 20px 0 17px;
  max-width: calc(100% - 34px);
  font-family: var(--font-heading);
  font-size: clamp(22px, 3.2vw, 40px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
  pointer-events: none;
}

.service-hero--contact {
  background-image: url('../images/contact-hero.jpg');
  background-position: center 45%;
}

.service-hero--contact::before {
  background: rgba(28, 75, 133, 0.9);
}

/* Service pages (Shop Detailing, Laser Scanning) */
.service-hero {
  position: relative;
  color: #fff;
  min-height: 320px;
  margin-top: -1px;
  background-color: #0e2642;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.service-hero::before {
  content: '';
  position: absolute;
  inset: 0;
}

.service-hero--steel {
  background-image: url('../images/steel-hero.jpg');
}

.service-hero--steel::before {
  background: rgba(14, 38, 66, 0.8);
}

.service-hero--laser {
  background-image: url('../images/laser-hero.jpg');
}

.service-hero--laser::before {
  background: rgba(14, 38, 66, 0.71);
}

@media (min-width: 768px) {
  .service-hero { min-height: 380px; }
}

@media (min-width: 901px) {
  .service-hero {
    margin-top: calc(-1 * var(--header-height));
    min-height: calc(380px + var(--header-height));
  }
}

.about-hero--static .hero-arrow,
.about-hero--static .hero-dots {
  display: none;
}

.service-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px 48px;
  min-height: inherit;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  text-align: left;
}

.service-hero-titles {
  padding: 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.85);
  padding-bottom: 12px;
}

.service-intro-section {
  padding: 50px 0 0;
}

.service-intro-section .service-lead {
  margin-bottom: 32px;
}

.service-lead {
  font-family: var(--font-body);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0 0 28px;
  max-width: 920px;
}

.service-lead::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: var(--blue-accent);
  margin-top: 16px;
}

.service-intro {
  align-items: center;
  gap: 24px 40px;
}

.service-intro-text p {
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 16px;
  max-width: none;
}

.service-intro-image {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.service-intro-image::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 45%;
  background: linear-gradient(to right, #fff 10%, rgba(255, 255, 255, 0));
  z-index: 1;
  pointer-events: none;
}

.service-intro-image img {
  width: 100%;
  max-width: 420px;
  margin: 0 0 0 auto;
  display: block;
  position: relative;
}

.service-section {
  padding: 50px 0 60px;
}

.service-section .section-heading-lined {
  margin-top: 0;
}

.service-section .section-heading-lined.centered {
  text-align: center;
}

.service-section .section-heading-lined.centered::after {
  margin-left: auto;
  margin-right: auto;
}

.markets-section {
  background: var(--blue-dark);
  color: #fff;
  padding: 60px 0 70px;
}

.markets-section .section-heading-lined {
  color: #fff;
  text-align: center;
  margin-bottom: 40px;
}

.markets-section .section-heading-lined::after {
  margin-left: auto;
  margin-right: auto;
  background: var(--blue-light);
}

.markets-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

@media (min-width: 768px) {
  .markets-grid { grid-template-columns: repeat(3, 1fr); }
}

.market-card h3 {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 400;
  margin: 0 0 12px;
  color: #fff;
}

.market-card h3::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: var(--blue-light);
  margin-top: 10px;
}

.market-card p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 14px;
}

.market-card .market-list {
  margin: 0;
  max-width: none;
  gap: 4px;
  grid-template-columns: 1fr;
}

.market-card .market-list li {
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  line-height: 1.55;
}

.capabilities-section {
  padding: 68px 0 70px;
  position: relative;
  overflow: hidden;
  background: #fff;
}

.capabilities-parallax {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.capabilities-parallax-inner {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(100% + 200px);
  margin-top: -100px;
  background: url('../images/capabilities-bg.png') center bottom / cover no-repeat;
  opacity: 0.2;
  will-change: transform;
}

.capabilities-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.72);
  pointer-events: none;
}

.capabilities-section .container {
  position: relative;
  z-index: 1;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .capabilities-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 40px;
    align-items: start;
  }
}

.capabilities-col--intro .section-heading-lined {
  margin: 0 0 15px;
}

.capabilities-section .section-heading-lined {
  font-family: 'Titillium Web', var(--font-heading);
  font-size: clamp(30px, 3.5vw, 36px);
  font-weight: 300;
  letter-spacing: 0.018em;
}

.capabilities-text {
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
}

.capabilities-col h4 {
  font-family: 'Titillium Web', var(--font-heading);
  font-size: 21px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--text);
  margin: 0 0 18px;
}

.capabilities-list {
  columns: 1;
  column-gap: 0;
}

.capabilities-list li {
  padding-left: 28px;
}

@media (min-width: 768px) {
  .capabilities-col--more .capabilities-list--offset {
    padding-top: calc(21px * 1.2 + 18px);
  }
}

.software-showcase {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.software-showcase-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.software-showcase-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 38, 66, 0.9);
  z-index: 1;
}

.software-showcase-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: url('../images/video-grid-tile.png') repeat;
  pointer-events: none;
}

.software-showcase-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 20px;
}

.software-logos-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 36px;
}

.software-logos-row--primary {
  gap: 24px 28px;
}

.software-logos-row img {
  height: auto;
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

.software-logos-row--primary img:first-child {
  max-height: 59px;
}

.software-logos-row--primary img:last-child {
  max-height: 58px;
}

.service-loop-video {
  position: relative;
  width: 100%;
  height: clamp(280px, 55vw, 695px);
  overflow: hidden;
  pointer-events: none;
}

.service-loop-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.software-showcase--laser {
  height: 238px;
}

.software-showcase-content--laser {
  gap: 0;
  padding: 16px 20px;
}

.software-logos-row--laser {
  width: 100%;
  max-width: 1020px;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 24px 72px;
}

.software-logos-row--laser img {
  flex: 0 0 auto;
  width: auto;
  max-height: none;
}

.software-logos-row--laser img:nth-child(1) { height: 61px; }
.software-logos-row--laser img:nth-child(2) { height: 57px; }
.software-logos-row--laser img:nth-child(3) { height: 38px; }
.software-logos-row--laser img:nth-child(4) { height: 43px; }

.laser-slideshow-section {
  position: relative;
  padding: 59px 20px 60px;
  background-color: #fff;
  background-image: url('../images/laser-carousel-bg.jpg');
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: min(85%, 1362px) auto;
}

.laser-slideshow {
  max-width: 1020px;
  margin: 0 auto;
}

.laser-slideshow-track {
  position: relative;
  width: 100%;
  aspect-ratio: 1020 / 574;
  max-height: 574px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(14, 38, 66, 0.12);
}

.laser-slideshow-track img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.laser-slideshow-track img.active {
  opacity: 1;
}

@media (max-width: 767px) {
  .software-showcase--laser {
    height: auto;
    min-height: 200px;
  }

  .software-logos-row--laser {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 40px;
  }

  .software-logos-row--laser img,
  .software-logos-row--laser img:nth-child(1),
  .software-logos-row--laser img:nth-child(2),
  .software-logos-row--laser img:nth-child(3),
  .software-logos-row--laser img:nth-child(4) {
    height: auto;
    max-width: 34vw;
  }

  .laser-slideshow-section {
    padding-top: 40px;
    background-size: min(95%, 680px) auto;
  }
}

.model-carousel-section {
  background: #fff;
  padding: 48px 0 56px;
}

.model-carousel {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.model-carousel-stage {
  position: relative;
  height: 316px;
  overflow: hidden;
}

.model-carousel-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.model-carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  line-height: 0;
}

.model-carousel-item img {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(14, 38, 66, 0.18));
  pointer-events: none;
}

@media (max-width: 767px) {
  .model-carousel-stage {
    height: 240px;
  }
}

.service-page .page-content {
  padding-top: 0;
}

.service-page .page-content > .container > p {
  font-size: 17px;
  line-height: 1.7;
}

.service-hero-line {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(32px, 5.5vw, 52px);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.15;
  color: #fff;
}

.service-hero-line--sub {
  margin-top: 4px;
  font-weight: 300;
}

.values-grid--service .value-card h4 {
  font-weight: 700;
}

.icon-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.icon-list li {
  position: relative;
  padding: 0 0 10px 30px;
  font-size: 15px;
  line-height: 1.55;
  break-inside: avoid;
}

.icon-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  background-color: var(--bullet-color, #2a71c7);
  mask: url('../images/icon-bullet.svg') center / contain no-repeat;
  -webkit-mask: url('../images/icon-bullet.svg') center / contain no-repeat;
}

.icon-list--white {
  --bullet-color: #fff;
}

.icon-list--white li {
  color: rgba(255, 255, 255, 0.92);
}

.icon-list--blue {
  --bullet-color: #2a71c7;
}

.icon-list--blue li {
  color: var(--text);
  font-size: 17px;
  line-height: 1.5;
  padding-bottom: 12px;
}

.market-card .icon-list {
  margin-top: 4px;
}

.market-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  max-width: 640px;
}

@media (min-width: 500px) {
  .market-list { grid-template-columns: repeat(2, 1fr); }
}

.market-list li {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
}

.section-heading-lined {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.8vw, 36px);
  font-weight: 300;
  margin: 48px 0 20px;
  color: var(--text);
}

.section-heading-lined::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: var(--blue-accent);
  margin-top: 10px;
}

.values-grid--service {
  margin: 24px 0 48px;
}

.applications-section {
  background: #fafafa;
  padding: 50px 0 60px;
  margin-top: 40px;
}

.applications-section .section-heading-lined {
  text-align: center;
  margin-top: 0;
}

.applications-section .section-heading-lined::after {
  margin-left: auto;
  margin-right: auto;
}

.applications-section .apps-grid {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.contact-offices-section {
  padding: 50px 0 20px;
}

.contact-form-section {
  padding: 50px 0 70px;
}

.contact-offices-section .section-title {
  margin-bottom: 28px;
}

.office-card p {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
}

.office-card a {
  color: inherit;
}

.office-card a:hover {
  color: var(--blue-accent);
}

.contact-offices--one {
  grid-template-columns: 1fr;
  max-width: 360px;
}

@media (min-width: 600px) {
  .contact-offices--one { max-width: 420px; }
}

.contact-form-embed {
  margin-top: 10px;
}

.contact-form {
  max-width: none;
  margin-top: 10px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 40px;
  margin-bottom: 24px;
}

@media (min-width: 700px) {
  .contact-form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form .form-group--full {
  grid-column: 1 / -1;
}

.contact-page .form-group label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-page .form-group input,
.contact-page .form-group textarea {
  width: 100%;
  padding: 14px 0;
  border: none;
  border-bottom: 1px solid #bdbdbd;
  border-radius: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
}

.contact-page .form-group input::placeholder,
.contact-page .form-group textarea::placeholder {
  color: #9a9a9a;
}

.contact-page .form-group input:focus,
.contact-page .form-group textarea:focus {
  outline: none;
  border-bottom-color: var(--blue-accent);
}

.contact-page .form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-page .btn-submit {
  min-width: 140px;
}

.page-content { padding: 50px 0 70px; }

.page-content h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 400;
  margin: 40px 0 16px;
}

.page-content h2:first-child { margin-top: 0; }

.page-content h3,
.page-content h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 30px 0 10px;
  color: var(--blue-dark);
}

.page-content p {
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 16px;
  max-width: 800px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 768px) {
  .two-col { grid-template-columns: 1fr 1fr; }
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .values-grid { grid-template-columns: repeat(3, 1fr); }
}

.value-card {
  text-align: center;
  padding: 0 16px;
}

.value-card img {
  width: 115px;
  height: auto;
  margin: 0 auto 20px;
}

.value-card h4 {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.value-card p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
  max-width: none;
  margin: 0 auto;
}

/* About page */
.about-hero {
  height: 520px;
  margin-top: -1px;
}

@media (min-width: 768px) {
  .about-hero { height: 620px; }
}

@media (min-width: 901px) {
  .about-hero {
    margin-top: calc(-1 * var(--header-height));
    height: calc(620px + var(--header-height));
  }
}

.about-hero .hero-slide {
  background-color: #0e2642;
}

.about-hero .hero-slide::before {
  background: linear-gradient(
    to bottom,
    rgba(14, 38, 66, 0.7) 0%,
    rgba(14, 38, 66, 0.7) 65%,
    rgba(14, 38, 66, 0.28) 80%,
    transparent 88%
  );
}

.about-hero-content {
  z-index: 4;
  justify-content: flex-start;
  padding-top: 274px;
  padding-bottom: 0;
  pointer-events: none;
}

.about-hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 6vw, 52px);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
  color: #fff;
  text-align: center;
}

.about-hero-content h1 strong {
  font-weight: 700;
}

.about-hero-banner {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  background: rgba(28, 75, 133, 0.85);
  padding: 44px 20px 45px;
  text-align: center;
  pointer-events: none;
}

.about-hero-banner h2 {
  margin: 0;
  color: #fff;
  font-family: 'Titillium Web', var(--font-heading);
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.35;
}

.about-hero-banner h2 + h2 {
  margin-top: 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 400;
  margin: 0 0 8px;
  color: var(--text);
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: var(--blue-accent);
  margin-top: 10px;
}

.section-title.centered {
  text-align: center;
}

.section-title.centered::after {
  margin-left: auto;
  margin-right: auto;
}

.about-company {
  padding: 60px 0;
}

.about-company p {
  font-size: 17px;
  line-height: 1.7;
  max-width: 900px;
}

.core-values-section {
  padding: 50px 0 70px;
  background: #fff;
}

.core-values-section .values-grid {
  align-items: start;
}

.core-values-section .value-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.core-values-section .value-card img {
  width: auto;
  max-width: 115px;
  height: 99px;
  object-fit: contain;
  object-position: top center;
  margin: 0 auto 20px;
  flex-shrink: 0;
}

.core-values-section .value-card h4 {
  flex-shrink: 0;
}

.core-values-section .value-card p {
  margin-top: 0;
}

.technology-section {
  background: var(--blue-dark);
  color: #fff;
  padding: 60px 0 70px;
  position: relative;
  overflow: hidden;
}

.tech-parallax {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.tech-parallax-inner {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(100% + 160px);
  margin-top: -80px;
  background: url('../images/tech-bg-chip.jpg') center bottom / cover no-repeat;
  opacity: 0.08;
  will-change: transform;
}

.technology-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(14, 38, 66, 0.92);
  pointer-events: none;
}

.technology-section .container {
  position: relative;
  z-index: 2;
}

.technology-section .container.tech-layout {
  max-width: 1200px;
  padding-left: 12px;
  padding-right: 12px;
}

.technology-section .section-title {
  color: #fff;
}

.technology-section .section-title::after {
  background: var(--blue-light);
}

.tech-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}

@media (min-width: 900px) {
  .tech-layout {
    grid-template-columns: 40% 20% 20% 20%;
    gap: 24px 16px;
    align-items: start;
  }

  .tech-logos { display: contents; }

  .tech-intro { grid-column: 1; }
  .tech-logos .tech-group:nth-child(1) { grid-column: 2; }
  .tech-logos .tech-group:nth-child(2) { grid-column: 3; }
  .tech-logos .tech-group:nth-child(3) { grid-column: 4; }
}

@media (max-width: 899px) {
  .tech-logos {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (min-width: 600px) and (max-width: 899px) {
  .tech-logos {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tech-intro p {
  font-size: 17px;
  line-height: 1.7;
  max-width: none;
  margin: 0;
}

.tech-group {
  min-width: 0;
}

.tech-group h3 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ccc;
  margin: 0 0 16px;
}

.tech-group-logos {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.tech-group-logos img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.team-section {
  padding: 60px 0 80px;
  text-align: center;
}

.team-section .section-title {
  display: inline-block;
  margin-bottom: 40px;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  max-width: 700px;
  margin: 0 auto;
}

@media (min-width: 600px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
}

.team-member img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 2px;
  margin: 0 auto 16px;
}

.team-member h4 {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 4px;
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
}

.team-member p {
  font-size: 17px;
  color: var(--text-muted);
  margin: 0;
}

.about-hero .hero-arrow {
  z-index: 4;
}

.about-hero .hero-dots {
  z-index: 4;
  bottom: 104px;
}

.team-member hr {
  border: none;
  border-top: 1px solid var(--border);
  width: 60px;
  margin: 14px auto 0;
}

/* Project detail pages */
.project-page .project-hero {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  min-height: 280px;
  margin-top: -1px;
}

.project-page .project-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(14, 38, 66, 0.75);
}

@media (min-width: 768px) {
  .project-page .project-hero { min-height: 340px; }
}

@media (min-width: 901px) {
  .project-page .project-hero {
    margin-top: calc(-1 * var(--header-height));
    min-height: calc(340px + var(--header-height));
  }
}

.project-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  min-height: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.project-hero h1 {
  margin: 0;
  padding: 60px 0;
  font-family: var(--font-heading);
  font-size: clamp(34px, 5.5vw, 52px);
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.08;
}

.project-content {
  padding: 50px 0 60px;
}

.project-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 900px) {
  .project-layout {
    grid-template-columns: 2fr 1fr;
    gap: 60px;
  }
}

.project-main .section-heading-lined {
  margin-top: 0;
  font-size: clamp(22px, 3vw, 28px);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.project-main p {
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 16px;
  max-width: none;
}

.project-sidebar {
  border-top: 1px solid #e0e0e0;
  padding-top: 24px;
}

@media (min-width: 900px) {
  .project-sidebar {
    border-top: none;
    padding-top: 48px;
  }
}

.project-meta {
  margin: 0;
  padding: 0;
}

.project-meta-item {
  padding: 20px 0;
  border-bottom: 1px solid #e0e0e0;
}

.project-meta-item:first-child {
  padding-top: 0;
}

.project-meta-item dt {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin: 0 0 8px;
}

.project-meta-item dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
}

.project-meta-item dd + dd {
  margin-top: 4px;
}

.other-projects-section {
  padding: 0 0 70px;
}

.other-projects-section .other-projects-header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px 20px;
}

.other-projects-section .section-heading-lined {
  margin-top: 0;
  font-size: clamp(22px, 3vw, 28px);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.projects-grid--other {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .projects-grid--other {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .projects-grid--other {
    grid-template-columns: repeat(4, 1fr);
  }
}

.project-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 30px 0;
  padding: 24px;
  background: #f8f8f8;
  border-left: 3px solid var(--blue-accent);
}

.project-details dt {
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-dark);
  margin-top: 12px;
}
.project-details dt:first-child { margin-top: 0; }
.project-details dd { margin: 4px 0 0; font-size: 16px; }

/* Contact form */
.contact-offices {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

@media (min-width: 600px) {
  .contact-offices--two { grid-template-columns: repeat(2, 1fr); }
}

.office-card h3,
.office-card h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-dark);
  margin: 0 0 8px;
}

.office-region {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-dark);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e0e0e0;
}

.office-region + .contact-offices {
  margin-bottom: 32px;
}

.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 16px;
}

.form-group textarea { min-height: 120px; resize: vertical; }

.btn-submit {
  background: var(--blue-dark);
  color: #fff;
  border: none;
  padding: 12px 32px;
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-submit:hover { background: var(--blue-accent); }

.form-success {
  display: none;
  padding: 16px;
  background: #e8f5e9;
  color: #2e7d32;
  margin-top: 16px;
}

/* Careers */
.job-card {
  border: 1px solid #eee;
  padding: 24px;
  margin-bottom: 20px;
}

.job-card h3 { margin: 0 0 8px; color: var(--blue-dark); }
.job-meta { font-size: 14px; color: var(--text-muted); margin-bottom: 12px; }

@media (max-width: 600px) {
  .capabilities-list { columns: 1; }
}

/* Applications grid */
.apps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 30px;
}

@media (min-width: 600px) {
  .apps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .apps-grid { grid-template-columns: repeat(3, 1fr); }
}

.app-card {
  text-align: center;
  padding: 16px;
}

.app-card img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 16px;
  display: block;
}

.app-card h4 {
  margin-top: 0;
}

/* Other projects links */
.other-projects {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.other-projects h2 {
  font-family: var(--font-heading);
  font-size: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.other-projects ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.other-projects a { color: var(--blue-accent); }
.other-projects a:hover { text-decoration: underline; }

/* Coming soon */
.coming-soon {
  text-align: center;
  padding: 80px 20px;
}

.coming-soon h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--text-muted);
  font-weight: 300;
}

/* Mobile nav */
@media (max-width: 900px) {
  .menu-toggle { display: block; }

  .header-inner {
    padding: 12px 16px;
    min-height: 76px;
    gap: 12px;
  }

  .logo img { height: 52px; }

  .header-right {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 88vw);
    height: 100%;
    height: 100dvh;
    background: #fff;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    padding: 80px 20px max(24px, env(safe-area-inset-bottom));
    transition: right 0.3s;
    z-index: 300;
    align-items: stretch;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .header-right.open { right: 0; }

  .main-nav { width: 100%; }

  .main-nav > ul {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .main-nav > ul > li + li::before { display: none; }

  .main-nav > ul > li,
  .nav-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid #eee;
    padding: 0;
  }

  .main-nav a,
  .main-nav .nav-trigger {
    width: 100%;
    text-align: left;
    min-height: 44px;
    padding: 12px 0;
  }

  .nav-item .nav-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
  }

  /* Replace desktop hover-bridge with an accordion chevron */
  .nav-item .nav-trigger::after {
    content: '';
    position: static;
    left: auto;
    right: auto;
    top: auto;
    width: 8px;
    height: 8px;
    margin: 0 4px 0 12px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    flex-shrink: 0;
    transition: transform 0.2s ease;
  }

  .nav-item.open .nav-trigger::after {
    transform: rotate(-135deg);
  }

  .nav-item:hover .nav-dropdown,
  .nav-item:focus-within .nav-dropdown {
    display: none;
  }

  .nav-dropdown,
  .nav-item.open .nav-dropdown,
  .nav-item.open > .nav-dropdown {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 8px 12px;
    margin: 0;
  }

  .nav-dropdown {
    display: none;
  }

  .nav-item.open > .nav-dropdown {
    display: block;
  }

  .nav-dropdown a {
    white-space: normal;
    padding: 10px 8px;
    font-size: 15px;
  }

  .hero {
    height: min(70vh, 420px);
    margin-top: 0;
  }

  .hero-content { padding: 0 20px; }

  .about-hero {
    height: auto;
    min-height: 420px;
    margin-top: 0;
  }
  .about-hero-content {
    padding-top: 140px;
    padding-bottom: 0;
  }
  .about-hero .hero-dots { bottom: 92px; }
  .hero-arrow { font-size: 32px; padding: 10px; }

  .project-hero h1 {
    padding: 40px 0;
    font-size: clamp(26px, 8vw, 40px);
  }
}

.overlay-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 250;
}
.overlay-backdrop.open { display: block; }

/* Blog post */
.blog-post .post-meta {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 16px;
}

.blog-post .post-subtitle {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 24px;
}

.blog-post .post-image {
  display: block;
  max-width: 100%;
  width: 400px;
  margin-bottom: 24px;
}

.blog-post .qa-block p {
  margin-bottom: 24px;
}

.blog-post .qa-block p:last-child {
  margin-bottom: 0;
}

/* System / error pages (404, 403, 401, 500, 503) */
.system-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.system-page .system-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.system-hero {
  background: var(--blue-dark);
  color: #fff;
  text-align: center;
  padding: 72px 20px 64px;
}

.system-code {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: clamp(64px, 14vw, 120px);
  font-weight: 300;
  letter-spacing: 0.12em;
  line-height: 0.9;
  color: rgba(255, 255, 255, 0.22);
}

.system-hero h1 {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.system-hero p {
  margin: 0 auto;
  max-width: 560px;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.system-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}

.btn-solid {
  display: inline-block;
  padding: 12px 28px;
  background: #fff;
  color: var(--blue-dark);
  border: 1px solid #fff;
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.2s;
}

.btn-solid:hover {
  background: transparent;
  color: #fff;
}

.system-hero .btn-outline {
  margin-top: 0;
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
}

.system-hero .btn-outline:hover {
  background: #fff;
  border-color: #fff;
  color: var(--blue-dark);
}

.system-links {
  padding: 56px 0 72px;
  background: #fff;
}

.system-links h2 {
  margin: 0 0 28px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: var(--blue-dark);
}

.system-link-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px) {
  .system-link-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .system-link-grid { grid-template-columns: repeat(3, 1fr); }
}

.system-link-card {
  display: block;
  padding: 22px 20px;
  border: 1px solid #eee;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.system-link-card:hover {
  border-color: var(--blue-accent);
  box-shadow: 0 6px 18px rgba(21, 56, 99, 0.08);
}

.system-link-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-dark);
}

.system-link-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .system-hero { padding: 56px 20px 48px; }
  .system-links { padding: 40px 0 56px; }
}
