/* =========================================================
   HAVEN Website v3
   Player Guide v0.1 candidate
   ========================================================= */


.guide-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    display: flex;
    min-height: 270px;

    margin-top: 32px;
    margin-bottom: 14px;

    padding:
        clamp(26px, 4vw, 48px);

    flex-direction: column;
    justify-content: center;

    border:
        1px solid
        #2b343b;

    background:
        linear-gradient(
            90deg,
            rgba(5, 9, 12, 0.96) 0%,
            rgba(5, 9, 12, 0.91) 34%,
            rgba(5, 9, 12, 0.66) 64%,
            rgba(5, 9, 12, 0.76) 100%
        ),
        linear-gradient(
            180deg,
            rgba(5, 9, 12, 0.14),
            rgba(5, 9, 12, 0.58)
        ),
        url("../img/haven-v3-industrial-bg.png");

    background-position:
        center,
        center,
        center 52%;

    background-size:
        auto,
        auto,
        cover;

    background-repeat:
        no-repeat;

    box-shadow:
        inset 0 0 0 1px
        rgba(0, 0, 0, 0.28),
        0 18px 52px
        rgba(0, 0, 0, 0.28);
}


.guide-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 0;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.025),
            rgba(0, 0, 0, 0.10)
        );
}


.guide-hero > * {
    position: relative;
    z-index: 1;
}


.guide-kicker {
    margin-bottom: 7px;

    color:
        rgba(221, 126, 67, 0.92);

    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}


.guide-hero h1 {
    margin: 0;

    color:
        rgba(244, 247, 249, 0.97);

    font-size:
        clamp(
            2rem,
            5vw,
            3.7rem
        );

    letter-spacing:
        -0.035em;
}


.guide-hero p {
    max-width: 780px;

    margin:
        14px
        0
        0;

    color:
        rgba(232, 238, 242, 0.62);

    font-size:
        clamp(
            0.96rem,
            1.6vw,
            1.08rem
        );

    line-height: 1.68;
}


/* =========================================================
   Guide section navigation
   ========================================================= */


.guide-subnav {
    display: flex;
    overflow-x: auto;

    gap: 7px;

    margin-bottom: 22px;
    padding:
        10px;

    border:
        1px solid
        rgba(255, 255, 255, 0.075);

    background:
        rgba(8, 12, 15, 0.88);

    scrollbar-width: thin;
}


.guide-subnav a {
    flex: 0 0 auto;

    padding:
        8px
        10px;

    border:
        1px solid
        rgba(255, 255, 255, 0.065);

    color:
        rgba(232, 238, 242, 0.48);

    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.055em;

    text-decoration: none;
    text-transform: uppercase;
}


.guide-subnav a:hover {
    color:
        rgba(244, 247, 249, 0.88);

    border-color:
        rgba(221, 126, 67, 0.28);
}


.guide-subnav a[aria-current="page"] {
    color:
        rgba(244, 247, 249, 0.96);

    border-color:
        rgba(221, 126, 67, 0.48);

    background:
        rgba(209, 106, 45, 0.10);
}


/* =========================================================
   Shared typography and panels
   ========================================================= */


.guide-welcome,
.guide-panel,
.guide-card,
.guide-note,
.guide-route-card,
.guide-status-strip {
    border:
        1px solid
        rgba(255, 255, 255, 0.075);

    background:
        rgba(8, 12, 15, 0.84);
}


.guide-welcome h2,
.guide-panel h2,
.guide-card h2 {
    margin: 0;

    color:
        rgba(244, 247, 249, 0.96);

    font-size:
        clamp(
            1.35rem,
            2.6vw,
            2rem
        );
}


.guide-card h2 {
    font-size: 1.32rem;
}


.guide-card p,
.guide-welcome p,
.guide-note,
.guide-panel p {
    color:
        rgba(232, 238, 242, 0.50);

    font-size: 0.78rem;
    line-height: 1.62;
}


.guide-command {
    display: inline-block;

    max-width: 100%;

    padding:
        6px
        8px;

    border:
        1px solid
        rgba(221, 126, 67, 0.30);

    background:
        rgba(209, 106, 45, 0.07);

    color:
        rgba(244, 174, 129, 0.96);

    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        "Liberation Mono",
        monospace;

    font-size: 0.74rem;

    overflow-wrap: anywhere;
}


