:root {
  color-scheme: light;
  --ink: #17202a;
  --navy: #0f2432;
  --blue: #1e5f85;
  --teal: #2f756b;
  --orange: #d56a2a;
  --paper: #f3f6f8;
  --panel: #ffffff;
  --soft: #e6edf1;
  --line: #d3dde3;
  --muted: #5e6b75;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(15, 36, 50, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: 0; }
h1 {
  max-width: 900px;
  margin-bottom: 0;
  font-size: clamp(42px, 6.2vw, 92px);
  line-height: .94;
  font-weight: 900;
}
h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4.2vw, 58px);
  line-height: 1.02;
  font-weight: 900;
}
h3 {
  margin-bottom: 10px;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.12;
}
p { margin-bottom: 0; }
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 50;
  background: var(--orange);
  color: var(--white);
  padding: .75rem 1rem;
  font-weight: 800;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.nav-shell {
  width: min(1240px, calc(100% - 34px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.wordmark {
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--navy);
  font-weight: 900;
  font-size: 18px;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}
.nav-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
  background: var(--soft);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 20px;
  color: inherit;
  background: transparent;
  text-decoration: none;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.button.primary {
  color: var(--white);
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0 14px 34px rgba(30, 95, 133, .22);
}
.button.primary:hover { background: #174b6b; }
.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .08);
}
body:not(.home) .button.ghost,
.contact-form .button.ghost {
  color: var(--ink);
  border-color: var(--line);
  background: var(--panel);
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  background: var(--navy);
  color: var(--white);
}
.hero-copy {
  display: grid;
  align-content: center;
  padding: clamp(42px, 7vw, 98px);
}
.hero-copy p:not(.eyebrow) {
  max-width: 680px;
  margin-top: 24px;
  color: #d7e1e7;
  font-size: clamp(18px, 2vw, 23px);
}
.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero-media {
  min-height: 520px;
  display: grid;
  align-items: center;
  padding: clamp(24px, 5vw, 70px);
  background:
    linear-gradient(135deg, rgba(30, 95, 133, .18), rgba(47, 117, 107, .18)),
    #dce4e8;
}
.hero-media img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  filter: drop-shadow(0 28px 45px rgba(0, 0, 0, .24));
}

@media (min-width: 961px) and (max-width: 1600px) {
  h1 {
    max-width: 760px;
    font-size: clamp(48px, 4.6vw, 72px);
    line-height: 1.02;
  }
  .hero {
    min-height: calc(100svh - 76px);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .hero-copy {
    padding: clamp(42px, 5vw, 68px);
  }
  .hero-copy p:not(.eyebrow) {
    max-width: 610px;
    margin-top: 20px;
    font-size: clamp(17px, 1.35vw, 20px);
  }
  .hero-actions {
    margin-top: 26px;
  }
  .hero-media {
    min-height: 0;
    padding: clamp(24px, 4vw, 52px);
  }
  .hero-media img {
    max-height: 64vh;
  }
}

.capability-band {
  width: min(1240px, calc(100% - 34px));
  margin: -54px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}
@media (min-width: 961px) and (max-width: 1600px) {
  .capability-band {
    margin-top: -34px;
  }
}
.capability-band div {
  min-height: 155px;
  padding: 26px;
  border-right: 1px solid var(--line);
}
.capability-band div:last-child { border-right: 0; }
.capability-band span,
.process-grid span,
.values-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--orange);
  font-weight: 900;
}
.capability-band strong,
.process-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.1;
}
.capability-band p,
.process-grid p,
.values-grid p { color: var(--muted); }

