/* Step 1: shared header + home hero. The remaining page designs come later. */
:root { --marine-blue: #003b61; --marine-cyan: #18b6de; }
.site-header { color: #fff; background: none; border: 0; z-index: 5; font-family: 'Segoe UI', 'Helvetica Neue', system-ui, sans-serif; transition: background-color .35s ease; }
.header--overlay { position: absolute; inset: 0 0 auto; }
.header--solid { position: relative; background: #092b42; }
.header-utility { border-bottom: 1px solid rgb(255 255 255 / 17%); }
.utility-inner { min-height: 64px; display: flex; justify-content: flex-end; align-items: center; gap: 26px; }
.utility-inner a, .utility-inner button { font-size: .875rem; line-height: 1.3; font-weight: 350; letter-spacing: .025em; color: rgb(255 255 255 / 83%); transition: color .3s ease, background-color .3s ease, border-color .3s ease; }
.language-switch { display: inline-flex; min-width: 34px; min-height: 42px; align-items: center; justify-content: center; font-weight: 600 !important; }
.utility-catalog { display: inline-flex; align-items: center; gap: 9px; background: none; border: 0; padding: 10px 0; cursor: pointer; }
.utility-catalog svg, .customer-login svg { width: 19px; height: 19px; flex-shrink: 0; }
.customer-login { display: inline-flex; align-items: center; gap: 11px; border: 1px solid rgb(255 255 255 / 32%); border-radius: 3px; padding: 12px 18px; min-height: 44px; background: rgb(255 255 255 / 3%); cursor: pointer; transition: background .2s, border-color .2s; }
.customer-login:hover { background: rgb(255 255 255 / 12%); border-color: rgb(255 255 255 / 65%); text-decoration: none; }
.header-main { min-height: 148px; display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.site-brand { display: flex; flex-shrink: 0; width: 174px; position: relative; }
.site-brand img { display: block; width: 100%; height: auto; }
.header-navigation { display: flex; align-items: center; justify-content: flex-end; gap: clamp(24px, 3.7vw, 54px); padding: 0 0 0 12px; }
.header-navigation a { position: relative; padding: 16px 0; font-size: .9375rem; font-weight: 300; letter-spacing: .035em; color: rgb(255 255 255 / 79%); white-space: nowrap; transition: color .35s ease; }
.header-navigation a:hover { text-decoration: none; color: #fff; }
.header-navigation a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.header-navigation a:hover::after, .header-navigation a[aria-current=page]::after { transform: scaleX(1); }
.header-menu-toggle { display: none; color: #fff; background: none; border: 0; padding: 12px 0 12px 16px; align-items: center; gap: 12px; cursor: pointer; }
.header-menu-toggle[hidden] { display: none; }
.menu-lines { width: 24px; height: 14px; border-top: 1px solid #fff; border-bottom: 1px solid #fff; position: relative; }
.menu-lines::before { content: ''; position: absolute; top: 6px; left: 0; width: 18px; border-top: 1px solid #fff; }
.menu-label { font-size: .875rem; }
.marine-hero { min-height: 100svh; position: relative; display: flex; flex-direction: column; color: #fff; background: #123a52; overflow: hidden; }
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media { background: #123a52; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; display: block; }
.hero-shade { background: linear-gradient(90deg, rgb(4 29 48 / 73%) 0%, rgb(7 35 55 / 48%) 48%, rgb(4 23 38 / 25%) 100%), linear-gradient(180deg, rgb(6 28 43 / 37%) 0%, transparent 40%, rgb(3 22 36 / 47%) 100%); }
.marine-hero-main { position: relative; flex: 1; padding-top: clamp(240px, 29svh, 350px); padding-bottom: 40px; }
.hero-kicker { font-size: .75rem; line-height: 1.6; letter-spacing: .18em; color: rgb(255 255 255 / 78%); margin-bottom: 20px; font-weight: 500; }
.hero-panel { max-width: 760px; }
.hero-panel[hidden] { display: none; }
.hero-panel h1 { font-size: clamp(2.8rem, 3.6vw, 4.15rem); font-weight: 500; line-height: 1.17; letter-spacing: -.035em; color: #fff; }
.marine-hero-description { max-width: 590px; font-size: 1.0625rem; line-height: 1.65; color: rgb(255 255 255 / 84%); margin-top: 26px; }
.hero-discover { display: inline-flex; align-items: center; gap: 17px; min-height: 51px; color: #17374b; background: #fff; border-radius: 3px; font-size: .9375rem; padding: 14px 24px; margin-top: 36px; transition: background .2s; }
.hero-discover span { font-size: 1.1rem; font-weight: 400; }
.hero-discover:hover { text-decoration: none; background: #e5f3f8; }
.marine-hero-bottom { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 42px; padding-bottom: 40px; }
.hero-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 45px; width: min(960px, calc(100% - 82px)); margin: 0; }
.hero-tab { position: relative; text-align: left; color: rgb(255 255 255 / 62%); border: 0; background: none; padding: 8px 0 14px; cursor: pointer; transition: color .4s ease; }
.hero-tab-number { font-size: .75rem; display: block; margin-bottom: 11px; color: rgb(255 255 255 / 48%); }
.hero-tab-label { display: block; font-size: .875rem; line-height: 1.5; font-weight: 500; }
.hero-tab-track { display: block; height: 2px; background: rgb(255 255 255 / 29%); position: absolute; inset: auto 0 0; }
.hero-tab-track::after { content: ''; position: absolute; inset: 0; background: var(--marine-cyan); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.hero-tab[aria-selected=true] { color: #fff; }
.hero-tab[aria-selected=true] .hero-tab-number { color: rgb(255 255 255 / 78%); }
.hero-tab[aria-selected=true] .hero-tab-track::after { transform: scaleX(1); }
.hero-tab:hover { color: #fff; }
.video-toggle { display: inline-flex; width: 40px; height: 40px; flex-shrink: 0; align-items: center; justify-content: center; border: 1px solid rgb(255 255 255 / 35%); color: #fff; background: rgb(0 0 0 / 8%); border-radius: 50%; cursor: pointer; transition: background-color .3s ease, border-color .3s ease; }
.video-toggle:hover { background: rgb(255 255 255 / 14%); }
.video-toggle[hidden] { display: none; }
.video-toggle svg { width: 19px; height: 19px; }
.video-toggle .play-symbol, .video-toggle.is-paused .pause-symbol { display: none; }
.video-toggle.is-paused .play-symbol { display: block; }
.site-header :is(a, button):focus-visible, .marine-hero :is(a, button):focus-visible { outline-color: #fff; }
.availability-dialog { width: min(460px, calc(100% - 40px)); border: 0; border-radius: 3px; color: #17374b; padding: 44px 38px; box-shadow: 0 20px 100px rgb(0 0 0 / 20%); }
.availability-dialog::backdrop { background: rgb(4 20 31 / 72%); backdrop-filter: blur(6px); }
.availability-dialog h2 { font-size: 1.875rem; line-height: 1.2; margin: 17px 0; }
.availability-dialog p:not(.dialog-eyebrow) { font-size: 1rem; line-height: 1.7; }
.dialog-eyebrow { color: #1c688a; font-size: .75rem; letter-spacing: .1em; }
.dialog-close { position: absolute; right: 13px; top: 9px; border: 0; color: #385263; background: none; font-size: 1.75rem; width: 40px; height: 40px; cursor: pointer; }
.availability-label { display: inline-block; font-size: .875rem; color: #327393; margin-top: 27px; border-top: 1px solid #dce4e8; padding-top: 16px; width: 100%; }
.inner-page .page-intro { padding-top: 58px; }
.service-card { scroll-margin-top: 30px; }
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: page-out .2s ease both; }
::view-transition-new(root) { animation: page-in .4s ease both; }
@keyframes page-out { to { opacity: 0; } }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
@media(min-width:1600px) { .site-header .container, .marine-hero .container { width: min(1340px, calc(100% - 96px)); } .header-main { min-height: 157px; } }
@media(max-width:1200px) and (min-width:761px) { .header-main { gap: 24px; } .header-navigation { gap: 22px; } .site-brand { width: 146px; } .header-navigation a { font-size: .875rem; } }
@media(max-width:900px) { .header-main { gap: 20px; } .header-navigation { gap: 18px; } .site-brand { width: 132px; } .hero-tabs { gap: 28px; } .marine-hero-bottom { gap: 24px; } }
@media(max-width:760px) {
    .utility-inner { min-height: 59px; gap: 19px; }
    .utility-inner a, .utility-inner button { font-size: .8125rem; }
    .customer-login { padding: 9px 12px; gap: 8px; min-height: 38px; }
    .utility-catalog { gap: 7px; }
    .utility-catalog svg, .customer-login svg { width: 16px; height: 16px; }
    .language-switch { min-width: 24px; }
    .header-main { min-height: 123px; flex-wrap: wrap; gap: 0; padding-block: 12px; }
    .site-brand { width: 132px; }
    .js .header-menu-toggle:not([hidden]) { display: inline-flex; }
    .header-navigation { width: 100%; justify-content: flex-start; flex-wrap: wrap; gap: 0; padding: 10px 0 0; }
    .header-navigation a { padding: 10px 20px 10px 0; font-size: .9375rem; }
    .js .header-navigation { display: flex; flex-direction: column; align-items: stretch; max-height: 0; visibility: hidden; overflow: hidden; opacity: 0; padding: 0; pointer-events: none; transition: none !important; }
    .js .header-navigation.is-ready { transition: max-height .45s ease, opacity .3s ease, padding .45s ease, visibility .45s !important; }
    .js .header-navigation.is-open { max-height: 330px; visibility: visible; opacity: 1; pointer-events: auto; padding: 20px 0; }
    .js .header-navigation.is-open a { padding: 14px 0; border-bottom: 1px solid rgb(255 255 255 / 14%); }
    .header-navigation a::after { display: none; }
    .site-header.menu-is-open { background: #092b42; }
    .marine-hero { min-height: max(760px, 100svh); }
    .marine-hero-main { padding-top: 248px; padding-bottom: 92px; }
    .hero-kicker { font-size: .75rem; letter-spacing: .12em; margin-bottom: 22px; max-width: 300px; }
    .hero-panel h1 { font-size: clamp(2.1rem, 6.4vw, 3rem); line-height: 1.23; overflow-wrap: break-word; }
    .marine-hero-description { font-size: 1rem; margin-top: 24px; max-width: 510px; }
    .hero-discover { margin-top: 30px; padding: 13px 20px; font-size: .875rem; }
    .hero-shade { background: linear-gradient(90deg, rgb(4 29 48 / 78%), rgb(7 35 55 / 43%)), linear-gradient(180deg, rgb(6 28 43 / 22%), transparent 40%, rgb(3 22 36 / 55%)); }
    .hero-media video { object-position: 53% center; }
    .marine-hero-bottom { padding-bottom: 30px; flex-direction: column; align-items: center; gap: 24px; }
    .hero-tabs { width: 100%; gap: 18px; }
    .hero-tab-label { font-size: .8125rem; min-height: 39px; }
    .hero-tab-number { font-size: .75rem; margin-bottom: 8px; }
    .video-toggle { position: static; width: 36px; height: 36px; }
}
@media(max-width:360px) {
    .utility-inner { gap: 13px; }
    .customer-login { padding-inline: 9px; }
    .customer-login svg { display: none; }
    .hero-panel h1 { font-size: 2rem; }
    .hero-tabs { gap: 12px; }
}
/* Keep the requested soft fades even when the OS disables motion. */
.site-header :is(a, button), .site-header, .header-navigation, .hero-tab, .hero-tab-track::after, .hero-discover, .video-toggle { transition-duration: .35s !important; transition-property: color, background-color, border-color, opacity, transform, max-height, padding, visibility !important; }
