.boat-launches-page,
.boat-launch-detail-page {
    min-height: 70vh;
    color: var(--color-ink);
    background: var(--color-wash);
}

.boat-launches-page .container,
.boat-launch-detail-page .container {
    width: min(calc(100% - 48px), var(--container));
}

.boat-launches-hero {
    color: #fff;
    background:
        linear-gradient(90deg, rgba(6, 25, 19, 0.9), rgba(7, 39, 44, 0.62) 58%, rgba(7, 39, 44, 0.26)),
        var(--boat-launches-hero-image) center / cover;
}

.boat-launches-hero__inner {
    display: grid;
    align-content: end;
    gap: var(--space-4);
    min-height: 390px;
    padding-block: 78px var(--space-10);
}

.boat-launches-hero .eyebrow {
    color: #bff0e6;
}

.boat-launches-hero h1,
.boat-launch-detail-hero h1 {
    margin: 0;
    letter-spacing: 0;
    line-height: 1;
}

.boat-launches-hero h1 {
    max-width: 900px;
    color: #fff;
    font-size: 4.6rem;
}

.boat-launches-hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.08rem;
    font-weight: 720;
    line-height: 1.5;
}

.boat-launches-search {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) 46px;
    align-items: center;
    gap: var(--space-2);
    width: min(100%, 650px);
    min-height: 58px;
    padding: 6px 7px 6px 18px;
    color: var(--color-muted);
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: var(--radius-xs);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.boat-launches-search input {
    min-width: 0;
    color: var(--color-ink);
    background: transparent;
    border: 0;
    outline: 0;
    font: inherit;
    font-weight: 720;
}

.boat-launches-search button {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: #fff;
    background: var(--color-forest-700);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.boat-launches-toolbar,
.boat-launches-table-section,
.boat-launches-map-section,
.boat-launch-detail-hero,
.boat-launch-detail-facts,
.boat-launch-detail-layout,
.boat-launch-detail-empty {
    margin-inline: auto;
}

.boat-launches-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: var(--space-4);
    padding-block: var(--space-8) var(--space-4);
}

.boat-launches-toolbar h2,
.boat-launches-section-heading h2,
.boat-launch-detail-panel h2 {
    margin: 0;
    color: var(--color-ink);
    letter-spacing: 0;
}

.boat-launches-toolbar h2 {
    margin-top: var(--space-2);
    font-size: 2rem;
}

.boat-launches-toolbar p {
    margin: 0;
    color: var(--color-muted);
    font-weight: 800;
}

.boat-launches-table-section,
.boat-launches-map-section,
.boat-launch-detail-panel,
.boat-launch-detail-location,
.boat-launch-detail-facts article {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(17, 32, 22, 0.1);
    border-radius: var(--radius-xs);
    box-shadow: 0 12px 30px rgba(17, 32, 22, 0.06);
}

.boat-launches-table-section,
.boat-launches-map-section {
    padding: var(--space-5);
}

.boat-launches-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.boat-launches-section-heading h2,
.boat-launch-detail-panel h2 {
    font-size: 1.22rem;
}

.boat-launches-section-heading a,
.boat-launches-table__name,
.boat-launch-detail-list a,
.boat-launch-relationship {
    color: var(--color-forest-800);
    font-weight: 850;
}

.boat-launches-table-wrap {
    overflow-x: auto;
    scrollbar-gutter: stable;
}

.boat-launches-table {
    width: 100%;
    min-width: 1180px;
    border-collapse: collapse;
    table-layout: fixed;
}

.boat-launches-table th,
.boat-launches-table td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--color-line);
    text-align: left;
    vertical-align: top;
}

.boat-launches-table th {
    color: var(--color-muted);
    background: #f1f6f4;
    font-size: 0.76rem;
    font-weight: 920;
    text-transform: uppercase;
}

