.hero {
  --hero-height: clamp(620px, 35.4vw, 680px);
  min-height: var(--hero-height);
  display: flex;
  align-items: flex-end;
  padding: 0;
  color: #ffffff;
  background-image: linear-gradient(90deg, #142b47 0%, rgba(8, 25, 45, 0.42) 38%, rgba(8, 25, 45, 0.04) 72%), url("../assets/home-hero.png");
  background-size: calc(var(--hero-height) * 16 / 9) 100%, auto 100%;
  background-repeat: no-repeat;
  background-position: right center;
  background-color: #142b47;
}

.hero-inner {
  padding: 48px 0 64px;
}

.hero-copy { max-width: 720px; min-height: calc(var(--hero-height) - 112px); display: flex; flex-direction: column; }
.hero-text {
  /* Increase this value to move the heading and subtitle down. */
  --hero-text-offset: 72px;
  margin-top: calc(clamp(40px, 5vw, 80px) + var(--hero-text-offset));
}
.hero-copy h1,
.hero-copy p { color: #ffffff; }
.hero-copy h1 { max-width: 100%; font-size: clamp(2rem, 2.8vw, 3.25rem); }
.hero-copy .lead { max-width: none; font-size: 1.05rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
}

.hero-actions .site-button-secondary {
  background: rgba(255, 255, 255, 0.9);
  border-color: transparent;
}

.service-section { padding: 88px 0 0; }
.service-section .section-header { padding-bottom: 32px; }

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 430px;
}

.service-block:nth-of-type(odd) { background: #ffffff; }
.service-block:nth-of-type(even) { background: #eef4fa; }

.service-content {
  display: flex;
  align-items: center;
  padding: 64px max(32px, 5vw);
}

.service-copy { max-width: 560px; }
.service-copy p { max-width: 48ch; }
.service-visual { min-height: 430px; }
.service-visual img { width: 100%; height: 100%; object-fit: cover; }

.service-link {
  margin-top: 22px;
  font-size: 0.95rem;
}

.about-support { padding: 104px 0 0; background: #ffffff; }
.about-support > .container,
.video-section > .container,
.contact-cta > .container { max-width: 1100px; }
.about-support .about-intro { width: 100%; max-width: none; padding-bottom: 48px; }
.about-support .about-intro h2 { font-size: clamp(2rem, 3.2vw, 3rem); }
.about-support .about-intro .lead { max-width: 100%; font-size: clamp(1.125rem, 1.55vw, 1.375rem); line-height: 1.7; }
.about-support .about-intro .inline-link { font-size: clamp(1.0625rem, 1.35vw, 1.1875rem); line-height: 1.7; }

.support-intro { padding: 0 0 24px; }
.support-intro p { font-weight: 700; color: var(--text); }
.about-support .support-intro p { font-size: clamp(1.125rem, 1.8vw, 1.5625rem); line-height: 1.7; }
.accordion-wrap { background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; padding: 0; }
.about-support .accordion-item { border-bottom: 1px solid var(--line); }
.about-support .accordion-trigger { padding: 26px 0; gap: 20px; font-size: clamp(1.125rem, 1.8vw, 1.5625rem); line-height: 1.7; }
.about-support .accordion-trigger .icon { flex-shrink: 0; }
.about-support .accordion-panel { padding: 0 0 26px; }
.about-support .accordion-panel > p { max-width: 100%; border-left: 3px solid var(--brand); padding-left: 22px; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.7; }

.industry-section { padding-top: 104px; }
.industry-section .industry-grid { margin-top: 34px; gap: 14px; border: 0; }
.industry-section .industry-item { border: 0; }
.industry-section .industry-media { overflow: hidden; }

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .industry-section .industry-media img { transition: transform 200ms ease; }
  .industry-section .industry-item:hover .industry-media img { transform: scale(1.02); }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .industry-section .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.video-section { padding-top: 104px; }
.video-section h2 { margin-bottom: 28px; }
.video-wrapper { background: transparent; }
.video-wrapper iframe { width: 100%; aspect-ratio: 16 / 9; display: block; border: 0; }

.contact-cta .cta-block {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 64px 24px;
  text-align: center;
  background: #292b38;
}

.contact-cta .cta-block h2 { margin-bottom: 0; color: #66a6e8; }
.contact-cta .cta-block p { margin: 14px 0 0; color: #f4f7fb; }
.contact-cta .cta-actions { display: flex; align-items: center; justify-content: center; }
.contact-cta .cta-actions .inline-link { margin-top: 8px; color: #ffffff; }
.contact-cta .mail-link { display: grid; place-items: center; width: 62px; height: 62px; margin-top: 8px; border: 1px solid #ffffff; border-radius: 50%; color: #ffffff; }
.contact-cta .mail-link svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }


@media (max-width: 920px) {
  .hero { --hero-height: 560px; min-height: 560px; background-size: cover; background-position: center, 70% center; }
  .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-block { grid-template-columns: 1fr; }
  .service-block:nth-of-type(odd) .service-content { order: 1; }
  .service-block:nth-of-type(odd) .service-visual { order: 2; }
  .service-block:nth-of-type(even) .service-visual { order: 1; }
  .service-block:nth-of-type(even) .service-content { order: 2; }
  .service-visual { min-height: 320px; }
  .contact-cta .cta-block { grid-template-columns: 1fr; }
  .contact-cta .cta-actions { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .hero { min-height: 560px; background-position: center, 72% center; }
  .industry-grid { grid-template-columns: 1fr; }
  .hero-inner { padding-bottom: 48px; }
  .hero-copy { min-height: calc(var(--hero-height) - 96px); }
  .hero-copy h1 { font-size: clamp(1.75rem, 7.2vw, 2rem); }
  .service-content { padding: 52px 20px; }
  .service-visual { min-height: 250px; }
  .about-support,
  .industry-section,
  .video-section { padding-top: 76px; }
  .about-support .about-intro { padding-bottom: 36px; }
}

/* Fill the desktop viewport below the 76px header and its 1px border. */
@media (min-width: 921px) {
  .hero {
    --hero-height: calc(100vh - 77px);
    --hero-height: calc(100dvh - 77px);
  }

  .hero-text {
    margin-top: clamp(24px, 12vh, 152px);
  }
}