:root {
  --navy: #0b1220;
  --ink: #172033;
  --muted: #607086;
  --line: #dce5ef;
  --soft: #f4f7fb;
  --blue: #155eef;
  --cyan: #00a3c7;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.essia-modern {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(220, 229, 239, .9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--navy);
  font-weight: 800;
}

.brand img {
  width: auto;
  height: 62px;
  max-width: 218px;
  object-fit: contain;
}

.brand span {
  max-width: 240px;
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.15;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  padding: 10px 12px;
  color: #344054;
  border-radius: 6px;
}

.nav-links a:hover {
  color: var(--blue);
  background: #eef4ff;
}

.nav-links .nav-button {
  color: #fff;
  background: var(--blue);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  color: #fff;
  background: var(--blue);
  border: 0;
  border-radius: 7px;
  font-weight: 900;
  cursor: pointer;
}

.session-chip {
  color: #075985 !important;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
}

.session-chip.signed {
  color: #166534 !important;
  background: #dcfce7;
  border-color: #bbf7d0;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 86vh;
  display: grid;
  grid-template-columns: minmax(390px, 52vw) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
  padding: clamp(64px, 8vw, 112px) clamp(20px, 6vw, 84px);
  color: #fff;
  background:
    linear-gradient(100deg, rgba(8, 18, 36, .96) 0%, rgba(13, 34, 70, .9) 45%, rgba(21, 94, 239, .28) 100%),
    url("../img/hero-bg1.jpg") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(8, 18, 36, 0) 0%, rgba(8, 18, 36, .12) 34%, rgba(8, 18, 36, .58) 56%, rgba(8, 18, 36, .92) 76%, #081224 100%),
    linear-gradient(135deg, rgba(18, 185, 215, 0) 18%, rgba(18, 185, 215, .14) 52%, rgba(21, 94, 239, .28) 100%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  grid-column: 2;
  justify-self: center;
  max-width: 850px;
}

.eyebrow,
.section-title span,
.remote-panel span,
.portal-band span,
.contact-info span {
  display: inline-flex;
  margin-bottom: 14px;
  color: #12b9d7;
  font-size: clamp(16px, 1.35vw, 20px);
  font-weight: 900;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 930px;
  margin: 0 0 22px;
  font-size: clamp(39px, 5.4vw, 72px);
  font-weight: 900;
  line-height: 1.02;
}

.hero-lead {
  max-width: 760px;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: min(56vw, 840px);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(34px, 5vw, 74px) clamp(34px, 5vw, 86px) clamp(34px, 5vw, 74px) clamp(20px, 4vw, 62px);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 18, 36, .1) 0%, rgba(8, 18, 36, .18) 24%, rgba(8, 18, 36, .34) 46%, rgba(8, 18, 36, .58) 68%, rgba(8, 18, 36, .82) 86%, rgba(8, 18, 36, .95) 100%);
  pointer-events: none;
}

.hero-visual img {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  max-width: 640px;
  max-height: 78vh;
  height: auto;
  object-fit: contain;
  object-position: center;
  opacity: .9;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse at 45% 50%, #000 0%, #000 54%, rgba(0, 0, 0, .78) 70%, transparent 94%);
  mask-image: radial-gradient(ellipse at 45% 50%, #000 0%, #000 54%, rgba(0, 0, 0, .78) 70%, transparent 94%);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 18px;
  font-weight: 900;
  border: 1px solid transparent;
  border-radius: 7px;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(21, 94, 239, .24);
}

.button.ghost {
  color: #fff;
  background: rgba(255, 255, 255, .09);
  border-color: rgba(255, 255, 255, .34);
}

.button.dark {
  background: var(--navy);
}

.hero-card {
  padding: 28px;
  color: var(--ink);
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .28);
}

.hero-logo {
  display: block;
  width: min(230px, 100%);
  height: auto;
  margin-bottom: 18px;
}

.status-pill {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 10px;
  color: #075985;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.hero-card h2 {
  margin: 0 0 14px;
  font-size: 25px;
}

