:root {
  color-scheme:dark;
  --bg:#071421;
  --bg2:#0a1d2d;
  --bg3:#0d2537;
  --surface:#102b3d;
  --surface2:#14364a;
  --line:rgba(156,209,225,.16);
  --line2:rgba(156,209,225,.29);
  --text:#ecf5f8;
  --muted:#9bb4c2;
  --cyan:#57e4e5;
  --cyan2:#a5f9f4;
  --gold:#d6b67d;
  --sans:'Aptos','Segoe UI',Inter,Arial,sans-serif;
  --page:1260px;
  --shadow:0 30px 80px rgba(0,0,0,.2)
}
* {
  box-sizing:border-box
}
html {
  zoom: 0.75;
  scroll-behavior:smooth;
  scroll-padding-top:95px
}
body {
  margin:0;
  background:var(--bg);
  font-family:var(--sans);
  color:var(--text);
  -webkit-font-smoothing:antialiased
}
body.modal-open {
  overflow:hidden
}
a {
  color:inherit;
  text-decoration:none
}
button,input {
  font:inherit
}
button {
  cursor:pointer
}
button:disabled {
  cursor:not-allowed
}
img,video {
  display:block;
  max-width:100%
}
img {
  color:var(--muted)
}
::selection {
  background:#54ded9;
  color:#061520
}
:focus-visible {
  outline:2px solid var(--cyan);
  outline-offset:3px
}
.container {
  max-width:var(--page);
  margin:auto;
  padding:0 clamp(22px,4vw,58px)
}
.section {
  padding:105px 0
}
.section-narrow {
  padding:76px 0
}
.section-alt {
  background:#0a1d2c
}
.section-edge {
  border-block:1px solid var(--line)
}
.eyebrow {
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--cyan);
  font-size:11px;
  font-weight:800;
  letter-spacing:.24em;
  text-transform:uppercase
}
.eyebrow::before {
  content:'';
  width:26px;
  height:1px;
  background:var(--cyan)
}
.eyebrow.gold {
  color:var(--gold)
}
.eyebrow.gold::before {
  background:var(--gold)
}
h1,h2,h3,h4,p {
  margin-top:0
}
h1 {
  font-size:clamp(48px,6.3vw,91px);
  line-height:1.05;
  letter-spacing:-.067em;
  font-weight:650
}
h2 {
  font-size:clamp(34px,4.2vw,60px);
  line-height:1.11;
  letter-spacing:-.053em;
  font-weight:650
}
h3 {
  font-size:clamp(22px,2vw,30px);
  line-height:1.24;
  letter-spacing:-.033em
}
p {
  color:var(--muted);
  line-height:1.83;
  font-size:15px
}
.lead {
  font-size:clamp(16px,1.55vw,19px);
  line-height:1.85
}
.muted {
  color:var(--muted)
}
.accent {
  color:var(--cyan)
}
.gold-text {
  color:var(--gold)
}
.overline {
  font-size:11px;
  letter-spacing:.18em;
  font-weight:750;
  text-transform:uppercase;
  color:var(--cyan)
}
.rule {
  height:1px;
  background:var(--line)
}
.section-header {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:38px
}
.section-header h2 {
  max-width:820px;
  margin:13px 0 0
}
.section-header p {
  max-width:405px;
  margin:0
}
.text-link {
  display:inline-flex;
  align-items:center;
  gap:12px;
  color:var(--cyan2);
  font-weight:700;
  font-size:13px;
  letter-spacing:.035em;
  white-space:nowrap
}
.text-link .arr {
  transition:transform .2s
}
.text-link:hover .arr {
  transform:translateX(5px)
}
.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:13px;
  padding:15px 22px;
  border-radius:6px;
  border:1px solid transparent;
  min-height:48px;
  white-space:nowrap;
  transition:background .2s,border-color .2s,transform .2s;
  font-weight:730;
  font-size:13px;
  letter-spacing:.02em
}
.btn:hover {
  transform:translateY(-2px)
}
.btn-primary {
  background:var(--cyan);
  color:#04202a
}
.btn-primary:hover {
  background:#a4fbf5
}
.btn-outline {
  border-color:rgba(200,240,245,.32);
  background:rgba(7,27,42,.42);
  color:#edf9fd
}
.btn-outline:hover {
  border-color:var(--cyan)
}
.btn-small {
  padding:11px 15px;
  min-height:39px
}
.btn-row {
  display:flex;
  gap:12px;
  flex-wrap:wrap
}
.btn-arrow {
  font-size:20px;
  font-weight:400;
  line-height:0
}
.kicker {
  font-size:12px;
  font-weight:750;
  letter-spacing:.13em;
  text-transform:uppercase;
  color:var(--gold)
}
/* top navigation */
.site-header {
  position:sticky;
  z-index:80;
  top:0;
  background:rgba(5,19,31,.91);
  backdrop-filter:blur(24px);
  border-bottom:1px solid rgba(152,206,229,.11)
}
.topline {
  height:31px;
  display:flex;
  align-items:center;
  background:#0b2132;
  border-bottom:1px solid var(--line);
  color:#93b6c4;
  font-size:10px;
  letter-spacing:.15em;
  font-weight:750;
  text-transform:uppercase
}
.topline .container {
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%
}
.topline span:last-child {
  color:#8fd9d9
}
.nav-inner {
  min-height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px
}
.brand {
  display:flex;
  align-items:center;
  gap:12px;
  min-width:235px
}
.brand-mark {
  height:45px;
  width:45px;
  flex:none;
  border:1px solid rgba(87,228,229,.38);
  background:linear-gradient(135deg,#163b4e,#071d2f);
  border-radius:12px;
  display:grid;
  place-items:center;
  box-shadow:inset 0 0 24px rgba(39,231,221,.05)
}
.brand-mark svg {
  width:30px;
  height:30px
}
.brand-type {
  font-size:17px;
  letter-spacing:.035em;
  font-weight:800;
  line-height:1.12
}
.brand-type b {
  color:var(--cyan)
}
.brand-type small {
  display:block;
  margin-top:5px;
  font-weight:650;
  color:#93b0bd;
  font-size:9px;
  letter-spacing:.23em
}
.desktop-nav {
  display:flex;
  gap:clamp(15px,2vw,29px);
  align-items:center
}
.desktop-nav>a,.nav-drop>button {
  font-size:12px;
  font-weight:720;
  color:#a4bdc9;
  letter-spacing:.035em;
  padding:24px 0;
  border:0;
  background:none;
  white-space:nowrap
}
.desktop-nav>a:hover,.desktop-nav>a.active,.nav-drop>button:hover,.nav-drop>button.active {
  color:var(--cyan2)
}
.desktop-nav .contact-nav {
  padding:11px 17px;
  background:rgba(87,228,229,.1);
  border:1px solid rgba(87,228,229,.28);
  border-radius:5px;
  color:#dbffff
}
.nav-drop {
  position:relative
}
.nav-drop>button span {
  display:inline-block;
  margin-left:5px;
  transition:transform .2s
}
.nav-drop.open>button span {
  transform:rotate(180deg)
}
.mega {
  position:absolute;
  right:-150px;
  top:calc(100% - 1px);
  display:none;
  min-width:670px;
  padding:28px;
  background:rgba(8,30,46,.985);
  border:1px solid #285166;
  box-shadow:0 30px 70px rgba(0,0,0,.45);
  border-radius:0 0 12px 12px
}
.nav-drop:hover .mega,.nav-drop:focus-within .mega,.nav-drop.open .mega {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:26px
}
.mega strong {
  display:block;
  color:var(--cyan);
  font-size:10px;
  letter-spacing:.16em;
  text-transform:uppercase;
  margin-bottom:12px
}
.mega a {
  display:block;
  padding:9px 0;
  font-size:12px;
  color:#b1cad7;
  line-height:1.45
}
.mega a:hover {
  color:white
}
.mega .mega-all {
  margin-top:12px;
  font-weight:800;
  color:var(--cyan)
}
.mobile-button {
  display:none;
  border:1px solid var(--line2);
  background:#102d40;
  color:white;
  border-radius:6px;
  padding:10px 12px;
  font-size:23px
}
.mobile-panel {
  display:none
}
.mobile-panel:not([hidden]) {
  display:none
}
/* Hero */
.hero {
  position:relative;
  overflow:hidden;
  min-height:730px;
  background:radial-gradient(ellipse 68% 75% at 83% 45%,#17465b 0%,transparent 68%),linear-gradient(150deg,#071521,#071e30 64%,#0b2839)
}
.hero::after,.page-hero::after {
  content:'';
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.34;
  background-image:linear-gradient(rgba(100,213,224,.075) 1px,transparent 1px),linear-gradient(90deg,rgba(100,213,224,.075) 1px,transparent 1px);
  background-size:64px 64px;
  mask-image:linear-gradient(90deg,transparent 10%,black 72%)
}
.hero-haze {
  position:absolute;
  right:-14%;
  bottom:-35%;
  width:74%;
  aspect-ratio:1;
  border:1px solid rgba(63,212,225,.1);
  border-radius:50%;
  box-shadow:0 0 0 105px rgba(47,195,210,.016),0 0 0 215px rgba(47,195,210,.015);
  pointer-events:none
}
.hero-layout {
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:44% 56%;
  align-items:center;
  min-height:665px;
  padding-top:46px;
  padding-bottom:50px;
  gap:0
}
.hero-copy {
  padding:45px 0 72px;
  position:relative;
  z-index:3
}
.hero-copy h1 {
  margin:27px 0 25px
}
.hero-copy h1 .fine {
  color:#acc6d2
}
.hero-copy p {
  max-width:480px;
  margin-bottom:27px;
  font-size:16px
}
.hero-proof {
  display:flex;
  gap:26px;
  margin-top:60px;
  padding-top:26px;
  border-top:1px solid var(--line);
  max-width:425px
}
.hero-proof div {
  flex:1
}
.hero-proof strong {
  display:block;
  font-size:25px;
  letter-spacing:-.05em
}
.hero-proof span {
  display:block;
  font-size:10px;
  color:#95b3c0;
  letter-spacing:.09em;
  text-transform:uppercase;
  margin-top:5px
}
.hero-visual {
  min-width:0;
  position:relative;
  align-self:stretch;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px 0 30px 5px
}
.viewer-shell {
  position:relative;
  width:100%;
  min-height:565px;
  border:1px solid rgba(91,227,220,.23);
  border-radius:12px;
  background:radial-gradient(ellipse at 45% 50%,rgba(54,138,155,.15),transparent 70%),linear-gradient(140deg,#0b2739,#071a2b 62%,#091e30);
  box-shadow:0 34px 95px rgba(0,0,0,.27);
  overflow:hidden
}
.viewer-shell::before,.viewer-shell::after {
  content:'';
  position:absolute;
  z-index:2;
  pointer-events:none;
  width:25px;
  height:25px;
  border-color:var(--cyan)
}
.viewer-shell::before {
  left:13px;
  top:13px;
  border-top:1px solid;
  border-left:1px solid
}
.viewer-shell::after {
  bottom:13px;
  right:13px;
  border-right:1px solid;
  border-bottom:1px solid
}
.viewer-head {
  position:absolute;
  top:23px;
  left:27px;
  right:24px;
  z-index:6;
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
  pointer-events:none
}
.viewer-head .viewer-code {
  color:#ccecf0;
  font-size:10px;
  letter-spacing:.14em;
  font-weight:800
}
.viewer-status {
  display:flex;
  gap:6px;
  align-items:center;
  color:#a4d5db;
  font-size:10px;
  letter-spacing:.07em;
  text-transform:uppercase
}
.viewer-status::before {
  content:'';
  height:6px;
  width:6px;
  border-radius:50%;
  background:var(--cyan);
  box-shadow:0 0 12px var(--cyan)
}
#viewer-canvas {
  position:absolute;
  inset:0;
  z-index:3;
  touch-action:pan-y
}
#viewer-canvas canvas {
  display:block;
  outline:none
}
.viewer-grid {
  position:absolute;
  inset:0;
  z-index:0;
  background:linear-gradient(0deg,rgba(7,21,35,.7),transparent 55%),url('assets/images/contact-us/01.webp') center center /cover no-repeat;
  opacity:.27;
  filter:grayscale(.8) hue-rotate(140deg)
}
.viewer-overlay {
  position:absolute;
  z-index:5;
  inset:50px 18px 130px;
  display:flex;
  justify-content:center;
  align-items:center;
  flex-direction:column;
  gap:13px;
  text-align:center;
  pointer-events:none
}
.viewer-overlay>* {
  pointer-events:auto
}
.viewer-overlay[hidden] {
  display:none
}
.viewer-round {
  width:68px;
  height:68px;
  border:1px solid #509ca6;
  display:grid;
  place-items:center;
  border-radius:50%;
  box-shadow:0 0 50px rgba(81,210,215,.12);
  font-size:24px;
  color:var(--cyan)
}
.viewer-overlay h3 {
  font-size:18px;
  margin:0;
  letter-spacing:.02em
}
.viewer-overlay p {
  font-size:12px;
  line-height:1.7;
  max-width:270px;
  margin:0
}
.viewer-actions {
  position:absolute;
  bottom:20px;
  left:18px;
  right:18px;
  z-index:7;
  border:1px solid rgba(107,198,209,.22);
  border-radius:9px;
  padding:12px;
  background:rgba(4,20,32,.83);
  backdrop-filter:blur(12px)
}
.viewer-modes {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:6px
}
.view-btn {
  border:1px solid transparent;
  background:rgba(98,185,203,.07);
  color:#a7c4cf;
  border-radius:5px;
  padding:11px 5px;
  font-size:11px;
  font-weight:740;
  letter-spacing:.03em
}
.view-btn:hover {
  border-color:#3d7183
}
.view-btn[aria-pressed=true] {
  background:rgba(83,228,221,.17);
  border-color:rgba(83,228,221,.42);
  color:#b9fffc
}
.view-tools {
  display:flex;
  justify-content:space-between;
  gap:7px;
  margin-top:8px
}
.view-tool {
  flex:1;
  border:1px solid rgba(128,203,218,.2);
  background:transparent;
  color:#c0dbe3;
  border-radius:5px;
  font-size:11px;
  padding:9px 6px
}
.view-tool:hover {
  border-color:var(--cyan)
}
.viewer-progress {
  height:3px;
  background:rgba(73,139,155,.2);
  overflow:hidden;
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  z-index:8
}
.viewer-progress>span {
  display:block;
  height:100%;
  width:0;
  background:var(--cyan);
  transition:width .18s
}
.viewer-caption {
  position:absolute;
  right:20px;
  top:55px;
  z-index:4;
  text-align:right;
  pointer-events:none;
  color:#90b5c4;
  font-size:9px;
  letter-spacing:.15em;
  line-height:1.8
}
.viewer-caption b {
  color:var(--cyan)
}
.viewer-note {
  position:absolute;
  left:26px;
  bottom:156px;
  color:#86aab8;
  font-size:10px;
  z-index:4;
  pointer-events:none
}
.viewer-note strong {
  color:var(--cyan2)
}
/* Reusable sections */
.strip {
  border-block:1px solid var(--line);
  background:#0b2130
}
.strip-inner {
  display:grid;
  grid-template-columns:repeat(4,1fr)
}
.strip-item {
  padding:26px 18px 26px 0;
  border-right:1px solid var(--line)
}
.strip-item:last-child {
  border-right:0;
  padding-left:25px
}
.strip-item:not(:first-child) {
  padding-left:25px
}
.strip-item strong {
  display:block;
  font-size:22px;
  letter-spacing:-.025em;
  font-weight:700
}
.strip-item small {
  display:block;
  color:#90adbd;
  font-size:10px;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-top:6px
}
.feature-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px
}
.feature-card {
  position:relative;
  border:1px solid var(--line);
  background:#0d2433;
  overflow:hidden;
  border-radius:8px;
  min-height:340px;
  transition:transform .25s,border-color .25s
}
.feature-card:hover,.service-card:hover {
  transform:translateY(-5px);
  border-color:rgba(82,229,230,.4)
}
.feature-card img {
  width:100%;
  height:245px;
  object-fit:cover;
  background:#19364b
}
.feature-card .feature-body {
  padding:22px
}
.feature-card .feature-body span {
  font-size:10px;
  letter-spacing:.16em;
  color:var(--cyan);
  font-weight:800;
  text-transform:uppercase
}
.feature-card h3 {
  font-size:21px;
  margin:8px 0 0
}
.feature-card .feature-arr {
  position:absolute;
  right:20px;
  bottom:22px;
  color:var(--cyan);
  font-size:22px
}
.split {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:clamp(40px,6vw,95px);
  align-items:center
}
.split-visual {
  position:relative
}
.split-visual>img {
  width:100%;
  min-height:430px;
  max-height:560px;
  object-fit:cover;
  border-radius:8px
}
.split-visual .frame-caption {
  position:absolute;
  left:25px;
  bottom:25px;
  padding:13px 16px;
  background:rgba(5,24,37,.85);
  border-left:2px solid var(--cyan);
  font-size:11px;
  color:#bfe6eb;
  letter-spacing:.13em
}
.staggered {
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:16px
}
.staggered img {
  width:100%;
  height:270px;
  object-fit:cover;
  border-radius:8px
}
.staggered img:nth-child(2) {
  margin-top:45px
}
.pill {
  border:1px solid rgba(111,207,216,.27);
  padding:7px 11px;
  border-radius:30px;
  font-size:10px;
  color:#b4d2dc;
  letter-spacing:.07em
}
.stat-list {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  margin-top:38px
}
.stat-box {
  padding-top:20px;
  border-top:1px solid var(--line)
}
.stat-box .n {
  font-size:27px;
  color:var(--text);
  font-weight:700;
  letter-spacing:-.04em
}
.stat-box .s {
  margin-top:8px;
  color:#9db4c2;
  font-size:12px;
  line-height:1.6
}
.tech-teaser {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px;
  align-items:center
}
.video-visual {
  position:relative;
  border:1px solid var(--line2);
  border-radius:9px;
  overflow:hidden
}
.video-visual img {
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover
}
.video-play {
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  background:linear-gradient(0deg,rgba(5,19,31,.37),transparent)
}
.video-play span {
  width:74px;
  height:74px;
  border:1px solid rgba(206,253,255,.6);
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(7,28,42,.75);
  font-size:27px;
  padding-left:3px
}
.quote {
  padding:25px 28px;
  border-left:2px solid var(--cyan);
  background:rgba(72,156,174,.075);
  color:#bed5df;
  font-size:18px;
  line-height:1.65;
  font-weight:420
}
.cta-band {
  position:relative;
  overflow:hidden;
  background:radial-gradient(ellipse at 80% 90%,rgba(34,127,143,.35),transparent 50%),#0d2a3d;
  padding:72px 0;
  border-block:1px solid rgba(111,212,221,.2)
}
.cta-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:35px
}
.cta-inner h2 {
  max-width:700px;
  margin:15px 0 0
}
.cta-inner .btn {
  flex:none
}
/* Page intro */
.page-hero {
  position:relative;
  overflow:hidden;
  background:radial-gradient(circle at 84% 18%,rgba(31,100,129,.36),transparent 45%),#0a2132;
  padding:78px 0 86px;
  border-bottom:1px solid var(--line)
}
.page-hero .container {
  position:relative;
  z-index:1
}
.page-hero h1 {
  font-size:clamp(43px,5.4vw,76px);
  margin:24px 0 18px;
  max-width:1000px
}
.page-hero p {
  max-width:680px
}
.breadcrumb {
  font-size:11px;
  letter-spacing:.06em;
  color:#9eb8c5;
  margin-bottom:32px
}
.breadcrumb a {
  color:var(--cyan2)
}
.breadcrumb span {
  padding:0 9px;
  color:#527388
}
.inset-card {
  padding:30px;
  background:#112b3c;
  border:1px solid var(--line);
  border-radius:8px
}
.icon-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px
}
.icon-feature {
  padding:30px;
  border:1px solid var(--line);
  border-radius:9px;
  background:#0e2737
}
.icon-feature .glyph {
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  border-radius:10px;
  border:1px solid rgba(76,209,216,.28);
  color:var(--cyan);
  font-size:22px;
  margin-bottom:22px
}
.icon-feature h3 {
  font-size:22px;
  margin-bottom:12px
}
.icon-feature p {
  font-size:13px;
  margin-bottom:0
}
.image-figure img {
  width:100%;
  border-radius:8px;
  max-height:540px;
  object-fit:cover
}
.image-figure figcaption {
  margin-top:14px;
  font-size:12px;
  color:#9eb9c5;
  line-height:1.7
}
.large-image {
  width:100%;
  border-radius:7px;
  border:1px solid var(--line);
  max-height:570px;
  object-fit:contain;
  background:#e6edf0
}
/* services */
.filter-row {
  display:flex;
  gap:9px;
  flex-wrap:wrap;
  margin:24px 0 32px
}
.filter-button {
  border:1px solid rgba(111,176,193,.23);
  background:#102c3d;
  color:#aac4d0;
  padding:11px 14px;
  border-radius:5px;
  font-weight:650;
  font-size:12px
}
.filter-button[aria-pressed=true] {
  color:#05202b;
  background:var(--cyan);
  border-color:var(--cyan)
}
.search-wrap {
  display:flex;
  gap:12px;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap
}
.search-wrap input {
  background:#122c3c;
  color:white;
  border:1px solid rgba(127,192,210,.3);
  padding:12px 15px;
  width:min(330px,100%);
  border-radius:5px;
  outline:none
}
.search-wrap input:focus {
  border-color:var(--cyan)
}
.service-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px
}
.service-card {
  border:1px solid var(--line);
  background:#0d2535;
  border-radius:8px;
  overflow:hidden;
  transition:border-color .25s,transform .25s
}
.service-card a {
  display:block;
  height:100%
}
.service-card img {
  height:235px;
  width:100%;
  object-fit:cover;
  background:#19394a
}
.service-card .body {
  padding:23px
}
.service-card .index {
  font-size:10px;
  color:var(--cyan);
  font-weight:800;
  letter-spacing:.14em
}
.service-card h3 {
  margin:11px 0 9px;
  font-size:21px
}
.service-card p {
  font-size:13px;
  line-height:1.65;
  margin-bottom:19px;
  min-height:64px
}
.card-foot {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top:15px;
  border-top:1px solid var(--line);
  color:#9dbbc8;
  font-size:11px;
  letter-spacing:.07em
}
.card-foot .arr {
  font-size:21px;
  color:var(--cyan)
}
.service-hero-grid {
  display:grid;
  grid-template-columns:1fr .95fr;
  gap:55px;
  align-items:center
}
.service-hero-grid img {
  width:100%;
  max-height:480px;
  object-fit:contain;
  background:#173247;
  border:1px solid var(--line);
  border-radius:9px
}
.gallery-head {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:15px
}
.gallery-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px
}
.gallery-tile {
  display:block;
  padding:0;
  width:100%;
  position:relative;
  border:1px solid var(--line);
  background:#183548;
  border-radius:7px;
  overflow:hidden;
  aspect-ratio:4/3;
  transition:transform .2s,border-color .2s
}
.gallery-tile:hover {
  border-color:var(--cyan);
  transform:translateY(-3px)
}
.gallery-tile img {
  width:100%;
  height:100%;
  object-fit:cover
}
.gallery-tile::after {
  content:'↗';
  position:absolute;
  right:10px;
  bottom:10px;
  font-size:19px;
  color:white;
  background:rgba(7,21,33,.75);
  border-radius:5px;
  padding:4px 10px
}
.gallery-tile.contain img {
  object-fit:contain;
  padding:8px
}
.gallery-count {
  font-size:12px;
  color:#9cbac7
}
.next-service {
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center;
  padding:30px;
  border-top:1px solid var(--line)
}
/* Projects & about */
.project-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px
}
.project-panel {
  border:1px solid var(--line);
  background:#0e2939;
  border-radius:9px;
  overflow:hidden
}
.project-panel img {
  width:100%;
  height:310px;
  object-fit:cover
}
.project-panel .body {
  padding:25px
}
.project-panel h3 {
  margin-bottom:12px
}
.project-panel p {
  font-size:13px;
  margin-bottom:0
}
.client-board {
  padding:25px;
  background:#eff7f9;
  border-radius:9px;
  border:1px solid var(--line)
}
.client-board img {
  width:100%;
  object-fit:contain
}
.process-list {
  counter-reset:process
}
.process-row {
  display:grid;
  grid-template-columns:65px 1fr;
  gap:20px;
  padding:21px 0;
  border-bottom:1px solid var(--line)
}
.process-row .number {
  font-size:26px;
  color:var(--cyan);
  font-weight:650
}
.process-row h3 {
  font-size:21px;
  margin:4px 0 7px
}
.process-row p {
  font-size:13px;
  margin-bottom:0
}
/* video */
.video-card {
  border:1px solid var(--line2);
  border-radius:10px;
  overflow:hidden;
  background:#000
}
.video-card video {
  width:100%;
  max-height:580px;
  aspect-ratio:16/9;
  background:#000;
  object-fit:contain
}
.video-caption {
  background:#102a3a;
  padding:16px 20px;
  color:#b7d1db;
  font-size:12px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center
}
.video-caption .sm {
  color:#82a4b6
}
.notice {
  background:rgba(218,173,100,.075);
  border:1px solid rgba(218,173,100,.27);
  border-left:3px solid #d9ae70;
  padding:22px 24px;
  border-radius:5px;
  color:#efd4a2;
  font-size:13px;
  line-height:1.8
}
.notice a {
  text-decoration:underline
}
.policy-block {
  border:1px solid var(--line);
  background:#0f2b3c;
  padding:27px;
  border-radius:8px
}
.policy-block p {
  margin-bottom:0
}
.policy-block h3 {
  font-size:20px;
  margin-bottom:12px
}
.policy-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:17px
}
.contact-grid {
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:25px
}
.contact-panel {
  padding:33px;
  border:1px solid var(--line);
  background:#102c3e;
  border-radius:9px
}
.contact-panel h3 {
  margin:12px 0 15px
}
.contact-info {
  margin:25px 0;
  padding-top:22px;
  border-top:1px solid var(--line)
}
.contact-info dt {
  font-size:10px;
  letter-spacing:.15em;
  text-transform:uppercase;
  color:var(--cyan);
  font-weight:750;
  margin-bottom:8px
}
.contact-info dd {
  margin:0 0 21px;
  color:#d2e5eb;
  font-size:16px;
  line-height:1.7
}
.contact-info a:hover {
  color:var(--cyan)
}
.contact-aside {
  min-height:400px;
  background:linear-gradient(0deg,rgba(7,26,42,.76),rgba(7,26,42,.04)),url('assets/images/contact-us/01.webp') center/cover;
  border:1px solid var(--line);
  border-radius:9px;
  padding:28px;
  display:flex;
  align-items:end
}
.contact-aside div {
  max-width:250px
}
.contact-aside h3 {
  margin-bottom:8px
}
.contact-aside p {
  margin:0;
  color:#d0e4ec
}
/* footer & utility */
.footer {
  padding:64px 0 26px;
  background:#06121f;
  border-top:1px solid var(--line)
}
.footer-grid {
  display:grid;
  grid-template-columns:1.7fr 1fr 1fr 1.35fr;
  gap:36px
}
.footer .brand {
  margin-bottom:18px
}
.footer p {
  font-size:13px;
  line-height:1.8
}
.footer h4 {
  font-size:11px;
  letter-spacing:.16em;
  color:#d6e9f1;
  text-transform:uppercase;
  margin-bottom:19px
}
.footer a:not(.brand) {
  display:block;
  margin:0 0 12px;
  font-size:12px;
  color:#9db5c2
}
.footer a:hover {
  color:var(--cyan)
}
.footer-bottom {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  border-top:1px solid var(--line);
  padding-top:23px;
  margin-top:45px;
  color:#6f92a3;
  font-size:11px
}
.footer-bottom a {
  display:inline!important;
  margin:0!important
}
.to-top {
  border:1px solid var(--line2);
  border-radius:5px;
  background:#102b3b;
  color:var(--cyan);
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  font-size:20px
}
.lightbox {
  position:fixed;
  inset:0;
  z-index:200;
  background:rgba(2,10,19,.96);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:55px 75px 45px
}
.lightbox[hidden] {
  display:none
}
.lightbox img {
  max-height:calc(100vh - 136px);
  max-width:100%;
  object-fit:contain;
  border-radius:4px
}
.lightbox button {
  border:1px solid #45677c;
  background:#123043;
  color:white;
  border-radius:5px;
  position:absolute;
  width:44px;
  height:44px;
  font-size:24px
}
.lightbox .close {
  top:20px;
  right:20px
}
.lightbox .prev {
  left:18px;
  top:49%
}
.lightbox .next {
  right:18px;
  top:49%
}
.lightbox .lightbox-meta {
  margin-top:18px;
  color:#adc6d2;
  font-size:12px;
  letter-spacing:.02em
}
.reveal {
  opacity:1;
  transform:none
}
@media (prefers-reduced-motion:no-preference) {
  .has-js .reveal {
    opacity:0;
    transform:translateY(22px);
    transition:opacity .75s,transform .75s
  }
  .has-js .reveal.visible {
    opacity:1;
    transform:none
  }
}
@media(max-width:1160px) {
  .desktop-nav {
    gap:15px
  }
  .desktop-nav>a,.nav-drop>button {
    font-size:11px
  }
  .brand {
    min-width:195px
  }
  .brand-type {
    font-size:15px
  }
  .hero-layout {
    grid-template-columns:45% 55%
  }
  .hero h1 {
    font-size:clamp(49px,5.3vw,75px)
  }
  .viewer-shell {
    min-height:515px
  }
}
@media(max-width:900px) {
  .topline {
    height:27px
  }
  .nav-inner {
    min-height:67px
  }
  .desktop-nav {
    display:none
  }
  .mobile-button {
    display:block
  }
  .mobile-panel:not([hidden]) {
    display:block;
    background:#081e2f;
    border-top:1px solid var(--line);
    padding:13px 25px 25px
  }
  .mobile-panel a {
    display:block;
    padding:13px 7px;
    color:#b6cdd8;
    border-bottom:1px solid rgba(146,206,224,.1);
    font-size:13px
  }
  .mobile-panel .mobile-label {
    margin-top:19px;
    color:var(--cyan);
    font-weight:750;
    font-size:10px;
    letter-spacing:.14em
  }
  .hero-layout {
    display:flex;
    flex-direction:column;
    min-height:0;
    padding-top:38px;
    padding-bottom:50px
  }
  .hero-copy {
    padding:35px 0 15px;
    width:100%
  }
  .hero-copy h1 {
    max-width:670px
  }
  .hero-copy p {
    max-width:620px
  }
  .hero-proof {
    margin-top:32px
  }
  .hero-visual {
    padding:18px 0;
    width:100%
  }
  .viewer-shell {
    min-height:570px
  }
  .feature-grid,.service-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .split,.tech-teaser,.service-hero-grid {
    grid-template-columns:1fr;
    gap:32px
  }
  .split-visual>img {
    max-height:430px;
    min-height:280px
  }
  .footer-grid {
    grid-template-columns:repeat(2,1fr)
  }
  .section {
    padding:75px 0
  }
  .page-hero {
    padding:60px 0 68px
  }
  .contact-grid {
    grid-template-columns:1fr
  }
  .gallery-grid {
    grid-template-columns:repeat(3,1fr)
  }
}
@media(max-width:600px) {
  .container {
    padding-inline:20px
  }
  .topline {
    font-size:8px;
    letter-spacing:.055em
  }
  .topline span:last-child {
    display:none
  }
  .brand-mark {
    height:38px;
    width:38px
  }
  .brand-type {
    font-size:14px
  }
  .brand-type small {
    font-size:8px
  }
  .nav-inner {
    min-height:62px
  }
  .hero-copy h1 {
    font-size:clamp(45px,12vw,65px);
    margin:20px 0
  }
  .hero-copy .lead {
    font-size:14px
  }
  .hero-copy {
    padding-top:22px
  }
  .hero-proof {
    margin-top:28px;
    gap:14px
  }
  .hero-proof strong {
    font-size:21px
  }
  .hero-proof span {
    font-size:9px
  }
  .viewer-shell {
    min-height:505px
  }
  .viewer-actions {
    bottom:13px;
    left:12px;
    right:12px;
    padding:9px
  }
  .view-btn {
    font-size:10px
  }
  .view-tool {
    font-size:10px
  }
  .viewer-head {
    left:19px;
    right:18px;
    top:18px
  }
  .viewer-caption {
    top:46px;
    right:17px
  }
  .viewer-overlay {
    inset:50px 13px 126px
  }
  .viewer-note {
    bottom:141px;
    left:17px
  }
  .section {
    padding:66px 0
  }
  .section-narrow {
    padding:57px 0
  }
  .section-header {
    align-items:start;
    flex-direction:column;
    gap:16px
  }
  .section-header h2 {
    font-size:clamp(33px,8vw,46px)
  }
  .strip-inner {
    grid-template-columns:repeat(2,1fr)
  }
  .strip-item,.strip-item:last-child {
    padding:20px 10px;
    border-bottom:1px solid var(--line)
  }
  .strip-item:nth-child(2) {
    border-right:0
  }
  .strip-item:nth-child(3),.strip-item:nth-child(4) {
    border-bottom:0
  }
  .feature-grid,.service-grid,.project-grid,.policy-grid,.icon-grid {
    grid-template-columns:1fr
  }
  .feature-card img {
    height:220px
  }
  .feature-card {
    min-height:315px
  }
  .staggered img {
    height:185px
  }
  .stat-list {
    grid-template-columns:1fr 1fr
  }
  .gallery-grid {
    grid-template-columns:repeat(2,1fr);
    gap:9px
  }
  .page-hero h1 {
    font-size:clamp(39px,10.3vw,55px)
  }
  .service-hero-grid img {
    max-height:320px
  }
  .contact-panel {
    padding:23px
  }
  .footer-grid {
    grid-template-columns:1fr 1fr;
    gap:30px
  }
  .footer-grid>*:first-child,.footer-grid>*:last-child {
    grid-column:1/-1
  }
  .footer-bottom {
    flex-direction:column;
    align-items:start
  }
  .cta-inner {
    align-items:start;
    flex-direction:column
  }
  .video-caption {
    flex-direction:column;
    align-items:start
  }
  .lightbox {
    padding:60px 54px 45px
  }
  .lightbox .prev {
    left:5px
  }
  .lightbox .next {
    right:5px
  }
  .filter-row {
    gap:7px
  }
  .filter-button {
    font-size:11px;
    padding:10px 12px
  }
}
@media(max-width:360px) {
  .viewer-shell {
    min-height:480px
  }
  .brand-type {
    font-size:12px
  }
  .view-btn {
    font-size:9px;
    padding:9px 2px
  }
  .view-tool {
    font-size:9px
  }
  .gallery-grid {
    gap:6px
  }
  .footer-grid {
    grid-template-columns:1fr
  }
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap
}
/* Usable full-width search input within the flex toolbar. */
.search-wrap label[for="service-search"] {
  display:block;
  width:min(330px,100%);
  flex:0 1 330px;
  font-size:inherit!important
}
.search-wrap input#service-search {
  display:block;
  width:100%;
  min-width:0
}
@media(max-width:600px) {
  .hero-copy .hero-proof {
    display:none
  }
  .hero-copy .btn-row {
    gap:7px
  }
  .hero-copy .btn-outline {
    min-height:34px;
    padding:6px 0;
    background:transparent;
    border:0;
    justify-content:flex-start
  }
  .hero-copy h1 {
    margin-bottom:13px
  }
  .hero-copy p {
    margin-bottom:14px
  }
  .hero-visual {
    padding-top:8px
  }
  .search-wrap label[for="service-search"] {
    width:100%;
    flex-basis:100%
  }
}
/* Modern Era Plus V1.1 — compact layout, preserving V1.0 colors and the complete 3D viewer. */
:root {
  --page:1360px
}
html {
  scroll-padding-top:78px
}
.container {
  padding-inline:clamp(18px,3vw,46px)
}
.section {
  padding:47px 0
}
.section-narrow {
  padding:31px 0
}
.section-header {
  gap:18px;
  margin-bottom:18px
}
.section-header h2 {
  margin:9px 0 0
}
.eyebrow {
  font-size:10px;
  gap:9px;
  letter-spacing:.15em
}
.eyebrow::before {
  width:19px
}
h1 {
  font-size:clamp(38px,4.55vw,66px);
  line-height:1.08;
  letter-spacing:-.052em
}
h2 {
  font-size:clamp(27px,3.1vw,42px);
  line-height:1.15;
  letter-spacing:-.042em
}
h3 {
  font-size:clamp(17px,1.6vw,23px);
  letter-spacing:-.025em
}
p {
  font-size:13px;
  line-height:1.62;
  margin-bottom:12px
}
.lead {
  font-size:clamp(13.5px,1.15vw,16px);
  line-height:1.65
}
.btn {
  min-height:40px;
  padding:10px 15px;
  gap:9px;
  font-size:12px
}
.btn-row {
  gap:9px
}
.text-link {
  font-size:12px
}
.topline {
  height:23px;
  font-size:9px
}
.nav-inner {
  min-height:62px;
  gap:16px
}
.brand {
  min-width:205px;
  gap:9px
}
.brand-mark {
  height:38px;
  width:38px;
  border-radius:9px
}
.brand-mark svg {
  height:26px;
  width:26px
}
.brand-type {
  font-size:15px
}
.brand-type small {
  margin-top:3px;
  font-size:8px
}
.desktop-nav {
  gap:clamp(11px,1.6vw,22px)
}
.desktop-nav>a,.nav-drop>button {
  font-size:11px;
  padding-block:18px
}
.desktop-nav .contact-nav {
  padding:9px 13px
}
.mega {
  min-width:630px;
  padding:17px 20px
}
.mega a {
  padding:6px 0;
  font-size:11px
}
.mega strong {
  margin-bottom:7px
}
.hero {
  min-height:0
}
.hero-layout {
  min-height:0;
  padding-top:18px;
  padding-bottom:20px
}
.hero-copy {
  padding:15px 10px 20px 0
}
.hero-copy h1 {
  font-size:clamp(40px,4.9vw,68px);
  margin:16px 0 14px
}
.hero-copy p {
  font-size:14px;
  line-height:1.58;
  margin-bottom:17px
}
.hero-proof {
  gap:18px;
  margin-top:20px;
  padding-top:15px
}
.hero-proof strong {
  font-size:21px
}
.hero-visual {
  padding:10px 0 12px 5px
}
/* Viewer shell, its controls, materials and model behavior are deliberately untouched. */
.strip-item,.strip-item:last-child {
  padding:13px 14px
}
.strip-item:not(:first-child) {
  padding-left:14px
}
.strip-item strong {
  font-size:17px
}
.strip-item small {
  font-size:9px;
  margin-top:3px
}
.feature-grid,.icon-grid {
  gap:13px
}
.feature-card {
  min-height:0
}
.feature-card img {
  height:160px
}
.feature-card .feature-body {
  padding:13px 15px 17px
}
.feature-card h3 {
  font-size:18px;
  margin-top:5px;
  padding-right:25px
}
.feature-card .feature-arr {
  right:12px;
  bottom:12px;
  font-size:19px
}
.split {
  gap:clamp(20px,4vw,53px)
}
.split-visual>img {
  min-height:260px;
  max-height:350px
}
.split-visual .frame-caption {
  left:15px;
  bottom:15px;
  padding:8px 10px;
  font-size:10px
}
.staggered {
  gap:11px
}
.staggered img {
  height:178px
}
.staggered img:nth-child(2) {
  margin-top:16px
}
.stat-list {
  gap:10px;
  margin-top:22px
}
.stat-box {
  padding-top:12px
}
.stat-box .n {
  font-size:22px
}
.stat-box .s {
  margin-top:3px;
  font-size:11px
}
.tech-teaser {
  gap:25px
}
.video-visual img {
  aspect-ratio:16/9
}
.video-play span {
  width:55px;
  height:55px;
  font-size:23px
}
.quote {
  padding:15px 19px;
  font-size:15px;
  line-height:1.55
}
.cta-band {
  padding:33px 0
}
.cta-inner {
  gap:18px
}
.cta-inner h2 {
  margin-top:8px
}
.page-hero {
  padding:35px 0 40px
}
.page-hero h1 {
  font-size:clamp(32px,4vw,53px);
  margin:13px 0 11px
}
.page-hero p {
  max-width:780px;
  margin-bottom:0
}
.breadcrumb {
  margin-bottom:16px;
  font-size:10px
}
.inset-card {
  padding:17px
}
.icon-feature {
  padding:18px
}
.icon-feature .glyph {
  height:38px;
  width:38px;
  font-size:19px;
  margin-bottom:11px
}
.icon-feature h3 {
  font-size:18px;
  margin-bottom:6px
}
.icon-feature p {
  font-size:12.5px
}
.image-figure img {
  max-height:350px
}
.image-figure figcaption {
  margin-top:6px;
  font-size:11px
}
.large-image {
  max-height:390px
}
.filter-row {
  gap:7px;
  margin:14px 0 12px
}
.filter-button {
  padding:8px 11px;
  font-size:11px
}
.search-wrap input {
  padding:9px 12px
}
#service-count {
  margin-bottom:13px!important
}
.service-grid {
  gap:13px
}
.service-card img {
  height:132px
}
.service-card .body {
  padding:13px
}
.service-card .index {
  font-size:9px
}
.service-card h3 {
  font-size:17px;
  margin:7px 0 5px
}
.service-card p {
  font-size:12px;
  line-height:1.45;
  margin-bottom:10px;
  min-height:0;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden
}
.card-foot {
  padding-top:8px;
  font-size:10px
}
.card-foot .arr {
  font-size:17px
}
.service-hero-grid {
  gap:26px
}
.service-hero-grid img {
  max-height:325px
}
.gallery-grid {
  gap:9px
}
.gallery-tile::after {
  right:6px;
  bottom:6px;
  padding:3px 7px;
  font-size:15px
}
.next-service {
  padding:17px 0
}
.project-grid {
  gap:12px
}
.project-panel img {
  height:190px
}
.project-panel .body {
  padding:15px
}
.project-panel h3 {
  margin-bottom:6px
}
.process-row {
  grid-template-columns:42px 1fr;
  gap:12px;
  padding:12px 0
}
.process-row .number {
  font-size:20px
}
.process-row h3 {
  font-size:18px;
  margin:2px 0 4px
}
.video-card video {
  max-height:430px
}
.video-caption {
  padding:10px 14px;
  font-size:11px
}
.notice {
  padding:13px 17px;
  font-size:12px;
  line-height:1.6
}
.policy-grid {
  gap:10px
}
.policy-block {
  padding:15px
}
.policy-block h3 {
  font-size:17px;
  margin-bottom:6px
}
.contact-grid {
  gap:15px
}
.contact-panel {
  padding:20px
}
.contact-panel h2[style] {
  font-size:29px!important
}
.contact-info {
  margin:15px 0;
  padding-top:13px
}
.contact-info dt {
  margin-bottom:3px
}
.contact-info dd {
  margin-bottom:10px;
  font-size:13px;
  line-height:1.5
}
.contact-aside {
  min-height:235px;
  padding:18px
}
.footer {
  padding:32px 0 15px
}
.footer-grid {
  gap:20px
}
.footer .brand {
  margin-bottom:10px
}
.footer h4 {
  margin-bottom:10px
}
.footer p {
  font-size:12px;
  line-height:1.55
}
.footer a:not(.brand) {
  margin-bottom:7px;
  font-size:11px
}
.footer-bottom {
  margin-top:20px;
  padding-top:14px;
  font-size:10px
}
.service-more-wrap {
  text-align:center;
  margin:19px 0 0
}
#service-more[hidden] {
  display:none
}
.service-more-btn {
  min-width:190px
}
/* Tablet and mobile: short overlay menu, with on-demand service list. */
@media(max-width:900px) {
  .nav-inner {
    min-height:56px
  }
  .mobile-panel:not([hidden]) {
    position:absolute;
    top:100%;
    left:0;
    right:0;
    z-index:90;
    display:block;
    max-height:calc(100dvh - 80px);
    overflow-y:auto;
    overscroll-behavior:contain;
    background:#081e2f;
    box-shadow:0 18px 40px rgba(0,0,0,.42);
    padding:10px clamp(17px,4vw,32px) 17px
  }
  .mobile-panel>a {
    padding:11px 7px;
    font-size:13px
  }
  .mobile-capabilities {
    border-bottom:1px solid rgba(146,206,224,.13)
  }
  .mobile-capabilities summary {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    list-style:none;
    padding:12px 7px;
    color:#b6cdd8;
    font-size:13px;
    cursor:pointer;
    font-weight:650
  }
  .mobile-capabilities summary::-webkit-details-marker {
    display:none
  }
  .mobile-capabilities summary:focus-visible {
    outline:2px solid var(--cyan);
    outline-offset:2px
  }
  .mobile-capabilities-hint {
    display:grid;
    place-items:center;
    height:22px;
    width:22px;
    border:1px solid var(--line2);
    border-radius:5px;
    color:var(--cyan);
    font-size:17px;
    line-height:1
  }
  .mobile-capabilities[open] .mobile-capabilities-hint {
    font-size:0
  }
  .mobile-capabilities[open] .mobile-capabilities-hint::after {
    content:'−';
    font-size:18px
  }
  .mobile-subnav {
    border-left:2px solid rgba(87,228,229,.3);
    margin:0 0 8px 8px;
    padding-left:9px;
    max-height:min(48vh,410px);
    overflow-y:auto;
    overscroll-behavior:contain
  }
  .mobile-subnav a {
    font-size:12px;
    padding:9px 8px;
    line-height:1.3
  }
  .mobile-subnav a:first-child {
    color:var(--cyan2);
    font-weight:750
  }
  .hero-layout {
    padding-top:16px;
    padding-bottom:20px
  }
  .hero-copy {
    padding:15px 0 7px
  }
  .hero-copy h1 {
    font-size:clamp(35px,5.8vw,55px)
  }
  .hero-proof {
    margin-top:14px
  }
  .hero-visual {
    padding-top:9px;
    padding-bottom:9px
  }
  .section {
    padding:40px 0
  }
  .page-hero {
    padding:30px 0 33px
  }
  .split,.tech-teaser,.service-hero-grid {
    gap:19px
  }
  .split-visual>img {
    min-height:210px;
    max-height:340px
  }
  .footer-grid {
    gap:18px
  }
}
@media(max-width:600px) {
  .container {
    padding-inline:16px
  }
  .topline {
    height:20px;
    font-size:8px
  }
  .nav-inner {
    min-height:54px
  }
  .brand-mark {
    height:34px;
    width:34px
  }
  .brand-type {
    font-size:13px
  }
  .brand-type small {
    font-size:7px
  }
  .mobile-button {
    font-size:19px;
    padding:7px 10px
  }
  .mobile-panel:not([hidden]) {
    max-height:calc(100dvh - 75px)
  }
  h1 {
    font-size:clamp(32px,8vw,43px)
  }
  h2 {
    font-size:clamp(24px,6vw,32px)
  }
  h3 {
    font-size:18px
  }
  p {
    font-size:12.5px;
    line-height:1.58
  }
  .lead {
    font-size:13px;
    line-height:1.6
  }
  .eyebrow {
    font-size:9px;
    letter-spacing:.12em
  }
  .hero-layout {
    padding-top:10px;
    padding-bottom:12px
  }
  .hero-copy {
    padding-top:10px;
    padding-bottom:3px
  }
  .hero-copy h1 {
    font-size:clamp(34px,9vw,45px);
    line-height:1.02;
    margin:12px 0 9px
  }
  .hero-copy p {
    font-size:12.5px;
    margin-bottom:11px;
    line-height:1.5
  }
  .hero-copy .btn-row {
    gap:6px
  }
  .hero-copy .btn {
    font-size:11px;
    padding:8px 11px;
    min-height:35px
  }
  .hero-copy .btn-outline {
    min-height:30px;
    padding:4px 2px
  }
  .hero-visual {
    padding:6px 0 8px
  }
  /* Intentionally don't resize viewer-shell or its 3D toolbar. */
  .strip-item,.strip-item:last-child {
    padding:10px 9px
  }
  .strip-item strong {
    font-size:15px
  }
  .strip-item small {
    font-size:8px;
    letter-spacing:.08em;
    margin-top:2px
  }
  .section {
    padding:30px 0
  }
  .section-narrow {
    padding:24px 0
  }
  .section-header {
    gap:8px;
    margin-bottom:13px
  }
  .section-header h2 {
    font-size:clamp(24px,6vw,32px);
    margin-top:7px
  }
  .page-hero {
    padding:24px 0 27px
  }
  .page-hero h1 {
    font-size:clamp(29px,7.4vw,38px);
    line-height:1.12;
    margin:10px 0 9px
  }
  .breadcrumb {
    margin-bottom:12px
  }
  .btn {
    font-size:11px;
    padding:9px 12px;
    min-height:37px
  }
  .feature-grid,.icon-grid {
    gap:10px
  }
  .feature-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .feature-card img {
    height:115px
  }
  .feature-card .feature-body {
    padding:10px 11px 18px
  }
  .feature-card h3 {
    font-size:14px;
    line-height:1.23;
    padding-right:8px
  }
  .feature-card .feature-body span {
    font-size:8px
  }
  .feature-card .feature-arr {
    right:7px;
    bottom:7px;
    font-size:16px
  }
  .split-visual>img {
    min-height:180px;
    max-height:260px
  }
  .staggered img {
    height:130px
  }
  .staggered img:nth-child(2) {
    margin-top:10px
  }
  .stat-list {
    margin-top:13px;
    gap:8px
  }
  .stat-box .n {
    font-size:20px
  }
  .stat-box .s {
    font-size:10px
  }
  .tech-teaser {
    gap:14px
  }
  .video-visual img {
    aspect-ratio:16/9
  }
  .quote {
    font-size:13px;
    padding:11px 13px
  }
  .cta-band {
    padding:24px 0
  }
  .cta-inner h2 {
    font-size:25px
  }
  .icon-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .icon-feature {
    padding:12px
  }
  .icon-feature .glyph {
    height:32px;
    width:32px;
    margin-bottom:7px
  }
  .icon-feature h3 {
    font-size:15px;
    margin-bottom:5px
  }
  .icon-feature p {
    font-size:11.5px
  }
  .image-figure img {
    max-height:260px
  }
  .service-grid {
    grid-template-columns:1fr;
    gap:9px
  }
  .service-card a {
    display:grid;
    grid-template-columns:112px minmax(0,1fr);
    align-items:stretch
  }
  .service-card img {
    height:100%;
    min-height:111px;
    max-height:135px;
    object-fit:cover
  }
  .service-card .body {
    min-width:0;
    padding:10px
  }
  .service-card .index {
    font-size:8px
  }
  .service-card h3 {
    font-size:14px;
    line-height:1.26;
    margin:4px 0 4px
  }
  .service-card p {
    font-size:11px;
    line-height:1.35;
    margin-bottom:7px;
    -webkit-line-clamp:2
  }
  .card-foot {
    font-size:9px;
    padding-top:5px
  }
  .filter-row {
    gap:6px;
    margin:10px 0 9px
  }
  .filter-button {
    padding:7px 9px;
    font-size:10px
  }
  .search-wrap {
    gap:7px
  }
  .search-wrap input {
    padding:9px 10px;
    font-size:12px
  }
  #service-count {
    margin-bottom:10px
  }
  .service-hero-grid img {
    max-height:230px
  }
  .gallery-grid {
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:6px
  }
  .gallery-tile::after {
    font-size:12px;
    padding:2px 4px;
    right:4px;
    bottom:4px
  }
  .project-grid {
    gap:10px
  }
  .project-panel img {
    height:140px
  }
  .project-panel .body {
    padding:11px
  }
  .project-panel h3 {
    font-size:16px
  }
  .policy-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px
  }
  .policy-block {
    padding:11px
  }
  .policy-block h3 {
    font-size:14px
  }
  .policy-block p {
    font-size:11px;
    line-height:1.45
  }
  .contact-panel {
    padding:14px
  }
  .contact-panel h2[style] {
    font-size:24px!important
  }
  .contact-info {
    margin:10px 0;
    padding-top:10px
  }
  .contact-info dd {
    font-size:12px;
    margin-bottom:8px
  }
  .contact-aside {
    min-height:155px
  }
  .footer {
    padding:24px 0 12px
  }
  .footer-grid {
    gap:14px
  }
  .footer p {
    font-size:11px
  }
  .footer .brand {
    margin-bottom:7px
  }
  .footer h4 {
    font-size:10px;
    margin-bottom:7px
  }
  .footer a:not(.brand) {
    font-size:11px;
    margin-bottom:6px
  }
  .footer-bottom {
    gap:9px;
    margin-top:13px;
    padding-top:11px
  }
}
@media(max-width:380px) {
  .feature-card img {
    height:99px
  }
  .service-card a {
    grid-template-columns:97px minmax(0,1fr)
  }
  .service-card img {
    min-height:105px
  }
  .service-card h3 {
    font-size:13px
  }
  .policy-grid {
    grid-template-columns:1fr
  }
}
/* V1.2 | Desktop density pass. Colors, 3D viewer, mobile/tablet design, and all functionality preserved.
   All changes are restricted to desktop widths; 900px and below retains V1.1 exactly. */
