/* Volatech 3.0.4: the homepage shares its first viewport with the navigation. */
body:has(.home-hero) {
  --home-admin-bar: 0px;
  --home-header-height: 82px;
}
body.admin-bar:has(.home-hero) { --home-admin-bar: 32px; }
body:has(.home-hero) .site-header {
  position: absolute;
  inset: var(--home-admin-bar) 0 auto;
  background: transparent;
  border-bottom-color: #ffffff26;
}
body:has(.home-hero) .nav-inner { height: var(--home-header-height); }
body:has(.home-hero) .site-header .company-brand {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
/* Homepage-only sharp logo; the shared white-page and footer logo is unchanged. */
body:has(.home-hero) .site-header .company-brand img {
  width: 144px;
  height: auto;
  filter: none;
}
body:has(.home-hero) .primary-navigation { color: #edf5f8; }
body:has(.home-hero) .primary-navigation > a:hover,
body:has(.home-hero) .nav-solutions > summary:hover { color: #82dce5; }
body:has(.home-hero) .nav-contact {
  border-color: #ffffff66;
  background: #ffffff08;
}
body:has(.home-hero) .nav-contact:hover { background: #ffffff14; }
body:has(.home-hero) .nav-dropdown { color: #132c42; }
body:has(.home-hero) .nav-dropdown a:hover { color: #007b8c; }
.home-hero {
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - var(--home-admin-bar));
  padding-top: var(--home-header-height);
}
.home-hero .hero-inner {
  flex: 1 0 auto;
  min-height: 0;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr);
  padding-block: clamp(24px, 4svh, 40px);
}
.home-hero .hero-copy { min-width: 0; }
.home-hero .hero-copy .eyebrow { margin-bottom: 16px; }
.home-hero .hero-copy h1 {
  font-size: clamp(52px, min(5.2vw, 8.6svh), 78px);
  line-height: 1.03;
  letter-spacing: -.05em;
}
.home-hero .hero-copy .hero-description {
  max-width: 530px;
  margin-top: 20px;
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.65;
}
.home-hero .hero-actions { margin-top: 24px; gap: 12px; }
.home-hero .hero-actions .wp-block-button__link {
  min-height: 46px;
  padding: 12px 18px;
  gap: 20px;
  font-size: 12px;
}
.home-hero .hero-signature {
  margin-top: 22px;
  font-size: 11px;
  line-height: 1.6;
}
.home-hero .hero-art { inset: 0; width: 100%; height: 100%; object-position: center 44%; }
.home-hero .hero-shade {
  background: linear-gradient(180deg, #071526cc, #07152600 180px),
    linear-gradient(90deg, #071526fa 0, #071526ed 26%, #07152699 43%, #07152605 68%),
    linear-gradient(0deg, #071526ef, #07152600 38%);
}
.home-hero .coordinate { top: 12px; }
.home-hero .portfolio-lanes { padding-block: 20px 22px; gap: 32px; }
.home-hero .portfolio-lanes span { margin-bottom: 6px; font-size: 9px; }
.home-hero .portfolio-lanes strong { font-size: 12px; line-height: 1.6; }
.home-hero .portfolio-lanes b { top: 17px; }
@media (min-width: 851px) and (max-height: 760px) {
  .home-hero .hero-inner { padding-block: 22px; }
  .home-hero .hero-copy h1 { font-size: clamp(46px, min(5.2vw, 8.3svh), 64px); }
  .home-hero .hero-copy .eyebrow { margin-bottom: 12px; }
  .home-hero .hero-copy .hero-description { margin-top: 16px; font-size: 16px; }
  .home-hero .hero-actions { margin-top: 20px; }
  .home-hero .hero-signature { margin-top: 18px; }
  .home-hero .portfolio-lanes { padding-block: 16px 18px; }
}
@media (max-width: 850px) {
  body:has(.home-hero) { --home-header-height: 70px; }
  body:has(.home-hero) .site-header .company-brand img { width: 128px; }
  body:has(.home-hero) .nav-toggle {
    color: #fff;
    background: #ffffff08;
    border-color: #ffffff66;
  }
  body:has(.home-hero) .primary-navigation {
    top: var(--home-header-height);
    max-height: calc(100dvh - var(--home-header-height) - var(--home-admin-bar));
    background: #fff;
    color: #132c42;
  }
  body:has(.home-hero) .primary-navigation > a:hover,
  body:has(.home-hero) .nav-solutions > summary:hover { color: #007b8c; }
  body:has(.home-hero) .nav-contact { background: #f3f6f8; border-color: #c5d6e0; }
  body:has(.home-hero) .nav-contact:hover { background: #e8f2f5; }
  .home-hero .hero-inner { grid-template-columns: minmax(0, 1.5fr) minmax(0, .5fr); }
  .home-hero .hero-copy h1 { font-size: clamp(46px, 7.7vw, 62px); }
  .home-hero .hero-shade {
    background: linear-gradient(180deg, #071526dd, #07152600 150px),
      linear-gradient(90deg, #071526fa, #071526df 45%, #07152655),
      linear-gradient(0deg, #071526ef, #07152600 40%);
  }
  .home-hero .portfolio-lanes { gap: 20px; }
}
@media (max-width: 782px) {
  body.admin-bar:has(.home-hero) { --home-admin-bar: 46px; }
}
@media (max-width: 600px) {
  .home-hero { min-height: 0; }
  .home-hero .hero-inner {
    display: block;
    min-height: 0;
    padding-block: 24px 165px;
  }
  .home-hero .hero-copy .eyebrow { font-size: 8px; margin-bottom: 15px; }
  .home-hero .hero-copy h1 { font-size: clamp(38px, 10.8vw, 54px); }
  .home-hero .hero-copy .hero-description {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.65;
  }
  .home-hero .hero-actions { margin-top: 22px; gap: 10px; }
  .home-hero .hero-actions .wp-block-button__link {
    min-height: 44px;
    padding: 11px 14px;
    gap: 14px;
    font-size: 11.5px;
  }
  .home-hero .hero-signature { margin-top: 20px; font-size: 10px; }
  .home-hero .hero-art {
    inset: auto auto 90px -25%;
    width: 125%;
    max-width: none;
    height: 420px;
    object-position: 67% center;
  }
  .home-hero .hero-shade {
    background: linear-gradient(180deg, #071526 0, #071526 36%, #071526da 49%, #07152626 66%, #071526e8 82%, #071526 100%);
  }
  .home-hero .hero-aside { position: absolute; right: 0; bottom: 25px; height: auto; }
  .home-hero .art-caption { font-size: 9px; }
  .home-hero .portfolio-lanes { padding-block: 0 12px; gap: 0; }
  .home-hero .portfolio-lanes a { padding-block: 14px; }
  .home-hero .portfolio-lanes span { margin-bottom: 4px; }
  .home-hero .portfolio-lanes strong { font-size: 11px; }
  .home-hero .portfolio-lanes b { top: 25px; }
}
