:root {
    --navy: #0b2435;
    --blue: #315f76;
    --sand: #f3eee5;
    --mist: #f4f7f8;
    --white: #ffffff;
    --text: #263844;
    --muted: #71818b;
    --line: #dfe6e9;
    --max: 1240px;
    --serif: Georgia, "Times New Roman", serif;
    --sans: Arial, Helvetica, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--sans);
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

a {
    color: inherit;
}

.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding-left: 48px;
    padding-right: 48px;
}

.eyebrow {
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: .20em;
    font-size: .74rem;
    font-weight: 700;
}

h1,
h2 {
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -.025em;
}

h2 {
    margin: 0 0 22px;
    color: var(--navy);
    font-size: clamp(2.25rem, 4vw, 4rem);
    line-height: 1.05;
}

.lead {
    max-width: 790px;
    color: #4d606c;
    font-size: 1.16rem;
    line-height: 1.75;
}


/* =========================================================
   TOP NAVIGATION
   ========================================================= */

.topbar {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20;
    width: 100%;
    padding: 28px 0;
    color: var(--white);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    text-decoration: none;
    letter-spacing: .28em;
    font-size: 1rem;
    font-weight: 700;
}

.navlinks {
    display: flex;
    gap: 26px;
    font-size: .84rem;
}

.navlinks a {
    text-decoration: none;
    opacity: .90;
}

.navlinks a:hover {
    opacity: 1;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: flex-end;
    color: var(--white);

    background:
        linear-gradient(
            90deg,
            rgba(5, 25, 37, .44) 0%,
            rgba(5, 25, 37, .16) 55%,
            rgba(5, 25, 37, .04) 100%
        ),
        linear-gradient(
            0deg,
            rgba(5, 25, 37, .72) 0%,
            rgba(5, 25, 37, .08) 60%
        ),
        url("images/IMG_6817 (1).jpg") center center / cover no-repeat;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 760px;
    padding: 180px 0 86px;
}

.hero h1 {
    margin: 0 0 20px;
    color: var(--white);
    font-size: clamp(4rem, 9vw, 8rem);
    line-height: .86;
}

.hero .eyebrow {
    color: rgba(255, 255, 255, .90);
}

.hero-sub {
    max-width: 680px;
    margin: 0 0 28px;
    font-size: clamp(1.08rem, 2vw, 1.42rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, .94);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, .82);
    font-size: .82rem;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 2px;
    text-decoration: none;
    font-size: .87rem;
    font-weight: 700;
    letter-spacing: .04em;
    transition: .2s ease;
}

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

.btn-ghost {
    border-color: rgba(255, 255, 255, .65);
    color: var(--white);
    background: rgba(255, 255, 255, .04);
}

.btn:hover {
    transform: translateY(-1px);
}


/* =========================================================
   QUICK FACTS
   ========================================================= */

.fact-strip {
    background: var(--navy);
    color: var(--white);
    padding: 26px 0;
}

.facts {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 22px;
    text-align: center;
}

.fact strong {
    display: block;
    font-family: var(--serif);
    font-size: 1.55rem;
    font-weight: 400;
    line-height: 1.15;
}

.fact span {
    display: block;
    margin-top: 5px;
    color: rgba(255, 255, 255, .62);
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .13em;
}


/* =========================================================
   GENERAL CONTENT
   ========================================================= */

.content-section {
    padding: 108px 0;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 84px;
    align-items: center;
}