.hero-card ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-card li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.hero-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 50%;
}

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

.balance-section article {
  min-height: 430px;
  padding: clamp(34px, 6vw, 76px);
  background: #fff;
}

.balance-section article:first-child {
  border-top: 6px solid var(--blue);
}

.balance-section article:last-child {
  border-top: 6px solid var(--cyan);
}

.balance-section span {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 11px;
  color: #075985;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .7px;
  text-transform: uppercase;
}

.balance-section h2 {
  max-width: 620px;
  margin: 0 0 14px;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.balance-section p {
  max-width: 690px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 17px;
}

.balance-section ul {
  display: grid;
  gap: 12px;
  max-width: 620px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.balance-section li {
  position: relative;
  padding-left: 28px;
  color: #344054;
  font-weight: 700;
}

.balance-section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 11px;
  height: 11px;
  background: var(--blue);
  border-radius: 50%;
}

.balance-section article:last-child li::before {
  background: var(--cyan);
}

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

.metric-strip div {
  min-height: 112px;
  padding: 22px clamp(18px, 4vw, 44px);
  background: #fff;
}

.metric-strip strong {
  display: block;
  color: var(--blue);
  font-size: 25px;
  line-height: 1;
}

.metric-strip span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: clamp(64px, 8vw, 104px) clamp(20px, 6vw, 84px);
}

.section.compact {
  padding-top: 82px;
}

.section-title {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-title h2,
.remote-panel h2,
.portal-band h2,
.contact-info h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.section-title p,
.remote-panel p,
.portal-band p,
.contact-info p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

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

.service-card,
.systems-layout article {
  min-height: 260px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .07);
}

.service-card.featured {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.service-card i {
  display: inline-grid;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 8px;
  font-size: 21px;
}

.service-card h3,
.systems-layout h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.18;
}

.service-card p,
.systems-layout p {
  margin: 0;
  color: var(--muted);
}

.service-card.featured p {
  color: rgba(255, 255, 255, .82);
}

.remote-section {
  padding: clamp(64px, 8vw, 108px) clamp(20px, 6vw, 84px);
  background:
    linear-gradient(90deg, rgba(11, 18, 32, .9), rgba(11, 18, 32, .78)),
    url("../img/services-bg.jpg") center / cover no-repeat;
}

.remote-panel {
  max-width: 1080px;
  color: #fff;
}

.remote-panel h2 {
  max-width: 900px;
  color: #fff;
}

.remote-panel p {
  max-width: 760px;
  color: rgba(255, 255, 255, .82);
}

.remote-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.remote-list div {
  min-height: 168px;
  padding: 22px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
}

.remote-list i {
  margin-bottom: 18px;
  color: #67e8f9;
  font-size: 26px;
}

.remote-list p {
  margin: 0;
  font-size: 15px;
}

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

.systems-layout article {
  min-height: 240px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.equipment-section {
  background: #fff;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.equipment-grid article {
  min-height: 270px;
  padding: 30px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), #123b77);
  border-radius: 8px;
  box-shadow: 0 22px 48px rgba(15, 23, 42, .12);
}

