:root {
  --ink: #082838;
  --ink-deep: #051d29;
  --blue: #0b7598;
  --blue-bright: #1595bd;
  --signal: #42b8d5;
  --paper: #f3f6f7;
  --white: #ffffff;
  --line: rgba(8, 40, 56, 0.15);
  --muted: #5e7078;
  --font-display: "Arial Narrow", "Liberation Sans Narrow", Arial, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
  --max-width: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 0;
  left: 1rem;
  z-index: 1000;
  padding: .75rem 1rem;
  background: var(--signal);
  transform: translateY(-110%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 124px;
  padding-inline: max(1.5rem, calc((100% - var(--max-width)) / 2));
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  text-decoration: none;
}
.brand-logo { display: block; width: 236px; height: auto; }
.brand-name {
  font: 600 .83rem/1.25 var(--font-display);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: .9rem;
  font-weight: 600;
}
.site-nav a { text-decoration: none; }
.site-nav > a:not(.nav-phone) { position: relative; }
.site-nav > a:not(.nav-phone)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -.35rem;
  left: 0;
  height: 2px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.site-nav > a:hover::after,
.site-nav > a:focus-visible::after { transform: scaleX(1); }
.nav-phone {
  padding: .72rem 1rem;
  border: 1px solid rgba(8,40,56,.35);
}
.menu-toggle { display: none; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  align-items: end;
  min-height: 780px;
  padding: 190px max(1.5rem, calc((100% - var(--max-width)) / 2)) 76px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 73% 36%, rgba(21,149,189,.34), transparent 31%),
    linear-gradient(125deg, var(--ink-deep) 0%, #063b53 58%, #0b6f8c 100%);
}
.hero::after {
  content: none;
}
.hero-grid {
  position: absolute;
  inset: 124px 0 0;
  opacity: .14;
  background-image:
    linear-gradient(rgba(255,255,255,.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.22) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: linear-gradient(90deg, black 0, transparent 82%);
}
.hero-copy { position: relative; z-index: 2; max-width: 880px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin: 0 0 1.2rem;
  font: 600 .78rem/1.2 var(--font-body);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 38px;
  height: 3px;
  background: var(--signal);
}
h1, h2, h3 { margin: 0; font-family: var(--font-display); }
.hero h1 {
  max-width: 900px;
  font-size: clamp(2.5rem, 4.5vw, 5rem);
  line-height: .98;
  font-weight: 600;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.hero h1 em { color: var(--signal); font-style: normal; }
.hero-intro {
  max-width: 650px;
  margin: 2rem 0 0;
  color: rgba(255,255,255,.78);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
}
.hero-expertise-line {
  max-width: 650px;
  margin: 1.2rem 0 0;
  color: var(--white);
  font: 600 clamp(1rem, 1.35vw, 1.2rem)/1.15 var(--font-display);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .85rem 1.35rem;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 700;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink-deep); background: var(--signal); }
.button-secondary { color: var(--white); border-color: rgba(255,255,255,.6); }
.button-secondary:hover { color: var(--ink); background: var(--white); }
.button-projects {
  border-color: var(--signal);
  box-shadow: 0 0 0 1px rgba(66,184,213,.28), 0 0 18px rgba(66,184,213,.16);
}
.button-projects:hover { box-shadow: 0 7px 20px rgba(2,15,22,.2); }
.experience-card {
  position: relative;
  z-index: 3;
  align-self: center;
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: end;
  gap: 1rem;
  min-height: 190px;
  padding: 1rem;
  overflow: hidden;
  color: var(--white);
  background: rgba(5,29,41,.58);
  border: 1px solid rgba(255,255,255,.3);
}
.experience-copy { display: flex; align-items: flex-start; flex-direction: column; }
.experience-card strong { font: 600 2.7rem/.9 var(--font-display); letter-spacing: -.04em; }
.experience-copy > span { margin-top: .45rem; color: rgba(255,255,255,.76); font: 700 .68rem/1.25 var(--font-body); letter-spacing: .1em; text-transform: uppercase; }
.lift-mast {
  position: relative;
  display: block;
  width: 16px;
  height: 145px;
  margin: 0 0 9px 6px;
  border: 2px solid var(--signal);
  background:
    linear-gradient(55deg, transparent 45%, rgba(255,255,255,.38) 46% 54%, transparent 55%) 0 0 / 13px 20px,
    linear-gradient(-55deg, transparent 45%, rgba(255,255,255,.28) 46% 54%, transparent 55%) 0 0 / 13px 20px;
}
.lift-mast::before {
  content: "";
  position: absolute;
  left: -12px;
  bottom: -10px;
  width: 86px;
  height: 8px;
  border: 2px solid var(--signal);
  background:
    linear-gradient(var(--signal), var(--signal)) 7px 100% / 3px 7px no-repeat,
    linear-gradient(var(--signal), var(--signal)) calc(100% - 7px) 100% / 3px 7px no-repeat,
    var(--ink-deep);
  box-shadow: 0 5px 0 -2px rgba(66,184,213,.9);
}
.lift-cab {
  position: absolute;
  right: auto;
  bottom: 7px;
  left: 16px;
  width: 44px;
  height: 42px;
  background: rgba(11,117,152,.35);
  border: 2px solid var(--white);
  box-shadow: 0 6px 18px rgba(0,0,0,.24);
  animation: lift-travel 6s cubic-bezier(.55,.05,.35,.95) infinite;
}
.lift-cab::before {
  content: "";
  position: absolute;
  top: 15px;
  right: 100%;
  width: 10px;
  height: 6px;
  background: var(--signal);
}
.lift-cab::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -5px;
  left: -4px;
  height: 4px;
  background: var(--white);
}
.lift-cage-grid {
  position: absolute;
  inset: 4px 4px 3px;
  background:
    repeating-linear-gradient(90deg, transparent 0 8px, rgba(255,255,255,.76) 8px 9px),
    repeating-linear-gradient(0deg, transparent 0 8px, rgba(255,255,255,.5) 8px 9px);
}
.lift-cage-grid::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  border-left: 1px solid rgba(255,255,255,.86);
}
@keyframes lift-travel {
  0%, 12%, 100% { transform: translateY(0); }
  45%, 67% { transform: translateY(-92px); }
}
.hero-note-group {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  z-index: 3;
  text-align: center;
  transform: translateX(-50%);
}
.hero-note-group .hero-expertise-line {
  margin: 0 0 .4rem;
  white-space: nowrap;
}
.hero-note {
  margin: 0;
  color: rgba(255,255,255,.78);
  font: 700 .72rem/1 var(--font-body);
  letter-spacing: .1em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.expertise-section {
  width: min(calc(100% - 3rem), var(--max-width));
  margin-inline: auto;
  padding: 110px 0 130px;
}
.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, .45fr) 1fr;
  align-items: start;
  gap: 2rem;
  margin-bottom: 3.5rem;
}
.section-heading h2 {
  font-size: clamp(2rem, 2.8vw, 3.25rem);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.expertise-card {
  position: relative;
  min-height: 360px;
  padding: 1.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: color .25s ease, background-color .25s ease;
}
.expertise-card:hover { color: var(--white); background: var(--ink); }
.card-number { color: var(--blue); font: 600 .8rem/1 var(--font-body); letter-spacing: .12em; }
.expertise-card:hover .card-number { color: var(--signal); }
.expertise-card h3 {
  margin-top: 4.5rem;
  font-size: clamp(1.4rem, 1.7vw, 1.9rem);
  line-height: 1.08;
  font-weight: 600;
  text-transform: uppercase;
}
.expertise-card p { color: var(--muted); font-size: .92rem; }
.expertise-card:hover p { color: rgba(255,255,255,.7); }
.text-link {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--signal);
}

