* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family: Arial, Helvetica, sans-serif;

    background: #071426;

    color: #e8f4ff;

    line-height: 1.6;

    position: relative;

    min-height: 100vh;

    overflow-x: hidden;
}


/* =========================================================
   BLURRED BACKGROUND
   ========================================================= */

body::before {
    content: "";

    position: fixed;

    inset: -35px;

    z-index: -2;

    background-image: url("/images/backgrounds/main-bg.jpg");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    filter: blur(14px);

    transform: scale(1.06);
}


/* DARK OVERLAY */

body::after {
    content: "";

    position: fixed;

    inset: 0;

    z-index: -1;

    background:
        linear-gradient(
            rgba(5, 16, 29, 0.72),
            rgba(5, 16, 29, 0.88)
        );
}

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

button {
    font: inherit;
}

.container {
    width: min(1400px, calc(100% - 72px));
    margin: 0 auto;
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 240px;
    z-index: 1000;

    display: flex;
    flex-direction: column;

    padding: 34px 20px;

    background:
        linear-gradient(180deg, #06111f 0%, #071525 100%);

    border-right: 1px solid #173b5d;
}

.sidebar-logo {
    display: flex;
    flex-direction: column;

    margin: 5px 12px 58px;

    color: #e5f7ff;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    font-weight: normal;
    letter-spacing: 4px;
    line-height: .9;
}

.sidebar-logo span:last-child {
    color: #69c7ff;
}

.sidebar-navigation {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-button {
    display: flex;
    align-items: center;
    gap: 15px;

    width: 100%;
    padding: 15px 13px;

    border: 1px solid transparent;
    border-radius: 10px;

    background: transparent;
    color: #7893a9;

    font-size: 14px;

    transition:
        color .2s ease,
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.sidebar-button:hover {
    color: #e1f6ff;
    background: #0b1c30;
    border-color: #173b5d;
    transform: translateX(4px);
}

.sidebar-button.active {
    color: #c9efff;
    background: #0b2942;
    border-color: #2a688e;
}

.sidebar-number {
    min-width: 27px;
    color: #3f789d;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;
}

.sidebar-button.active .sidebar-number {
    color: #69c7ff;
}


/* =========================================================
   PAGE / HEADER
   ========================================================= */

.page {
    min-height: 100vh;
    margin-left: 240px;
}

.site-header {
    border-bottom: 1px solid rgba(42, 88, 120, 0.55);

    background: rgba(7, 20, 38, 0.68);

    backdrop-filter: blur(12px);
}

.header-inner {
    min-height: 78px;

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

    gap: 40px;
}

.logo {
    color: #dff3ff;
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 1px;

    transition: color .2s ease;
}

.logo:hover {
    color: #69c7ff;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navigation a {
    padding: 9px 15px;
    border-radius: 8px;

    color: #9bb4cb;
    font-size: 14px;

    transition:
        color .2s ease,
        background .2s ease;
}

.navigation a:hover {
    color: #bfe9ff;
    background: #102a46;
}


/* =========================================================
   COMMON TYPOGRAPHY
   ========================================================= */

.eyebrow {
    margin: 0 0 18px;

    color: #69c7ff;

    font-size: 11px;
    font-weight: bold;
    letter-spacing: 4px;
}

h1,
h2,
h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: normal;
}


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

.hero {
    position: relative;
    overflow: hidden;

    padding: 160px 0 175px;

    border-bottom: 1px solid #173552;

    background:
        radial-gradient(circle at 78% 22%, rgba(50, 160, 230, .15), transparent 29%),
        radial-gradient(circle at 12% 85%, rgba(27, 91, 144, .14), transparent 34%);
}

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

.hero h1 {
    max-width: 1050px;
    margin: 0;

    color: #f0f8ff;

    font-size: clamp(62px, 9vw, 122px);
    line-height: .92;
    letter-spacing: -4px;
}

.hero-text {
    max-width: 680px;
    margin: 35px 0;

    color: #9bb4cb;
    font-size: 20px;
}

.button {
    display: inline-block;

    padding: 13px 25px;

    border: 1px solid #3f82aa;
    border-radius: 9px;

    background: #0d2239;
    color: #cceeff;

    font-size: 14px;

    transition:
        background .25s ease,
        border-color .25s ease,
        color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}

.button:hover {
    background: #69c7ff;
    border-color: #69c7ff;
    color: #071426;

    transform: translateY(-2px);

    box-shadow: 0 8px 25px rgba(45, 166, 230, .2);
}


/* =========================================================
   SECTIONS
   ========================================================= */

.section {
    padding: 115px 0;
}

.section h1 {
    margin: 0;

    color: #eef8ff;

    font-size: clamp(52px, 7vw, 88px);
    line-height: .95;
    letter-spacing: -3px;
}


/* =========================================================
   PROJECTS INDEX
   ========================================================= */

.projects-intro {
    max-width: 680px;
    margin: 25px 0 75px;

    color: #8faac0;
    font-size: 18px;
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 44px;
}

.project-card {
    display: grid;
    grid-template-columns: minmax(390px, 44%) 1fr;

    min-height: 360px;

    overflow: hidden;

    border: 1px solid #173b5d;
    border-radius: 18px;

    background:
        linear-gradient(135deg, rgba(16, 43, 69, .7), rgba(8, 23, 39, .92));

    transition:
        transform .28s ease,
        border-color .28s ease,
        box-shadow .28s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: #2f759c;

    box-shadow:
        0 20px 55px rgba(0, 0, 0, .25),
        0 0 0 1px rgba(82, 174, 224, .08);
}

.project-image {
    position: relative;
    min-height: 360px;
    overflow: hidden;

    background: #081727;
}

.project-image::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(90deg, rgba(5, 15, 26, 0) 40%, rgba(7, 20, 38, .45) 100%);
    pointer-events: none;
}

.project-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .45s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.035);
}