.equipment-grid article:nth-child(2) {
  background: linear-gradient(135deg, #0f3f63, #087ea4);
}

.equipment-grid article:nth-child(3) {
  background: linear-gradient(135deg, #16335f, var(--blue));
}

.equipment-grid article:nth-child(4) {
  background: linear-gradient(135deg, #0b1220, #0f766e);
}

.equipment-grid i {
  margin-bottom: 22px;
  color: #67e8f9;
  font-size: 34px;
}

.equipment-grid h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.equipment-grid p {
  margin: 0;
  color: rgba(255, 255, 255, .82);
}

.access-section {
  padding: clamp(64px, 8vw, 104px) clamp(20px, 6vw, 84px);
  background:
    linear-gradient(90deg, rgba(11, 18, 32, .94), rgba(15, 63, 99, .84)),
    url("../img/subscribe-bg.jpg") center / cover no-repeat;
}

.access-section .section-title h2,
.access-section .section-title p {
  color: #fff;
}

.access-section .section-title p {
  color: rgba(255, 255, 255, .82);
}

.access-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.access-grid article {
  min-height: 210px;
  padding: 24px;
  color: #fff;
  background: rgba(255, 255, 255, .11);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
}

.access-grid i {
  margin-bottom: 18px;
  color: #67e8f9;
  font-size: 28px;
}

.access-grid h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.access-grid p {
  margin: 0;
  color: rgba(255, 255, 255, .82);
}

.projects-section {
  padding: clamp(64px, 8vw, 104px) clamp(20px, 6vw, 84px);
  background: var(--soft);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.project-grid article {
  position: relative;
  min-height: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: #07182d;
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(15, 23, 42, .14);
  cursor: zoom-in;
}

.project-grid article:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.project-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 18, 32, 0), rgba(11, 18, 32, .68));
}

.project-grid div {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 14px;
  color: #fff;
}

.project-grid h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 0 0 4px;
  font-size: clamp(14px, 1.25vw, 17px);
  line-height: 1.12;
}

.project-grid p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 0;
  color: rgba(255, 255, 255, .8);
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 700;
  line-height: 1.2;
}

.project-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 44px);
  background: rgba(8, 18, 36, .88);
  backdrop-filter: blur(10px);
}

.project-lightbox.open {
  display: flex;
}

.project-lightbox figure {
  width: min(1120px, 96vw);
  margin: 0;
  color: #fff;
}

.project-lightbox img {
  display: block;
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  background: #07182d;
  border-radius: 8px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .42);
}

.project-lightbox figcaption {
  margin-top: 12px;
  font-weight: 800;
  text-align: center;
}

.project-lightbox-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 44px;
  height: 44px;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.clients-section {
  background: #fff;
}

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

.client-grid article {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 46px rgba(15, 23, 42, .08);
}

.client-grid img {
  width: 260px;
  max-width: 100%;
  height: 150px;
  object-fit: contain;
  margin-bottom: 22px;
  padding: 4px;
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  filter: saturate(1.04) contrast(1.04);
}

.client-featured img {
  width: 260px;
  height: 150px;
  padding: 4px;
}

.client-grid img.bdo-logo {
  width: 190px;
  height: 120px;
  padding: 14px;
}

.client-grid img.client-logo-large {
  width: 360px;
  height: 215px;
  padding: 0;
}

.client-grid img.client-logo-wide {
  width: 360px;
  height: 190px;
  padding: 0;
}

.client-grid img.client-logo-commercial {
  width: 360px;
  height: 215px;
  padding: 0;
}

.client-grid h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 21px;
}

.client-grid p {
  margin: 0;
  color: var(--muted);
}

.client-featured {
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, var(--blue), var(--cyan)) border-box;
  border: 2px solid transparent !important;
}

.portal-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(48px, 6vw, 72px) clamp(20px, 6vw, 84px);
  background: #eef4ff;
  border-top: 1px solid #c7d7fe;
  border-bottom: 1px solid #c7d7fe;
}

.portal-band div {
  max-width: 760px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(340px, .8fr);
  gap: clamp(28px, 5vw, 66px);
  padding: clamp(64px, 8vw, 104px) clamp(20px, 6vw, 84px);
  background: #fff;
}

.contact-info {
  max-width: 620px;
}

.contact-info a {
  display: block;
  margin-top: 12px;
  color: var(--blue);
  font-weight: 900;
}

.contact-form {
  padding: 26px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 12px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  font: inherit;
}

.contact-form button {
  width: 100%;
}

#sendmessage,
#errormessage {
  display: none;
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 7px;
  font-weight: 800;
}

#sendmessage {
  color: #166534;
  background: #dcfce7;
}

#errormessage {
  color: #991b1b;
  background: #fee2e2;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 24px clamp(20px, 6vw, 84px);
  color: rgba(255, 255, 255, .74);
  background: var(--navy);
  font-size: 14px;
}

