:root {
    --navy: #071820;
    --navy-soft: #0d2630;
    --navy-light: #173642;
    --ivory: #f3f0e8;
    --paper: #faf8f3;
    --sand: #c9bba7;
    --silver: #96a8ae;
    --ink: #111b1f;
    --grey: #6e7779;
    --white: #ffffff;
    --line-dark: rgba(7, 24, 32, 0.16);
    --line-light: rgba(255, 255, 255, 0.2);
    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "Manrope", Arial, sans-serif;
    --container: 1380px;
    --header-height: 94px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--ivory);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    color: inherit;
    font: inherit;
}

.site-main {
    overflow: hidden;
}

.site-container {
    width: min(var(--container), calc(100% - 96px));
    margin-inline: auto;
}

.section-label {
    margin: 0;
    color: var(--grey);
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.section-label--light {
    color: rgba(255, 255, 255, 0.65);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    font-weight: 400;
}

h1 em,
h2 em {
    font-family: var(--serif);
    font-weight: 400;
}

/* Header */

.site-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    left: 0;
    height: var(--header-height);
    color: var(--white);
    transition:
        height 0.35s ease,
        background-color 0.35s ease,
        color 0.35s ease;
}

.site-header.is-scrolled {
    height: 72px;
    background: rgba(243, 240, 232, 0.95);
    color: var(--navy);
    backdrop-filter: blur(16px);
}

.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.site-header.is-scrolled .header-inner {
    border-color: var(--line-dark);
}

.site-logo {
    display: inline-flex;
    align-items: flex-start;
    flex-direction: column;
    justify-self: start;
    line-height: 1;
}

.site-logo__name {
    font-family: var(--serif);
    font-size: 28px;
    letter-spacing: 0.08em;
}

.site-logo__label {
    margin-top: 6px;
    font-size: 8px;
    letter-spacing: 0.27em;
}

.site-navigation {
    display: flex;
    align-items: center;
    gap: 34px;
}

.site-navigation a,
.header-contact {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-navigation a {
    position: relative;
}

.site-navigation a::after {
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 1px;
    background: currentColor;
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.site-navigation a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-contact {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 12px;
}

.header-contact span {
    font-size: 18px;
}

.menu-toggle {
    display: none;
}

/* Hero */

.yacht-hero {
    position: relative;
    min-height: 100vh;
    color: var(--white);
}

.yacht-hero__media,
.yacht-hero__overlay {
    position: absolute;
    inset: 0;
}

.yacht-hero__media img {
    height: 100%;
    object-fit: cover;
    object-position: center 55%;
}

.yacht-hero__overlay {
    background:
        linear-gradient(
            90deg,
            rgba(3, 16, 22, 0.78) 0%,
            rgba(3, 16, 22, 0.44) 48%,
            rgba(3, 16, 22, 0.15) 100%
        ),
        linear-gradient(
            180deg,
            rgba(3, 16, 22, 0.48) 0%,
            transparent 42%,
            rgba(3, 16, 22, 0.7) 100%
        );
}

.yacht-hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    padding-top: calc(var(--header-height) + 34px);
    padding-bottom: 34px;
}

.yacht-hero__top {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.65);
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.yacht-hero__content {
    width: min(1100px, 88%);
    margin-top: auto;
    margin-bottom: 70px;
}

.yacht-hero__content .section-label {
    margin-bottom: 32px;
}

.yacht-hero h1 {
    margin: 0;
    font-size: clamp(66px, 7.8vw, 128px);
    line-height: 0.82;
    letter-spacing: -0.065em;
}

.yacht-hero h1 span {
    display: block;
    margin-left: 8%;
}

.yacht-hero h1 em {
    display: block;
    margin-top: 18px;
    margin-left: 25%;
    color: #d9e1df;
    font-size: 1.13em;
    line-height: 0.72;
    letter-spacing: -0.04em;
}

.yacht-hero__bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 60px;
    margin-top: 55px;
    padding-left: 9%;
}

.yacht-hero__bottom p {
    max-width: 510px;
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 14px;
    line-height: 1.85;
}

.main-button {
    display: inline-flex;
    min-height: 60px;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 0 24px;
    border: 1px solid currentColor;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

.main-button span {
    font-size: 18px;
}

.main-button--light:hover {
    background: var(--white);
    color: var(--navy);
}

.yacht-hero__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.56);
    font-size: 9px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.yacht-hero__footer a {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Intro */

.yacht-intro {
    padding: 155px 0 180px;
    background: var(--ivory);
}

.editorial-heading {
    display: grid;
    grid-template-columns: 230px 1fr;
    margin-bottom: 110px;
}

.editorial-heading h2 {
    max-width: 1040px;
    margin: 0;
    font-size: clamp(55px, 6vw, 95px);
    line-height: 0.9;
    letter-spacing: -0.055em;
}

.editorial-heading h2 em {
    display: block;
    margin-top: 13px;
    margin-left: 12%;
    color: var(--silver);
}

.yacht-intro__layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: end;
    gap: 8vw;
}

