:root {
    --navy: #102b42;
    --blue: #204a67;
    --ink: #172b3a;
    --muted: #586671;
    --paper: #f7f8f8;
    --line: #dce2e5
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px
}

body {
    margin: 0;
    color: var(--ink);
    background: white;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 16px;
    line-height: 1.6
}

a {
    color: inherit;
    text-decoration: none
}

button {
    font: inherit
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

header {
    height: 104px;
    max-width: 1440px;
    margin: auto;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px
}

.brand {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.1;
    white-space: nowrap
}

    .brand > span {
        font-size: 29px;
        letter-spacing: .02em
    }

    .brand b {
        font-weight: 500
    }

    .brand small {
        font-size: 10px;
        letter-spacing: .24em;
        margin-top: 9px
    }

nav {
    display: flex;
    gap: 32px;
    font-size: 14px
}

    nav a:hover, .text-link:hover {
        color: #46738d
    }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    background: var(--navy);
    color: #fff;
    padding: 15px 28px;
    font-size: 14px;
    letter-spacing: .025em;
    border: 1px solid var(--navy);
    transition: background .2s;
    border-radius: 24px;
}

    .button:hover {
        background: #315b75
    }

    .button.small {
        min-height: 46px;
        padding: 11px 21px
    }

.hero {
    max-width: 1440px;
    min-height: 660px;
    display: grid;
    grid-template-columns: 47% 53%;
    margin: auto;
    background: var(--paper)
}

.hero-copy {
    padding: 62px 9% 38px 11%
}

.eyebrow {
    font-size: 12px !important;
    font-weight: 600;
    letter-spacing: .17em;
    margin: 0 0 24px !important
}

.hero h1 {
    font-family: Georgia,serif;
    font-size: clamp(48px,5.2vw,76px);
    font-weight: 400;
    letter-spacing: -.055em;
    line-height: 1.06;
    margin: 0 0 26px
}

em {
    font-weight: 400;
    color: #52748a
}

h1 em, h2 em {
    font-style: italic
}

.hero-copy > p:not(.eyebrow) {
    max-width: 365px;
    color: var(--muted);
    margin-bottom: 28px
}

.hero .text-link {
    display: block;
    margin-top: 20px;
    font-size: 14px
}

.text-link {
    text-decoration: underline;
    text-underline-offset: 7px
}

.hero-photo {
    position: relative;
    min-height: 660px
}

    .hero-photo > img {
        position: absolute;
        object-position: 48% center
    }

    .hero-photo:after {
        content: '';
        position: absolute;
        inset: 60% 0 0;
        background: linear-gradient(transparent,#081824b0)
    }

.photo-label {
    position: absolute;
    z-index: 1;
    bottom: 36px;
    left: 36px;
    color: white;
    display: flex;
    flex-direction: column
}

    .photo-label span {
        font-size: 10px;
        letter-spacing: .19em
    }

    .photo-label strong {
        font-weight: 400;
        font-size: 42px;
        letter-spacing: .06em
    }

.hero-note {
    display: flex;
    gap: 16px;
    border-top: 1px solid var(--line);
    padding-top: 23px;
    margin-top: 35px;
    font-size: 10px;
    letter-spacing: .1em
}

.ribbon {
    background: var(--navy);
    color: white;
    padding: 21px 5%;
    display: flex;
    justify-content: center;
    gap: 4%;
    font-size: 11px;
    letter-spacing: .14em
}

    .ribbon i {
        font-style: normal;
        color: #a8c0cc
    }

.section {
    padding: 96px max(6%,calc((100% - 1180px)/2));
    scroll-margin-top: 20px
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 45px
}

h2 {
    font-family: Georgia,serif;
    font-size: clamp(38px,4vw,54px);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -.04em;
    margin: 0
}

.section-heading > p {
    max-width: 345px;
    color: var(--muted);
    margin-bottom: 3px
}

.service-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 65px
}

    .service-layout > img {
        max-height: 565px;
        object-position: center 35%
    }

.service-list article {
    display: flex;
    gap: 25px;
    padding: 22px 0;
    border-top: 1px solid var(--line)
}

    .service-list article > span {
        font-size: 12px;
        color: #658297;
        padding-top: 5px
    }