@media (min-width:901px) {
  /* More information per screen without reducing paragraph copy to tiny text. */
  .section {
    padding-top:24px;
    padding-bottom:24px
  }
  .section-narrow {
    padding-top:18px;
    padding-bottom:18px
  }
  .section-header {
    gap:13px;
    margin-bottom:13px
  }
  .section-header h2 {
    margin-top:6px
  }
  h1 {
    font-size:clamp(37px,3.4vw,49px);
    line-height:1.09;
    letter-spacing:-.045em
  }
  h2 {
    font-size:clamp(26px,2.35vw,34px);
    line-height:1.17;
    letter-spacing:-.036em
  }
  h3 {
    font-size:clamp(16px,1.35vw,19px);
    line-height:1.24
  }
  p {
    font-size:13px;
    line-height:1.52;
    margin-bottom:9px
  }
  .lead {
    font-size:14px;
    line-height:1.55
  }
  .eyebrow {
    font-size:9px;
    gap:8px
  }
  .kicker {
    font-size:10px
  }
  .btn {
    padding:9px 14px;
    min-height:38px
  }
  .btn-small {
    padding:8px 12px;
    min-height:36px
  }
  .btn-row {
    gap:8px
  }
  /* Use a smaller desktop navigation ribbon without changing the mobile menu. */
  .topline {
    height:21px
  }
  .nav-inner {
    min-height:56px
  }
  .brand-mark {
    height:36px;
    width:36px
  }
  .brand-mark svg {
    width:24px;
    height:24px
  }
  .brand-type {
    font-size:14px
  }
  .brand-type small {
    font-size:8px;
    margin-top:2px
  }
  .desktop-nav>a,.nav-drop>button {
    padding-top:16px;
    padding-bottom:16px
  }
  .desktop-nav .contact-nav {
    padding:8px 12px
  }
  /* Home: preserve the exact 3D viewer and its controls, tighten only surrounding copy. */
  .hero-layout {
    padding-top:9px;
    padding-bottom:11px
  }
  .hero-copy {
    padding-top:12px;
    padding-bottom:13px
  }
  .hero-copy h1 {
    font-size:clamp(39px,3.55vw,51px);
    margin:11px 0 11px
  }
  .hero-copy p {
    font-size:13px;
    line-height:1.53;
    margin-bottom:12px
  }
  .hero-proof {
    gap:12px;
    margin-top:13px;
    padding-top:11px
  }
  .hero-proof strong {
    font-size:19px
  }
  .hero-proof span {
    font-size:9px
  }
  .hero-visual {
    padding:8px 0 10px 5px
  }
  .strip-item,.strip-item:last-child {
    padding:9px 11px
  }
  .strip-item:not(:first-child) {
    padding-left:11px
  }
  .strip-item strong {
    font-size:15px
  }
  .strip-item small {
    font-size:9px;
    margin-top:2px
  }
  .feature-grid,.icon-grid {
    gap:10px
  }
  .feature-card img {
    height:125px
  }
  .feature-card .feature-body {
    padding:10px 13px 15px
  }
  .feature-card h3 {
    font-size:16px;
    line-height:1.24;
    margin-top:4px
  }
  .feature-card .feature-arr {
    right:10px;
    bottom:9px;
    font-size:16px
  }
  .split {
    gap:clamp(20px,3vw,39px)
  }
  .split-visual>img {
    min-height:200px;
    max-height:255px
  }
  .staggered {
    gap:9px
  }
  .staggered img {
    height:135px
  }
  .staggered img:nth-child(2) {
    margin-top:11px
  }
  .stat-list {
    gap:8px;
    margin-top:14px
  }
  .stat-box {
    padding-top:9px
  }
  .stat-box .n {
    font-size:19px
  }
  .stat-box .s {
    font-size:10px
  }
  .stat-list+div[style*="margin-top"] {
    margin-top:13px!important
  }
  .staggered+.btn-row[style*="margin-top"] {
    margin-top:12px!important
  }
  .tech-teaser {
    gap:19px
  }
  .video-visual img {
    aspect-ratio:2/1
  }
  .video-play span {
    width:48px;
    height:48px;
    font-size:21px
  }
  .quote {
    padding:11px 15px;
    font-size:14px
  }
  .cta-band {
    padding:20px 0
  }
  .cta-inner {
    gap:12px
  }
  .cta-inner h2 {
    margin-top:6px
  }
  /* Inside pages: shorter title region and denser cards/media. */
  .page-hero {
    padding:19px 0 23px
  }
  .page-hero h1 {
    font-size:clamp(33px,3.1vw,44px);
    margin:8px 0 8px;
    line-height:1.12
  }
  .page-hero p {
    max-width:850px;
    line-height:1.5
  }
  .breadcrumb {
    margin-bottom:9px
  }
  .inset-card {
    padding:13px
  }
  .icon-feature {
    padding:12px
  }
  .icon-feature .glyph {
    height:32px;
    width:32px;
    font-size:17px;
    margin-bottom:8px
  }
  .icon-feature h3 {
    font-size:16px;
    margin-bottom:4px
  }
  .icon-feature p {
    font-size:12px
  }
  .image-figure img {
    max-height:255px
  }
  .image-figure figcaption {
    margin-top:5px;
    font-size:10px
  }
  .large-image {
    max-height:315px
  }
  .filter-row {
    margin:9px 0 9px;
    gap:6px
  }
  .filter-button {
    padding:7px 10px
  }
  .search-wrap input {
    padding:8px 11px
  }
  #service-count {
    margin-bottom:9px!important
  }
  .service-grid {
    gap:10px
  }
  .service-card img {
    height:112px
  }
  .service-card .body {
    padding:10px 12px
  }
  .service-card h3 {
    font-size:16px;
    margin:5px 0 4px
  }
  .service-card p {
    font-size:12px;
    line-height:1.4;
    margin-bottom:7px
  }
  .card-foot {
    padding-top:6px
  }
  .service-more-wrap {
    margin-top:11px
  }
  .service-hero-grid {
    gap:19px
  }
  .service-hero-grid img {
    max-height:245px
  }
  .gallery-grid {
    gap:8px
  }
  .gallery-tile::after {
    right:5px;
    bottom:5px;
    padding:2px 6px;
    font-size:14px
  }
  .project-grid {
    gap:10px
  }
  .project-panel img {
    height:150px
  }
  .project-panel .body {
    padding:11px 13px
  }
  .project-panel h3 {
    font-size:17px;
    margin-bottom:5px
  }
  .process-row {
    grid-template-columns:34px 1fr;
    gap:9px;
    padding:9px 0
  }
  .process-row .number {
    font-size:18px
  }
  .process-row h3 {
    font-size:16px;
    margin:2px 0 3px
  }
  .video-card video {
    max-height:340px
  }
  .video-caption {
    padding:8px 12px
  }
  .notice {
    padding:10px 13px;
    line-height:1.5
  }
  .policy-grid {
    gap:9px
  }
  .policy-block {
    padding:12px
  }
  .policy-block h3 {
    font-size:16px;
    margin-bottom:4px
  }
  .contact-grid {
    gap:12px
  }
  .contact-panel {
    padding:16px
  }
  .contact-panel h2[style] {
    font-size:25px!important
  }
  .contact-info {
    margin:10px 0;
    padding-top:9px
  }
  .contact-info dd {
    font-size:13px;
    line-height:1.4;
    margin-bottom:8px
  }
  .contact-aside {
    min-height:190px;
    padding:15px
  }
  /* A compact but still legible footer across all pages. */
  .footer {
    padding:20px 0 10px
  }
  .footer-grid {
    gap:16px
  }
  .footer .brand {
    margin-bottom:8px
  }
  .footer h4 {
    margin-bottom:6px
  }
  .footer p {
    font-size:12px;
    line-height:1.45
  }
  .footer a:not(.brand) {
    font-size:11px;
    margin-bottom:5px
  }
  .footer-bottom {
    margin-top:13px;
    padding-top:10px;
    font-size:10px
  }
}
@media (min-width:1150px) {
  /* The existing galleries keep all photos, but need fewer vertical rows. */
  .gallery-grid {
    grid-template-columns:repeat(5,minmax(0,1fr))
  }
}
/* V1.2.2 | Desktop title + image-frame refinement.
   Desktop only (901px+). Keep body-copy sizes, mobile/tablet styling,
   the 3D viewer, and all viewer interactions exactly as in V1.2. */