.yacht-intro__visual {
    position: relative;
    min-height: 720px;
}

.yacht-intro__image {
    position: absolute;
    overflow: hidden;
}

.yacht-intro__image img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s ease;
}

.yacht-intro__image:hover img {
    transform: scale(1.03);
}

.yacht-intro__image--main {
    top: 0;
    left: 0;
    width: 78%;
    height: 86%;
}

.yacht-intro__image--detail {
    right: 0;
    bottom: 0;
    width: 45%;
    height: 42%;
    border: 12px solid var(--ivory);
}

.yacht-intro__caption {
    position: absolute;
    right: 0;
    top: 0;
    color: var(--grey);
    font-size: 8px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
}

.yacht-intro__content {
    padding-bottom: 20px;
}

.large-text {
    margin-bottom: 38px;
    font-family: var(--serif);
    font-size: clamp(31px, 3.3vw, 48px);
    line-height: 1.1;
}

.yacht-intro__content > p:not(.large-text) {
    max-width: 530px;
    color: var(--grey);
    font-size: 13px;
    line-height: 1.9;
}

.studio-facts {
    margin-top: 70px;
    border-top: 1px solid var(--line-dark);
}

.studio-facts div {
    display: grid;
    grid-template-columns: 150px 1fr;
    padding: 20px 0;
    border-bottom: 1px solid var(--line-dark);
}

.studio-facts span {
    color: var(--grey);
    font-size: 9px;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.studio-facts strong {
    font-size: 11px;
    font-weight: 600;
}

/* Services */

.yacht-services {
    padding: 155px 0 175px;
    background: var(--navy);
    color: var(--white);
}

.services-header {
    display: grid;
    grid-template-columns: 1fr 380px;
    align-items: end;
    gap: 90px;
    margin-bottom: 100px;
}

.services-header h2 {
    margin: 25px 0 0;
    font-size: clamp(58px, 6vw, 96px);
    line-height: 0.86;
    letter-spacing: -0.055em;
}

.services-header h2 em {
    display: block;
    margin-top: 15px;
    margin-left: 13%;
    color: var(--silver);
}

.services-header > p {
    margin: 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    line-height: 1.9;
}

.services-list {
    border-top: 1px solid var(--line-light);
}

.service-row {
    display: grid;
    grid-template-columns: 65px 1.15fr 1fr 35px;
    align-items: start;
    gap: 40px;
    padding: 44px 0;
    border-bottom: 1px solid var(--line-light);
    transition:
        padding 0.35s ease,
        background-color 0.35s ease;
}

.service-row:hover {
    padding-right: 20px;
    padding-left: 20px;
    background: var(--navy-soft);
}

.service-row__number {
    color: rgba(255, 255, 255, 0.36);
    font-size: 10px;
}

.service-row__name h3 {
    margin-bottom: 9px;
    font-family: var(--serif);
    font-size: clamp(34px, 3.3vw, 49px);
    line-height: 0.95;
}

.service-row__name span {
    color: rgba(255, 255, 255, 0.45);
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.service-row > p {
    max-width: 430px;
    margin: 0;
    color: rgba(255, 255, 255, 0.54);
    font-size: 12px;
    line-height: 1.9;
}

.service-row__arrow {
    justify-self: end;
    font-size: 22px;
}

/* Selected Work */

.selected-work {
    padding: 155px 0 180px;
    background: var(--paper);
}

.selected-work__heading {
    display: grid;
    grid-template-columns: 230px 1fr;
    margin-bottom: 100px;
}

.selected-work__heading h2 {
    max-width: 930px;
    margin: 0;
    font-size: clamp(55px, 5.8vw, 92px);
    line-height: 0.9;
    letter-spacing: -0.055em;
}

.selected-work__heading h2 em {
    display: block;
    margin-top: 14px;
    margin-left: 12%;
    color: var(--silver);
}

.projects-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 85px 38px;
}

.project-card--featured {
    grid-row: span 2;
}

.project-card__image {
    overflow: hidden;
    background: #dfe4e2;
}

.project-card--featured .project-card__image {
    aspect-ratio: 4 / 5.3;
}

.project-card:not(.project-card--featured) .project-card__image {
    aspect-ratio: 4 / 4.6;
}

.project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 8px;
    transform: scale(1.03);
    transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-card:hover .project-card__image img {
    transform: scale(1.035);
}

.project-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding-top: 20px;
}