h3 {
    font-size: 21px;
    font-weight: 400;
    letter-spacing: -.025em;
    margin: 0 0 7px
}

.service-list p {
    color: var(--muted);
    font-size: 14px;
    max-width: 390px;
    margin: 0
}

.service-list > .text-link {
    display: inline-block;
    margin-top: 22px;
    font-size: 14px
}

.space {
    background: var(--paper)
}

.gallery {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 20px
}

    .gallery button {
        padding: 0;
        border: 0;
        background: none;
        text-align: left;
        cursor: zoom-in;
        min-width: 0
    }

    .gallery img {
        height: 350px;
        transition: filter .2s
    }

    .gallery button:hover img {
        filter: brightness(.9)
    }

.gallery-main img {
    object-position: center 48%
}

.gallery span {
    display: block;
    font-size: 10px;
    letter-spacing: .14em;
    margin-top: 15px
}

.booking {
    background: var(--navy);
    color: white;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 100px;
    align-items: center
}

    .booking em {
        color: #a5c2d3
    }

    .booking > div > p:not(.eyebrow) {
        color: #c0cdd5;
        max-width: 510px;
        margin: 25px 0 30px
    }

.light {
    background: white;
    color: var(--navy);
    border-color: white
}

    .light:hover {
        background: #e0eaf0
    }

.bookkom-card {
    padding: 32px;
    background: #1b3a51;
    border: 1px solid #486174
}

.app-wordmark {
    font-size: 34px !important;
    font-weight: 600;
    letter-spacing: -.05em;
    color: white !important;
    margin: 0 !important
}

    .app-wordmark > span {
        display: block;
        font-size: 10px;
        letter-spacing: .15em;
        margin-top: 2px;
        color: #a6c1d1
    }

ol {
    padding: 0;
    list-style: none;
    counter-reset: booking;
    margin: 30px 0
}

li {
    counter-increment: booking;
    position: relative;
    padding-left: 42px;
    margin: 22px 0
}

    li:before {
        content: counter(booking,decimal-leading-zero);
        position: absolute;
        left: 0;
        top: 1px;
        color: #9bbbcf;
        font-size: 12px
    }

    li b {
        display: block;
        font-size: 15px;
        font-weight: 400
    }

    li span {
        font-size: 13px;
        color: #bccbd5
    }

.bookkom-card > a {
    display: block;
    border-top: 1px solid #496173;
    padding-top: 18px;
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 5px
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px
}

    .visit-grid > img {
        height: 450px;
        object-position: center 35%
    }

.contact-details > div {
    padding: 20px 0;
    border-top: 1px solid var(--line)
}

.contact-details h3 {
    font-family: Georgia,serif;
    font-size: 25px
}

.contact-details p {
    margin: 5px 0;
    font-size: 15px
}

.pending {
    color: var(--muted);
    font-size: 14px !important
}

.contact-details a {
    display: inline-block;
    font-size: 14px;
    margin-top: 10px;
    text-decoration: underline;
    text-underline-offset: 5px
}

.socials {
    display: flex;
    gap: 35px;
    font-size: 14px
}

    .socials small {
        display: block;
        color: var(--muted);
        font-size: 12px
    }

footer {
    border-top: 1px solid var(--line);
    padding: 40px 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-size: 13px
}

    footer p {
        color: var(--muted)
    }

    footer > .brand > span {
        font-size: 23px
    }

    footer > .brand small {
        font-size: 8px
    }

    footer > small {
        color: var(--muted);
        font-size: 12px
    }

.mobile-book {
    display: none
}

.skip {
    position: absolute;
    top: -100px
}

    .skip:focus {
        top: 0;
        background: white;
        padding: 15px;
        z-index: 10
    }

:focus-visible {
    outline: 3px solid #80abc5;
    outline-offset: 5px
}

dialog {
    border: 0;
    background: #102b42;
    padding: 16px;
    max-width: min(90vw,900px);
    color: white
}

    dialog::backdrop {
        background: #081521e6
    }

    dialog img {
        max-height: 78vh;
        width: auto;
        max-width: 100%;
        margin: auto;
        object-fit: contain
    }

    dialog p {
        font-size: 11px;
        letter-spacing: .1em;
        text-align: center;
        margin-bottom: 0
    }

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    border: 0;
    border-radius: 50%;
    background: white;
    width: 42px;
    height: 42px;
    font-size: 27px;
    cursor: pointer
}