.boat-launches-table td {
    color: var(--color-text);
    font-size: 0.9rem;
    font-weight: 680;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.boat-launches-table th:nth-child(1),
.boat-launches-table td:nth-child(1) {
    width: 18%;
}

.boat-launches-table th:nth-child(7),
.boat-launches-table td:nth-child(7),
.boat-launches-table th:nth-child(9),
.boat-launches-table td:nth-child(9) {
    width: 15%;
}

.boat-launches-table tr:last-child td {
    border-bottom: 0;
}

.boat-launches-table__name {
    display: grid;
    gap: 5px;
}

.boat-launches-table__name strong {
    color: var(--color-ink);
    font-size: 0.98rem;
}

.boat-launches-table__name small {
    color: var(--color-muted);
    font-size: 0.78rem;
    font-weight: 760;
}

.boat-launches-empty {
    padding-block: var(--space-8);
}

.boat-launches-map-section {
    margin-block: var(--space-5) var(--space-10);
}

.boat-launches-map-shell,
.boat-launch-detail-map-shell {
    position: relative;
    overflow: hidden;
    min-height: 430px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-xs);
}

.boat-launches-map,
.boat-launch-detail-map {
    min-height: 430px;
}

.boat-launch-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
    gap: var(--space-8);
    align-items: end;
    padding-block: var(--space-8) var(--space-5);
}

.boat-launch-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: var(--space-5);
    color: var(--color-muted);
    font-size: 0.86rem;
    font-weight: 820;
}

.boat-launch-detail-hero h1 {
    max-width: 820px;
    font-size: 3.8rem;
}

.boat-launch-detail-hero p {
    max-width: 760px;
    margin: var(--space-4) 0 0;
    color: var(--color-muted);
    font-size: 1rem;
    font-weight: 720;
    line-height: 1.58;
}

.boat-launch-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-top: var(--space-5);
}

.boat-launch-detail-location {
    display: grid;
    gap: var(--space-3);
    padding: var(--space-5);
}

.boat-launch-detail-location > span,
.boat-launch-detail-facts article > span {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: var(--color-forest-700);
    background: var(--color-coastal-mist);
    border-radius: 50%;
}

.boat-launch-detail-location strong {
    font-size: 1.15rem;
}

.boat-launch-detail-location small,
.boat-launch-detail-muted {
    color: var(--color-muted);
    font-weight: 720;
    line-height: 1.45;
}

.boat-launch-detail-facts {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--space-3);
    margin-bottom: var(--space-5);
}

.boat-launch-detail-facts article {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: var(--space-3);
    align-items: start;
    min-height: 92px;
    padding: var(--space-4);
}