.project-card__meta span {
    color: var(--grey);
    font-size: 9px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.project-card__meta h3 {
    margin: 8px 0 0;
    font-family: var(--serif);
    font-size: 31px;
    line-height: 1;
}

/* Statement */

.yacht-statement {
    position: relative;
    min-height: 820px;
    color: var(--white);
}

.yacht-statement__media,
.yacht-statement__overlay {
    position: absolute;
    inset: 0;
}

.yacht-statement__media img {
    height: 100%;
    object-fit: cover;
}

.yacht-statement__overlay {
    background:
        linear-gradient(90deg, rgba(3, 18, 25, 0.78), rgba(3, 18, 25, 0.1)),
        linear-gradient(180deg, transparent 30%, rgba(3, 18, 25, 0.65));
}

.yacht-statement__content {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 820px;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 110px;
}

.yacht-statement__content h2 {
    max-width: 1060px;
    margin: 35px 0 0;
    font-size: clamp(60px, 6.5vw, 105px);
    line-height: 0.88;
    letter-spacing: -0.055em;
}

.yacht-statement__content h2 em {
    display: block;
    margin-top: 15px;
    margin-left: 12%;
    color: #d9e1df;
}

/* Luxury extension */

.luxury-extension {
    padding: 155px 0 180px;
    background: var(--ivory);
}

.luxury-extension__heading {
    display: grid;
    grid-template-columns: 1fr 360px;
    align-items: end;
    gap: 90px;
    margin-bottom: 95px;
}

.luxury-extension__heading h2 {
    margin: 25px 0 0;
    font-size: clamp(55px, 5.8vw, 92px);
    line-height: 0.9;
    letter-spacing: -0.055em;
}

.luxury-extension__heading h2 em {
    display: block;
    margin-top: 14px;
    margin-left: 12%;
    color: var(--silver);
}

.luxury-extension__heading > p {
    margin: 0;
    color: var(--grey);
    font-size: 13px;
    line-height: 1.9;
}

.luxury-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.luxury-category > span {
    display: block;
    margin-bottom: 15px;
    color: var(--grey);
    font-size: 9px;
    letter-spacing: 0.14em;
}

.luxury-category__image {
    overflow: hidden;
    aspect-ratio: 4 / 5;
}

.luxury-category__image img {
    height: 100%;
    object-fit: cover;
    filter: saturate(0.82);
    transition:
        transform 0.8s ease,
        filter 0.4s ease;
}

.luxury-category:hover img {
    transform: scale(1.035);
    filter: saturate(1);
}

.luxury-category h3 {
    margin: 19px 0 0;
    font-family: var(--serif);
    font-size: 29px;
}

/* Contact */

.contact-section {
    padding: 160px 0 125px;
    background: var(--navy);
    color: var(--white);
}

.contact-section__inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: end;
    gap: 100px;
}

.contact-section__heading h2 {
    max-width: 890px;
    margin: 35px 0 0;
    font-size: clamp(60px, 6.4vw, 105px);
    line-height: 0.88;
    letter-spacing: -0.06em;
}

.contact-section__heading h2 em {
    display: block;
    margin-top: 15px;
    margin-left: 10%;
    color: var(--silver);
}

.contact-section__details > p {
    max-width: 470px;
    margin-bottom: 50px;
    color: rgba(255, 255, 255, 0.53);
    font-size: 12px;
    line-height: 1.9;
}

.contact-section__email {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0;
    border-top: 1px solid var(--line-light);
    border-bottom: 1px solid var(--line-light);
    font-family: var(--serif);
    font-size: clamp(25px, 2.7vw, 40px);
}

.contact-section__links {
    display: flex;
    gap: 35px;
    margin-top: 30px;
}

.contact-section__links a {
    color: rgba(255, 255, 255, 0.56);
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Footer */

.site-footer {
    padding: 70px 0 35px;
    background: var(--navy);
    color: var(--white);
}

.footer-inner {
    padding-top: 55px;
    border-top: 1px solid var(--line-light);
}

.footer-logo {
    font-family: var(--serif);
    font-size: 36px;
    letter-spacing: 0.06em;
}

.footer-inner > p {
    max-width: 520px;
    margin: 25px 0 70px;
    color: rgba(255, 255, 255, 0.44);
    font-size: 11px;
    line-height: 1.9;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.4);
    font-size: 8px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* Reveal */

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity 0.85s ease,
        transform 0.85s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Tablet */

@media (max-width: 1100px) {
    .site-container {
        width: calc(100% - 56px);
    }

    .site-navigation {
        gap: 20px;
    }

    .yacht-intro__layout {
        gap: 55px;
    }

    .yacht-intro__visual {
        min-height: 620px;
    }

    .services-header,
    .luxury-extension__heading {
        grid-template-columns: 1fr 300px;
        gap: 60px;
    }

    .service-row {
        grid-template-columns: 50px 1fr 1fr 30px;
        gap: 25px;
    }

    .luxury-categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 55px 28px;
    }
}

