/* Blurred background-media hero. The foreground text is never blurred. */
.s2-photo-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100vh;
  min-height: calc(100svh - var(--wp-admin--admin-bar--height, 0px));
  display: flex;
  align-items: center;
  background: #102a3d;
  color: #fff;
}
.s2-photo-hero__background, .s2-photo-hero__shade { position: absolute; inset: 0; pointer-events: none; }
.s2-photo-hero__background { z-index: -3; overflow: hidden; }
.s2-photo-hero__background img,
.s2-photo-hero__background video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 52% 42%;
  filter: blur(6px);
  transform: scale(1.06);
}
.s2-photo-hero__background video { opacity: 0; }
.s2-photo-hero.is-video-ready .s2-photo-hero__background video { opacity: 1; }
.s2-photo-hero.is-video-ready .s2-photo-hero__background img { opacity: 0; }
.s2-photo-hero__shade {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(4,19,31,.78) 0%, rgba(4,19,31,.14) 30%, rgba(4,19,31,.1) 63%, rgba(4,19,31,.85) 100%),
    linear-gradient(90deg, rgba(6,25,41,.87) 0%, rgba(6,25,41,.72) 46%, rgba(6,25,41,.48) 100%);
}
.s2-photo-hero__inner { position: relative; z-index: 1; padding-block: 172px 148px; }
.s2-photo-hero__copy { max-width: 1120px; }
.s2-photo-hero .s2-hero-eyebrow { display: flex; align-items: center; justify-content: flex-start; gap: 14px; color: #c5e7f7; font-size: 11px; margin-bottom: 26px; }
.s2-photo-hero .s2-blue-dot { background: #52ddf6; }
.s2-photo-hero h1 { color: #fff; font-size: clamp(48px, 5.35vw, 80px); line-height: 1.08; letter-spacing: -.05em; font-weight: 600; text-shadow: 0 3px 25px #00111d45; }
.s2-photo-hero h1 > span { color: #d1effb; }
.swyft-studio .s2-photo-hero .s2-hero-description { color: #e5eef4; font-size: 18px; line-height: 1.8; max-width: 660px; margin: 28px 0 0; }
.s2-photo-hero__mobile-intro { display: none; }
.s2-photo-hero .s2-hero-actions { justify-content: flex-start; gap: 25px; margin-top: 31px; }
.s2-photo-hero .s2-button--light { color: #103b59; background: #fff; border-color: #fff; font-size: 14px; min-height: 55px; }
.s2-photo-hero .s2-button--light:hover { background: #b6edfa; border-color: #b6edfa; color: #082b42; }
.s2-photo-hero .s2-button--text { color: #fff; background: transparent; }
.s2-photo-hero .s2-button--text:hover { color: #c5f3ff; background: #ffffff12; }
.swyft-studio .s2-photo-hero .s2-hero-reassurance { color: #c6d8e4; margin-top: 22px; font-size: 12px; }
.s2-photo-hero__footer { position: absolute; z-index: 2; inset: auto 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.s2-photo-hero__footer a { display: inline-flex; align-items: center; min-height: 44px; gap: 26px; color: #fff; font-size: 12px; }
.s2-photo-hero__footer a > span { font-size: 22px; }
.s2-photo-hero__footer a:hover { color: #a8eafa; }
.swyft-studio .s2-hero-video-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; min-width: 120px; padding: 9px 14px; border: 1px solid #d8eafa70; border-radius: 6px; background: #082237c9; color: #fff; font-size: 11px; line-height: 1.5; }
.swyft-studio .s2-hero-video-toggle:hover { background: #174b6ce6; border-color: #c7ecff; }
.s2-hero-video-toggle > span:first-child { font-size: 15px; line-height: 1; }

/* The photographic header is a homepage exception. Other pages retain the shared header. */
.s2-photo-home .s2-header { position: fixed; inset: 0 0 auto; width: 100%; background: transparent; border-bottom-color: #ffffff26; backdrop-filter: none; -webkit-backdrop-filter: none; transition: background .18s, border-color .18s; }
.s2-photo-home .s2-header::before { opacity: .85; }
.s2-photo-home .s2-header:not(.is-scrolled) .s2-desktop-nav a { color: #fff; }
.s2-photo-home .s2-header:not(.is-scrolled) .s2-desktop-nav a:hover { color: #9eeaff; }
.s2-photo-home .s2-header:not(.is-scrolled) .s2-menu-toggle span { background: #fff; }
.s2-photo-home .s2-header .s2-logo { width: 180px; height: 50px; background: #fff; border-radius: 7px; }
.s2-photo-home .s2-header .s2-logo img { width: 197px; left: -9px; top: -22px; }
.s2-photo-home .s2-header.is-scrolled { background: #fffffff5; border-bottom-color: #cddfed; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.s2-photo-home .s2-header-actions .s2-button { min-height: 44px; }
.s2-photo-home .s2-mobile-fallback { color: #fff; }
.s2-photo-home .is-scrolled .s2-mobile-fallback { color: #263e51; }
/* Without JavaScript, use a solid header so navigation stays readable below the hero. */
.s2-photo-home:not(.s2-js) .s2-header { background: #fff; border-bottom-color: #cddfed; }
.s2-photo-home:not(.s2-js) .s2-header .s2-desktop-nav a,
.s2-photo-home:not(.s2-js) .s2-header .s2-mobile-fallback { color: #263e51; }

@media (min-width: 1600px) {
  .s2-photo-hero__inner { padding-block: 195px 180px; }
}
@media (max-width: 1000px) {
  .s2-photo-hero__inner { padding-block: 151px 129px; }
  .s2-photo-hero h1 { font-size: 58px; max-width: 850px; }
  .swyft-studio .s2-photo-hero .s2-hero-description { font-size: 17px; max-width: 620px; }
}
@media (max-width: 720px) {
  .s2-photo-hero__background img, .s2-photo-hero__background video { object-position: 48% 40%; filter: blur(5px); transform: scale(1.075); }
  .s2-photo-hero__shade { background: linear-gradient(180deg, #04131fc9, #071e32a8 38%, #061b30c4 78%, #041421ed); }
  .s2-photo-hero__inner { padding-block: 145px 135px; }
  .s2-photo-home:not(.s2-js) .s2-photo-hero__inner { padding-top: 210px; }
  .s2-photo-hero .s2-hero-eyebrow { font-size: 9px; gap: 10px; margin-bottom: 24px; }
  .s2-photo-hero h1 { font-size: clamp(34px, 9.3vw, 58px); line-height: 1.13; letter-spacing: -.045em; }
  .swyft-studio .s2-photo-hero .s2-hero-description { font-size: 16px; max-width: 450px; line-height: 1.85; margin-top: 23px; }
  .s2-photo-hero__desktop-intro { display: none; }
  .s2-photo-hero__mobile-intro { display: inline; }
  .s2-photo-hero .s2-hero-actions { gap: 15px; flex-wrap: wrap; margin-top: 26px; }
  .s2-photo-hero .s2-button--light { font-size: 13px; min-height: 52px; padding-inline: 21px; }
  .s2-photo-hero .s2-button--text { font-size: 12px; }
  .swyft-studio .s2-photo-hero .s2-hero-reassurance { font-size: 11px; line-height: 1.7; margin-top: 19px; }
  .s2-photo-hero__footer { bottom: 20px; align-items: flex-end; gap: 17px; }
  .s2-photo-hero__footer a { font-size: 11px; gap: 17px; }
  .swyft-studio .s2-hero-video-toggle { min-width: 109px; padding-inline: 11px; }
  .s2-photo-home .s2-header .s2-logo { width: 160px; height: 44px; }
  .s2-photo-home .s2-header .s2-logo img { width: 179px; left: -8px; top: -20px; }
}
@media (max-width: 374px) {
  .s2-photo-hero h1 { font-size: 33px; }
  .s2-photo-hero .s2-hero-actions .s2-button--text { display: none; }
  .s2-photo-hero__footer a { gap: 12px; }
}
@media (max-height: 600px) and (min-width: 721px) {
  .s2-photo-hero__inner { padding-block: 128px 120px; }
  .s2-photo-hero h1 { font-size: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  .s2-photo-home .s2-header { transition: none; }
}
@media print {
  .s2-photo-home .s2-header, .s2-photo-hero__background, .s2-photo-hero__shade, .s2-photo-hero__footer { display: none !important; }
  .s2-photo-hero { min-height: 0; background: #fff; color: #14212b; }
  .s2-photo-hero__inner { padding-block: 25px; }
  .s2-photo-hero h1, .s2-photo-hero h1 > span, .swyft-studio .s2-photo-hero .s2-hero-description, .swyft-studio .s2-photo-hero .s2-hero-reassurance { color: #14212b; text-shadow: none; }
}
