@view-transition {navigation: auto;}
*, ::after, ::before {padding: 0; margin: 0; box-sizing: border-box;}
html {font-size: 18px; scroll-behavior: smooth; scroll-padding-top: 3rem;}
body {
    font-family: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif; 
    font-size: 0.95rem; 
    font-weight: 300; 
    line-height: 1.5; 
    color: rgb(28,28,28); 
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a {
    color: rgb(28,28,28);
    text-decoration-color: rgba(6, 16, 60, 0.8);
    text-underline-offset: 0.15rem;
    transition: 0.2s opacity ease-in-out;
}
a:not(.logo):hover {opacity: 0.5;}
a[href^="mailto:"] {text-decoration: none;}
p {margin-bottom: 1.6em;}
p:last-child {margin-bottom: 0;}
img {max-width: 100%; display: block;}
h1 {font-size: 3rem; font-weight: 500; line-height: 1; margin-bottom: 1rem;}

h2 {
    font-size: 1.2rem;
    font-family: 'Sometype Mono', monospace;  
    text-transform: uppercase;
    border-bottom: 1px solid rgba(0,0,0,0.4);
    font-weight: normal;
    margin-bottom: 2.25rem;
    padding-bottom: 0.4rem;
    letter-spacing: 0.025em;
    margin-top: 3rem;
}
h2:first-child {margin-top: 0;}
main ul {
    list-style: none;
    position: relative;
    margin-bottom: 1.6em;
}
main ul li {padding-block: 0.25rem;}
main ul + h2 {margin-top: 6rem;}
main ul:not(.tabs-nav) li {
    padding-left: 1.1rem;
}
main ul:not(.tabs-nav) li::before {
    content: '>';
    display: block;
    position: absolute;
    margin-left: -1.1rem;
}
h3, .list .title, .tab-content h4 {font-size: 2rem; font-weight: 500; line-height: 1.2; margin-block: 4rem 1.5rem;}
.list {position: relative; }
.list .title {margin-top: 0; width: 15em; max-width: 45%; position: absolute;}
.list .title + ul {margin-left: 50%; border-top: 1px solid rgba(255,255,255,0.4);}
.list .title + ul li {padding-block: 1.2rem; border-bottom: 1px solid rgba(255,255,255,0.4);}
@media (max-width: 1000px) {
    .list .title {width: 100%; max-width: 100%; position: relative; font-size: 1rem; font-weight: 300;}
    .list .title + ul {margin-left: 0;}
}
hr {border: none; border-top: 1px solid rgb(28,28,28); margin-block: 3.5rem 3.75rem;}
.container {max-width: 100rem; margin: 0 auto; padding: 0 3.25rem;}
.logo {text-decoration: none;}
.logo img, .logo svg {display: block; height: 1.15rem; width: auto;}
.btn {
    display: inline-block;
    background: #1c1c1c;
    color: #e3e3e3!important;
    text-decoration: none;
    border-radius: 1.5rem;
    line-height: 2.25rem;
    padding-inline: 1.35rem;
    border: 1px solid #1c1c1c;
    transition: 0.25s all ease-in-out;
    font-size: 1rem;
    cursor: pointer;
    font-family: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.btn:hover {
    background: transparent;
    color: rgb(28,28,28)!important;
}
.btn.reversed {
    background: transparent;
    color: rgb(28,28,28)!important;
}
.btn.reversed:hover {
    background: #1c1c1c;
    color: #e3e3e3!important;
}

/* HEADER */

header {
    background: #fff;
    color: #070708;
    padding-block: 1.75rem 0.75rem;
    font-size: 0.85rem;
    user-select: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    transition: transform 0.3s ease;
}
main {padding-top: 4rem;}
body.header-hidden header {transform: translateY(-100%);}
header .container {padding-inline: 2.25rem;}
header .container nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header .container nav ul {
    display: flex;
    gap: 2rem;
}
header a {text-decoration: none; font-weight: 500; user-select: none;}
header nav ul {
    list-style: none;
    padding-top: 0.5rem; 
}
header button {
    display: none;
    background: transparent;
    border: none;
    height: 2.4rem;
    width: 2.4rem;
    background: url(/img/menu.svg) center center / contain no-repeat;
    color: transparent;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    left: 0.4rem;
}
body.menuopen header button {
    background: url(/img/close.svg) center center / contain no-repeat;
}
@media (max-width: 1000px) {
    header button {display: block;}
    header .container nav ul {
        background: white;
        display: flex;
        position: absolute;
        top: 4.5rem;
        left: 0;
        transform: none;
        margin: 0;
        width: 100%;
        text-align: center;
        padding-block: 0 1rem;
        height: 0rem;
        flex-direction: column;
        justify-content: center;
        gap: 0;
        transition: height 0.15s ease-in-out;
        opacity: 0;
        pointer-events: none;
    }
    header .container nav ul li {
        opacity: 0;
        pointer-events: none;
        transition: none;
        transition-delay: 0s;
    }
    body.menuopen header .container nav ul {opacity: 1; height: 21rem; pointer-events: all;}
    body.menuopen header .container nav ul li {opacity: 1; pointer-events: all; transition: opacity 0.3s ease-in-out, background 0.25s ease-in-out, color 0.25s ease-in-out; transition-delay: 0.15s;}
    header .container nav ul li a {
        display: block;
        padding-block: 0.35rem;
        font-size: 1.25rem;
    }

}

@keyframes slideDown {
    from {transform: translate(-50%, -100%);}
    to {transform: translate(-50%, 0%);}
}



/* SECTIONS */

section {
    padding-block: 6rem;
    overflow: clip;
    background: #f5f5f5;
}
section .container > p:first-child,
section:not(.page,:has(p:first-child, .numbers)) h2 + p:not(:has(img)) {
    font-size: 1.92rem;
    line-height: 1.4;
    max-width: 33.5em;
    font-weight: 500;
    margin-bottom: 1.75em;
}
section > .container:has(> p:first-child) h2 ~ p {
    margin-left: 50%;
}
.dot {
    font-size: 1.2rem;
    font-family: 'Sometype Mono', monospace;  
    text-transform: uppercase;
    font-weight: 400;
    padding: 2.25rem 0 2.75rem 4rem;
    background: url(/img/markeractive.svg) left 45% / 2.8rem auto no-repeat;
    line-height: 1.2;
}
.dot + p {max-width: 63em; padding-bottom: 1rem;}
.tab-content:has(h4) > *:not(h4, .dot, .dot + p, p:has(img), img, .card),
section:has(h3):not(:has(.numbers, .accordion)) .container > *:not(p:has(img), h2, h3, .bigtext, .tabs) {
    padding-left: 50%;
}
.tab-content > h4 {padding-top: 2.8rem;}
.tab-content > h4 + * {
    border-top: 1px solid rgba(255,255,255,0.4);
    padding-top: 2rem;
    margin-top: 3rem;
}
section:nth-child(odd) {background: #1c1c1c; color: #e3e3e3;}
section:nth-child(odd) a {color: #e3e3e3;}
section:nth-child(odd) .tabs ul.tabs-nav {border-color: rgba(255, 255, 255, 0.4);}
section:nth-child(odd) .tabs ul.tabs-nav li.active a {border-color: #e3e3e3;}
section:nth-child(odd):not(.reveal) h2 {border-color: rgba(255, 255, 255, 0.4);}
h2 + .tabs ul.tabs-nav {border: 0;}
section .container > h2:first-child:has(+ .bigtext) {margin-top: -2rem;}

.tab-content > h4,
h3 {position: absolute; max-width: calc(50% - 6.5rem); margin: 0; padding-left: 0;}
p img {margin-block: 2rem 3rem;}


.tabs ul.tabs-nav {
    margin-block: 6rem 1rem; 
    list-style: none; 
    display: flex; 
    gap: 2.25em;
    position: relative;
}
h2 + .tabs ul.tabs-nav {margin-top: 4rem;}
.tabs ul.tabs-nav a {
    opacity: 0.3; 
    text-decoration: none; 
    font-size: 1.3rem;
    font-weight: 500;
    padding-bottom: 0.3rem;
    line-height: 1.6;
    display: block;
    border-bottom: 2px solid transparent;
    user-select: none;
}
.tabs ul.tabs-nav a:hover {color: inherit;}
.tabs ul.tabs-nav li {position: relative; top: 1px; padding-block: 0;}
.tabs ul.tabs-nav li.active a {opacity: 1; border-bottom: 2px solid #1c1c1c;}
.tabs .tab-content {display: none; padding-top: 1.35rem;}
.tabs .tab-content.active {display: block;}
.tabs .tab-content h3 {display: none;}
.tabs .tab-content img {width: 100%; aspect-ratio: auto; object-fit: cover;}

section:has(#our-fleet) .bigtext:not(:first-child) {padding-top: 13rem;}
section:has(#our-fleet) {
    background: #1c1c1c url(/img/map.svg) center calc(100% - 2rem) / 81rem auto no-repeat;
}

.numbers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 1.2rem 1.1rem;
    margin-bottom: 7rem;
}
.numbers > div {background: #1c1c1c; color: white; padding: 2rem 1.25rem 1.25rem;}
.numbers .title {font-weight: 500; margin-bottom: 0.75rem; font-size: 4rem; line-height: 1;}
.numbers .description {font-size: 0.95rem; line-height: 1.4; margin-top: -0.5rem;}
.numbers .parallax {margin-top: 1.35rem;}
.numbers .parallax img {
    width: 100%; 
    object-fit: cover; 
    aspect-ratio: 1.9;
}
@media (min-width: 850px) and (max-width: 1240px) {
    .numbers {grid-template-columns: 1fr 1fr;}
}
@media (min-width: 1240px) and (max-width: 1620px) {
    .numbers {grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));}
}


.card {
    background: white;
    position: relative;
    height: 23rem;
    padding: 1.5rem 2.25rem 1rem;
    padding-left: calc(51% + 2.25rem);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 3;
}
.card h4 {margin: 0 0 2.25rem; font-size: 2rem; font-weight: 500;}
.card div.parallax {
    position: absolute;
    left: 0; 
    top: 0;
    width: 51%!important;
    display: block;
    margin: 0;
    background-color: #e5e5e5;
}
.card div.parallax img {
    margin: 0;
    height: 23rem;
    object-fit: cover;
    width: 100%;
    opacity: 0!important;
}
.card video {
    position: absolute;
    left: 0;
    top: 0;
    width: 51%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    display: block;
}


section:has(.card) {
    padding-bottom: 1rem;
    position: relative;
}
section:has(.card) {
    background-image: linear-gradient(to bottom, #f5f5f5 calc(100% - 9rem), #1c1c1c calc(100% - 9rem));
}

.edgecards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 1.2rem 1.1rem;
    padding-top: 0;
}
.edgecards > div {
    padding: 2rem 1.5rem 0.25rem; 
    position: relative;
}
.edgecards > div::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; 
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    --border-width: 1px;
    --corner-offset: 2rem;
    --mask: polygon(
        0 0,
        calc(100% - var(--corner-offset)) 0,
        100% var(--corner-offset),
        100% 100%,
        0 100%,
        0 0,

        var(--border-width) var(--border-width),
        var(--border-width) calc(100% - var(--border-width)),
        calc(100% - var(--border-width)) calc(100% - var(--border-width)),
        calc(100% - var(--border-width)) calc(var(--corner-offset) + var(--border-width) / 2),
        calc(100% - var(--corner-offset) - var(--border-width) / 2) var(--border-width),
        var(--border-width) var(--border-width)
    );
    -webkit-clip-path: var(--mask);
    clip-path: var(--mask);
}

.edgecards .title {font-size: 1.95rem; line-height: 1.2; font-weight: 500; height: 7.75rem; max-width: 80%;}
.edgecards ul {font-size: 0.85rem; line-height: 1.8;}
@media (min-width: 1240px) and (max-width: 1620px) {
    .edgecards {grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));}
}

.parallax {background: url() center center / cover no-repeat; position: relative; overflow: hidden; display: block;}
section > div.parallax {margin-block: 3rem 3.5rem; aspect-ratio: 3;}
.parallax img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0!important;
}
.parallax.inline {margin-bottom: 3rem; padding: 0!important;}
.parallax.inline img {
    aspect-ratio: 2.5;
}
@keyframes parallax {
  from { 
    background-position: center bottom;
  }
  to {
    background-position: center top;
  }
}
.parallax {
  animation: parallax linear;
  animation-fill-mode: none;
  animation-timeline: view();
}


/* BIGTEXT */
.bigtext {
    padding-block: 7rem 0.5rem;
}

h2 + .bigtext {padding-top: 12rem;}
.bigtext p {
    font-size: 3rem!important;
    font-weight: 500;
    line-height: 1.35;
    margin-bottom: 2.38rem;
    max-width: 25em!important;
}
.bigtext-word {
    color: #494949;
    transition: color 1s;
}


/* SECTION PAGE */

body.menuopen:has(section.page) header .container nav ul,
body:has(section.page), body:has(section.page) header {background: #1c1c1c;}
body:has(section.page) header a {color: #e3e3e3; font-weight: 400;}
body.menuopen:has(section.page) header a {font-weight: 500;}
body:has(section.page) header button,
body:has(section.page) header .logo img, body:has(section.page) header .logo svg {filter: invert(1);}
section.page .container {max-width: 45rem; padding-bottom: 3rem;}
section.page h1 {margin-block: 3rem 4rem;}
section.page h2 {
    font-size: 1.7rem; 
    margin-block: 5rem 1.5rem; 
    border: 0;
    font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-transform: none;
    font-weight: 500;
    line-height: 1.2;
}
section.page h1 + h2 {margin-top: 0rem;}


section:has(.accordion) h2 ~ * {margin-left: 30%;}
section:has(.accordion) h2 ~ p,
section:has(.accordion) ul.accordion > li > div > * {max-width: 55rem;}
@media (max-width: 1200px) {
    section:has(.accordion) h2 ~ * {margin-left: 0;}
}
@media (max-width: 600px) {
    section.page {padding-top: 4rem;}
}

/* SECTION HEADER */

section.header {
    padding-block: 0;
    background: white;
}
section.header .container {
    padding-inline: 2.25rem;
}
section.header .header-video {
    margin-bottom: 2.5rem;
}
section.header + section {
    padding-top: 2.5rem;
}
section.header video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform-origin: 50% 50%;
    aspect-ratio: 1.85;
    animation: header-parallax linear;
    animation-fill-mode: none;
    animation-timeline: view();
}
@keyframes header-parallax {
    from { object-position: center bottom; }
    to   { object-position: center top; }
}


/* FORMS */

.input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.25rem;
    gap: 0.5rem;
}
.input-group > label {display: block;}
.input-group > textarea,
.input-group > select,
.input-group > input:not(.btn) {
    border: 0; 
    border-bottom: 1px solid rgba(6, 16, 60, 0);
    background-color: rgba(6, 16, 60, 0.07);
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    font-family: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    transition: 0.1s all ease-in-out;
    color: rgb(28,28,28);
    line-height: 1.4;
    border-radius: 0;
}
.input-group > textarea {
    resize: none;
    overflow-y: hidden;
    height: calc(3.7rem + 1px);
}
.input-group > input:placeholder-shown,
.input-group > textarea:placeholder-shown {
    background: transparent;
    border-color: rgb(28,28,28);
}
form button.btn {min-width: 10rem; margin-top: 0.25rem;} 

@media (max-width: 600px) {
.input-group > textarea,
.input-group > select,
.input-group > input:not(.btn) {
    background-color: rgba(6, 16, 60, 0.07)!important;
    border-color: transparent!important;
}
}


/* FOOTER */

footer {
    background: black;
    padding-block: 0rem 2rem;
    color: #e3e3e3;
    border-top: 1px solid rgba(255,255,255,0.4);
    font-size: 0.85rem;
}
footer a {color: #e3e3e3; text-decoration: none;}
footer ul {list-style: none;}
footer h3 {position: relative;}
footer > div:first-child .container {display: flex; justify-content: space-between;}
footer > div:last-child {font-size: 0.8rem;}

footer .left {line-height: 2; display: flex; flex-direction: column; justify-content: space-between;}
footer .left .logo {display: inline-block; margin-bottom: 3rem;}
footer .left .logo img, footer .left .logo svg {height: 7rem;}
footer .left h3 {font-size: 0.95rem; font-weight: 500; line-height: 2;}
footer .left .companies {
    display: flex; 
    flex-direction: column; 
    align-items: flex-end; 
    padding: 2rem 6rem 0rem 0;
}
footer .left .companies ul li:first-child {font-weight: 500; font-size: 110%;}

footer .left, footer .right {flex: 1; padding: 3rem 3rem 4rem 0;}
footer .right {
    border-left: 1px solid rgba(255, 255, 255, 0.4);
    padding: 3rem 0 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
footer .right h3 {
    font-size: 2.5rem;
    padding-block: 0rem 3.6rem;
}
footer .right p {max-width: 40em;}

/* Footer dark bar */

footer > div:not(:last-child) {
    background: #1c1c1c;
}
footer > div:last-child .container {
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
}
footer > div:last-child .container ul {
    display: flex;
    gap: 1rem 2rem;
}


/* REVEAL */

@media (min-width: 1000px) {
    html.js section.page .container { opacity: 0; }
}

.reveal .line-wrap {
    display: block;
    overflow: hidden;
}
.reveal .line-inner {
    display: block;
    white-space: nowrap;
    transform: translateY(110%);
}
.reveal.visible .line-inner {
    transform: translateY(0);
    transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0s);
}
.reveal h2 {
    border-color: transparent;
}
.reveal.visible h2 {
    border-color: rgba(0, 0, 0, 0.4);
    transition: border-color 2s ease var(--delay, 0s);
}
section:nth-child(odd).reveal.visible h2 {
    border-color: rgba(255, 255, 255, 0.4);
}
.reveal .fade-in {
    opacity: 0;
}
html.js .reveal.visible .fade-in,
.reveal.visible .fade-in {
    opacity: 1;
    transition: opacity 0.8s ease var(--delay, 0s);
}
main .reveal li {
    clip-path: inset(0);
}
main .reveal li::before {
    transform: translateY(110%);
}
main .reveal.visible li::before {
    transform: translateY(0);
    transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0s);
}


/* LENIS */

html.lenis, html.lenis body {height: auto;}
.lenis.lenis-smooth {scroll-behavior: auto !important;}
.lenis.lenis-smooth [data-lenis-prevent] {overscroll-behavior: contain;}
.lenis.lenis-stopped {overflow: hidden;}
.lenis.lenis-smooth iframe {pointer-events: none;}
 
@media (max-width: 1000px) {
    header .container,
    section.header .container {
        padding-inline: 1.25rem;
    }
    .container {
        padding-inline: 1.25rem;
    }
    section > .container:has(> p:first-child) h2 ~ p {
        margin-left: 0;
    }
    .tab-content > h4 {
        position: relative; 
        max-width: 100%;
        padding-block: 0 1rem;
        margin-top: 2rem;
    }
    .tab-content > h4 + * {
        border-top: none;
        padding-block: 0 1rem;
        margin-top: 0;
        padding-left: 0!important;
    }
    h3 {position: relative; max-width: 100%; margin-bottom: 2rem; padding-left: 0!important;}
    section:has(h3):not(:has(.numbers, .accordion)) .container > :not(p:has(img), h2, h3, .bigtext, .tabs) {
        padding-left: 0!important;
    }
    footer > div:first-child .container {flex-direction: column;} 
    footer .right {border-left: none; padding: 0 0 5rem 0;}
    footer .right h3 {padding-block: 1rem;}
    footer .left h3 {margin-bottom: 0.15rem;}
    footer .left .logo {margin-top: 2rem;}
    footer .left .companies {
        align-items: flex-start;
        padding: 0;
    }
    .bigtext {padding-block: 2rem;}
    .bigtext p {font-size: 2rem!important;}
    h2 + .bigtext {padding-top: 5rem;}
    section:has(#our-fleet) .tab-content:not(:last-child) .bigtext:not(:first-child) {padding-block: 7rem;}
    section:has(#our-fleet) .tab-content:last-child .bigtext:not(:first-child) {padding-block: 7rem 0;}
    h3,
    .edgecards .title,
    section .container > p:first-child, 
    section:not(.page, :has(p:first-child, .numbers)) h2 + p:not(:has(img)) {
        font-size: 1.5rem;
    }
    .edgecards .title {height: auto; padding-bottom: 1.35rem;}
    h2 {font-size: 1.15rem;}
    .card {height: auto; padding-inline: 1.25rem; margin-inline: -1.25rem; font-size: 0.85rem;}
    .tab-content:first-of-type .card {padding-top: 3.5rem; margin-top: 4.5rem;}
    .tab-content:last-of-type .card {padding-bottom: 4.5rem;}
    .card div.parallax, .card video {position: relative; width: 100%!important; margin-bottom: 1rem; display: none;}
    .card h4 {margin-bottom: 1rem; font-size: 1.5rem;}
    .tabs ul.tabs-nav {display: none;}
    .tabs .tab-content {display: block; padding: 0; min-height: 0!important;}
    .tabs .tab-content:not(:has(.card)) h3 {display: block; margin-top: 4rem;}
    .tabs .tabs h3 {font-size: 1.1rem;}
    .card div.parallax img {height: auto; aspect-ratio: 1.9;}
    section > div.parallax,
    section.header video,
    .parallax.inline img {aspect-ratio: 1.9;}
    section.header .header-video {margin-bottom: 1.65rem;}
}


@media (max-width: 600px) {
    .edgecards {
        display: flex;
        flex-direction: column;
    }
    footer > div:last-child .container ul {gap: 1rem}
    footer .right {font-size: 0.85rem;}
    .numbers {grid-template-columns: 1fr;}
    .numbers > div {margin-inline: -1rem;}
    .numbers .title {font-size: 3rem;}
    section > div.parallax {aspect-ratio: 1;}
    section.header video {aspect-ratio: 0.9;}
}
@media (max-width: 450px) {
    html {font-size: 4vw;}
}
