/* © 2026. Borys Liashchenko · AB1 Engineering LLC · AB1 Software · Powered by Nexus. */
:root {
  --ink: #24344b;
  --paper: #edf1f5;
  --green: #64768b;
  --acid: #c92737;
  --muted: #526378;
  --line: rgba(36, 52, 75, 0.16);
  --contact-fill: rgba(240, 139, 57, 0.48);
}
body,
.hero,
.site-header {
  background: #edf1f5;
}
.brand {
  color: #080875;
}
.brand-word .brand-one {
  color: #e51b2b;
}
.brand-sub {
  color: #198229;
}
.brand-light {
  background: white;
  padding: 12px 16px;
  border-radius: 4px;
}
.nav a:after {
  background: #c92737;
}
.hero-grid:has(.ocean-hero) h1,
.hero-lede,
.menu-toggle {
  color: #24344b;
}
.ocean-hero:after {
  background: linear-gradient(
    90deg,
    #edf1f5 0%,
    rgba(237, 241, 245, 0.85) 7%,
    transparent 35%
  );
}
.hero-actions .button,
.button,
.button-light,
.header-cta {
  background: var(--contact-fill);
  color: #24344b;
  border: 1px solid rgba(206, 109, 30, 0.55);
  border-radius: 4px;
  backdrop-filter: blur(8px);
}
.button span,
.hero-actions .button span,
.button-light span {
  color: #24344b;
}
.button:hover,
.button-light:hover,
.hero-actions .button:hover {
  background: rgba(240, 139, 57, 0.7);
  color: #24344b;
}
.button:focus-visible {
  outline: 3px solid #24344b;
  outline-offset: 4px;
}
.header-cta {
  display: inline-flex;
  margin-left: 32px;
  min-width: 135px;
  gap: 18px;
  text-transform: none;
}
.service-card:hover p,
.service-card:hover .card-no {
  color: #d6dee8;
}
.service-card:hover b span {
  color: #fff;
}
.method-grid h2 em,
.cta-copy h2 em,
.contact-intro h1 em {
  color: #fff;
}
.step > span,
.footer-grid small,
.contact-direct small {
  color: #d7e2ec;
}
.eyebrow span,
.eyebrow.light span {
  background: #198229;
}
.core {
  background: #edf1f5;
  color: #24344b;
}
.orbit-ring,
.office-lines i {
  border-color: rgba(100, 118, 139, 0.65);
}
.route-line {
  stroke: #198229;
}
.status-dot,
.route-meta .green {
  color: #198229;
}
.check-list li:before,
.service-index,
.service-card b span {
  color: #198229;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #64768b;
  box-shadow: 0 0 0 2px rgba(100, 118, 139, 0.18);
}
@media (max-width: 900px) {
  .header-cta {
    display: none;
  }
  .ocean-hero:after {
    background: linear-gradient(180deg, #edf1f5 0%, transparent 45%);
  }
}
.site-header {
  height: 88px;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: #edf1f5;
}
.brand,
.brand-light {
  position: relative;
  width: 64px;
  height: 46px;
  overflow: hidden;
  display: block;
  padding: 0;
  background: transparent;
  border-radius: 0;
}
/* The supplied logo has wide white margins. Crop them visually without editing the original image. */
.brand img {
  position: absolute;
  width: 440%;
  height: auto;
  max-width: none;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  mix-blend-mode: multiply;
}
.header-cta {
  padding: 6px 14px;
  min-height: 36px;
}
.site-footer {
  background: #edf1f5;
  color: #24344b;
  border-top: 1px solid var(--line);
}
.footer-top,
.footer-bottom {
  border-color: var(--line);
}
.footer-top p,
.footer-grid p,
.footer-bottom {
  color: #526378;
}
.footer-grid small {
  color: #24344b;
}
.footer-grid a:hover {
  color: #176b49;
}
.site-header .brand {
  width: 100px;
  height: 74px;
}
.site-footer {
  padding-top: 24px;
}
.footer-grid {
  padding-top: 12px;
  padding-bottom: 28px;
}
html {
  scroll-padding-top: 104px;
  scrollbar-gutter: stable;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}
.hero-grid:has(.ocean-hero) {
  display: block;
  padding-top: 24px;
  padding-bottom: 32px;
  min-height: 550px;
}
.hero-grid .hero-copy {
  width: 59.8%;
  max-width: 780px;
}
.hero-about {
  padding: 0;
  color: #000;
  display: block;
  font-size: 16px;
  line-height: 1.65;
  max-width: none;
  margin-top: 24px;
}
.hero-about p {
  margin: 0 0 16px;
}
.hero-about p:last-child {
  margin-bottom: 0;
}
.hero-grid:has(.ocean-hero) h1,
.section-heading h2,
.control-copy h2,
.cta-copy h2,
.page-hero h1,
.contact-intro h1,
.service-row h2 {
  font-size: clamp(32px, 3.57vw, 54.6px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.hero-grid:has(.ocean-hero) h1 {
  white-space: nowrap;
  width: max-content;
  max-width: calc(100vw - 14vw - 16px);
}
.hero-motto {
  font-family: var(--display);
  font-size: clamp(16px, 1.785vw, 27.3px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-align: left;
  color: #24344b;
  margin: 14px 0 0;
  font-weight: 500;
}
/* The panorama is composed at 3:1 for twice the previous image-area width.
   Contain preserves vehicle geometry; alpha fades remove rectangular edges
   instead of painting a visible opaque corner over the panel background. */
.hero-grid .ocean-hero {
  position: absolute;
  inset: 0 0 auto -20%;
  width: auto;
  max-width: none;
  height: 100%;
  margin: 0;
  z-index: 0;
}
.hero-grid .ocean-hero img {
  /* Size the element to the actual picture, not the larger contain box.
     Otherwise the fade ends in empty space and exposes a hard image edge. */
  position: absolute;
  top: 0;
  right: 0;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: right top;
  mask-image: linear-gradient(
      to right,
      transparent 0%,
      rgba(0, 0, 0, 0.06) 8%,
      rgba(0, 0, 0, 0.3) 18%,
      rgba(0, 0, 0, 0.72) 29%,
      #000 40%
    ),
    linear-gradient(to bottom, #000 90%, transparent 100%);
  mask-composite: intersect;
}
.hero-grid .ocean-hero:after {
  display: none;
  background: linear-gradient(
    90deg,
    #edf1f5 0%,
    #edf1f5 0%,
    rgba(237, 241, 245, 0.94) 20%,
    rgba(237, 241, 245, 0.7) 30%,
    transparent 38%
  );
}
@media (min-width: 1500px) {
  .hero-grid .ocean-hero {
    inset: 0 0 auto -20%;
    height: 100%;
  }
}
@media (max-width: 900px) {
  .hero-grid:has(.ocean-hero) {
    padding-top: 24px;
    padding-bottom: 40px;
    min-height: 0;
  }
  .hero-grid .hero-copy {
    width: 100%;
    max-width: none;
  }
  .hero-grid .ocean-hero {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    margin: 30px 0 0;
    max-width: 760px;
  }
  .hero-grid .ocean-hero img {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: 2172 / 724;
    mask-image: linear-gradient(to right, transparent, #000 30%);
  }
  .hero-grid .ocean-hero:after {
    display: none;
  }
}
@media (max-width: 580px) {
  .hero-about {
    font-size: 16px;
  }
  .hero-grid:has(.ocean-hero) h1 {
    font-size: clamp(19px, 5.2vw, 30px);
  }
  .hero-motto {
    font-size: clamp(9.5px, 2.6vw, 15px);
  }
  .section-heading h2,
  .control-copy h2,
  .cta-copy h2,
  .page-hero h1,
  .contact-intro h1,
  .service-row h2 {
    font-size: clamp(25px, 5.2vw, 30px);
  }
}
/* Fixed desktop columns prevent navigation from shifting between pages. */
@media (min-width: 901px) {
  .site-header {
    display: grid;
    grid-template-columns: 100px 1fr 150px;
    column-gap: 32px;
  }
  .site-header .nav {
    display: grid;
    grid-template-columns: 64px 64px 80px 80px;
    justify-content: end;
    align-items: center;
    gap: 22px;
    margin: 0;
    width: 100%;
    white-space: nowrap;
  }
  .site-header .nav a {
    text-align: center;
  }
  .site-header .header-cta {
    width: 150px;
    min-width: 150px;
    margin: 0;
    box-sizing: border-box;
    white-space: nowrap;
  }
}
@media (max-width: 900px) {
  .site-header {
    height: 88px;
  }
  .site-header .brand {
    width: 100px;
    height: 74px;
  }
  .nav {
    top: 88px;
    background: #edf1f5;
  }
  .menu-toggle {
    padding: 8px 0;
  }
}
/* © 2026. Borys Liashchenko · AB1 Engineering LLC · AB1 Software · Powered by Nexus. */