/* Mobile */

@media (max-width: 780px) {
    :root {
        --header-height: 76px;
    }

    .site-container {
        width: calc(100% - 36px);
    }

    .header-inner {
        display: flex;
        justify-content: space-between;
    }

    .header-contact {
        display: none;
    }

    .menu-toggle {
        position: relative;
        z-index: 1002;
        display: flex;
        width: 40px;
        height: 40px;
        flex-direction: column;
        justify-content: center;
        gap: 7px;
        padding: 0;
        border: 0;
        background: transparent;
    }

    .menu-toggle span {
        display: block;
        width: 25px;
        height: 1px;
        margin-left: auto;
        background: currentColor;
        transition: transform 0.3s ease;
    }

    .menu-toggle.is-active span:first-child {
        transform: translateY(4px) rotate(45deg);
    }

    .menu-toggle.is-active span:last-child {
        transform: translateY(-4px) rotate(-45deg);
    }

    .site-navigation {
        position: fixed;
        z-index: 1001;
        inset: 0;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        flex-direction: column;
        gap: 25px;
        padding: 120px 28px 40px;
        background: var(--navy);
        color: var(--white);
        opacity: 0;
        visibility: hidden;
        transition:
            opacity 0.3s ease,
            visibility 0.3s ease;
    }

    .site-navigation.is-open {
        opacity: 1;
        visibility: visible;
    }

    .site-navigation a {
        font-family: var(--serif);
        font-size: 42px;
        font-weight: 400;
        letter-spacing: 0;
        text-transform: none;
    }

    .yacht-hero__top {
        display: none;
    }

    .yacht-hero__content {
        width: 100%;
        margin-bottom: 55px;
    }

    .yacht-hero h1 {
        font-size: clamp(57px, 17vw, 82px);
    }

    .yacht-hero h1 span,
    .yacht-hero h1 em {
        margin-left: 0;
    }

    .yacht-hero__bottom {
        display: block;
        margin-top: 45px;
        padding-left: 0;
    }

    .yacht-hero__bottom p {
        margin-bottom: 30px;
    }

    .yacht-intro,
    .yacht-services,
    .selected-work,
    .luxury-extension,
    .contact-section {
        padding-top: 100px;
        padding-bottom: 105px;
    }

    .editorial-heading,
    .selected-work__heading {
        display: block;
        margin-bottom: 65px;
    }

    .editorial-heading .section-label,
    .selected-work__heading .section-label {
        margin-bottom: 24px;
    }

    .editorial-heading h2 em,
    .selected-work__heading h2 em,
    .services-header h2 em,
    .yacht-statement__content h2 em,
    .luxury-extension__heading h2 em,
    .contact-section__heading h2 em {
        margin-left: 0;
    }

    .yacht-intro__layout {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .yacht-intro__visual {
        min-height: 570px;
    }

    .yacht-intro__image--main {
        width: 87%;
        height: 78%;
    }

    .yacht-intro__image--detail {
        width: 50%;
        height: 39%;
    }

    .yacht-intro__caption {
        display: none;
    }

    .services-header,
    .luxury-extension__heading {
        display: block;
        margin-bottom: 65px;
    }

    .services-header > p,
    .luxury-extension__heading > p {
        margin-top: 35px;
    }

    .service-row {
        grid-template-columns: 35px 1fr 25px;
        gap: 15px;
        padding: 30px 0;
    }

    .service-row__name {
        grid-column: 2;
    }

    .service-row > p {
        grid-column: 2;
        margin-top: 10px;
    }

    .service-row__arrow {
        grid-column: 3;
        grid-row: 1;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 65px;
    }

    .project-card--featured {
        grid-row: auto;
    }

    .project-card--featured .project-card__image,
    .project-card:not(.project-card--featured) .project-card__image {
        aspect-ratio: 4 / 4.9;
    }

    .yacht-statement,
    .yacht-statement__content {
        min-height: 650px;
    }

    .yacht-statement__content {
        padding-bottom: 70px;
    }

    .luxury-categories {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .contact-section__inner {
        grid-template-columns: 1fr;
        gap: 70px;
    }

    .contact-section__email {
        font-size: 23px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }
}