@media (min-width:901px) {
  /* Main page and section titles: visibly smaller, with restrained spacing. */
  h1 {
    font-size:clamp(32px,2.85vw,41px)
  }
  h2 {
    font-size:clamp(22px,1.95vw,27px)
  }
  .section h3,.section-narrow h3 {
    font-size:clamp(15px,1.2vw,17px)
  }
  .hero-copy h1 {
    font-size:clamp(34px,3.05vw,43px);
    margin:9px 0 10px
  }
  .page-hero h1 {
    font-size:clamp(28px,2.65vw,36px);
    margin:7px 0;
    line-height:1.13
  }
  .section-header h2 {
    font-size:clamp(22px,1.95vw,27px);
    margin-top:5px
  }
  .cta-inner h2 {
    font-size:clamp(22px,1.95vw,27px)
  }
  .section-header {
    margin-bottom:11px
  }
  .page-hero {
    padding-top:16px;
    padding-bottom:19px
  }
  /* Home page images and photographic panels (no viewer-shell rules). */
  .feature-card img {
    height:98px
  }
  .feature-card h3 {
    font-size:14px;
    line-height:1.25
  }
  .feature-card .feature-body {
    padding:9px 12px 13px
  }
  .split-visual>img {
    min-height:150px;
    max-height:198px
  }
  .staggered img {
    height:104px
  }
  .staggered img:nth-child(2) {
    margin-top:9px
  }
  .video-visual img {
    aspect-ratio:2.45/1
  }
  /* Inner pages: compact standard image blocks and capability cards. */
  .image-figure img {
    max-height:200px
  }
  .large-image {
    max-height:240px
  }
  .client-board {
    padding:15px
  }
  .client-board img {
    max-height:155px
  }
  .service-card img {
    height:92px
  }
  .service-card h3 {
    font-size:14px;
    line-height:1.26
  }
  .service-card .body {
    padding:9px 11px
  }
  .service-hero-grid {
    grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);
    gap:16px
  }
  .service-hero-grid img {
    max-height:185px
  }
  .gallery-tile {
    aspect-ratio:16/10
  }
  .project-panel img {
    height:112px
  }
  .project-panel h3 {
    font-size:15px
  }
  .contact-panel h2[style] {
    font-size:22px!important
  }
}
@media (min-width:1150px) {
  /* Extra desktop columns reduce scrolling; tablet/mobile stay untouched. */
  .service-grid {
    grid-template-columns:repeat(4,minmax(0,1fr))
  }
  .gallery-grid {
    grid-template-columns:repeat(6,minmax(0,1fr))
  }
}
/* V1.2.3 | Desktop navigation and spotlight follow-up.
   Keep V1.2.2 body copy, title sizes, other media, mobile and the 3D viewport unchanged. */