.boat-launch-detail-facts strong {
    display: block;
    margin-bottom: 5px;
    color: var(--color-muted);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.boat-launch-detail-facts p {
    margin: 0;
    color: var(--color-ink);
    font-size: 0.9rem;
    font-weight: 760;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.boat-launch-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
    gap: var(--space-5);
    padding-bottom: var(--space-10);
}

.boat-launch-detail-main,
.boat-launch-detail-side {
    display: grid;
    align-content: start;
    gap: var(--space-5);
}

.boat-launch-detail-side {
    position: sticky;
    top: 92px;
}

.boat-launch-detail-panel {
    min-width: 0;
    padding: var(--space-5);
}

.boat-launch-detail-panel p {
    margin: var(--space-3) 0 0;
    color: var(--color-text);
    font-weight: 690;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.boat-launch-detail-list {
    display: grid;
    gap: 0;
    margin: var(--space-4) 0 0;
}

.boat-launch-detail-list div {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: var(--space-4);
    padding-block: 13px;
    border-top: 1px solid var(--color-line);
}

.boat-launch-detail-list--compact div {
    grid-template-columns: 118px minmax(0, 1fr);
}

.boat-launch-detail-list dt {
    color: var(--color-muted);
    font-size: 0.78rem;
    font-weight: 920;
    text-transform: uppercase;
}

.boat-launch-detail-list dd {
    margin: 0;
    color: var(--color-text);
    font-weight: 720;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.boat-launch-detail-map-panel {
    padding-bottom: var(--space-5);
}

.boat-launch-detail-map-shell,
.boat-launch-detail-map {
    min-height: 320px;
}

.boat-launch-relationship-list {
    display: grid;
    gap: var(--space-2);
    margin-top: var(--space-4);
}

.boat-launch-relationship {
    display: grid;
    gap: 4px;
    padding: 12px;
    color: var(--color-ink);
    background: #f5faf7;
    border: 1px solid rgba(21, 88, 34, 0.12);
    border-radius: var(--radius-xs);
}

a.boat-launch-relationship:hover,
a.boat-launch-relationship:focus-visible {
    border-color: rgba(21, 88, 34, 0.36);
    box-shadow: 0 10px 22px rgba(17, 32, 22, 0.08);
    outline: 0;
}

.boat-launch-relationship small {
    color: var(--color-forest-700);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.boat-launch-relationship strong {
    font-size: 0.95rem;
}

.boat-launch-relationship span {
    color: var(--color-muted);
    font-size: 0.8rem;
    font-weight: 720;
}

.boat-launch-detail-empty {
    padding-block: var(--space-8);
}

@media (max-width: 1120px) {
    .boat-launch-detail-hero,
    .boat-launch-detail-layout {
        grid-template-columns: 1fr;
    }

    .boat-launch-detail-side {
        position: static;
    }

    .boat-launch-detail-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .boat-launches-page .container,
    .boat-launch-detail-page .container {
        width: min(calc(100% - 32px), var(--container));
    }

    .boat-launches-hero__inner {
        min-height: 330px;
        padding-block: 60px var(--space-8);
    }

    .boat-launches-hero h1,
    .boat-launch-detail-hero h1 {
        font-size: 2.45rem;
        line-height: 1.05;
    }

    .boat-launches-hero p,
    .boat-launch-detail-hero p {
        font-size: 0.96rem;
    }

    .boat-launches-toolbar,
    .boat-launches-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .boat-launches-table-section,
    .boat-launches-map-section,
    .boat-launch-detail-panel {
        padding: var(--space-4);
    }

    .boat-launches-table-wrap {
        overflow: visible;
    }

    .boat-launches-table,
    .boat-launches-table tbody,
    .boat-launches-table tr,
    .boat-launches-table td {
        display: block;
        width: 100%;
        min-width: 0;
    }

    .boat-launches-table thead {
        display: none;
    }

    .boat-launches-table tr {
        padding-block: var(--space-3);
        border-bottom: 1px solid var(--color-line);
    }

    .boat-launches-table tr:last-child {
        border-bottom: 0;
    }

    .boat-launches-table td {
        display: grid;
        grid-template-columns: 112px minmax(0, 1fr);
        gap: var(--space-3);
        width: 100%;
        padding: 9px 0;
        border-bottom: 0;
    }

    .boat-launches-table td:nth-child(1),
    .boat-launches-table td:nth-child(7),
    .boat-launches-table td:nth-child(9) {
        width: 100%;
    }

    .boat-launches-table td::before {
        content: attr(data-label);
        color: var(--color-muted);
        font-size: 0.72rem;
        font-weight: 920;
        text-transform: uppercase;
    }

    .boat-launches-map-shell,
    .boat-launches-map {
        min-height: 340px;
    }

    .boat-launch-detail-hero {
        gap: var(--space-5);
        padding-block: var(--space-6) var(--space-4);
    }

    .boat-launch-detail-facts {
        grid-template-columns: 1fr;
    }

    .boat-launch-detail-facts article {
        min-height: 0;
    }

    .boat-launch-detail-list div,
    .boat-launch-detail-list--compact div {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .boat-launch-detail-actions .button {
        width: 100%;
    }
}