.project-info {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 52px 58px;
}

.project-number {
    margin: 0 0 15px;

    color: #69c7ff;

    font-size: 11px;
    font-weight: bold;
    letter-spacing: 3px;
}

.project-info h2 {
    margin: 0 0 22px;

    color: #edf8ff;

    font-size: clamp(34px, 4vw, 52px);
    line-height: 1;
}

.project-info > p:not(.project-number) {
    max-width: 620px;
    margin: 0 0 28px;

    color: #8faac0;
    font-size: 16px;
    line-height: 1.75;
}

.project-link {
    margin-top: auto;

    color: #69c7ff;

    font-size: 14px;

    transition: color .2s ease;
}

.project-card:hover .project-link {
    color: #c5efff;
}


/* =========================================================
   PROJECT PAGE
   ========================================================= */

.project-hero {
    position: relative;
    overflow: hidden;

    min-height: 620px;

    display: flex;
    align-items: flex-end;

    border-bottom: 1px solid #173552;

    background: #071426;
}

.project-hero-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.project-hero-image img {
    width: 100%;
    height: 100%;
    display: block;

    object-fit: cover;

    opacity: .68;
}

.project-hero-image::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(5, 15, 27, .15) 0%,
            rgba(5, 15, 27, .3) 38%,
            rgba(5, 15, 27, .96) 100%
        ),
        linear-gradient(
            90deg,
            rgba(5, 15, 27, .9) 0%,
            rgba(5, 15, 27, .2) 65%,
            rgba(5, 15, 27, .45) 100%
        );
}

.project-hero-content {
    position: relative;
    z-index: 1;

    width: 100%;

    padding: 105px 0 75px;
}

.project-hero-content h1 {
    max-width: 1000px;
    margin: 0 0 25px;

    color: #f3faff;

    font-size: clamp(58px, 8vw, 108px);
    line-height: .92;
    letter-spacing: -4px;
}