@media(min-width:1500px) {
    .hero {
        margin-bottom: 0
    }
}

@media(max-width:900px) {
    header {
        height: 85px;
        padding: 0 5%
    }

    nav {
        gap: 18px
    }

    .hero {
        grid-template-columns: 1fr 1fr
    }

    .hero-copy {
        padding: 45px 9%
    }

    .hero h1 {
        font-size: 51px
    }

    .hero-photo {
        min-height: 630px
    }

    .hero-note {
        flex-direction: column;
        gap: 6px
    }

    .service-layout {
        gap: 30px
    }

    .section {
        padding: 70px 6%
    }

    .booking {
        gap: 40px
    }

    .gallery img {
        height: 280px
    }

    .visit-grid {
        gap: 35px
    }

    footer {
        flex-wrap: wrap
    }

    .section-heading > p {
        max-width: 290px
    }
}

@media(max-width:620px) {
    html {
        scroll-padding-top: 20px
    }

    header {
        height: 82px;
        gap: 10px
    }

    .brand > span {
        font-size: 24px
    }

    .brand small {
        font-size: 8px
    }

    nav {
        display: none
    }

    .button.small {
        font-size: 12px;
        padding: 10px 13px;
        min-height: 42px
    }

    .hero {
        display: flex;
        flex-direction: column
    }

    .hero-copy {
        padding: 40px 6% 34px
    }

    .hero h1 {
        font-size: 58px;
        line-height: 1.05
    }

    .hero-copy > p:not(.eyebrow) {
        max-width: 340px
    }

    .hero .text-link {
        display: inline-block;
        margin: 0 0 0 16px;
        font-size: 12px
    }

    .hero .button {
        padding: 14px 18px;
        font-size: 13px
    }

    .hero-note {
        flex-direction: row;
        margin-top: 28px;
        font-size: 9px;
        gap: 20px
    }

    .hero-photo {
        min-height: 430px
    }

    .photo-label {
        left: 24px;
        bottom: 24px
    }

        .photo-label strong {
            font-size: 34px
        }

    .ribbon {
        flex-wrap: wrap;
        gap: 12px 18px;
        font-size: 9px;
        padding: 20px
    }

        .ribbon i:last-of-type, .ribbon span:last-child {
            display: none
        }

    .section {
        padding: 60px 6%
    }

    .section-heading {
        display: block;
        margin-bottom: 28px
    }

        .section-heading > p {
            max-width: none;
            margin-top: 22px;
            font-size: 15px
        }

    h2 {
        font-size: 42px
    }

    .eyebrow {
        font-size: 10px !important;
        margin-bottom: 18px !important
    }

    .service-layout {
        display: block
    }

        .service-layout > img {
            height: 370px;
            margin-bottom: 28px
        }

    .service-list article {
        gap: 19px;
        padding: 20px 0
    }

    .gallery {
        grid-template-columns: 1fr 1fr;
        gap: 22px 14px
    }

    .gallery-main {
        grid-column: 1/-1
    }

        .gallery-main img {
            height: 400px
        }

    .gallery img {
        height: 230px
    }

    .gallery-main img {
        height: 400px
    }

    .gallery span {
        font-size: 9px;
        letter-spacing: .07em
    }

    .booking {
        display: block
    }

    .bookkom-card {
        margin-top: 38px;
        padding: 28px
    }

    .visit-grid {
        display: block
    }

        .visit-grid > img {
            height: 350px;
            margin-bottom: 30px
        }

    footer {
        padding: 30px 6% 100px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 22px
    }

        footer p {
            font-size: 12px
        }

    .mobile-book {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 5;
        background: #fffffff2;
        padding: 10px 18px calc(10px + env(safe-area-inset-bottom));
        border-top: 1px solid var(--line)
    }

        .mobile-book .button {
            width: 100%;
            min-height: 45px;
            padding: 10px
        }

    .photo-label span {
        font-size: 9px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    * {
        transition: none !important
    }
}
