/* Home page: company story and the figures supplied by PROFLEET. */
.landing-page { background: #f7f8f7; }
html { scroll-behavior: smooth; }
.marine-hero::after { content: ''; position: absolute; inset: auto 0 0; height: 140px; background: linear-gradient(transparent, #0b2333); pointer-events: none; }
.marine-hero-bottom { z-index: 1; }
.company-story { position: relative; padding-block: 130px 96px; background: #f7f8f7; }
.company-story::before { content: ''; position: absolute; inset: 0 0 auto; height: 82px; background: linear-gradient(#0b2333, #40535d 18%, #b1babd 52%, #e9edeb 80%, #f7f8f7); pointer-events: none; }
.company-story .container, .company-figures .container { max-width: 1160px; }
.section-caption { color: #59707c; font-size: .6875rem; letter-spacing: .18em; font-weight: 500; margin-bottom: 18px; }
.story-tabs { display: flex; gap: clamp(30px, 4.5vw, 66px); align-items: center; }
.story-tab-heading { min-width: 0; }
.story-tab { display: flex; align-items: center; gap: 14px; position: relative; border: 0; padding: 8px 0 19px; background: none; color: #7c929d; cursor: pointer; text-align: left; transition: color .35s ease !important; }
.story-tab::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #218cab; transform: scaleX(0); transform-origin: left; transition: transform .45s ease !important; }
.story-tab[aria-selected=true]::after { transform: scaleX(1); }
.story-tab:hover { color: #234a5d; }
.story-tab svg { width: 24px; height: 24px; flex-shrink: 0; transition: transform .35s ease, opacity .35s ease !important; }
.story-tab:hover svg { transform: translateX(4px); }
.story-tab[aria-selected=true] svg { opacity: 0; }
.ocean-title { color: inherit; font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif; font-size: clamp(2.375rem, 4.5vw, 4.5rem); font-weight: 650; line-height: 1.14; letter-spacing: -.055em; padding-bottom: .06em; white-space: nowrap; }
.story-tab[aria-selected=true] .ocean-title { color: #12384a; }
@supports (background-clip: text) or (-webkit-background-clip: text) {
    .story-tab[aria-selected=true] .ocean-title { background-image: url('../img/ocean-waves.jpg'); background-position: center 46%; background-size: cover; background-clip: text; -webkit-background-clip: text; color: transparent; }
}
.story-layout { display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr); align-items: start; column-gap: clamp(44px, 6.7vw, 96px); margin-top: 52px; }
.story-panels { min-width: 0; overflow: hidden; }
.story-panel[hidden] { display: none; }
.story-panel:focus-visible { outline: 2px solid #218cab; outline-offset: -2px; }
.story-service-title { color: #183847; font-size: clamp(1.375rem, 2vw, 1.75rem); font-weight: 400; line-height: 1.4; letter-spacing: -.02em; margin-bottom: 22px; }
.story-supplies { margin-top: 32px; padding-top: 22px; border-top: 1px solid #d4dedf; }
.story-supplies h4 { margin: 0 0 18px; color: #376577; font-size: .6875rem; font-weight: 500; letter-spacing: .12em; }
.story-supplies ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 26px; list-style: none; padding: 0; margin: 0; }
.story-supplies li { position: relative; padding: 10px 0 10px 13px; border-bottom: 1px solid #e0e6e5; color: #51646d; font-size: .8125rem; line-height: 1.65; }
.story-supplies li::before { content: ''; position: absolute; left: 0; top: 19px; width: 4px; height: 4px; background: #218cab; border-radius: 50%; }
.story-image { position: relative; margin: 0; aspect-ratio: 1 / 1.13; overflow: hidden; background: #103947; }
.story-image::after { content: ''; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgb(4 24 35 / 78%)); pointer-events: none; }
.story-image img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 53%; display: block; }
.story-image figcaption { position: absolute; left: 34px; bottom: 32px; right: 28px; z-index: 1; color: #fff; display: flex; flex-direction: column; gap: 8px; }
.story-availability { font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif; font-size: 3.125rem; letter-spacing: -.045em; font-weight: 300; line-height: 1; }
.story-availability span { font-size: .55em; color: #94d5df; font-weight: 300; }
.story-image figcaption > span:last-child { font-size: .8125rem; color: rgb(255 255 255 / 78%); letter-spacing: .04em; }
.story-copy p { color: #51646d; font-size: .9375rem; line-height: 1.85; }
.story-copy p + p { margin-top: 20px; }
.story-copy .story-lead { color: #183847; font-size: 1.3125rem; line-height: 1.65; font-weight: 400; letter-spacing: -.015em; }
.story-locations { display: flex; flex-wrap: wrap; gap: 10px 22px; border-top: 1px solid #d4dedf; margin-top: 28px; padding-top: 18px; font-size: .75rem; color: #376577; }
.story-locations span { display: inline-flex; align-items: center; gap: 8px; }
.story-locations span::before { content: ''; width: 4px; height: 4px; background: #1c92b1; border-radius: 50%; }
.company-figures { position: relative; overflow: hidden; padding-block: 86px 66px; background: #173a4c; }
.figures-sky, .figures-shade { position: absolute; inset: 0; pointer-events: none; }
/* Show only the top quarter of the existing photograph: its cloud-filled sky. */
.figures-sky { overflow: hidden; }
.figures-sky img { display: block; width: 100%; height: 440%; object-fit: cover; object-position: 60% top; }
.figures-shade { background: linear-gradient(180deg, rgb(32 65 85 / 64%), rgb(17 48 65 / 82%)); }
.company-figures::before { content: ''; position: absolute; inset: 0 0 auto; height: 64px; z-index: 1; background: linear-gradient(#f7f8f7, rgb(247 248 247 / 0%)); pointer-events: none; }
.company-figures::after { content: ''; position: absolute; inset: auto 0 0; height: 66px; z-index: 1; background: linear-gradient(transparent, #173a4c); pointer-events: none; }
.company-figures .container { position: relative; z-index: 2; }
.figures-heading { display: flex; align-items: center; gap: 28px; margin-bottom: 26px; }
.figures-heading h2 { font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif; font-size: clamp(1.125rem, 2vw, 1.625rem); font-weight: 400; line-height: 1.3; letter-spacing: .015em; color: #f0f6f8; flex-shrink: 0; }
.figures-rule { flex: 1; height: 1px; background: rgb(212 231 239 / 23%); }
.figures-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 42px; margin: 0; }
.company-figure { position: relative; display: flex; flex-direction: column; border-top: 1px solid rgb(212 231 239 / 23%); padding: 22px 0 22px 44px; }
.company-figure dt { font-size: .75rem; font-weight: 400; line-height: 1.6; color: #d2e0e7; margin-top: 7px; }
.figure-icon { position: absolute; top: 27px; left: 0; width: 24px; height: 24px; color: #a9d1e1; }
.company-figure dd { order: -1; margin: 0; color: #f5f9fa; font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif; font-size: clamp(1.875rem, 3vw, 2.5rem); font-weight: 350; letter-spacing: -.035em; line-height: 1.12; font-variant-numeric: lining-nums tabular-nums; }
.company-figure dd > span { color: #a9d1e1; font-size: .65em; display: inline-block; vertical-align: top; padding-top: .13em; margin-left: 3px; }
.technical-range { position: relative; overflow: hidden; background: #102e3e; color: #fff; }
.range-media, .range-shade { position: absolute; inset: 0; }
.range-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 65% center; }
.range-shade { background: linear-gradient(90deg, rgb(5 29 44 / 93%), rgb(7 34 48 / 82%) 50%, rgb(8 30 44 / 52%)), linear-gradient(0deg, rgb(5 26 39 / 80%), transparent 70%); }
.technical-range::before { content: ''; position: absolute; inset: 0 0 auto; height: 66px; background: linear-gradient(#173a4c, rgb(23 58 76 / 0%)); z-index: 1; pointer-events: none; }
.range-content { position: relative; z-index: 1; padding-block: 104px 76px; }
.range-heading h2 { color: #fff; font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif; font-size: clamp(1.875rem, 3.15vw, 2.875rem); font-weight: 400; line-height: 1.3; letter-spacing: -.025em; }
.range-heading p { color: rgb(255 255 255 / 69%); font-size: 1rem; margin-top: 14px; line-height: 1.65; }
.range-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 42px; padding: 0; margin: 48px 0 0; list-style: none; }
.range-item { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; min-height: 140px; padding: 24px 0; border-top: 1px solid rgb(200 223 231 / 23%); }
.range-icon { width: 30px; height: 30px; color: #a3c8d5; flex-shrink: 0; }
.range-item h3 { color: rgb(255 255 255 / 89%); font-size: .875rem; font-weight: 400; letter-spacing: .005em; line-height: 1.65; max-width: 240px; }
/* Content remains visible if JavaScript or IntersectionObserver is unavailable. */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.6,.3,1) !important; }
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }
@media(min-width:1600px) { .company-story .container, .company-figures .container, .technical-range .container { width: min(1340px, calc(100% - 96px)); max-width: 1340px; } }
@media(max-width:1000px) {
    .story-layout { column-gap: 40px; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
    .story-image { aspect-ratio: 1 / 1.5; }
    .figures-grid { column-gap: 26px; }
    .range-grid { gap: 0 28px; }
}
@media(max-width:760px) {
    .company-story { padding-block: 110px 52px; }
    .company-story::before { height: 64px; }
    .section-caption { font-size: .625rem; margin-bottom: 20px; letter-spacing: .13em; }
    .story-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .story-tab { gap: 6px; width: 100%; padding-bottom: 14px; }
    .story-tab svg { width: 14px; height: 14px; }
    .ocean-title { font-size: clamp(.9375rem, 4.8vw, 1.65rem); letter-spacing: -.055em; }
    .story-layout { grid-template-columns: 1fr; gap: 32px; margin-top: 30px; }
    .story-image { aspect-ratio: 1.35 / 1; }
    .story-image figcaption { left: 24px; bottom: 24px; }
    .story-availability { font-size: 2.5rem; }
    .story-copy .story-lead { font-size: 1.1875rem; }
    .story-copy p { font-size: .9375rem; line-height: 1.85; }
    .story-locations { gap: 10px 18px; font-size: .6875rem; }
    .story-supplies ul { grid-template-columns: 1fr; }
    .company-figures { padding-block: 74px 50px; }
    .company-figures::before { height: 48px; }
    .company-figures::after { height: 50px; }
    .figures-heading { gap: 16px; margin-bottom: 24px; }
    .figures-heading h2 { font-size: clamp(1rem, 4.1vw, 1.375rem); }
    .figures-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; }
    .company-figure { padding: 20px 0 20px 32px; }
    .figure-icon { width: 20px; height: 20px; top: 22px; }
    .company-figure dd { font-size: clamp(1.375rem, 5.8vw, 1.875rem); }
    .company-figure dt { font-size: .6875rem; max-width: 160px; margin-top: 7px; }
    .company-figure:last-child { grid-column: 1 / -1; }
    .range-content { padding-block: 86px 46px; }
    .technical-range::before { height: 48px; }
    .range-heading h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
    .range-heading p { font-size: .9375rem; margin-top: 16px; }
    .range-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin-top: 36px; }
    .range-item { min-height: 142px; gap: 14px; padding-block: 22px; }
    .range-item h3 { font-size: .8125rem; line-height: 1.7; }
    .range-icon { width: 28px; height: 28px; }
    .range-media img { object-position: 76% center; }
    .range-shade { background: linear-gradient(90deg, rgb(5 29 44 / 88%), rgb(8 30 44 / 77%)), linear-gradient(0deg, rgb(5 26 39 / 82%), transparent 70%); }
}
@media print {
    .figures-sky, .figures-shade, .company-figures::before, .company-figures::after { display: none; }
    .company-figures { background: #fff; }
    .figures-heading h2, .company-figure dt, .company-figure dd, .company-figure dd > span, .figure-icon { color: #173949; }
    .reveal-ready [data-reveal] { opacity: 1; transform: none; }
    .ocean-title { background: none; color: #12384a; }
}