@media (min-width:901px) {
  /* Restore the two Capability Spotlight photographs to the readable V1.1 size. */
  .staggered img {
    height:178px
  }
  .staggered img:nth-child(2) {
    margin-top:16px
  }
  /* Only the desktop navigation/dropdown gets larger labels. */
  .desktop-nav {
    gap:clamp(12px,1.6vw,22px)
  }
  .desktop-nav>a,.nav-drop>button {
    font-size:13px
  }
  .mega strong {
    font-size:12px
  }
  .mega a {
    font-size:13px;
    padding:7px 0
  }
  .mega {
    min-width:660px
  }
  /* Desktop Capabilities opens as before on hover/click, without the caret.
     Mobile Capabilities uses its own summary arrow and remains unchanged. */
  .nav-drop>button span {
    display:none
  }
}
@media (min-width:901px) and (max-width:1110px) {
  .brand {
    min-width:178px
  }
  .desktop-nav {
    gap:9px
  }
  .desktop-nav>a,.nav-drop>button {
    font-size:12px
  }
  .desktop-nav .contact-nav {
    padding:8px 9px
  }
}
/* V1.2.4 | Desktop copy readability & Capability Spotlight image height.
   Desktop-only visual changes: larger descriptive text and cyan eyebrow labels,
   taller spotlight photos. All main headings, 3D viewer, JS and mobile remain unchanged. */