.project-lead {
    max-width: 760px;
    margin: 0;

    color: #b2c7d8;
    font-size: 19px;
    line-height: 1.7;
}

.project-content {
    padding: 105px 0;
}

.project-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr);
    gap: 70px;
    align-items: start;
}

.project-description h2,
.project-download h2 {
    margin: 0 0 25px;

    color: #edf8ff;

    font-size: 42px;
    line-height: 1;
}

.project-description p {
    max-width: 820px;
    margin: 0 0 25px;

    color: #8faac0;
    font-size: 17px;
    line-height: 1.85;
}

.project-facts {
    display: flex;
    flex-direction: column;

    border-top: 1px solid #173b5d;
    border-bottom: 1px solid #173b5d;
}

.project-fact {
    display: flex;
    justify-content: space-between;
    gap: 20px;

    padding: 20px 0;

    border-bottom: 1px solid #173b5d;
}

.project-fact:last-child {
    border-bottom: 0;
}

.project-fact span {
    color: #5f7c95;

    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.project-fact strong {
    color: #cbeeff;

    font-size: 14px;
    font-weight: normal;

    text-align: right;
}

.project-wide-image {
    margin: 100px 0 0;

    overflow: hidden;

    border: 1px solid #173b5d;
    border-radius: 18px;

    background: #081727;
}

.project-wide-image img {
    display: block;

    width: 100%;
    max-height: 720px;

    object-fit: cover;
}

.project-download {
    margin-top: 100px;
    padding: 55px;

    border: 1px solid #24516e;
    border-radius: 18px;

    background:
        radial-gradient(circle at 85% 20%, rgba(67, 176, 231, .1), transparent 28%),
        #0a1b2e;
}

.project-download p:not(.eyebrow) {
    max-width: 700px;
    margin: 0 0 28px;

    color: #8faac0;
    font-size: 16px;
}

.download-list {
    display: flex;
    flex-direction: column;
    gap: 10px;

    margin-top: 35px;
}

.download-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 17px 18px;

    border: 1px solid #173b5d;
    border-radius: 11px;

    background: #081829;

    transition:
        border-color .2s ease,
        background .2s ease;
}

.download-item:hover {
    border-color: #33799f;
    background: #0d2238;
}

.download-file {
    display: flex;
    align-items: center;
    gap: 14px;

    min-width: 0;
}

.download-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #285879;
    border-radius: 8px;

    background: #0b2035;
    color: #69c7ff;

    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;
}

.download-info {
    display: flex;
    flex-direction: column;
    gap: 3px;

    min-width: 0;
}