.section {
  width: min(1240px, calc(100% - 34px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 116px) 0;
}
.intro-grid,
.industries,
.cta-panel,
.page-head,
.service-row,
.about-grid,
.contact-layout {
  color: var(--ink);
}
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
  gap: clamp(32px, 7vw, 100px);
  align-items: end;
}
.intro-grid p:last-child,
.page-head > p:not(.eyebrow),
.copy-block p {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}
.service-matrix {
  display: grid;
  gap: 18px;
  padding-top: 0;
}
.service-matrix article {
  display: grid;
  grid-template-columns: minmax(320px, .92fr) minmax(0, 1.08fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  padding: clamp(22px, 4vw, 42px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 42px rgba(15, 36, 50, .08);
}
.service-matrix article:nth-child(even) {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
}
.service-matrix article:nth-child(even) img { order: 2; }
.service-matrix img,
.service-row img,
.photo-stack img,
.contact-card img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.service-matrix img {
  height: clamp(280px, 35vw, 440px);
  object-fit: contain;
  background: #e5ebef;
}
.service-matrix p:not(.eyebrow) { color: var(--muted); font-size: 18px; }

.process-section {
  padding: clamp(58px, 8vw, 116px) max(17px, calc((100% - 1240px) / 2));
  background: var(--navy);
  color: var(--white);
}
.process-head {
  max-width: 850px;
  margin-bottom: 36px;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .14);
}
.process-grid div {
  min-height: 250px;
  padding: 28px;
  background: #122c3d;
}
.process-grid strong { color: var(--white); }
.process-grid p { color: #d7e1e7; }

.industries {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
  gap: clamp(30px, 7vw, 100px);
  align-items: start;
}
.industries ul,
.check-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.industries li,
.check-list li { margin-bottom: 10px; }

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(30px, 5vw, 54px);
  margin-bottom: clamp(58px, 8vw, 104px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 6px solid var(--orange);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.cta-panel h2 { max-width: 840px; margin-bottom: 10px; }
.cta-panel p { color: var(--muted); }

.page-head {
  width: min(1240px, calc(100% - 34px));
  margin: 0 auto;
  padding: clamp(62px, 9vw, 126px) 0 clamp(32px, 5vw, 64px);
}
.page-head h1 {
  max-width: 1040px;
  font-size: clamp(38px, 5.5vw, 76px);
  line-height: 1.08;
  margin-bottom: 22px;
}
.page-head.compact h1 { font-size: clamp(36px, 5vw, 58px); }
.service-row,
.about-grid,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
}
.service-row.reverse { direction: rtl; }
.service-row.reverse > * { direction: ltr; }
.service-row img { height: min(52vw, 500px); }
.service-row:first-of-type img { object-fit: contain; background: #e5ebef; }
.copy-block p + p { margin-top: 16px; }
.photo-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.photo-stack img { height: 360px; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 0;
}
.values-grid article,
.contact-card,
.contact-form,
.legal,
.confirmation {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 42px rgba(15, 36, 50, .08);
}
.values-grid article { padding: 28px; }

.contact-form {
  padding: clamp(24px, 4vw, 38px);
  display: grid;
  gap: 16px;
}
.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}
.contact-form label span {
  color: var(--muted);
  font-weight: 400;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  font: inherit;
  background: #fbfdfe;
  color: var(--ink);
}
.contact-form textarea { resize: vertical; }
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px !important;
  height: 1px;
}
.consent-line {
  grid-template-columns: auto 1fr !important;
  align-items: start;
  color: var(--muted) !important;
  font-weight: 400 !important;
}
.consent-line input { width: auto; margin-top: 6px; }
.contact-card {
  padding: 24px;
  color: var(--ink);
}
.contact-card img {
  height: 270px;
  margin-bottom: 24px;
  object-fit: cover;
}
.contact-card p { color: var(--muted); }
.contact-card strong { color: var(--ink); }
.map-section { padding-top: 0; }
.privacy-media {
  min-height: 360px;
  display: grid;
  place-items: center;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  text-align: center;
  padding: 30px;
}
.privacy-media iframe {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: 8px;
}
.legal {
  max-width: 920px;
  padding: clamp(28px, 5vw, 52px);
  color: var(--ink);
}
.legal h2 { font-size: 24px; margin-top: 28px; }
.legal h2:first-child { margin-top: 0; }
.confirmation {
  max-width: 780px;
  padding: clamp(38px, 7vw, 82px);
  color: var(--ink);
  text-align: center;
}
.confirmation h1 {
  max-width: 680px;
  margin: 0 auto 18px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
}
.confirmation p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 auto;
}
.confirmation .button {
  margin-top: 24px;
}

.site-footer {
  width: min(1240px, calc(100% - 34px));
  margin: 0 auto;
  padding: 34px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.site-footer strong { color: var(--ink); }
.site-footer p { margin-bottom: 0; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.footer-links a,
.footer-links button {
  color: var(--ink);
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.privacy-consent {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: end;
  justify-content: center;
  padding: 18px;
  background: rgba(15, 36, 50, .55);
}
.privacy-consent.is-open { display: flex; }
.privacy-panel {
  width: min(760px, 100%);
  background: var(--panel);
  color: var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 34px);
}
.privacy-panel h2 { font-size: 28px; margin-bottom: 10px; }
.privacy-panel p { color: var(--muted); }
.privacy-options {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}
.privacy-options label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.privacy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.privacy-actions .button { flex: 1 1 180px; }

@media (max-width: 960px) {
  .nav-shell {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }
  .nav-links { justify-content: flex-start; }
  .hero,
  .intro-grid,
  .service-matrix article,
  .service-matrix article:nth-child(even),
  .industries,
  .service-row,
  .about-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .hero { min-height: 0; }
  .hero-media { min-height: 360px; }
  .service-matrix article:nth-child(even) img { order: 0; }
  .capability-band,
  .process-grid,
  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .capability-band { margin-top: 0; }
  .cta-panel {
    align-items: flex-start;
    flex-direction: column;
  }
  .site-footer { flex-direction: column; }
}

@media (max-width: 560px) {
  .nav-links a { padding: 8px 9px; }
  .hero-copy { padding: 38px 17px; }
  .hero-media { padding: 22px 14px; }
  .capability-band,
  .process-grid,
  .values-grid,
  .photo-stack {
    grid-template-columns: 1fr;
  }
  .capability-band div { border-right: 0; border-bottom: 1px solid var(--line); }
  .capability-band div:last-child { border-bottom: 0; }
  .process-grid div { min-height: 210px; }
  .service-row img,
  .photo-stack img { height: 300px; }
  .button { width: 100%; }
  .privacy-consent { align-items: stretch; overflow: auto; }
}