.guide-feature-card {
    border-color:
        rgba(221, 126, 67, 0.25);

    background:
        linear-gradient(
            145deg,
            rgba(209, 106, 45, 0.075),
            rgba(8, 12, 15, 0.90) 58%
        );
}


/* =========================================================
   Landing
   ========================================================= */


.guide-welcome {
    display: grid;

    grid-template-columns:
        minmax(0, 0.82fr)
        minmax(0, 1.18fr);

    gap: 36px;

    margin-bottom: 22px;
    padding: 24px;
}


.guide-welcome-copy {
    align-self: center;
}


.guide-welcome-copy p {
    margin:
        0
        0
        12px;
}


.guide-welcome-copy p:last-child {
    margin-bottom: 0;
}


.guide-welcome-copy strong {
    color:
        rgba(239, 154, 102, 0.95);
}


.guide-section-heading {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 26px;

    padding:
        21px
        23px
        18px;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.06);
}


.guide-section-heading > p {
    max-width: 430px;

    margin: 0;

    color:
        rgba(232, 238, 242, 0.40);

    font-size: 0.74rem;

    text-align: right;
}


.guide-panel {
    overflow: hidden;

    margin-bottom: 22px;
}


.guide-command-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 1px;

    background:
        rgba(255, 255, 255, 0.055);
}


.guide-command-card {
    display: flex;

    min-width: 0;
    min-height: 112px;

    padding: 18px;

    flex-direction: column;
    justify-content: space-between;

    background:
        rgba(8, 12, 15, 0.97);
}


.guide-command-card > span {
    color:
        rgba(232, 238, 242, 0.38);

    font-size: 0.63rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


.guide-command-card .guide-command {
    align-self: flex-start;

    margin-top: 14px;
}


.guide-status-strip {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap: 1px;

    margin-bottom: 22px;

    background:
        rgba(255, 255, 255, 0.055);
}


.guide-status-strip article {
    padding:
        18px
        20px;

    background:
        rgba(8, 12, 15, 0.97);
}


.guide-status-strip span {
    display: block;

    color:
        rgba(232, 238, 242, 0.36);

    font-size: 0.61rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


.guide-status-strip strong {
    display: block;

    margin-top: 6px;

    color:
        rgba(244, 247, 249, 0.96);

    font-size: 1.5rem;
}


.guide-route-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 12px;

    margin-bottom: 30px;
}


.guide-route-card {
    display: flex;

    min-height: 210px;

    padding: 20px;

    flex-direction: column;

    color: inherit;

    text-decoration: none;

    transition:
        border-color 120ms ease,
        transform 120ms ease,
        background 120ms ease;
}


.guide-route-card:hover {
    transform:
        translateY(-2px);

    border-color:
        rgba(221, 126, 67, 0.35);

    background:
        rgba(209, 106, 45, 0.05);
}


.guide-route-number {
    color:
        rgba(221, 126, 67, 0.70);

    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.10em;
}


.guide-route-card > strong {
    margin-top: 18px;

    color:
        rgba(244, 247, 249, 0.95);

    font-size: 1.1rem;
}


.guide-route-card p {
    margin:
        9px
        0
        0;

    color:
        rgba(232, 238, 242, 0.43);

    font-size: 0.76rem;
    line-height: 1.58;
}


.guide-route-open {
    margin-top: auto;
    padding-top: 20px;

    color:
        rgba(239, 154, 102, 0.90);

    font-size: 0.62rem;
    font-weight: 850;
    letter-spacing: 0.07em;
}


/* =========================================================
   Cards, tables and grids
   ========================================================= */


.guide-two-column {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 12px;

    margin-bottom: 22px;
}


.guide-card {
    min-width: 0;

    padding: 22px;
}


.guide-card > p {
    margin:
        12px
        0
        0;
}


.guide-card > .guide-command {
    margin-top: 15px;
}


.guide-state {
    margin-top: 18px;

    padding:
        10px
        12px;

    border:
        1px solid
        rgba(255, 255, 255, 0.06);

    color:
        rgba(232, 238, 242, 0.40);

    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}


.guide-state strong {
    color:
        rgba(239, 154, 102, 0.94);
}


.guide-action {
    display: inline-block;

    margin-top: 18px;

    color:
        rgba(239, 154, 102, 0.94);

    font-size: 0.67rem;
    font-weight: 850;
    letter-spacing: 0.06em;

    text-decoration: none;
    text-transform: uppercase;
}


.guide-action:hover {
    text-decoration: underline;
}


.guide-table-wrap {
    overflow-x: auto;
}


.guide-table {
    width: 100%;

    border-collapse: collapse;
}


.guide-table th,
.guide-table td {
    padding:
        13px
        16px;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.055);

    text-align: left;
    vertical-align: middle;
}