.split-photo {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.registry {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid var(--line);
    background: var(--white);
    font-size: .83rem;
    color: #52616a;
}


/* =========================================================
   HIGHLIGHTS
   ========================================================= */

.highlights-section {
    padding: 82px 0;
    background: var(--sand);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.highlight {
    padding: 26px;
    background: var(--white);
    border-top: 3px solid var(--blue);
}

.highlight strong {
    display: block;
    margin-bottom: 7px;
    color: var(--navy);
}

.highlight span {
    color: var(--muted);
    font-size: .92rem;
}


/* =========================================================
   PHOTO GALLERY
   Desktop rhythm: 2 / 3 / 2 / 2
   ========================================================= */

.gallery-section {
    padding: 108px 0;
    background: var(--mist);
}

.section-head {
    max-width: 780px;
    margin-bottom: 46px;
}

.gallery-row {
    display: grid;
    gap: 14px;
    margin-bottom: 14px;
}

.gallery-row:last-child {
    margin-bottom: 0;
}

.gallery-two {
    grid-template-columns: repeat(2, 1fr);
}

.gallery-three {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-item {
    margin: 0;
    overflow: hidden;
    background: #e8edef;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.gallery-item:hover img {
    transform: scale(1.015);
}

.gallery-two .gallery-item {
    aspect-ratio: 4 / 3;
}

.gallery-three .gallery-item {
    aspect-ratio: 4 / 3;
}


/* =========================================================
   SPECIFICATIONS
   ========================================================= */

.spec-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 88px;
    align-items: start;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table tr {
    border-bottom: 1px solid var(--line);
}

.spec-table td {
    padding: 13px 0;
    vertical-align: top;
    font-size: .95rem;
}

.spec-table td:first-child {
    width: 43%;
    padding-right: 24px;
    color: var(--muted);
}

.equipment-photo {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 38px;
    margin-top: 34px;
}

.equipment-grid h3 {
    margin: 0 0 7px;
    color: var(--navy);
    font-size: 1rem;
}

.equipment-grid p {
    margin: 0;
    color: #5d6c74;
    font-size: .94rem;
}


/* =========================================================
   INSPECTIONS / SURVEY
   ========================================================= */

.inspections-section {
    padding: 108px 0;
    background: var(--sand);
}

.inspections-layout {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 70px;
    align-items: start;
}

.survey-quote {
    padding: 38px;
    background: var(--white);
    border-left: 4px solid var(--blue);
}

.survey-quote blockquote {
    margin: 0 0 18px;
    color: var(--navy);
    font-family: var(--serif);
    font-size: 1.65rem;
    line-height: 1.45;
}

.survey-quote p {
    margin: 0;
    color: var(--muted);
    font-size: .85rem;
}

.inspection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 34px;
    margin-top: 30px;
}

.inspection-grid strong {
    display: block;
    color: var(--navy);
    margin-bottom: 7px;
}

.inspection-grid p {
    margin: 0;
    color: #5f6d75;
    font-size: .93rem;
}

.note {
    margin-top: 28px;
    color: var(--muted);
    font-size: .88rem;
}


/* =========================================================
   MAINTENANCE
   ========================================================= */

.maintenance-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 82px;
    align-items: center;
}

.maintenance-photo {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 26px 0 0;
    border-top: 1px solid var(--line);
}

.checklist li {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}

.checklist span:first-child {
    color: var(--muted);
}

.checklist span:last-child {
    text-align: right;
    color: var(--navy);
}


/* =========================================================
   DOCUMENTS
   ========================================================= */

.documents-section {
    padding: 108px 0;
    background: var(--mist);
}

.documents {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.doc {
    padding: 28px;
    border: 1px solid var(--line);
    background: var(--white);
}

.doc strong {
    display: block;
    margin-bottom: 8px;
    color: var(--navy);
}

.doc span {
    color: var(--muted);
    font-size: .90rem;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact {
    padding: 112px 0;
    text-align: center;
    background: var(--navy);
    color: var(--white);
}

.contact h2 {
    color: var(--white);
}

.contact .lead {
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, .78);
}

.contact .buttons {
    justify-content: center;
    margin-top: 28px;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    padding: 24px 0;
    text-align: center;
    background: #071a27;
    color: rgba(255, 255, 255, .50);
    font-size: .78rem;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 940px) {

    .navlinks {
        display: none;
    }

    .container {
        padding-left: 30px;
        padding-right: 30px;
    }

    .hero {
        min-height: 82vh;
    }

    .hero-content {
        padding-bottom: 64px;
    }

    .facts {
        grid-template-columns: repeat(3, 1fr);
    }

    .split,
    .spec-layout,
    .inspections-layout,
    .maintenance-layout {
        grid-template-columns: 1fr;
        gap: 46px;
    }

    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-three {
        grid-template-columns: repeat(2, 1fr);
    }

    .documents {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 620px) {

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero {
        min-height: 74vh;
        background-position: center center;
    }

    .hero-content {
        padding: 140px 0 44px;
    }

    .facts {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-section,
    .gallery-section,
    .inspections-section,
    .documents-section,
    .contact {
        padding: 72px 0;
    }

    .highlights-section {
        padding: 56px 0;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .gallery-two,
    .gallery-three {
        grid-template-columns: 1fr;
    }

    .gallery-row {
        gap: 9px;
        margin-bottom: 9px;
    }

    .equipment-grid,
    .inspection-grid {
        grid-template-columns: 1fr;
    }

    .survey-quote {
        padding: 26px;
    }

    .checklist li {
        display: block;
    }

    .checklist span {
        display: block;
    }

    .checklist span:last-child {
        margin-top: 3px;
        text-align: left;
    }
}