@media (min-width:901px) {
  /* Improve paragraph readability across Home, Company, Capabilities and inner pages. */
  p {
    font-size:15px;
    line-height:1.64
  }
  .lead {
    font-size:16px;
    line-height:1.64
  }
  .hero-copy p {
    font-size:15.5px;
    line-height:1.64
  }
  .page-hero p {
    line-height:1.64
  }
  .section-header p {
    font-size:15px;
    line-height:1.64
  }
  .icon-feature p {
    font-size:14.5px;
    line-height:1.62
  }
  .service-card p {
    font-size:13.5px;
    line-height:1.52
  }
  .policy-block p {
    font-size:14.5px;
    line-height:1.58
  }
  .footer p {
    font-size:13px;
    line-height:1.55
  }
  .footer a:not(.brand) {
    font-size:12px
  }
  .stat-box .s {
    font-size:11.5px
  }
  .strip-item small {
    font-size:10.5px
  }
  .quote {
    font-size:15px;
    line-height:1.6
  }
  /* Cyan short-line labels: OUR COMPANY, OUR APPROACH, CLIENT REFERENCES, etc. */
  .eyebrow {
    font-size:12px;
    letter-spacing:.14em;
    gap:10px;
    line-height:1.42
  }
  .eyebrow::before {
    width:23px;
    flex:none
  }
  .kicker,.overline {
    font-size:11.5px
  }
  /* Back toward the original photo height, while preserving the compact titles. */
  .staggered img {
    height:255px
  }
  .staggered img:nth-child(2) {
    margin-top:18px
  }
}
/* V1.2.5 | Uniform readable light-colored content copy on DESKTOP only.
   Every page uses the same 17px descriptive-text size. The established compact
   page titles, cyan eyebrow labels, navigation, mobile styles, 3D canvas and
   viewer controls are intentionally unchanged. */