.guide-table th {
    color:
        rgba(232, 238, 242, 0.36);

    font-size: 0.61rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


.guide-table td {
    color:
        rgba(232, 238, 242, 0.53);

    font-size: 0.75rem;
    line-height: 1.5;
}


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


.guide-stat-grid {
    display: grid;

    grid-template-columns:
        repeat(
            5,
            minmax(0, 1fr)
        );

    gap: 1px;

    background:
        rgba(255, 255, 255, 0.055);
}


.guide-stat-grid article {
    min-width: 0;

    padding: 18px;

    background:
        rgba(8, 12, 15, 0.97);
}


.guide-stat-grid article span {
    display: block;

    color:
        rgba(232, 238, 242, 0.34);

    font-size: 0.59rem;
    font-weight: 850;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}


.guide-stat-grid article strong {
    display: block;

    margin-top: 7px;

    color:
        rgba(244, 247, 249, 0.96);

    font-size: 1.35rem;

    overflow-wrap: anywhere;
}


.guide-stat-grid-seven {
    grid-template-columns:
        repeat(
            7,
            minmax(0, 1fr)
        );
}


.guide-note {
    margin-bottom: 22px;
    padding:
        15px
        18px;

    line-height: 1.62;
}


.guide-note strong {
    color:
        rgba(244, 247, 249, 0.88);
}


.guide-note .guide-command {
    margin:
        0
        3px;
}


/* =========================================================
   Weapons
   ========================================================= */


.guide-feature-grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 12px;

    margin-bottom: 22px;
}


.guide-data-list {
    display: grid;

    gap: 7px;

    margin:
        18px
        0
        0;
}


.guide-data-list div {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 18px;

    padding:
        8px
        0;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.055);
}


.guide-data-list div:last-child {
    border-bottom: 0;
}


.guide-data-list dt {
    color:
        rgba(232, 238, 242, 0.39);

    font-size: 0.70rem;
}


.guide-data-list dd {
    margin: 0;

    color:
        rgba(244, 247, 249, 0.90);

    font-size: 0.75rem;
    font-weight: 850;
}


.guide-hsr-layout {
    display: grid;

    grid-template-columns:
        minmax(230px, 0.72fr)
        minmax(0, 1.28fr);

    gap: 1px;

    background:
        rgba(255, 255, 255, 0.055);
}


.guide-command-stack {
    padding: 20px;

    background:
        rgba(8, 12, 15, 0.97);
}


.guide-command-stack > div {
    margin-bottom: 15px;
}


.guide-command-stack > div:last-child {
    margin-bottom: 0;
}


.guide-command-stack span {
    display: block;

    margin-bottom: 6px;

    color:
        rgba(232, 238, 242, 0.34);

    font-size: 0.58rem;
    font-weight: 850;
    letter-spacing: 0.07em;
}


.guide-hsr-stats {
    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );
}


.guide-note-inside {
    margin: 0;

    border-right: 0;
    border-bottom: 0;
    border-left: 0;
}


/* =========================================================
   Models
   ========================================================= */


.guide-command-pair {
    display: flex;

    gap: 8px;

    flex-wrap: wrap;

    margin-top: 15px;
}


.guide-model-grid {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap: 1px;

    background:
        rgba(255, 255, 255, 0.055);
}


.guide-model-card {
    min-width: 0;

    padding:
        18px;

    background:
        rgba(8, 12, 15, 0.97);
}