.contact-band {
  color: var(--white);
  background: var(--blue);
}
.contact-band-inner {
  display: grid;
  grid-template-columns: .52fr 1fr .9fr;
  align-items: end;
  gap: 2rem;
  width: min(calc(100% - 3rem), var(--max-width));
  min-height: 370px;
  margin-inline: auto;
  padding: 70px 0;
}
.contact-band-inner .eyebrow { align-self: start; }
.contact-band h2 {
  justify-self: center;
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -.02em;
  text-align: center;
  text-transform: uppercase;
}
.contact-band-actions { display: flex; align-items: center; justify-self: center; flex-direction: column; gap: .55rem; text-align: center; }
.contact-band-actions > a:not(.button) { color: rgba(255,255,255,.9); font-size: 1.05rem; text-decoration: none; }
.button-light { margin-top: 1rem; color: var(--ink); background: var(--white); }

.site-footer { color: rgba(255,255,255,.72); background: var(--ink-deep); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 3rem;
  width: min(calc(100% - 3rem), var(--max-width));
  margin-inline: auto;
  padding: 70px 0 55px;
}
.footer-brand img { display: block; width: 128px; height: 128px; object-fit: contain; }
.site-footer h2 { margin: 0 0 1rem; color: var(--white); font: 600 1.15rem/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.site-footer p { margin: 0; font-size: .92rem; }
.site-footer a { color: inherit; text-underline-offset: .22em; }
.analytics-preference {
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: .22em;
  cursor: pointer;
}
.analytics-preference:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.analytics-preference:disabled { cursor: default; opacity: .78; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  width: min(calc(100% - 3rem), var(--max-width));
  margin-inline: auto;
  padding: 1.25rem 0 1.75rem;
  border-top: 1px solid rgba(255,255,255,.15);
  font-size: .78rem;
}

/* Interior pages */
.page-hero {
  position: relative;
  min-height: 510px;
  padding: 200px max(1.5rem, calc((100% - var(--max-width)) / 2)) 80px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 32%, rgba(66,184,213,.2), transparent 25%),
    linear-gradient(125deg, var(--ink-deep), #063a51 75%, #0a617d);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 124px 0 0;
  opacity: .12;
  background-image:
    linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: linear-gradient(90deg, black, transparent 78%);
}
.page-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem; }
.page-hero h1 {
  max-width: 980px;
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.page-hero .page-count {
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  border: 1px solid rgba(255,255,255,.42);
  color: var(--signal);
  font: 600 2rem/1 var(--font-display);
}
.breadcrumbs { display: flex; gap: .65rem; margin: 0 0 1.3rem; color: rgba(255,255,255,.68); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.breadcrumbs a { color: inherit; text-underline-offset: .2em; }

.service-main,
.contact-main,
.projects-main {
  width: min(calc(100% - 3rem), var(--max-width));
  margin-inline: auto;
  padding: 100px 0 120px;
}
.service-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, .65fr); gap: clamp(3rem, 7vw, 7rem); }
.content-label { margin: 0 0 1rem; color: var(--blue); font-size: .76rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.service-copy h2,
.projects-heading h2,
.contact-heading h2 {
  max-width: 880px;
  font: 600 clamp(1.9rem, 2.7vw, 3rem)/1.05 var(--font-display);
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.service-copy > p { max-width: 740px; color: var(--muted); font-size: 1.08rem; }
.scope-list { margin: 3.5rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.scope-list li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  font: 500 clamp(1.25rem, 2vw, 1.65rem)/1.25 var(--font-body);
}
.scope-list li::before {
  content: counter(scope, decimal-leading-zero);
  counter-increment: scope;
  color: var(--blue);
  font: 600 .78rem/2 var(--font-body);
  letter-spacing: .08em;
}
.scope-list { counter-reset: scope; }
.service-aside { align-self: start; position: sticky; top: 1.5rem; }
.info-card { padding: 2rem; color: var(--white); background: var(--ink); }
.info-card h2 { margin: 0 0 1.2rem; font: 600 1.8rem/1 var(--font-display); text-transform: uppercase; }
.info-card p { color: rgba(255,255,255,.7); }
.info-card .button { width: 100%; margin-top: 1rem; color: var(--ink-deep); background: var(--signal); }
.aside-links { margin-top: 1rem; border-top: 1px solid var(--line); }
.aside-links a { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: .9rem; font-weight: 600; }
.aside-links a::after { content: "+"; color: var(--blue); }
.certificate-group { margin-top: 3.5rem; }
.certificate-group h3 { margin: 0 0 .6rem; font: 600 1.6rem/1.05 var(--font-display); text-transform: uppercase; }
.certificate-group .scope-list { margin-top: 1.5rem; }

/* Projects */
.projects-heading { display: grid; grid-template-columns: .45fr 1.4fr; gap: 2rem; align-items: start; margin-bottom: 3.5rem; }
.projects-heading p { margin: 0; color: var(--muted); }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.project-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
}
.project-card button { display: block; width: 100%; padding: 0; border: 0; color: inherit; background: none; text-align: left; cursor: zoom-in; }
.project-image { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #dce4e7; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.project-card button:hover img,
.project-card button:focus-visible img { transform: scale(1.045); }
.project-caption { display: block; min-height: 104px; padding: 1.15rem 1.2rem 1.3rem; }
.project-card small { display: block; margin-bottom: .35rem; color: var(--blue); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.project-card strong { display: block; font: 600 1.25rem/1.15 var(--font-display); text-transform: uppercase; }
.lightbox {
  width: min(1100px, calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  padding: 0;
  overflow: hidden;
  border: 0;
  color: var(--white);
  background: var(--ink-deep);
  box-shadow: 0 24px 80px rgba(0,0,0,.48);
}
.lightbox::backdrop { background: rgba(2,15,22,.88); backdrop-filter: blur(4px); }
.lightbox-frame { display: grid; grid-template-rows: minmax(0, 1fr) auto; height: min(88vh, 850px); }
.lightbox-media { display: grid; place-items: center; min-height: 0; background: #03141d; }
.lightbox-media img { display: block; max-width: 100%; max-height: calc(88vh - 92px); object-fit: contain; }
.lightbox-meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 92px; padding: 1rem 1.25rem; }
.lightbox-meta p { margin: 0; font: 600 1.35rem/1.1 var(--font-display); text-transform: uppercase; }
.lightbox-controls { display: flex; gap: .5rem; }
.lightbox-controls button { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.35); color: var(--white); background: transparent; font-size: 1.15rem; cursor: pointer; }
.lightbox-controls button:hover { color: var(--ink-deep); background: var(--signal); }

/* Contact */
.contact-layout { display: grid; grid-template-columns: .75fr 1.35fr; gap: clamp(3rem, 8vw, 8rem); }
.contact-heading h2 { margin-bottom: 2rem; }
.contact-details { margin: 2.5rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.contact-details li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-details span { display: block; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.contact-details a,
.contact-details strong { display: inline-block; margin-top: .3rem; color: var(--ink); font-size: 1.05rem; font-weight: 600; text-decoration: none; }
.contact-card { padding: clamp(1.5rem, 4vw, 3.5rem); background: var(--white); border-top: 5px solid var(--blue); }
.contact-card h2 { margin: 0 0 .8rem; font: 600 clamp(1.75rem, 2.3vw, 2.5rem)/1.05 var(--font-display); text-transform: uppercase; }
.contact-card > p:not(.content-label) { max-width: 650px; margin: 0; color: var(--muted); }
.contact-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.contact-actions .button { min-width: 150px; }
.contact-button-primary { color: var(--white); background: var(--ink); }
.contact-button-primary:hover { background: var(--blue); }
.contact-button-secondary { color: var(--ink); border-color: var(--ink); }
.contact-button-secondary:hover { color: var(--white); background: var(--ink); }

/* Compact desktop layout: every page except the project archive fits in one viewport. */
@media (min-width: 961px) {
  body {
    font-size: .9rem;
    line-height: 1.42;
  }
  body:not(.page-projects) {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
  }
  body:not(.page-projects) > main {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    flex-direction: column;
  }
  body:not(.page-projects) > .site-footer { margin-top: auto; }

  .site-header {
    min-height: 78px;
    padding-inline: max(1.5rem, calc((100% - var(--max-width)) / 2));
  }
  .brand-logo { width: 176px; }
  .site-nav { gap: 1.35rem; font-size: .78rem; }
  .nav-phone { padding: .5rem .75rem; }

  .hero {
    grid-template-columns: minmax(0, 1fr) 210px;
    flex: 0 0 auto;
    min-height: 280px;
    padding: 98px max(1.5rem, calc((100% - var(--max-width)) / 2)) 28px;
  }
  .hero-grid { inset: 78px 0 0; background-size: 56px 56px; }
  .eyebrow { gap: .6rem; margin-bottom: .6rem; font-size: .66rem; letter-spacing: .13em; }
  .eyebrow::before { width: 26px; height: 2px; }
  .hero .eyebrow { margin-bottom: 1.25rem; }
  .hero h1 { max-width: 660px; font-size: clamp(2rem, 2.65vw, 2.55rem); line-height: 1.02; }
  .hero-intro { max-width: 600px; margin-top: .8rem; font-size: .9rem; line-height: 1.4; }
  .hero-expertise-line { margin-top: 1.25rem; font-size: .92rem; }
  .hero-actions { gap: .55rem; margin-top: 1.35rem; }
  .button { min-height: 40px; padding: .55rem .9rem; font-size: .76rem; }
  .experience-card { grid-template-columns: 76px 1fr; min-height: 164px; padding: .8rem; }
  .experience-card strong { font-size: 2.25rem; }
  .experience-copy > span { font-size: .6rem; }
  .lift-mast { height: 126px; }
  .lift-cab { width: 42px; height: 38px; }
  @keyframes lift-travel {
    0%, 12%, 100% { transform: translateY(0); }
    45%, 67% { transform: translateY(-73px); }
  }
  .hero-note-group { bottom: .8rem; }
  .hero-note { font-size: .6rem; }

  .expertise-section {
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
    flex-direction: column;
    padding: 22px 0 26px;
  }
  .section-heading {
    grid-template-columns: minmax(150px, .35fr) 1fr;
    gap: 1rem;
    margin-bottom: .9rem;
  }
  .section-heading h2 { font-size: 1.55rem; line-height: 1.05; }
  .expertise-card { min-height: 144px; padding: .9rem; }
  .expertise-card h3 { margin-top: 1rem; font-size: 1.08rem; line-height: 1.05; }
  .expertise-card p { max-width: 250px; margin: .5rem 0 1.4rem; font-size: .74rem; line-height: 1.35; }
  .text-link { bottom: .8rem; left: .9rem; font-size: .62rem; }

  .page-home .contact-band {
    display: flex;
    flex: 0 0 150px;
    min-height: 150px;
  }
  .contact-band-inner {
    grid-template-columns: .42fr 1fr .82fr;
    align-items: center;
    gap: 1.2rem;
    width: min(calc(100% - 3rem), var(--max-width));
    min-height: 150px;
    padding: 14px 0;
  }
  .contact-band-inner .eyebrow { align-self: center; }
  .contact-band h2 { font-size: 1.55rem; line-height: 1.02; }
  .contact-band-actions { gap: .25rem; }
  .contact-band-actions > a:not(.button) { font-size: .82rem; }
  .button-light { margin-top: .35rem; }

  .page-hero {
    flex: 0 0 205px;
    min-height: 205px;
    padding: 92px max(1.5rem, calc((100% - var(--max-width)) / 2)) 16px;
  }
  .page-hero::before { inset: 78px 0 0; background-size: 56px 56px; }
  .page-hero h1 { font-size: clamp(1.85rem, 2.4vw, 2.25rem); line-height: 1; }
  .page-hero .page-count { width: 66px; height: 66px; font-size: 1.2rem; }
  .breadcrumbs { margin-bottom: .45rem; font-size: .62rem; }

  .service-main,
  .contact-main {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    padding: 20px 0 24px;
  }
  .service-layout {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 2rem;
  }
  .content-label { margin-bottom: .45rem; font-size: .62rem; }
  .service-copy h2,
  .projects-heading h2,
  .contact-heading h2 { font-size: 1.55rem; line-height: 1.05; }
  .scope-list { margin-top: .85rem; }
  .scope-list li {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: .55rem;
    padding: .52rem 0;
    font-size: .9rem;
    line-height: 1.25;
  }
  .scope-list li::before { font-size: .62rem; }
  .info-card { padding: 1.05rem; }
  .info-card h2 { margin-bottom: .5rem; font-size: 1.25rem; }
  .info-card p { margin: 0; font-size: .76rem; line-height: 1.4; }
  .info-card .button { margin-top: .7rem; }
  .aside-links { margin-top: .6rem; }
  .aside-links a { padding: .5rem 0; font-size: .7rem; }
  .certificate-group { margin-top: 1rem; }
  .certificate-group h3 { margin-bottom: .4rem; font-size: 1.1rem; }
  .certificate-group .scope-list { margin-top: .7rem; }

  .page-support .service-layout { grid-template-columns: minmax(0, 1fr) 220px; gap: 1.4rem; }
  .service-copy-support {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-items: start;
  }
  .service-copy-support .service-group,
  .service-copy-support .certificate-group { min-width: 0; margin: 0; }
  .service-copy-support h2,
  .service-copy-support h3 { font-size: 1.08rem; line-height: 1.08; }
  .service-copy-support .scope-list { margin-top: .6rem; }
  .service-copy-support .scope-list li {
    grid-template-columns: 22px minmax(0, 1fr);
    gap: .35rem;
    padding: .38rem 0;
    font-size: .79rem;
    line-height: 1.22;
  }

  .contact-layout { width: 100%; grid-template-columns: .72fr 1.4fr; gap: 2rem; }
  .contact-heading h2 { margin-bottom: .7rem; }
  .contact-details { margin-top: .8rem; }
  .contact-details li { padding: .45rem 0; }
  .contact-details span { font-size: .6rem; }
  .contact-details a,
  .contact-details strong { margin-top: .15rem; font-size: .82rem; }
  .contact-card { padding: 1.05rem 1.2rem; border-top-width: 3px; }
  .contact-card h2 { margin-bottom: .55rem; font-size: 1.45rem; }
  .contact-card > p:not(.content-label) { font-size: .76rem; }
  .contact-actions { gap: .55rem; margin-top: 1rem; }

  .footer-grid {
    grid-template-columns: 92px repeat(3, 1fr);
    align-items: center;
    gap: 1.35rem;
    padding: 13px 0 11px;
  }
  .footer-brand img { width: 72px; height: 72px; }
  .site-footer h2 { margin-bottom: .35rem; font-size: .82rem; }
  .site-footer p { font-size: .72rem; line-height: 1.4; }
  .footer-bottom { padding: .55rem 0 .7rem; font-size: .66rem; }
}

@media (min-width: 961px) and (max-height: 800px) {
  .hero { padding-top: 88px; padding-bottom: 10px; }
  .expertise-section { padding: 8px 0 7px; }
  .page-home .contact-band { flex-basis: 100px; min-height: 100px; }
  .contact-band-inner { min-height: 100px; }
  .section-heading { margin-bottom: .25rem; }
  .section-heading h2 { font-size: 1.35rem; }
  .expertise-card { min-height: 124px; padding: .7rem; }
  .expertise-card h3 { margin-top: .55rem; font-size: 1rem; }
  .expertise-card p { margin: .32rem 0 1rem; font-size: .7rem; }
  .text-link { bottom: .55rem; left: .7rem; font-size: .58rem; }
}

@media (max-width: 960px) {
  .page-hero { min-height: 460px; padding-top: 170px; }
  .page-hero::before { inset: 98px 0 0; }
  .service-layout { grid-template-columns: 1fr; }
  .service-aside { position: static; }
  .projects-heading { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  body { font-size: .94rem; }
  .page-hero { min-height: 260px; padding: 110px 1rem 36px; }
  .page-hero::before { inset: 78px 0 0; }
  .page-hero-inner { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: clamp(1.75rem, 8vw, 2.15rem); }
  .page-hero .page-count { display: none; }
  .service-main,
  .contact-main,
  .projects-main { width: min(calc(100% - 2rem), var(--max-width)); padding: 45px 0 55px; }
  .service-copy h2,
  .projects-heading h2,
  .contact-heading h2 { font-size: 1.6rem; }
  .scope-list { margin-top: 1.8rem; }
  .scope-list li { grid-template-columns: 34px 1fr; padding: .9rem 0; font-size: .95rem; }
  .project-grid { grid-template-columns: 1fr; }
  .project-caption { min-height: auto; }
  .lightbox-frame { height: min(86vh, 760px); }
  .lightbox-meta { align-items: flex-start; flex-direction: column; }
  .contact-actions { align-items: stretch; flex-direction: column; }
  .contact-actions .button { width: 100%; }
}

.reveal,
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .site-header { min-height: 98px; padding-inline: 1rem; }
  .brand-logo { width: 188px; }
  .menu-toggle {
    display: grid;
    place-content: center;
    gap: 7px;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(8,40,56,.35);
    color: inherit;
    background: transparent;
  }
  .menu-toggle span:not(.sr-only) { width: 22px; height: 2px; background: currentColor; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }
  .site-nav {
    position: absolute;
    top: 98px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 1rem;
    color: var(--white);
    background: var(--ink-deep);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .9rem .5rem; }
  .nav-phone { margin-top: .5rem; text-align: center; }
  .hero { grid-template-columns: 1fr 200px; min-height: 720px; padding-top: 160px; }
  .experience-card strong { font-size: 3rem; }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-band-inner { grid-template-columns: 1fr 1.2fr; }
  .contact-band-inner .eyebrow { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .brand-name { display: none; }
  .brand-logo { width: 142px; }
  .site-header { min-height: 78px; }
  .site-nav { top: 78px; }
  .hero {
    display: block;
    min-height: auto;
    padding: 118px 1.2rem 55px;
  }
  .hero h1 { font-size: clamp(1.8rem, 8.4vw, 2.35rem); }
  .hero-intro { margin-top: 1rem; font-size: .95rem; }
  .hero-expertise-line { margin-top: 1.4rem; font-size: 1rem; }
  .hero-actions { margin-top: 1.6rem; }
  .experience-card { grid-template-columns: 70px 1fr; width: 220px; min-height: 150px; margin-top: 1.5rem; padding: .75rem; }
  .experience-card strong { font-size: 2.2rem; }
  .lift-mast { height: 112px; }
  @keyframes lift-travel {
    0%, 12%, 100% { transform: translateY(0); }
    45%, 67% { transform: translateY(-60px); }
  }
  .hero-note-group { position: static; margin-top: 1.5rem; transform: none; }
  .hero-note-group .hero-expertise-line { font-size: .85rem; white-space: normal; }
  .hero-note { display: block; font-size: .58rem; line-height: 1.35; white-space: normal; }
  .expertise-section { width: min(calc(100% - 2rem), var(--max-width)); padding: 45px 0; }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading h2 { font-size: 1.55rem; }
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-card { min-height: 220px; }
  .expertise-card h3 { margin-top: 2rem; font-size: 1.25rem; }
  .contact-band-inner { grid-template-columns: 1fr; width: min(calc(100% - 2rem), var(--max-width)); min-height: auto; padding: 45px 0; }
  .contact-band h2 { font-size: 1.7rem; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(calc(100% - 2rem), var(--max-width)); gap: 1.35rem; padding: 38px 0 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand img { width: 96px; height: 96px; }
  .site-footer h2 { margin-bottom: .65rem; font-size: .95rem; }
  .site-footer p { font-size: .82rem; }
  .footer-bottom { flex-direction: column; width: min(calc(100% - 2rem), var(--max-width)); gap: .5rem; }
}

/* Compact, centred heading band for the contact page. */
.page-contact .page-hero-inner {
  grid-template-columns: 1fr;
  justify-items: start;
  text-align: left;
}
.page-contact .breadcrumbs { justify-content: flex-start; }

@media (min-width: 961px) {
  .page-contact .page-hero {
    display: grid;
    flex-basis: 180px;
    min-height: 180px;
    align-items: center;
    padding-top: 78px;
    padding-bottom: 0;
  }
}

@media (min-width: 681px) and (max-width: 960px) {
  .page-contact .page-hero {
    display: grid;
    min-height: 240px;
    align-items: center;
    padding: 98px 1.5rem 0;
  }
}

@media (max-width: 680px) {
  .page-contact .page-hero {
    display: grid;
    min-height: 220px;
    align-items: center;
    padding: 78px 1rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
  .lift-cab { animation: none; transform: translateY(-35px); }
}