@media (min-width:901px) {
  :root {
    --desktop-copy-size:17px
  }
  /* All normal paragraphs: Home, Company, Capabilities/service details,
     Projects, ASOE Technology, HSE & Quality, Contact and footer. */
  .hero-copy p,
  .page-hero p,
  .section p,
  .section-narrow p,
  .cta-band p,
  .footer p {
    font-size:var(--desktop-copy-size);
    line-height:1.63;
  }
  /* Explicitly sized copy and reusable 'lead' / card text. */
  .hero-copy .lead,
  .page-hero .lead,
  .section .lead,
  .section-narrow .lead,
  .section-header p,
  .icon-feature p,
  .policy-block p,
  .service-card p,
  .project-panel p,
  .process-row p,
  .footer p {
    font-size:var(--desktop-copy-size);
    line-height:1.63;
  }
  /* Light-colored descriptions that aren't <p> tags. */
  .strip-item small,
  .hero-proof span,
  .stat-box .s,
  .split-visual .frame-caption,
  .image-figure figcaption,
  .contact-info dd,
  .video-caption,
  .notice,
  .quote,
  .gallery-count,
  .card-foot,
  .footer a:not(.brand),
  .footer-bottom,
  .lightbox .lightbox-meta {
    font-size:var(--desktop-copy-size);
    line-height:1.6;
  }
  /* This figure/count includes an inline 12px style in the source HTML. */
  #service-count,
  .section p[style*="font-size"],
  .section-narrow p[style*="font-size"] {
    font-size:var(--desktop-copy-size)!important;
  }
}
/* Home / Company: two-image automatic crossfade (desktop and mobile). */
.split-visual.company-slideshow {
  display: grid;
  isolation: isolate;
}
.split-visual.company-slideshow > .company-slide {
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  object-fit: cover;
  animation-duration: 10s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.company-slide-offshore {
  animation-name: companySlideOffshore;
}
.company-slide-onshore {
  animation-name: companySlideOnshore;
}
.split-visual.company-slideshow > .frame-caption {
  z-index: 2;
}
@keyframes companySlideOffshore {
  0%, 43% {
    opacity: 1;
  }
  50%, 93% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes companySlideOnshore {
  0%, 43% {
    opacity: 0;
  }
  50%, 93% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .split-visual.company-slideshow > .company-slide {
    animation: none;
  }
  .split-visual.company-slideshow > .company-slide-onshore {
    opacity: 0;
  }
}

/* V1.2.6 | Original navy-blue palette, gently lightened backgrounds only.
   Keep original cyan, gold, typography, cards, controls and 3D viewer. */
:root {
  --bg: #0b2030;
  --bg2: #102b3e;
  --bg3: #143448;
}
body { background: var(--bg); }
.section-alt { background: #102a3c; }
.site-header { background: rgba(9, 29, 44, .94); }
.topline { background: #112d40; }
.hero {
  background: radial-gradient(ellipse 68% 75% at 83% 45%, #1d4b60 0%, transparent 68%),
              linear-gradient(150deg, #0c2030, #102d42 64%, #15394d);
}
.page-hero {
  background: radial-gradient(circle at 84% 18%, rgba(42, 119, 146, .37), transparent 45%), #102c40;
}
.footer { background: #0a1c2b; }
.strip { background: #102a3b; }
.cta-band {
  background: radial-gradient(ellipse at 80% 90%, rgba(41, 143, 158, .32), transparent 50%), #123448;
}

/* Homepage Company slideshow: stable first layer and visible second layer. */
.split-visual.company-slideshow {
  display: grid;
  isolation: isolate;
}
.split-visual.company-slideshow > .company-slide {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}
.split-visual.company-slideshow > .company-slide-offshore {
  position: relative;
  z-index: 0;
  opacity: 1;
  animation: none;
}
.split-visual.company-slideshow > .company-slide-onshore {
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: mepSecondPhoto 10s ease-in-out infinite;
}
.split-visual.company-slideshow > .frame-caption {
  position: absolute;
  z-index: 2;
}
@keyframes mepSecondPhoto {
  0%, 43%, 100% { opacity: 0; }
  50%, 93% { opacity: 1; }
}

/* V1.2.7 | Desktop content density refinement.
   Desktop only: retain navigation, viewer frame, copy size and mobile layout. */
@media (min-width: 901px) {
  /* Reduce vertical travel without shrinking the readable body text. */
  .section {
    padding-top: 26px;
    padding-bottom: 26px;
  }
  .section-narrow {
    padding-top: 22px;
    padding-bottom: 22px;
  }
  .section-header {
    gap: 14px;
    margin-bottom: 13px;
  }
  .section-header h2,
  .cta-inner h2 {
    font-size: clamp(20px, 1.8vw, 25px);
    line-height: 1.2;
  }
  .section h3,
  .section-narrow h3 {
    font-size: clamp(17px, 1.3vw, 19px);
    line-height: 1.3;
  }
  .page-hero {
    padding-top: 18px;
    padding-bottom: 20px;
  }
  .page-hero h1 {
    font-size: clamp(27px, 2.5vw, 34px);
    margin-top: 6px;
    margin-bottom: 8px;
  }
  .breadcrumb {
    margin-bottom: 10px;
  }
  .hero-copy {
    padding-top: 10px;
    padding-bottom: 12px;
  }
  .hero-copy h1 {
    font-size: clamp(33px, 2.9vw, 41px);
    margin-top: 9px;
    margin-bottom: 10px;
  }
  .hero-proof {
    margin-top: 12px;
    padding-top: 10px;
  }
  /* The 3D viewer shell and its toolbar dimensions remain unchanged. */
  .strip-item,
  .strip-item:last-child {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .strip-item strong {
    font-size: 17px;
  }
  .feature-grid,
  .icon-grid,
  .service-grid,
  .project-grid,
  .policy-grid {
    gap: 12px;
  }
  .feature-card img {
    height: 116px;
    object-fit: contain;
  }
  .feature-card .feature-body {
    padding: 10px 12px 14px;
  }
  .feature-card h3,
  .service-card h3,
  .project-panel h3 {
    font-size: 17px;
  }
  .split,
  .tech-teaser {
    gap: 22px;
  }
  .split-visual > img {
    min-height: 190px;
    max-height: 255px;
  }
  .split-visual.company-slideshow > .company-slide {
    min-height: 190px;
    max-height: 255px;
  }
  .stat-list {
    margin-top: 16px;
    gap: 10px;
  }
  .staggered img {
    height: 165px;
    object-fit: contain;
  }
  .staggered img:nth-child(2) {
    margin-top: 12px;
  }
  .video-visual img {
    aspect-ratio: 2.4 / 1;
    object-fit: contain;
  }
  .image-figure img {
    max-height: 220px;
    object-fit: contain;
  }
  .large-image {
    max-height: 250px;
  }
  .service-card img {
    height: 115px;
    object-fit: contain;
  }
  .service-card .body {
    padding: 10px 12px;
  }
  .service-hero-grid {
    gap: 20px;
  }
  .service-hero-grid img {
    max-height: 220px;
  }
  .gallery-grid {
    gap: 8px;
  }
  .gallery-tile {
    aspect-ratio: 16 / 9;
  }
  .gallery-tile img {
    object-fit: contain;
  }
  .project-panel img {
    height: 145px;
    object-fit: contain;
  }
  .project-panel .body {
    padding: 12px 14px;
  }
  .icon-feature,
  .inset-card,
  .policy-block {
    padding: 14px;
  }
  .process-row {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .contact-aside {
    min-height: 195px;
  }
  .contact-panel {
    padding: 16px;
  }
  .cta-band {
    padding-top: 25px;
    padding-bottom: 25px;
  }
  .footer {
    padding-top: 24px;
    padding-bottom: 12px;
  }
  .footer-grid {
    gap: 16px;
  }
  .footer-bottom {
    margin-top: 14px;
    padding-top: 10px;
  }
}

/* V1.2.7 | Shared desktop footer: slightly shorter on every page.
   Mobile footer, typography legibility, navigation and other sections unchanged. */
@media (min-width: 901px) {
  .footer {
    padding-top: 16px;
    padding-bottom: 8px;
  }
  .footer-grid {
    gap: 12px;
  }
  .footer .brand {
    margin-bottom: 5px;
  }
  .footer h4 {
    margin-bottom: 7px;
  }
  .footer p {
    line-height: 1.48;
  }
  .footer a:not(.brand) {
    margin-bottom: 4px;
    line-height: 1.45;
  }
  .footer-bottom {
    margin-top: 9px;
    padding-top: 8px;
    gap: 12px;
  }
}

/* V1.2.7 | Official MEP logo across desktop and mobile. */
.brand-mark {
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* V1.2.7 | Shared desktop footer typography and column spacing only. */
@media (min-width: 901px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.28fr);
    column-gap: 24px;
  }
  .footer-grid > * {
    min-width: 0;
  }
  .footer .brand {
    min-width: 0;
    gap: 10px;
  }
  .footer .brand-mark {
    width: 43px;
    height: 50px;
  }
  .footer .brand-type {
    font-size: 15px;
    line-height: 1.16;
  }
  .footer .brand-type small {
    font-size: 10px;
    line-height: 1.3;
  }
  .footer h4 {
    font-size: 14px;
    letter-spacing: .09em;
    line-height: 1.25;
  }
  .footer p {
    font-size: 11px;
    line-height: 1.5;
    overflow-wrap: break-word;
  }
  .footer a:not(.brand) {
    font-size: 11px;
    line-height: 1.45;
  }
}

/* V1.28 | Software Downloads page, responsive desktop and mobile. */
.download-page { background: #091e2e; color: #e6f4fc; }
.download-intro { padding: 72px 0 66px; background: radial-gradient(ellipse at 78% 12%, rgba(43,155,192,.19), transparent 52%), linear-gradient(145deg,#0b273b,#071724); border-bottom: 1px solid rgba(112,205,225,.18); }
.download-kicker { display: block; color: #74dbe5; font-size: 11px; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
.download-intro h1 { margin: 14px 0 14px; color: #fff; font-size: clamp(34px, 5vw, 60px); line-height: 1.1; letter-spacing: -.035em; }
.download-intro p { max-width: 650px; margin: 0; color: #c0d9e8; font-size: 17px; line-height: 1.75; }
.download-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.download-tags span { border: 1px solid rgba(117,212,227,.28); border-radius: 50px; padding: 8px 13px; color: #b8e7ee; font-size: 12px; }
.download-content { padding: 56px 0 68px; }
.download-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; }
.download-heading h2 { margin: 8px 0 0; color: #fff; font-size: clamp(24px, 3vw, 34px); }
.download-heading p { margin: 0 0 4px; color: #a9c8d9; font-size: 14px; }
.download-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.download-card { min-width: 0; padding: 30px; border: 1px solid rgba(105,204,226,.23); border-radius: 20px; background: linear-gradient(160deg,#12334a,#0b2435); box-shadow: 0 14px 36px rgba(0,0,0,.14); }
.download-card-top { display: flex; align-items: start; justify-content: space-between; gap: 12px; margin-bottom: 25px; }
.download-app-icon { display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid rgba(116,219,233,.42); border-radius: 16px; background: linear-gradient(135deg,#1c647d,#0a3048); color: #e6fcff; font-size: 19px; font-weight: 800; letter-spacing: .04em; }
.download-version { border: 1px solid rgba(116,219,233,.25); border-radius: 50px; padding: 7px 11px; color: #87dfe7; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.download-card h3 { margin: 0 0 10px; color: #fff; font-size: 24px; line-height: 1.3; }
.download-card p { margin: 0; min-height: 78px; color: #c0d9e8; font-size: 15px; line-height: 1.7; }
.download-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 18px 0; margin-top: 14px; border-top: 1px solid rgba(116,219,233,.16); color: #a5cbd9; font-size: 12px; }
.download-button { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 14px 18px; border-radius: 10px; background: #63d9e3; color: #082336 !important; font-size: 14px; font-weight: 800; text-decoration: none; transition: background .2s, transform .2s; }
.download-button:hover { background: #a4f1f4; transform: translateY(-2px); }
.download-button span { font-size: 22px; line-height: 1; }
.download-support { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; padding: 28px 30px; border: 1px solid rgba(114,216,230,.24); border-radius: 18px; background: rgba(31,100,122,.16); }
.download-support h2 { margin: 8px 0; color: #fff; font-size: 22px; }
.download-support p { margin: 0; max-width: 650px; color: #c0d9e8; font-size: 14px; line-height: 1.7; }
.download-email { flex: none; max-width: 100%; overflow-wrap: anywhere; padding: 13px 16px; border: 1px solid rgba(105,217,231,.5); border-radius: 10px; color: #90eaf2 !important; font-size: 14px; font-weight: 700; text-decoration: none; }
.download-email:hover { background: rgba(105,217,231,.12); }
.download-note { margin: 20px 0 0; color: #9bbbc9; font-size: 12px; line-height: 1.7; }
@media (max-width: 900px) {
  .download-intro { padding: 52px 0 48px; }
  .download-content { padding: 40px 0 48px; }
  .download-grid { grid-template-columns: 1fr; }
  .download-heading { align-items: start; flex-direction: column; gap: 8px; }
  .download-card p { min-height: 0; }
  .download-support { flex-direction: column; align-items: stretch; }
}
@media (max-width: 600px) {
  .download-intro { padding: 42px 0; }
  .download-intro p { font-size: 15px; }
  .download-tags { gap: 7px; }
  .download-tags span { font-size: 11px; }
  .download-content { padding: 32px 0 40px; }
  .download-card { padding: 22px; border-radius: 15px; }
  .download-card h3 { font-size: 21px; }
  .download-card-top { margin-bottom: 18px; }
  .download-support { padding: 22px; }
  .download-support h2 { font-size: 20px; }
  .download-email { font-size: 12px; }
}

/* V1.28 | Downloads page: alternating lighter blue sections on desktop and mobile. */
.download-page { background: #102e43; }
.download-intro {
  background: radial-gradient(ellipse at 78% 12%, rgba(78,170,198,.17), transparent 52%), linear-gradient(145deg,#163e56,#103047);
}
.download-content { background: #1a4359; }
.download-card { background: linear-gradient(160deg,#24516a,#193e55); }
.download-support { background: #12344b; }

/* V1.28 | Compact Software Downloads layout on desktop and mobile. */
.download-intro { padding: 44px 0 38px; }
.download-intro h1 { margin: 10px 0 12px; font-size: clamp(28px, 3.4vw, 43px); }
.download-tags { margin-top: 18px; gap: 8px; }
.download-tags span { padding: 6px 11px; }
.download-content { padding: 36px 0 42px; }
.download-heading { margin-bottom: 18px; gap: 16px; }
.download-heading h2 { font-size: clamp(22px, 2.4vw, 28px); }
.download-grid { gap: 16px; }
.download-card { padding: 23px; }
.download-card-top { margin-bottom: 16px; }
.download-app-icon { width: 48px; height: 48px; }
.download-card h3 { font-size: 21px; }
.download-card p { min-height: 0; }
.download-meta { padding: 13px 0; margin-top: 12px; }
.download-support { margin-top: 20px; padding: 20px 24px; }
.download-support h2 { font-size: 20px; }
.download-note { margin-top: 14px; }
@media (max-width: 900px) {
  .download-intro { padding: 38px 0 34px; }
  .download-content { padding: 30px 0 36px; }
}
@media (max-width: 600px) {
  .download-intro { padding: 30px 0; }
  .download-intro h1 { font-size: 29px; }
  .download-tags { margin-top: 14px; }
  .download-content { padding: 26px 0 32px; }
  .download-card { padding: 18px; }
  .download-card h3 { font-size: 20px; }
  .download-support { padding: 18px; }
  .download-support h2 { font-size: 19px; }
}

/* Shared visual system */
:root {
  --page:1344px;
  --sans:'Aptos','Segoe UI',Arial,sans-serif;
  --navy:#0b2235;
  --navy-deep:#081a2b;
  --paper:#f8fafb;
  --mist:#edf3f6;
  --ink:#112e42;
  --teal:#096b70;
  --radius:12px;
  --photo-width:94%;
  --card-media-inset:clamp(10px,1.2vw,16px);
  --card-shadow:0 8px 24px rgba(12,41,61,.07);
  --section-space:clamp(34px,4.4vw,64px)
}
html {
  scroll-padding-top:116px
}
body {
  background:var(--navy-deep)
}
main {
  color-scheme:light;
  --text:var(--ink);
  --muted:#435e70;
  --cyan:var(--teal);
  --cyan2:#085b61;
  --gold:#755727;
  --line:#d2dfe6;
  --line2:#acbfcb;
  color:var(--text);
  background:var(--paper)
}
.hero,.page-hero,.cta-band,.download-intro,.contact-aside {
  color-scheme:dark;
  --text:#f2f7fa;
  --muted:#c0d3df;
  --cyan:#70e1da;
  --cyan2:#a5f3ec;
  --gold:#ebce94;
  --line:rgba(195,225,235,.21);
  --line2:rgba(195,225,235,.4);
  color:var(--text)
}
.container {
  padding-inline:clamp(20px,4vw,56px)
}
.section,.download-content {
  padding-block:var(--section-space)
}
.section-narrow {
  padding-block:clamp(18px,2.8vw,38px)
}
.section-alt,.strip,.download-content {
  background:var(--mist)
}
.section-alt {
  border-block:1px solid var(--line)
}
h1,h2,h3 {
  overflow-wrap:break-word;
  font-weight:700
}
h2,.section-header h2,.cta-inner h2,.download-heading h2 {
  font-size:clamp(23px,2.4vw,35px);
  line-height:1.12;
  letter-spacing:-.038em
}
h3,.section h3,.section-narrow h3,.download-card h3,.download-support h2 {
  font-size:clamp(18px,1.45vw,21px);
  line-height:1.24;
  letter-spacing:-.025em
}
.section h3,.section-narrow h3,.download-card h3,.download-support h2 {
  color:var(--navy)
}
.section h3:has(+p),.section-narrow h3:has(+p),.download-card h3,.download-support h2 {
  margin-bottom:8px
}
.section .contact-aside h3 {
  color:var(--text)
}
p,.section p,.section-narrow p,.cta-band p,.download-card p {
  font-size:16px;
  line-height:1.6
}
.hero-copy .lead,.page-hero .lead,.download-intro p {
  font-size:clamp(16px,1.3vw,18px);
  line-height:1.6
}
.section .lead {
  font-size:16px;
  line-height:1.6
}
main .section p[style*="font-size"] {
  font-size:15px!important
}
.eyebrow,.download-kicker {
  color:var(--cyan);
  font-size:11px;
  gap:9px;
  letter-spacing:.14em
}
.eyebrow::before {
  flex:0 0 22px;
  height:2px
}
.section-header {
  gap:10px 24px;
  margin-bottom:clamp(16px,2.2vw,28px)
}
.section-header h2 {
  margin-top:8px
}
.text-link,.btn {
  min-height:44px;
  font-size:14px;
  letter-spacing:.01em;
  white-space:normal
}
.btn,.hero-copy .btn,.hero-copy .btn-outline {
  justify-content:center;
  min-height:46px;
  padding:11px 16px;
  border-radius:7px;
  font-size:14px;
  text-align:center
}
.btn-primary {
  color:#fff;
  background:var(--teal)
}
.btn-primary:hover {
  color:#fff;
  background:#07585d
}
.hero .btn-primary,.cta-band .btn-primary {
  color:#092839;
  background:#78e2d9
}
.hero .btn-primary:hover,.cta-band .btn-primary:hover {
  background:#a4f1e9
}
.btn-outline,.download-email {
  color:var(--teal);
  border-color:var(--line2);
  background:transparent
}
.btn-outline:hover,.download-email:hover {
  background:#e4f1f1
}
.hero .btn-outline {
  color:var(--text);
  border:1px solid var(--line2);
  background:rgba(255,255,255,.04)
}
.hero .btn-outline:hover {
  background:rgba(255,255,255,.12)
}
.btn-row,.hero-copy .btn-row {
  gap:10px
}
.skip-link {
  position:fixed;
  z-index:300;
  inset:12px auto auto 12px;
  padding:12px 16px;
  border-radius:7px;
  background:#fff;
  color:var(--ink);
  font-weight:700;
  transform:translateY(calc(-100% - 16px))
}
.skip-link:focus {
  transform:none;
  outline-color:var(--teal)
}

/* Navigation and page introductions */
.site-header {
  background:var(--navy-deep);
  backdrop-filter:none
}
.topline {
  height:26px;
  background:#112c41;
  color:#bed1dc;
  font-size:10px;
  letter-spacing:.11em
}
.topline span:last-child {
  color:#bed1dc
}
.nav-inner {
  min-height:68px;
  gap:12px
}
.brand {
  min-width:0;
  gap:9px
}
.brand-mark,.footer .brand-mark {
  width:38px;
  height:46px;
  border-radius:6px;
  background:#07111c
}
.brand-type,.footer .brand-type {
  font-size:15px;
  letter-spacing:.025em
}
.brand-type small,.footer .brand-type small {
  font-size:9px;
  letter-spacing:.12em;
  color:#b8ceda
}
.desktop-nav {
  gap:clamp(9px,1.35vw,23px)
}
.desktop-nav>a,.nav-drop>button {
  position:relative;
  padding-block:16px;
  color:#c8d8e2;
  letter-spacing:0
}
.desktop-nav>a.active:not(.contact-nav)::after,.nav-drop>button.active::after {
  content:'';
  position:absolute;
  inset:auto 0 6px;
  height:2px;
  background:#78e2d9
}
.desktop-nav .contact-nav {
  min-height:42px;
  display:inline-flex;
  align-items:center;
  border-radius:7px;
  padding:8px 13px
}
.desktop-nav .contact-nav:hover,.desktop-nav .contact-nav.active {
  background:#78e2d9;
  color:#092839
}
.nav-drop>button span {
  display:inline-block;
  margin-left:2px
}
@media(min-width:901px) {
  .desktop-nav #services-toggle>span {
    visibility:hidden
  }
}
.nav-drop:hover .mega,.nav-drop:focus-within .mega {
  display:none
}
.nav-drop.open .mega,html:not(.has-js) .nav-drop:is(:hover,:focus-within) .mega {
  display:grid
}
.mega {
  right:auto;
  left:clamp(-220px,-17vw,-145px);
  width:min(690px,80vw);
  min-width:0;
  gap:20px;
  padding:22px;
  border-radius:var(--radius);
  background:#0e2a40
}
.mega a {
  padding:8px;
  margin-inline:-8px;
  border-radius:5px;
  color:#d2e2eb
}
.mega a:hover,.mega a[aria-current] {
  background:#1a4056
}
.mobile-button,.to-top,.slide-toggle {
  width:44px;
  height:44px;
  padding:0;
  border-radius:7px
}
.mobile-panel>a,.mobile-capabilities summary,.mobile-subnav a {
  min-height:44px;
  font-size:14px
}
.mobile-panel [aria-current] {
  color:#a5f3ec;
  font-weight:750;
  background:#14364a
}
.hero,.page-hero,.download-intro,.cta-band {
  background:radial-gradient(ellipse at 90% 15%,#174659,transparent 66%),var(--navy)
}
.page-hero,.download-intro {
  position:relative;
  padding-block:clamp(24px,3.6vw,52px)
}
.page-hero h1,.download-intro h1 {
  max-width:28ch;
  margin:8px 0 10px;
  font-size:clamp(28px,3.4vw,48px);
  line-height:1.08;
  letter-spacing:-.045em
}
.page-hero p,.download-intro p {
  color:var(--muted);
  margin-bottom:0
}
.breadcrumb {
  margin-bottom:clamp(12px,1.65vw,22px);
  font-size:13px;
  letter-spacing:0;
  color:#c0d3df
}
.breadcrumb span {
  color:#adccd8
}
.cta-band {
  padding-block:clamp(26px,3.45vw,50px)
}

/* Home and industrial photography */
.hero {
  min-height:0
}
.hero-layout {
  min-height:0;
  grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);
  gap:clamp(20px,3.2vw,46px);
  padding-block:clamp(20px,3vw,44px)
}
.hero-copy,.hero-visual {
  padding:0
}
.hero-copy h1 {
  font-size:clamp(35px,3.8vw,55px);
  line-height:1;
  letter-spacing:-.05em;
  margin:14px 0
}
.hero-copy h1 .fine {
  color:inherit
}
.hero-copy p {
  margin-bottom:16px
}
.hero-proof {
  display:flex;
  gap:12px;
  margin-top:18px;
  padding-top:12px
}
.hero-proof strong {
  font-size:clamp(19px,2vw,25px)
}
.hero-proof span {
  color:#c3d8e2;
  font-size:11px;
  line-height:1.35;
  letter-spacing:.025em;
  text-transform:none
}
.viewer-shell {
  min-height:clamp(460px,35vw,500px);
  border-radius:16px;
  border-color:#3c6073;
  box-shadow:0 18px 48px rgba(1,13,23,.35)
}
.viewer-grid {
  background:linear-gradient(0deg,#071523,transparent 70%),url('assets/images/contact-us/01.webp') center / cover no-repeat;
  opacity:.43;
  filter:saturate(.75)
}
.viewer-shell:has(.viewer-overlay[hidden]) .viewer-grid {
  opacity:.2
}
.viewer-overlay {
  inset-block-end:150px;
  gap:8px
}
.viewer-round {
  width:50px;
  height:50px;
  flex:none
}
.viewer-note {
  bottom:138px
}
.view-btn,.view-tool {
  min-height:38px
}
.strip-item,.strip-item:last-child,.strip-item:not(:first-child) {
  padding:13px clamp(10px,2vw,24px)
}
.strip-item:first-child {
  padding-inline-start:0
}
.strip-item strong {
  font-size:clamp(16px,1.7vw,22px)
}
.strip-item small,.stat-box .s,.image-figure figcaption,.gallery-count,.card-foot {
  color:var(--muted);
  font-size:13px;
  letter-spacing:0;
  text-transform:none
}
.split,.tech-teaser,.service-hero-grid {
  gap:clamp(18px,3.3vw,48px)
}
.split>*,.tech-teaser>*,.service-hero-grid>* {
  min-width:0
}
.split-visual>img,.image-figure img,.large-image,.service-hero-grid img,.video-visual,.video-card,.client-board,.staggered img {
  border-radius:var(--radius)
}
.split-visual,.staggered,.video-visual,.gallery-grid {
  width:var(--photo-width);
  margin-inline:auto
}
.split-visual {
  --photo-ratio:4/3
}
.split-visual>img,.split-visual.company-slideshow>.company-slide {
  min-height:0;
  max-height:none;
  aspect-ratio:var(--photo-ratio)
}
.split-visual.company-slideshow {
  aspect-ratio:var(--photo-ratio)
}
.split-visual .frame-caption {
  left:12px;
  bottom:12px;
  padding:8px 12px;
  border-color:#78e2d9;
  border-radius:4px;
  color:#e1f1f4;
  font-size:11px
}
.slide-toggle {
  display:none;
  position:absolute;
  z-index:3;
  right:12px;
  top:12px;
  border:1px solid #80a6b6;
  background:#0b2639;
  color:#fff;
  font-size:16px
}
.slide-toggle:hover {
  background:#17465a
}
.split-visual.company-slideshow.is-paused>.company-slide {
  animation-play-state:paused
}
html:not(.has-js) .company-slideshow>.company-slide-onshore {
  animation:none
}
.stat-list {
  gap:12px;
  margin-top:18px
}
.stat-box {
  padding-top:10px
}
.stat-box .n {
  font-size:clamp(16px,2vw,24px)
}
.staggered {
  gap:clamp(12px,2vw,24px)
}
.staggered img,.staggered img:nth-child(2) {
  height:clamp(112px,18.75vw,270px);
  margin:0;
  object-fit:cover
}
.video-visual img {
  aspect-ratio:16/10;
  object-fit:cover
}
.video-play span {
  color:#fff
}
.image-figure {
  width:min(var(--photo-width),34rem);
  margin:0 auto
}
.image-figure img,.large-image,.service-hero-grid img {
  height:auto;
  max-height:clamp(230px,32vw,400px);
  object-fit:contain;
  background:var(--mist)
}
.service-hero-grid img,.large-image {
  width:auto;
  max-width:var(--photo-width);
  margin-inline:auto
}
.client-board,.video-card {
  margin-inline:auto
}
.client-board {
  width:min(var(--photo-width),48rem);
  padding:clamp(10px,1.15vw,16px)
}
.client-board img {
  width:auto;
  height:auto;
  max-height:clamp(90px,10vw,136px);
  margin-inline:auto
}
.video-card {
  width:min(var(--photo-width),35rem)
}
.video-card video {
  max-height:none
}

/* Cards, catalogue, and utilities */
.feature-grid,.service-grid,.project-grid,.gallery-grid,.icon-grid,.policy-grid {
  gap:clamp(12px,1.45vw,20px)
}
.feature-card,.service-card,.project-panel,.icon-feature,.inset-card,.policy-block,.contact-panel,.download-card,.download-support {
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#fff;
  box-shadow:var(--card-shadow)
}
.feature-card,.service-card,.project-panel {
  min-height:0;
  transition:box-shadow .2s,border-color .2s
}
.feature-card:hover,.service-card:hover,a.project-panel:hover,.gallery-tile:hover {
  border-color:#70a5a9;
  box-shadow:0 12px 30px rgba(12,41,61,.13);
  transform:none
}
.feature-card img,.service-card img,.project-panel img {
  width:calc(100% - var(--card-media-inset) - var(--card-media-inset));
  height:auto;
  min-height:0;
  max-height:none;
  margin:var(--card-media-inset) var(--card-media-inset) 0;
  border-radius:calc(var(--radius) - 4px);
  aspect-ratio:16/9;
  object-fit:cover;
  background:var(--mist)
}
.feature-card .feature-body,.service-card .body,.project-panel .body,.icon-feature,.inset-card,.policy-block,.contact-panel,.download-card,.download-support {
  padding:clamp(14px,1.65vw,24px)
}
.feature-card .feature-body {
  padding-right:42px
}
.feature-card .feature-arr {
  bottom:16px;
  right:16px;
  font-size:19px
}
.service-card a {
  display:flex;
  flex-direction:column
}
.service-card .body,.download-card {
  display:flex;
  flex-direction:column;
  flex:1
}
.service-card .index,.feature-card .feature-body span:not(.feature-arr) {
  font-size:11px;
  letter-spacing:.09em
}
.service-card p,.project-panel p {
  display:block;
  overflow:visible;
  min-height:0
}
.service-card .card-foot,.download-meta {
  margin-top:auto
}
.card-foot {
  padding-top:10px
}
.icon-feature .glyph,.download-app-icon {
  border-color:#afd5d6;
  background:#e4f3f2;
  color:var(--teal)
}
.service-grid {
  grid-template-columns:repeat(3,minmax(0,1fr))
}
.gallery-grid {
  grid-template-columns:repeat(4,minmax(0,1fr))
}
.gallery-tile {
  background:#e4edf2;
  border-radius:9px;
  aspect-ratio:4/3
}
.gallery-tile img {
  object-fit:cover
}
.gallery-tile.contain img,.gallery-tile[data-gallery-context^="asoe-trenchless-pipe-solution"] img {
  object-fit:contain;
  padding:clamp(4px,.55vw,8px)
}
.gallery-tile::after {
  content:'\2197'
}
.filter-row {
  margin:12px 0 16px
}
.filter-button,.search-wrap input#service-search {
  min-height:44px;
  border:1px solid var(--line2);
  border-radius:7px;
  background:#fff;
  color:var(--ink);
  font-size:14px
}
.filter-button[aria-pressed=true],.download-button {
  border-color:var(--teal);
  background:var(--teal);
  color:#fff
}
.search-wrap input#service-search:focus-visible,.service-card a:focus-visible {
  outline:2px solid var(--teal);
  outline-offset:-3px
}
.quote,.notice,.video-caption,.contact-info dd,.pill {
  color:var(--muted)
}
.notice {
  background:#fbf4e8
}
.video-caption {
  background:#e6eff3
}
.video-caption .sm {
  color:inherit
}
.contact-aside {
  align-self:center;
  justify-self:center;
  width:min(var(--photo-width),26rem);
  min-height:0;
  aspect-ratio:3/2;
  padding:clamp(12px,1.6vw,20px)
}
.contact-info dd {
  font-size:16px;
  line-height:1.6
}
.contact-info dd,.footer-grid,.footer-bottom {
  overflow-wrap:anywhere
}
.download-page {
  color:var(--ink);
  background:var(--paper)
}
.download-heading h2 {
  color:inherit
}
.download-app-icon {
  width:42px;
  height:42px
}
.download-heading p,.download-card p,.download-support p,.download-meta,.download-note {
  color:var(--muted)
}
.download-heading p,.download-support p {
  font-size:16px;
  line-height:1.6
}
.download-grid {
  gap:clamp(12px,1.5vw,20px)
}
.download-meta {
  padding-top:16px;
  border-color:var(--line)
}
.download-card p {
  margin-bottom:15px
}
.download-version {
  color:var(--teal);
  border-color:#afd5d6
}
.download-button {
  color:#fff!important;
  border-radius:7px
}
.download-button:hover {
  background:#07585d
}
.download-email {
  color:var(--teal)!important
}
.footer {
  padding:clamp(28px,3.5vw,50px) 0 16px;
  background:var(--navy-deep)
}
.footer-grid {
  gap:18px clamp(18px,2.5vw,36px)
}
.footer .brand {
  margin-bottom:12px
}
.footer h4 {
  margin:0 0 10px;
  font-size:12px
}
.footer p,.footer a:not(.brand),.footer-bottom {
  font-size:14px;
  line-height:1.55;
  color:#bfd2de
}
.footer a:not(.brand) {
  width:fit-content;
  padding-block:3px;
  margin-bottom:3px
}
.footer a:hover {
  color:#a5f3ec;
  text-decoration:underline
}
.footer-bottom {
  margin-top:18px;
  padding-top:12px;
  font-size:13px
}
.to-top {
  flex:none
}

@media(max-width:900px) {
  .mobile-panel:not([hidden]) {
    max-height:calc(100dvh - 94px);
    padding-inline:clamp(20px,4vw,56px);
    background:var(--navy-deep)
  }
  .hero-layout {
    gap:20px
  }
  .hero-copy h1 br {
    display:none
  }
  .hero-copy h1 {
    max-width:15ch
  }
  .split-visual {
    --photo-ratio:16/10
  }
  .feature-grid,.service-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .gallery-grid {
    grid-template-columns:repeat(3,minmax(0,1fr))
  }
}
@media(max-width:600px) {
  html {
    scroll-padding-top:88px
  }
  .topline span:last-child {
    display:none
  }
  .topline {
    height:22px
  }
  .nav-inner {
    min-height:60px
  }
  .mobile-panel:not([hidden]) {
    max-height:calc(100dvh - 82px)
  }
  .hero-copy h1 {
    font-size:clamp(32px,6vw,35px)
  }
  .hero-copy .btn-row>.btn {
    flex:1 1 180px
  }
  .hero-copy .hero-proof {
    display:flex
  }
  .strip-item,.strip-item:last-child,.strip-item:not(:first-child) {
    padding:11px 10px
  }
  .feature-grid,.service-grid,.project-grid,.icon-grid,.policy-grid {
    grid-template-columns:minmax(0,1fr)
  }
  .gallery-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .section-header {
    align-items:start
  }
  .section-header h2 br {
    display:none
  }
  .cta-inner,.next-service,.download-support {
    align-items:flex-start
  }
  .contact-aside {
    width:min(var(--photo-width),19.5rem)
  }
  .viewer-shell {
    min-height:460px
  }
  .viewer-overlay {
    inset-block-end:164px;
    gap:7px
  }
  .viewer-round {
    width:44px;
    height:44px
  }
  .viewer-note {
    bottom:135px
  }
  .view-btn,.view-tool {
    min-width:0;
    min-height:44px;
    font-size:11px;
    line-height:1.3
  }
  .footer-grid>div:first-child,.footer-grid>div:last-child {
    grid-column:1 / -1
  }
  .footer-bottom {
    flex-direction:row;
    align-items:center
  }
}
@media (prefers-reduced-motion:no-preference) {
  .has-js .slide-toggle {
    display:grid;
    place-items:center
  }
  .has-js .reveal {
    opacity:1;
    transform:none;
    transition:none
  }
  .has-js .reveal.visible {
    animation:section-rise .42s ease-out
  }
  @keyframes section-rise {
    from { opacity:.72; transform:translateY(8px); }
    to { opacity:1; transform:none; }
  }
}
@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*::before,*::after {
    transition:none!important
  }
  .split-visual.company-slideshow>.company-slide-onshore {
    animation:none;
    opacity:0
  }
}
/* V1.28 | Contact image alignment and desktop copy legibility.
   Keep existing layouts and interactions unchanged. */

/* On desktop, the photograph should reach the full height of the office card.
   The existing photograph width and background-cover crop are preserved. */
@media (min-width:901px) {
  .contact-grid {
    align-items:stretch
  }
  .contact-grid > .contact-aside {
    align-self:stretch;
    height:auto;
    aspect-ratio:auto
  }
}

/* At tablet and phone widths, match the office card's full column width.
   The photograph keeps a responsive proportion rather than stretching. */
@media (max-width:900px) {
  .contact-grid > .contact-aside {
    align-self:auto;
    justify-self:stretch;
    width:100%;
    max-width:none;
    aspect-ratio:16/9
  }
}

/* Increase only the regular descriptive copy on desktop; mobile text is
   intentionally unchanged, and headings remain visually larger. */
@media (min-width:901px) {
  .hero-copy p,
  .page-hero p,
  main .section p,
  main .section-narrow p,
  .cta-band p,
  .download-intro p,
  .download-heading p,
  .download-card p,
  .download-support p,
  .contact-info dd {
    font-size:17px;
    line-height:1.63
  }
  main .section p[style*="font-size"] {
    font-size:16px!important
  }
  .footer p {
    font-size:16px;
    line-height:1.6
  }
}

/* Make the Windows installer notice legible on desktop and mobile. */
.download-note {
  font-size:16px;
  line-height:1.6
}


/* V1.28 | Follow-up: aligned copy, wider desktop demo and compact mobile archive.
   Only presentation styles are changed; existing JS, links and content remain intact. */

/* Paired introductory lines and descriptive paragraphs use the same readable
   text size. Do not enlarge decorative uppercase eyebrow labels or main headings. */
main .section .lead,
main .section-narrow .lead,
main .section-header > p,
main .service-hero-grid #service-summary,
main .service-hero-grid #service-description {
  font-size:16px;
  line-height:1.6
}

@media (min-width:901px) {
  main .section .lead,
  main .section-narrow .lead,
  main .section-header > p,
  main .service-hero-grid #service-summary,
  main .service-hero-grid #service-description {
    font-size:17px;
    line-height:1.63
  }

  /* ASOE Technology: wider presentation on desktop only. */
  .video-card {
    width:min(100%,48rem)
  }
}

@media (max-width:600px) {
  /* Downloads: slightly smaller installation notice on phones only. */
  main .section p.download-note {
    font-size:14px;
    line-height:1.55
  }

  /* Three thumbnails per row, rather than two, across photo archives. */
  .gallery-grid {
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:7px
  }
  .gallery-tile::after {
    right:4px;
    bottom:4px;
    font-size:12px;
    padding:2px 5px
  }
}


/* V1.28 | Third refinement: compact service catalogue, full container photo, taller contact photo. */
/* The 17 All Capabilities cards share one design. Keep the desktop three-column
   order and let thumbnails shrink with their image frames without cropping. */
body[data-page="services"] #service-grid {
  gap:clamp(9px,1.15vw,15px)
}
body[data-page="services"] #service-grid .service-card img {
  width:calc(100% - 20px);
  height:auto;
  aspect-ratio:2.1/1;
  object-fit:contain;
  margin:10px 10px 0;
  background:var(--mist)
}
body[data-page="services"] #service-grid .service-card .body {
  padding:12px 14px
}
body[data-page="services"] #service-grid .service-card h3 {
  font-size:clamp(15px,1.3vw,17px);
  line-height:1.28;
  margin:6px 0
}
body[data-page="services"] #service-grid .service-card p {
  font-size:15px;
  line-height:1.5;
  margin-bottom:10px
}
body[data-page="services"] #service-grid .service-card .card-foot {
  padding-top:8px
}

@media (min-width:901px) {
  /* Preserve exactly three capability cards per row on desktop. */
  body[data-page="services"] #service-grid {
    grid-template-columns:repeat(3,minmax(0,1fr))
  }

  /* Home: the blue steel-container photograph should be fully visible,
     slightly smaller and never cropped by its frame. */
  body[data-page="home"] .staggered img:first-child {
    width:min(92%,32rem);
    height:clamp(150px,17vw,245px);
    object-fit:contain;
    object-position:center;
    background:var(--mist);
    justify-self:center
  }

  /* Contact: give the offshore-platform panel a little more vertical presence.
     The adjacent office card continues to align in the same CSS grid row. */
  body[data-page="contact"] .contact-grid > .contact-aside {
    min-height:clamp(500px,43vw,570px)
  }
}

@media (max-width:900px) {
  body[data-page="services"] #service-grid .service-card .body {
    padding:11px 12px
  }
  body[data-page="services"] #service-grid .service-card p {
    font-size:15px;
    line-height:1.48
  }
}

@media (max-width:600px) {
  /* Keep single-column phone layout, but shorten the 17 service cards. */
  body[data-page="services"] #service-grid .service-card img {
    width:calc(100% - 16px);
    margin:8px 8px 0;
    aspect-ratio:2.55/1
  }
  body[data-page="services"] #service-grid .service-card .body {
    padding:10px 12px
  }
  body[data-page="services"] #service-grid .service-card h3 {
    font-size:16px;
    margin:5px 0
  }
  body[data-page="services"] #service-grid .service-card p {
    margin-bottom:8px
  }
}

/* V1.28 | Final Contact width and mobile Downloads note alignment. */
/* Desktop: make the offshore platform photo wider, without increasing height
   or changing the Miri Office column and mobile layout. */
@media (min-width:901px) {
  body[data-page="contact"] .contact-grid > .contact-aside {
    width:min(100%,30rem)
  }
}

/* Keep the complete installer notice on desktop; use the shorter equivalent
   on narrow screens so it can fit about two lines without tiny text. */
.download-note-mobile {
  display:none
}
@media (max-width:600px) {
  body[data-page="downloads"] .download-note {
    font-size:12.5px;
    line-height:1.45
  }
  .download-note-desktop {
    display:none
  }
  .download-note-mobile {
    display:inline
  }
}


/* V1.28 | Justified explanatory paragraphs (desktop and mobile). */
/* Longer descriptive paragraphs align on both sides; their final lines
   finish naturally. A single-line sentence is not stretched. Keep sizes,
   line heights, headings, navigation, captions and download notes unchanged. */
main .section p:not(.download-note),
main .section-narrow p,
main .page-hero p,
main .hero-copy p {
  text-align:justify;
  text-align-last:start;
  hyphens:auto
}

/* Modern Era Plus V1.29 | Desktop-only compact finishing pass.
   Keep the home hero, Engineering Facility strip, 3D viewer, all interaction
   styles and every rule for 900px-and-below exactly as supplied. */
@media (min-width: 901px) {
  /* Home: compact content sections below the protected top showcase. */
  body[data-page="home"] .section:has(.feature-grid),
  body[data-page="home"] .section:has(.split),
  body[data-page="home"] .section:has(.staggered),
  body[data-page="home"] .section:has(.tech-teaser) {
    padding-block:clamp(24px,2.6vw,36px)
  }
  body[data-page="home"] .section:has(.feature-grid) h2,
  body[data-page="home"] .section:has(.split) h2,
  body[data-page="home"] .section:has(.staggered) h2,
  body[data-page="home"] .section:has(.tech-teaser) h2 {
    font-size:clamp(23px,2.1vw,30px)
  }
  body[data-page="home"] .section:has(.feature-grid) .section-header,
  body[data-page="home"] .section:has(.split) .section-header,
  body[data-page="home"] .section:has(.staggered) .section-header,
  body[data-page="home"] .section:has(.tech-teaser) .section-header {
    margin-bottom:14px
  }

  /* Company/inner-page figures: shrink the frame and its image together.
     Contain keeps full photographs and safety illustrations in proportion. */
  main .section:has(.image-figure),
  main .section:has(.large-image) {
    padding-block:clamp(22px,2.55vw,36px)
  }
  .image-figure {
    width:min(88%,28rem)
  }
  .image-figure img {
    width:100%;
    height:auto;
    max-height:clamp(190px,20vw,265px);
    object-fit:contain
  }
  .image-figure figcaption {
    margin-top:8px
  }
  .large-image {
    width:auto;
    max-width:min(88%,29rem);
    max-height:270px;
    height:auto;
    object-fit:contain;
    margin-inline:auto
  }

  /* Match only pages that actually contain a service detail hero. */
  body:has(.service-hero-grid) .page-hero {
    padding-block:clamp(20px,2.5vw,34px)
  }
  body:has(.service-hero-grid) .page-hero h1 {
    font-size:clamp(28px,2.9vw,42px)
  }

  /* Capabilities detail pages: smaller main photo frames, no stretching. */
  main .section:has(.service-hero-grid),
  main .section:has(.gallery-grid) {
    padding-block:clamp(22px,2.4vw,34px)
  }
  main .section:has(.service-hero-grid) h2,
  main .section:has(.gallery-grid) h2 {
    font-size:clamp(22px,2.1vw,29px)
  }
  .service-hero-grid {
    grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr);
    gap:clamp(16px,2vw,26px)
  }
  .service-hero-grid img {
    width:auto;
    height:auto;
    max-width:min(100%,21rem);
    max-height:clamp(165px,18vw,225px);
    object-fit:contain;
    margin-inline:auto
  }
  .gallery-grid {
    width:min(92%,66rem);
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:clamp(8px,1vw,12px)
  }
  .gallery-tile {
    aspect-ratio:16/10
  }
  .gallery-tile img {
    object-fit:contain
  }

  /* All Capabilities: keep the current three-column catalogue and order. */
  body[data-page="services"] #service-grid .service-card img {
    aspect-ratio:2.4/1;
    object-fit:contain;
    margin-top:8px
  }
  body[data-page="services"] #service-grid .service-card .body {
    padding:10px 13px
  }

  /* Other inner pages: moderate media and whitespace reductions. */
  main .section:has(.project-grid),
  main .section:has(.policy-grid) {
    padding-block:clamp(24px,2.7vw,38px)
  }
  .project-panel img {
    aspect-ratio:1.9/1;
    object-fit:contain
  }
  body[data-page="downloads"] .download-intro {
    padding-block:clamp(22px,2.5vw,34px)
  }
  .download-content {
    padding-block:clamp(26px,2.7vw,38px)
  }
  .download-heading {
    margin-bottom:14px
  }
  .download-card {
    padding:clamp(15px,1.5vw,21px)
  }
  .download-card-top {
    margin-bottom:12px
  }
  .download-support {
    padding:clamp(16px,1.7vw,22px)
  }
}

/* V1.29 | Contact page: match the lower factory photo to the upper photo card.
   Desktop only. Keep the existing image height, cropping, and mobile layout. */
@media (min-width:901px) {
  body[data-page="contact"] .section-alt > .container.split {
    grid-template-columns:1.15fr .85fr;
    gap:12px
  }
  body[data-page="contact"] .section-alt .split > .image-figure {
    width:min(100%,30rem)
  }
}

/* V1.29 | Unified, readable navigation labels on desktop and mobile.
   Keep the existing 75% site zoom and all other page styling unchanged. */
.desktop-nav > a,
.nav-drop > button,
.mega strong,
.mega a,
.mobile-panel > a,
.mobile-capabilities summary,
.mobile-subnav a {
  font-size:16px;
}
@media (min-width:901px) and (max-width:1200px) {
  .desktop-nav {
    gap:6px;
  }
  .desktop-nav .contact-nav {
    padding-inline:8px;
  }
}

/* Desktop typography refinement: preserve mobile and the 16px navigation. */
@media (min-width:901px) {
  main .eyebrow,
  main .download-kicker,
  main .breadcrumb {
    font-size:15px;
  }
  .hero-copy h1 {
    font-size:clamp(32px,3.4vw,49px);
  }
  .page-hero h1,.download-intro h1 {
    font-size:clamp(26px,3vw,42px);
  }
  body:has(.service-hero-grid) .page-hero h1 {
    font-size:clamp(26px,2.6vw,37px);
  }
  .hero-copy p,.hero-copy .lead,
  .page-hero p,.page-hero .lead,
  main .section p,main .section-narrow p,
  main .section .lead,main .section-narrow .lead,
  main .section-header > p,
  main .service-hero-grid #service-summary,
  main .service-hero-grid #service-description,
  .cta-band p,.download-intro p,.download-heading p,
  .download-card p,.download-support p,.contact-info dd {
    font-size:20px;
  }
  main .section p[style*="font-size"],
  main .section-narrow p[style*="font-size"] {
    font-size:19px!important;
  }
  .footer p,.download-note {
    font-size:19px;
  }
  main .section h3,main .section-narrow h3,
  main .download-card h3,main .download-support h2 {
    font-size:clamp(22px,1.45vw,23px);
  }
  body[data-page="projects"] .section-alt .section-narrow > h3 {
    font-size:clamp(23px,2.4vw,35px);
    font-weight:700;
    line-height:1.12;
    letter-spacing:-.038em;
  }
}

/* Desktop home: improve readability of the four capability strip descriptions. */
@media (min-width:901px) {
  body[data-page="home"] .strip-item small {
    font-size:22px;
    line-height:1.4;
  }
}

/* Mobile home only: enlarge capability strip titles and descriptions. */
@media (max-width:900px) {
  body[data-page="home"] .strip-item strong {
    font-size:22px;
    line-height:1.25;
  }
  body[data-page="home"] .strip-item small {
    font-size:18px;
    line-height:1.4;
  }
}

/* V1.29 | Descriptive copy and targeted typography refinements. */
.footer-bottom { font-size:15px; }
body[data-page="services"] #service-grid .service-card p { font-size:17px; }
body[data-page="services"] #service-grid .service-card h3 { font-size:clamp(19px,1.3vw,21px); }
@media (min-width:901px) {
  body[data-page="home"] .feature-card .feature-body span:not(.feature-arr) { font-size:14px; }
  body[data-page="projects"] .split .text-link[href="services.html"] { font-size:17px; }
  body[data-page="home"] .strip-item strong { font-size:24px; }
  body[data-page="projects"] .section-alt .section-narrow > h3 { font-size:clamp(22px,2.1vw,29px); }
}
@media (max-width:900px) {
  main p, main .section p, main .section-narrow p, main .section .lead,
  main .section-narrow .lead, main .section-header > p,
  main .service-hero-grid #service-summary, main .service-hero-grid #service-description,
  .contact-info dd { font-size:18px; }
  .hero-copy .lead,.page-hero .lead,.download-intro p { font-size:calc(clamp(16px,1.3vw,18px) + 2px); }
  main .section p[style*="font-size"] { font-size:17px!important; }
  .footer p { font-size:16px; }
  .download-note { font-size:18px; }
  main .section h3,main .section-narrow h3,main .download-card h3,main .download-support h2 { font-size:clamp(20px,1.45vw,23px); }
}
@media (max-width:600px) {
  body[data-page="downloads"] .download-note { font-size:14.5px; }
}

/* Keep descriptive text below its associated heading. */
@media (min-width:901px) {
  .hero-proof span,.stat-box .s,.image-figure figcaption { font-size:15px; }
  .quote,.notice,.video-caption { font-size:19px; }
}
@media (max-width:900px) {
  .hero-proof span,.stat-box .s,.image-figure figcaption { font-size:15px; }
  .quote,.notice,.video-caption { font-size:16px; }
}

/* Desktop contact page: enlarge only contact labels and career enquiry link. */
@media (min-width:901px) {
  body[data-page="contact"] .contact-info dt { font-size:14px; }
  body[data-page="contact"] .text-link[href*="Career%20Enquiry"] { font-size:17px; }
}

/* V1.29 | Downloads: readable tags and installer metadata on all screen sizes. */
body[data-page="downloads"] .download-tags span {
  font-size:17px;
}
body[data-page="downloads"] .download-meta {
  font-size:16px;
}

/* V1.29 | Desktop capabilities search and category filters only. */
@media (min-width:901px) {
  body[data-page="services"] .search-wrap input#service-search {
    font-size:20px;
  }
  body[data-page="services"] .filter-row .filter-button {
    font-size:20px;
  }
}

/* V1.29 | Mobile Downloads: enlarge email button and installer notice only. */
@media (max-width:900px) {
  body[data-page="downloads"] .download-support .download-email {
    font-size:16px;
    padding:16px 20px;
    line-height:1.4;
  }
  body[data-page="downloads"] main .section p.download-note {
    font-size:16px;
    line-height:1.55;
  }
}

/* Desktop-only offshore viewer: reserve a clear model viewport above controls. */
@media (min-width:901px) {
  #offshore-viewer {
    min-height:clamp(540px,42vw,620px);
  }
  #offshore-viewer #viewer-canvas {
    inset:88px 12px 160px;
  }
}

/* Desktop offshore viewer: typography only; preserve viewport and framing. */
@media (min-width:901px) {
  #offshore-viewer .viewer-head .viewer-code,
  #offshore-viewer .viewer-status,
  #offshore-viewer .viewer-caption,
  #offshore-viewer .viewer-note {
    font-size:12px;
  }
  #offshore-viewer .view-btn,
  #offshore-viewer .view-tool {
    font-size:14px;
  }
  #offshore-viewer .viewer-overlay h3 {
    font-size:20px;
  }
  #offshore-viewer .viewer-overlay p {
    font-size:13px;
  }
  #offshore-viewer #viewer-start {
    font-size:14px;
  }
}

/* Keep the instruction above both control rows on desktop. */
@media (min-width:901px) {
  #offshore-viewer .viewer-note {
    bottom:180px;
    right:26px;
    line-height:1.4;
    z-index:8;
  }
  #offshore-viewer .viewer-actions .view-btn,
  #offshore-viewer .viewer-actions .view-tool {
    line-height:1.3;
  }
}

/* Desktop: keep the hint and toolbar in separate layout rows. */
@media (min-width:901px) {
  #offshore-viewer {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    grid-template-rows:minmax(0,1fr) auto auto;
  }
  #offshore-viewer > .viewer-note {
    position:relative;
    inset:auto;
    grid-column:1;
    grid-row:2;
    margin:0 26px 20px;
    line-height:1.5;
    white-space:normal;
    z-index:8;
  }
  #offshore-viewer > .viewer-actions {
    position:relative;
    inset:auto;
    grid-column:1;
    grid-row:3;
    margin:0 18px 20px;
  }
  .site-header .topline {
    height:28px;
    font-size:13px;
    line-height:1.3;
  }
  .site-header .topline .container > span {
    font-size:inherit;
  }
}

/* V1.29 | Shared desktop footer: consistent type and clear column spacing. */
@media (min-width:901px) {
  .footer .footer-grid {
    grid-template-columns:minmax(0,1.55fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.35fr);
    column-gap:clamp(24px,3vw,48px);
    row-gap:24px;
  }
  .footer .footer-grid > div { min-width:0; }
  .footer .footer-grid .brand-type,
  .footer .footer-grid .brand-type b,
  .footer .footer-grid .brand-type small,
  .footer .footer-grid h4,
  .footer .footer-grid p,
  .footer .footer-grid a:not(.brand) {
    font-size:17px;
    line-height:1.55;
    overflow-wrap:anywhere;
  }
  .footer .footer-grid .brand-type,
  .footer .footer-grid .brand-type small { letter-spacing:.025em; white-space:normal; }
  .footer .footer-grid .brand { margin-bottom:14px; align-items:center; }
  .footer .footer-grid h4 { margin:0 0 12px; letter-spacing:.045em; }
  .footer .footer-grid p { margin:0 0 10px; }
  .footer .footer-grid a:not(.brand) { margin:0 0 5px; padding-block:2px; }
}

/* V1.29 | Match desktop header and footer branding. */
@media (min-width:901px) {
  .site-header .nav-inner > .brand,
  .footer .footer-grid .brand {
    gap:10px;
    align-items:center;
    min-width:0;
  }
  .site-header .nav-inner > .brand .brand-mark,
  .footer .footer-grid .brand .brand-mark {
    width:50px;
    height:56px;
    flex:none;
  }
  .site-header .nav-inner > .brand .brand-type,
  .site-header .nav-inner > .brand .brand-type b,
  .site-header .nav-inner > .brand .brand-type small,
  .footer .footer-grid .brand-type,
  .footer .footer-grid .brand-type b,
  .footer .footer-grid .brand-type small {
    font-size:17px;
    line-height:1.3;
    letter-spacing:.025em;
    white-space:normal;
  }
  .site-header .nav-inner > .brand .brand-type small,
  .footer .footer-grid .brand-type small {
    margin-top:5px;
  }
}

/* V1.29 | Match Company portfolio link to Projects gallery link on desktop. */
@media (min-width:901px) {
  body[data-page="about"] .text-link[href="services.html"],
  body[data-page="about"] .text-link[href="services.html"] .arr {
    font-size:17px;
  }
}

/* V1.29 | Home company statistics: match the adjacent descriptive copy. */
@media (min-width:901px) {
  body[data-page="home"] .stat-list .stat-box .s {
    font-size:17px;
    white-space:nowrap;
  }
  body[data-page="home"] .stat-list + div > .text-link[href="about.html"] {
    font-size:17px;
  }
  body[data-page="service"] .next-service > .text-link {
    font-size:16px;
  }
}
@media (max-width:900px) {
  body[data-page="home"] .stat-list .stat-box .s {
    font-size:18px;
  }
}

/* V1.29 | Match Home project imagery link to the desktop company link. */
@media (min-width:901px) {
  body[data-page="home"] .section-header > .text-link[href="projects.html"],
  body[data-page="home"] .section-header > .text-link[href="projects.html"] .arr {
    font-size:17px;
  }
}

/* Company Activities: compact original-photo gallery. */
body[data-page="activities"] .activities-section { padding-block:24px; }
body[data-page="activities"] .activities-section h2 { margin:8px 0; }
body[data-page="activities"] .activities-section .lead { margin-bottom:12px; }
body[data-page="activities"] .activities-section .activities-grid { width:min(100%,760px); margin:12px 0 16px; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }
body[data-page="activities"] .activities-grid .gallery-tile { aspect-ratio:16/10; }
body[data-page="activities"] .activities-grid .gallery-tile img { object-fit:contain; }
@media(min-width:901px) {
 .site-header .nav-inner > .desktop-nav { flex-wrap:wrap; justify-content:flex-end; column-gap:clamp(8px,1vw,16px); row-gap:0; min-width:0; }
 .site-header .nav-inner > .brand { flex-shrink:0; }
 .site-header .nav-inner > .desktop-nav > a, .site-header .nav-inner > .desktop-nav > .nav-drop > button { font-size:15px; }
 body[data-page="activities"] .activities-section .activities-grid { grid-template-columns:repeat(5,minmax(0,1fr)); }
 body[data-page="activities"] .activities-section .lead { font-size:20px; }
 body[data-page="activities"] .activities-back { font-size:17px; }
}
@media(max-width:900px) {
 body[data-page="activities"] .activities-section .lead { font-size:18px; }
 body[data-page="activities"] .activities-section .activities-grid { gap:7px; }
}

/* Activities: use the existing light content palette, on every viewport. */
body[data-page="activities"] main .activities-section {
  color-scheme:light;
  --text:var(--ink);
  --muted:#435e70;
  --cyan:var(--teal);
  --cyan2:#085b61;
  --line:#d2dfe6;
  --line2:#acbfcb;
  background:var(--paper,#f8fafb);
  color:var(--ink,#112e42);
}
body[data-page="activities"] main .activities-section h2 { color:var(--ink,#112e42); }
body[data-page="activities"] main .activities-section .lead { color:var(--muted); }
body[data-page="activities"] main .activities-section .activities-back { color:var(--teal); }

/* Activities refinement: desktop thumbnails only; shared viewer controls. */
@media (min-width:901px) {
  body[data-page="about"] .text-link[href="activities.html"],
  body[data-page="about"] .text-link[href="activities.html"] .arr { font-size:17px; }
  body[data-page="activities"] .activities-section .activities-grid { width:min(100%, clamp(860px, 65vw, 1000px)); }
}
body[data-page="about"] .text-link[href="activities.html"] { margin-left:18px; }
body[data-page="activities"] .activity-zoom-stage { flex:1; min-height:0; width:100%; display:grid; place-items:center; overflow:hidden; touch-action:none; }
body[data-page="activities"] .activity-zoom-stage img { max-height:100%; max-width:100%; min-height:0; user-select:none; -webkit-user-drag:none; touch-action:none; }
body[data-page="activities"] .activity-zoom-tools { display:flex; gap:8px; margin-top:10px; }
body[data-page="activities"] .activity-zoom-tools button { position:static; display:grid; place-items:center; }
body[data-page="activities"] .activity-zoom-tools svg { width:24px; height:24px; }
body[data-page="activities"] .lightbox > button { z-index:2; }

/* Navigation: desktop spacing and consistent mobile menu labels. */
@media (min-width:901px) {
  .site-header .desktop-nav #services-toggle > span { display:none; }
}
@media (max-width:900px) {
  .site-header .mobile-panel > a,
  .site-header .mobile-panel .mobile-capabilities > summary,
  .site-header .mobile-panel .mobile-subnav a { font-size:16px; }
}


/* V1.29 | Mobile-only final refinements. Desktop remains unchanged. */
@media (max-width:900px) {
  /* Body copy is 18px; these three links are exactly 2px smaller. */
  body[data-page="projects"] .split .text-link[href="services.html"],
  body[data-page="about"] .text-link[href="services.html"],
  body[data-page="about"] .text-link[href="activities.html"] {
    font-size:16px;
  }
  body[data-page="projects"] .split .text-link[href="services.html"] .arr,
  body[data-page="about"] .text-link[href="services.html"] .arr,
  body[data-page="about"] .text-link[href="activities.html"] .arr {
    font-size:inherit;
  }
  /* Fit all three software tags on one line, scaling to available width. */
  body[data-page="downloads"] .download-tags {
    display:flex;
    flex-wrap:nowrap;
    justify-content:space-between;
    gap:4px;
    width:100%;
    container-type:inline-size;
  }
  body[data-page="downloads"] .download-tags span {
    flex:1 1 auto;
    min-width:0;
    text-align:center;
    white-space:nowrap;
    font-size:12px;
    font-size:clamp(8px, 2.8cqw, 15px);
    padding:6px clamp(2px, 1cqw, 7px);
  }
}
@media (max-width:600px) {
  /* Match the left edge of Technical to Engineering in the two-column strip. */
  body[data-page="home"] .strip-inner > .strip-item:nth-child(3) {
    padding-inline-start:0;
  }
}


/* V1.29 | Home text links: match Company and Projects per viewport. */
@media (max-width:900px) {
  body[data-page="home"] .section-header > .text-link[href="services.html"],
  body[data-page="home"] .stat-list + div > .text-link[href="about.html"],
  body[data-page="home"] .section-header > .text-link[href="projects.html"] {
    font-size:16px;
  }
  body[data-page="home"] .section-header > .text-link[href="services.html"] .arr,
  body[data-page="home"] .stat-list + div > .text-link[href="about.html"] .arr,
  body[data-page="home"] .section-header > .text-link[href="projects.html"] .arr {
    font-size:inherit;
  }
}
@media (min-width:901px) {
  body[data-page="home"] .section-header > .text-link[href="services.html"],
  body[data-page="home"] .section-header > .text-link[href="services.html"] .arr {
    font-size:17px;
  }
}

/* V1.29 | Projects showcase link: match existing text links per viewport. */
@media (min-width:901px) {
  body[data-page="projects"] .section-header > .text-link[href="technology.html"] { font-size:17px; }
}
@media (max-width:900px) {
  body[data-page="projects"] .section-header > .text-link[href="technology.html"] { font-size:16px; }
}