.download-info strong {
    overflow: hidden;

    color: #dff3ff;
    font-size: 14px;
    font-weight: normal;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.download-info span {
    color: #607f98;
    font-size: 12px;
}

.download-button {
    flex-shrink: 0;

    padding: 9px 17px;

    border: 1px solid #397da5;
    border-radius: 7px;

    color: #9edcff;

    font-size: 13px;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.download-button:hover {
    border-color: #69c7ff;
    background: #69c7ff;
    color: #071522;
}

.project-back {
    margin-top: 40px;
}

.project-back a {
    color: #69c7ff;
    font-size: 14px;
}

.project-back a:hover {
    color: #c3edff;
}


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

.site-footer {
    padding: 40px 0;

    border-top: 1px solid #173552;

    color: #67839d;
    font-size: 13px;
}


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

@media (max-width: 900px) {

    .sidebar {
        position: relative;

        width: 100%;
        height: auto;

        padding: 20px;

        border-right: 0;
        border-bottom: 1px solid #173b5d;
    }

    .sidebar-logo {
        margin: 0 10px 25px;
    }

    .sidebar-navigation {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .sidebar-button {
        flex: 1;
        min-width: 140px;
        justify-content: center;
    }

    .page {
        margin-left: 0;
    }

    .project-card {
        grid-template-columns: 300px 1fr;
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

}

@media (max-width: 700px) {

    .container {
        width: min(100% - 30px, 1400px);
    }

    .header-inner {
        flex-direction: column;
        justify-content: center;
        padding: 20px 0;
        gap: 15px;
    }

    .navigation {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 100px 0 110px;
    }

    .hero h1,
    .project-hero-content h1 {
        letter-spacing: -2px;
    }

    .section {
        padding: 75px 0;
    }

    .projects-intro {
        margin-bottom: 45px;
    }

    .projects-list {
        gap: 28px;
    }

    .project-card {
        display: flex;
        flex-direction: column;
    }

    .project-image {
        min-height: 240px;
        height: 240px;
    }

    .project-info {
        padding: 30px;
    }

    .project-info h2 {
        font-size: 35px;
    }

    .project-hero {
        min-height: 520px;
    }

    .project-hero-content {
        padding: 80px 0 55px;
    }

    .project-content {
        padding: 75px 0;
    }

    .project-wide-image {
        margin-top: 65px;
    }

    .project-download {
        margin-top: 70px;
        padding: 30px;
    }

}

@media (max-width: 560px) {

    .sidebar-navigation {
        flex-direction: column;
    }

    .sidebar-button {
        width: 100%;
    }

    .project-fact {
        flex-direction: column;
        gap: 6px;
    }

    .project-fact strong {
        text-align: left;
    }

    .download-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .download-button {
        width: 100%;
        text-align: center;
    }
/* =========================================================
   HOME NAVIGATION CARDS
   ========================================================= */

.home-navigation-section {
    padding-top: 105px;
    padding-bottom: 140px;
}

.home-navigation-intro {
    max-width: 700px;
    margin: -10px 0 55px;

    color: #8faac0;
    font-size: 17px;
    line-height: 1.75;
}

.home-navigation-cards {
    display: grid;

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

    gap: 24px;
}

.home-nav-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 330px;

    padding: 32px;

    overflow: hidden;

    border: 1px solid #173b5d;
    border-radius: 18px;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(65, 174, 231, 0.09),
            transparent 30%
        ),
        #0b1b30;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.home-nav-card-large {
    grid-column: span 2;
    min-height: 360px;
}

.home-nav-card:hover {
    transform: translateY(-6px);

    border-color: #347ca8;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(65, 174, 231, 0.14),
            transparent 32%
        ),
        #0e223a;

    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.home-nav-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.home-nav-number {
    color: #4e8aae;

    font-size: 11px;
    font-weight: bold;
    letter-spacing: 3px;
}

.home-nav-arrow {
    color: #4a7896;

    font-size: 28px;
    line-height: 1;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.home-nav-card:hover .home-nav-arrow {
    color: #69c7ff;
    transform: translate(3px, -3px);
}

.home-nav-card-content {
    margin-top: auto;
}

.home-nav-card-content .eyebrow {
    margin-bottom: 12px;
}

.home-nav-card-content h3 {
    margin: 0 0 18px;

    color: #edf8ff;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(34px, 4vw, 48px);
    font-weight: normal;

    line-height: 1;
}

.home-nav-card-content p:not(.eyebrow) {
    max-width: 620px;

    margin: 0;

    color: #8faac0;

    font-size: 16px;
    line-height: 1.75;
}

.home-nav-link {
    margin-top: 30px;

    color: #69c7ff;

    font-size: 14px;

    transition: color 0.2s ease;
}

.home-nav-card:hover .home-nav-link {
    color: #c5efff;
}


/* MOBILE */

@media (max-width: 700px) {

    .home-navigation-section {
        padding-top: 75px;
        padding-bottom: 90px;
    }

    .home-navigation-cards {
        grid-template-columns: 1fr;
    }

    .home-nav-card-large {
        grid-column: auto;
        min-height: 330px;
    }

}
}