.footer span:first-child {
  color: #fff;
  font-weight: 900;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  color: #fff;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 18px 36px rgba(0, 0, 0, .26);
  font-size: 30px;
}

.portal-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(11, 18, 32, .92), rgba(21, 94, 239, .68)),
    url("../img/hero-bg1.jpg") center / cover no-repeat;
}

.portal-card {
  width: min(440px, 100%);
  padding: 28px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, .32);
}

.portal-card img {
  width: min(220px, 100%);
  height: auto;
  margin-bottom: 18px;
}

.portal-card h1 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 30px;
}

.portal-card input {
  width: 100%;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.portal-card .button {
  width: 100%;
}

.portal-shell {
  min-height: 100vh;
  background: var(--soft);
}

.portal-header {
  padding: 18px clamp(20px, 6vw, 70px);
  color: #fff;
  background: #101827;
}

.portal-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.portal-header img {
  width: 178px;
  height: auto;
  padding: 8px 10px;
  background: #fff;
  border-radius: 8px;
}

.portal-user {
  text-align: right;
  color: rgba(255, 255, 255, .8);
}

.portal-user strong {
  display: block;
  color: #fff;
}

.portal-user a {
  color: #b9eeff;
  font-weight: 900;
}

.portal-grid {
  max-width: 1100px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 auto;
  padding: 28px 20px;
}

.alert {
  margin-bottom: 14px;
  padding: 12px;
  color: #9f1239;
  background: #fff1f2;
  border-radius: 6px;
}

@media (max-width: 1040px) {
  .hero,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .remote-list,
  .systems-layout,
  .equipment-grid,
  .access-grid,
  .project-grid,
  .client-grid,
  .portal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 760px) {
  body.essia-modern {
    overflow-x: hidden;
  }

  .topbar {
    position: static;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 16px;
  }

  .brand {
    gap: 10px;
  }

  .brand img {
    height: 48px;
    max-width: 158px;
  }

  .brand span {
    max-width: 190px;
    font-size: 15px;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    justify-content: flex-start;
    width: 100%;
    gap: 6px;
    padding: 10px;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 13px;
  }

  .nav-links.open {
    display: grid;
    grid-template-columns: 1fr;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #e8eef6;
    border-radius: 6px;
  }

  .nav-links .nav-button {
    justify-content: center;
    background: var(--blue);
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 48px 22px 42px;
  }

  .hero-copy {
    grid-column: 1;
    justify-self: start;
    max-width: 100%;
  }

  .hero h1 {
    font-size: 40px;
    line-height: 1.05;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 190px;
  }

  .hero-visual {
    position: absolute;
    inset: 0;
    width: 100%;
    justify-content: center;
    padding: 0;
  }

  .hero-visual img {
    max-width: none;
    width: 100%;
    max-height: none;
    height: 100%;
    object-fit: cover;
    opacity: .12;
    mix-blend-mode: screen;
  }

  .hero-visual::before {
    background: linear-gradient(90deg, rgba(8, 18, 36, .82), rgba(8, 18, 36, .5));
  }

  .metric-strip,
  .balance-section,
  .service-grid,
  .remote-list,
  .systems-layout,
  .equipment-grid,
  .access-grid,
  .project-grid,
  .client-grid,
  .portal-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .projects-section,
  .clients-section,
  .contact-section,
  .access-section {
    padding: 48px 18px;
  }

  .section-title h2 {
    font-size: 30px;
  }

  .project-grid article {
    aspect-ratio: 16 / 10;
  }

  .project-lightbox {
    padding: 16px;
  }

  .project-lightbox img {
    max-height: 74vh;
  }

  .client-grid article {
    min-height: 260px;
    padding: 22px;
  }

  .client-grid img,
  .client-grid img.client-logo-large,
  .client-grid img.client-logo-wide,
  .client-grid img.client-logo-commercial {
    width: min(300px, 100%);
    height: 170px;
  }

  .portal-band,
  .footer,
  .portal-header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .portal-user {
    text-align: left;
  }
}