.guide-model-card span {
    display: block;

    color:
        rgba(221, 126, 67, 0.62);

    font-size: 0.57rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}


.guide-model-card strong {
    display: block;

    margin-top: 8px;

    color:
        rgba(244, 247, 249, 0.88);

    font-size: 0.78rem;

    overflow-wrap: anywhere;
}


.guide-model-default {
    background:
        rgba(209, 106, 45, 0.065);
}


/* =========================================================
   Spawn protection
   ========================================================= */


.guide-protection-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 1px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.055);

    background:
        rgba(255, 255, 255, 0.055);
}


.guide-protection-grid article {
    padding: 18px;

    background:
        rgba(8, 12, 15, 0.97);
}


.guide-protection-grid strong {
    color:
        rgba(244, 247, 249, 0.88);

    font-size: 0.78rem;
}


.guide-protection-grid p {
    margin:
        8px
        0
        0;
}


/* =========================================================
   Sounds
   ========================================================= */


.guide-sound-tools {
    display: grid;

    grid-template-columns:
        auto
        minmax(220px, 1fr)
        auto;

    gap: 12px;

    align-items: center;

    padding:
        16px;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.055);
}


.guide-sound-tools label {
    color:
        rgba(232, 238, 242, 0.34);

    font-size: 0.60rem;
    font-weight: 850;
    letter-spacing: 0.08em;
}


.guide-sound-tools input {
    width: 100%;

    padding:
        9px
        11px;

    border:
        1px solid
        rgba(255, 255, 255, 0.10);

    outline: none;

    background:
        rgba(2, 5, 7, 0.82);

    color:
        rgba(244, 247, 249, 0.93);

    font: inherit;
    font-size: 0.76rem;
}


.guide-sound-tools input:focus {
    border-color:
        rgba(221, 126, 67, 0.52);
}


.guide-sound-count {
    color:
        rgba(232, 238, 242, 0.36);

    font-size: 0.66rem;
    white-space: nowrap;
}


.guide-sound-table th:last-child,
.guide-sound-table td:last-child {
    width: 180px;
}


.guide-variant-badge {
    display: inline-block;

    margin-left: 8px;

    padding:
        2px
        5px;

    border:
        1px solid
        rgba(221, 126, 67, 0.25);

    color:
        rgba(239, 154, 102, 0.76);

    font-size: 0.54rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}


.guide-sound-empty {
    padding:
        22px;

    color:
        rgba(232, 238, 242, 0.42);

    font-size: 0.78rem;
}


/* =========================================================
   Responsive
   ========================================================= */


@media (max-width: 1050px) {

    .guide-stat-grid-seven {
        grid-template-columns:
            repeat(
                4,
                minmax(0, 1fr)
            );
    }


    .guide-model-grid {
        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );
    }

}


@media (max-width: 900px) {

    .guide-command-grid,
    .guide-route-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }


    .guide-stat-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }


    .guide-hsr-layout {
        grid-template-columns:
            1fr;
    }


    .guide-hsr-stats {
        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );
    }

}


@media (max-width: 760px) {

    .guide-hero {
        min-height: 230px;

        padding:
            26px
            22px;

        background-position:
            center,
            center,
            58% 52%;
    }


    .guide-welcome,
    .guide-two-column,
    .guide-feature-grid {
        grid-template-columns:
            1fr;
    }


    .guide-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }


    .guide-section-heading > p {
        text-align: left;
    }


    .guide-status-strip {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }


    .guide-protection-grid {
        grid-template-columns:
            1fr;
    }


    .guide-model-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }


    .guide-sound-tools {
        grid-template-columns:
            1fr;
    }


    .guide-sound-count {
        white-space: normal;
    }

}


@media (max-width: 520px) {

    .guide-command-grid,
    .guide-route-grid,
    .guide-status-strip,
    .guide-stat-grid,
    .guide-stat-grid-seven,
    .guide-hsr-stats,
    .guide-model-grid {
        grid-template-columns:
            1fr;
    }


    .guide-sound-table th:last-child,
    .guide-sound-table td:last-child {
        width: auto;
    }

}
