/* =========================================================
   SMART CLUB — PROJECTS & REPORTS
   PUBLIC DATABASE
========================================================= */


/* =========================================================
   01 — RESET / VARIABLES
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


:root {

    --red: #b00045;
    --red-light: #d10a59;
    --red-dark: #7d0031;

    --black: #202126;
    --dark: #11141a;
    --darker: #090b0f;
    --deep: #07090c;

    --gray: #686a70;
    --gray-light: #9b9da4;

    --light-gray: #f5f5f6;
    --background: #f7f7f8;

    --white: #ffffff;

    --border-light: #dedee2;
    --border-dark: #292c33;

    --shadow:
        0 25px 70px rgba(0, 0, 0, .12);
}


html {
    scroll-behavior: smooth;
}


body {

    min-height: 100vh;

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

    background: var(--background);

    color: var(--black);

    overflow-x: hidden;
}


body.modal-open {
    overflow: hidden;
}


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


button,
input {
    font: inherit;
}


button {
    border: none;
}


img {
    display: block;
    max-width: 100%;
}


::selection {
    color: white;
    background: var(--red);
}


/* =========================================================
   02 — GLOBAL BACKGROUND
========================================================= */

.global-background {

    position: fixed;

    inset: 0;

    z-index: -10;

    overflow: hidden;

    pointer-events: none;
}


.global-grid {

    position: absolute;

    inset: 0;

    opacity: .025;

    background-image:

        linear-gradient(
            rgba(0, 0, 0, .3) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(0, 0, 0, .3) 1px,
            transparent 1px
        );

    background-size: 60px 60px;
}


.global-glow {

    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    filter: blur(120px);

    opacity: .08;
}


.global-glow-one {

    top: 20%;
    right: -200px;

    background: var(--red);
}


.global-glow-two {

    bottom: 10%;
    left: -250px;

    background: var(--red-light);
}


/* =========================================================
   03 — PAGE LOADER
========================================================= */

.page-loader {

    position: fixed;

    inset: 0;

    z-index: 99999;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    color: white;

    background: var(--deep);

    transition:
        opacity .6s ease,
        visibility .6s ease;
}


.page-loader.hide {

    opacity: 0;

    visibility: hidden;

    pointer-events: none;
}


.loader-system {

    width: 110px;
    height: 110px;

    position: relative;

    margin-bottom: 28px;

    display: flex;

    align-items: center;

    justify-content: center;
}


.loader-ring {

    position: absolute;

    inset: 0;

    border-radius: 50%;

    border:
        1px solid rgba(255,255,255,.08);

    border-top-color: var(--red-light);

    border-right-color: var(--red);

    animation:
        rotate 1.8s linear infinite;
}


.loader-core {

    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid rgba(209,10,89,.55);

    border-radius: 50%;

    color: var(--red-light);

    font-size: 22px;

    font-weight: 900;

    box-shadow:
        0 0 30px rgba(176,0,69,.15);
}


.page-loader p {

    color: var(--red-light);

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 4px;
}


.page-loader > span {

    margin-top: 10px;

    color: #555a64;

    font-size: 8px;

    font-weight: 900;

    letter-spacing: 3px;

    animation:
        pulse 1.2s infinite;
}


/* =========================================================
   04 — NAVBAR
========================================================= */

.navbar {

    width: 100%;
    height: 85px;

    padding: 0 7%;

    position: fixed;

    top: 0;
    left: 0;

    z-index: 1000;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background:
        rgba(255,255,255,.96);

    border-bottom:
        1px solid rgba(0,0,0,.07);

    backdrop-filter: blur(18px);

    transition:
        height .3s ease,
        box-shadow .3s ease,
        background .3s ease;
}


.navbar.scrolled {

    height: 76px;

    box-shadow:
        0 10px 40px rgba(0,0,0,.07);
}


.logo {

    display: flex;

    align-items: center;

    gap: 12px;
}


.logo img {

    width: 55px;
    height: 55px;

    object-fit: contain;
}


.logo-text {

    display: flex;

    flex-direction: column;
}


.logo-text span {

    font-size: 16px;

    font-weight: 900;

    letter-spacing: 2px;
}


.logo-text small {

    margin-top: 3px;

    color: var(--red);

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 3px;
}


.nav-links {

    display: flex;

    align-items: center;

    gap: 35px;

    list-style: none;
}


.nav-links a {

    position: relative;

    font-size: 14px;

    font-weight: 700;

    transition: color .3s ease;
}


.nav-links a::after {

    content: "";

    width: 0;
    height: 2px;

    position: absolute;

    left: 0;
    bottom: -9px;

    background: var(--red);

    transition: width .3s ease;
}


.nav-links a:hover,
.nav-links a.active {

    color: var(--red);
}


.nav-links a:hover::after,
.nav-links a.active::after {

    width: 100%;
}


.join-btn {

    padding: 13px 24px;

    color: white;

    background: var(--red);

    border-radius: 3px;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: .5px;

    transition:
        transform .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}


.join-btn:hover {

    background: var(--red-dark);

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(176,0,69,.22);
}


/* =========================================================
   05 — MENU BUTTON
========================================================= */

.menu-btn {

    width: 42px;
    height: 42px;

    display: none;

    position: relative;

    background: transparent;

    cursor: pointer;
}


.menu-btn span {

    width: 24px;
    height: 2px;

    position: absolute;

    left: 9px;

    background: var(--black);

    transition: .3s;
}


.menu-btn span:nth-child(1) {
    top: 12px;
}


.menu-btn span:nth-child(2) {
    top: 20px;
}


.menu-btn span:nth-child(3) {
    top: 28px;
}


/* =========================================================
   06 — MOBILE MENU
========================================================= */

.mobile-menu {

    width: 100%;

    min-height: 100vh;

    padding:
        115px 7%
        50px;

    position: fixed;

    inset: 0;

    z-index: 950;

    display: flex;

    flex-direction: column;

    background:
        rgba(9,11,15,.985);

    color: white;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform: translateY(-20px);

    transition:
        opacity .35s ease,
        transform .35s ease,
        visibility .35s ease;
}


.mobile-menu.open {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform: translateY(0);
}


.mobile-menu-top {

    margin-bottom: 45px;

    padding-bottom: 18px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-bottom:
        1px solid #292c33;
}


.mobile-menu-top span {

    color: var(--red-light);

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 3px;
}


.mobile-menu-top button {

    color: #777;

    background: transparent;

    font-size: 30px;

    cursor: pointer;
}


.mobile-links {

    display: flex;

    flex-direction: column;
}


.mobile-links a {

    padding:
        19px 0;

    display: flex;

    align-items: center;

    gap: 22px;

    border-bottom:
        1px solid #20232a;

    color: #d9d9dc;

    font-size: 23px;

    font-weight: 800;

    transition: .3s;
}


.mobile-links a span {

    color: #555a64;

    font-family: monospace;

    font-size: 9px;
}


.mobile-links a:hover,
.mobile-links a.active {

    padding-left: 10px;

    color: var(--red-light);
}


.mobile-join {

    margin-top: 35px;

    padding: 18px 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background: var(--red);

    color: white;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 2px;
}


/* =========================================================
   07 — HERO
========================================================= */

.projects-hero {

    min-height: 100vh;

    padding:
        150px 8%
        90px;

    position: relative;

    overflow: hidden;

    display: flex;

    align-items: center;

    justify-content: space-between;

    color: white;

    background: var(--deep);
}


.hero-background {

    position: absolute;

    inset: 0;

    overflow: hidden;
}


.hero-grid {

    position: absolute;

    inset: 0;

    opacity: .11;

    background-image:

        linear-gradient(
            rgba(255,255,255,.075) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(255,255,255,.075) 1px,
            transparent 1px
        );

    background-size: 58px 58px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 95%
        );
}


.hero-radial {

    position: absolute;

    inset: 0;

    background:

        radial-gradient(
            circle at 77% 48%,
            rgba(176,0,69,.18),
            transparent 27%
        ),

        radial-gradient(
            circle at 18% 70%,
            rgba(176,0,69,.05),
            transparent 30%
        );
}


.hero-scan {

    width: 100%;
    height: 1px;

    position: absolute;

    left: 0;
    top: 0;

    opacity: .25;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--red-light),
            transparent
        );

    animation:
        heroScan 7s linear infinite;
}


/* =========================================================
   08 — HERO CONTENT
========================================================= */

.hero-content {

    width: 58%;

    position: relative;

    z-index: 5;
}


.section-code {

    margin-bottom: 27px;

    display: flex;

    align-items: center;

    gap: 12px;

    color: var(--red-light);

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 4px;
}


.section-code span {

    width: 38px;
    height: 2px;

    background: var(--red-light);
}


.projects-hero h1 {

    max-width: 850px;

    margin-bottom: 30px;

    font-size:
        clamp(65px, 7.8vw, 120px);

    line-height: .84;

    letter-spacing: -6px;

    font-weight: 900;
}


.projects-hero h1 small {

    display: inline-block;

    color: #60636b;

    font-size: .24em;

    letter-spacing: 2px;

    transform: translateY(-15px);
}


.projects-hero h1 span {

    display: block;

    color: var(--red-light);
}


.hero-description {

    max-width: 650px;

    color: #9b9da5;

    font-size: 17px;

    line-height: 1.8;
}


/* =========================================================
   09 — HERO ACTIONS
========================================================= */

.hero-actions {

    margin-top: 38px;

    display: flex;

    align-items: center;

    gap: 12px;
}


.hero-primary,
.hero-secondary {

    min-height: 50px;

    padding: 0 22px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 20px;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 2px;

    transition: .3s ease;
}


.hero-primary {

    background: var(--red);

    color: white;
}


.hero-primary:hover {

    background: var(--red-light);

    transform: translateY(-3px);

    box-shadow:
        0 15px 35px rgba(176,0,69,.2);
}


.hero-primary span {
    font-size: 15px;
}


.hero-secondary {

    color: #8c8f97;

    border:
        1px solid #2b2e35;

    background:
        rgba(255,255,255,.015);
}


.hero-secondary:hover {

    color: white;

    border-color: #555a64;
}


/* =========================================================
   10 — HERO STATUS
========================================================= */

.hero-status {

    width: fit-content;

    margin-top: 45px;

    display: flex;

    border:
        1px solid #272a31;

    background:
        rgba(255,255,255,.015);
}


.hero-status > div {

    min-width: 120px;

    padding: 13px 17px;

    display: flex;

    align-items: center;

    gap: 8px;

    border-right:
        1px solid #272a31;
}


.hero-status > div:last-child {
    border-right: none;
}


.hero-status small {

    color: #555a64;

    font-size: 7px;

    font-weight: 900;

    letter-spacing: 1.5px;
}


.hero-status strong {

    color: var(--red-light);

    font-size: 8px;

    font-weight: 900;

    letter-spacing: 1px;
}


.status-dot {

    width: 6px;
    height: 6px;

    flex-shrink: 0;

    background: var(--red-light);

    border-radius: 50%;

    box-shadow:
        0 0 12px var(--red-light);

    animation:
        pulse 1.5s infinite;
}


/* =========================================================
   11 — HERO SYSTEM
========================================================= */

.hero-system {

    width: 420px;
    height: 460px;

    position: relative;

    z-index: 5;

    display: flex;

    align-items: center;

    justify-content: center;
}


.system-interface {

    width: 400px;
    height: 400px;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;
}


.system-ring {

    position: absolute;

    border-radius: 50%;
}


.system-ring-outer {

    width: 390px;
    height: 390px;

    border:
        1px solid rgba(255,255,255,.07);
}


.system-ring-middle {

    width: 300px;
    height: 300px;

    border:
        1px dashed rgba(209,10,89,.3);

    animation:
        rotate 22s linear infinite;
}


.system-ring-inner {

    width: 205px;
    height: 205px;

    border:
        1px solid rgba(176,0,69,.65);

    box-shadow:
        inset 0 0 50px rgba(176,0,69,.03);
}


.orbit {

    position: absolute;

    border-radius: 50%;
}


.orbit-one {

    width: 345px;
    height: 345px;

    animation:
        rotate 13s linear infinite;
}


.orbit-two {

    width: 255px;
    height: 255px;

    animation:
        reverseRotate 9s linear infinite;
}


.orbit span {

    width: 7px;
    height: 7px;

    position: absolute;

    top: -3px;
    left: 50%;

    background: var(--red-light);

    border-radius: 50%;

    box-shadow:
        0 0 16px var(--red-light);
}


.system-cross {

    position: absolute;

    opacity: .13;

    background: white;
}


.system-cross.horizontal {

    width: 100%;
    height: 1px;
}


.system-cross.vertical {

    width: 1px;
    height: 100%;
}


.system-core {

    width: 142px;
    height: 142px;

    position: relative;

    z-index: 5;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    background:
        radial-gradient(
            circle,
            #191c22,
            #101217
        );

    border:
        1px solid var(--red);

    border-radius: 50%;

    box-shadow:
        0 0 75px rgba(176,0,69,.18);
}


.core-symbol {

    margin-bottom: 7px;

    color: var(--red-light);

    font-size: 37px;
}


.system-core strong {

    color: white;

    font-size: 13px;

    letter-spacing: 3px;
}


.system-core small {

    margin-top: 5px;

    color: #565962;

    font-size: 6px;

    font-weight: 900;

    letter-spacing: 2px;
}


.system-node {

    width: 6px;
    height: 6px;

    position: absolute;

    z-index: 6;

    border-radius: 50%;

    background: var(--red-light);

    box-shadow:
        0 0 13px var(--red-light);
}


.system-node.node-one {

    top: 4%;
    left: 50%;
}


.system-node.node-two {

    right: 5%;
    top: 48%;
}


.system-node.node-three {

    bottom: 8%;
    left: 28%;
}


.system-node.node-four {

    top: 30%;
    left: 8%;
}


.system-information {

    position: absolute;

    right: 0;
    bottom: 0;

    padding-left: 15px;

    border-left:
        2px solid var(--red);
}


.system-information span {

    color: var(--red-light);

    font-family: monospace;

    font-size: 8px;
}


.system-information p {

    margin-top: 5px;

    color: #555a64;

    font-size: 7px;

    font-weight: 900;

    letter-spacing: 2px;
}


.hero-scroll {

    position: absolute;

    left: 8%;
    bottom: 25px;

    z-index: 5;

    display: flex;

    align-items: center;

    gap: 13px;

    color: #444850;

    font-size: 7px;

    font-weight: 900;

    letter-spacing: 2px;
}


.hero-scroll i {

    width: 55px;
    height: 1px;

    position: relative;

    overflow: hidden;

    background: #292c33;
}


.hero-scroll i::after {

    content: "";

    width: 20px;
    height: 100%;

    position: absolute;

    background: var(--red-light);

    animation:
        scrollLine 2s linear infinite;
}


/* =========================================================
   12 — DATABASE INTRODUCTION
========================================================= */

.database-introduction {

    padding: 90px 8%;

    position: relative;

    background: white;
}


.database-intro-line {

    height: 1px;

    position: absolute;

    top: 0;
    left: 8%;
    right: 8%;

    background: #e4e4e6;
}


.database-intro-grid {

    display: grid;

    grid-template-columns:
        .6fr 1.6fr 1fr;

    align-items: start;

    gap: 65px;
}


.database-intro-grid > div {

    display: flex;

    flex-direction: column;

    gap: 8px;
}


.database-number {

    color: var(--red);

    font-family: monospace;

    font-size: 28px;

    font-weight: 900;
}


.database-intro-grid > div p {

    color: #888b92;

    font-size: 8px;

    font-weight: 900;

    letter-spacing: 2px;
}


.database-intro-grid h2 {

    max-width: 620px;

    font-size:
        clamp(42px,5vw,68px);

    line-height: .92;

    letter-spacing: -4px;
}


.database-intro-grid h2 span {

    color: var(--red);
}


.database-intro-description {

    color: #777a82;

    line-height: 1.8;

    font-size: 14px;
}


/* =========================================================
   13 — PROJECT SECTION
========================================================= */

.projects-section {

    min-height: 850px;

    padding: 120px 8%;

    background: var(--background);
}


.projects-header {

    margin-bottom: 50px;

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 60px;
}


.projects-header > div:first-child {

    max-width: 800px;
}


.section-label {

    margin-bottom: 22px;

    display: flex;

    align-items: center;

    gap: 12px;

    color: var(--red);

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 4px;
}


.section-label span {

    width: 35px;
    height: 2px;

    background: var(--red);
}


.projects-header h2,
.reports-header h2 {

    font-size:
        clamp(48px,6vw,78px);

    line-height: .9;

    letter-spacing: -4px;
}


.projects-header h2 span,
.reports-header h2 span {

    color: var(--red);
}


.projects-header > div:first-child > p,
.reports-header > div:first-child > p {

    max-width: 650px;

    margin-top: 25px;

    color: #777a82;

    font-size: 14px;

    line-height: 1.8;
}


.database-status {

    min-width: 180px;

    padding: 14px 16px;

    display: flex;

    align-items: center;

    gap: 12px;

    border:
        1px solid #dedee2;

    background: white;
}


.database-status > span {

    width: 7px;
    height: 7px;

    flex-shrink: 0;

    background: var(--red);

    border-radius: 50%;

    box-shadow:
        0 0 10px rgba(176,0,69,.35);

    animation:
        pulse 1.5s infinite;
}


.database-status div {

    display: flex;

    flex-direction: column;

    gap: 3px;
}


.database-status small {

    color: #9a9ca2;

    font-size: 6px;

    font-weight: 900;

    letter-spacing: 1.5px;
}


.database-status strong {

    color: var(--red);

    font-size: 8px;

    letter-spacing: 1px;
}


/* =========================================================
   14 — PROJECT CONTROLS
========================================================= */

.project-controls {

    padding:
        18px 0;

    display: grid;

    grid-template-columns:
        1fr auto auto;

    align-items: center;

    gap: 25px;

    border-top:
        1px solid var(--border-light);

    border-bottom:
        1px solid var(--border-light);
}


.project-filters {

    display: flex;

    flex-wrap: wrap;

    gap: 6px;
}


.filter {

    padding:
        10px 13px;

    border:
        1px solid transparent;

    background: transparent;

    color: #777a82;

    font-size: 8px;

    font-weight: 900;

    letter-spacing: 1.5px;

    cursor: pointer;

    transition: .25s;
}


.filter:hover,
.filter.active {

    color: var(--red);

    border-color:
        rgba(176,0,69,.22);

    background:
        rgba(176,0,69,.045);
}


.project-search {

    width: 220px;
    height: 40px;

    display: flex;

    align-items: center;

    border:
        1px solid #dedee2;

    background: white;
}


.project-search span {

    padding-left: 13px;

    color: var(--red);

    font-family: monospace;

    font-weight: 900;
}


.project-search input {

    width: 100%;
    height: 100%;

    padding:
        0 12px;

    border: none;

    outline: none;

    background: transparent;

    color: var(--black);

    font-size: 11px;
}


.project-search input::placeholder {
    color: #aaa;
}


.project-counter {

    min-width: 75px;

    display: flex;

    align-items: center;

    gap: 7px;
}


.project-counter span {

    color: var(--red);

    font-size: 18px;

    font-weight: 900;
}


.project-counter small {

    color: #888b92;

    font-size: 7px;

    font-weight: 900;

    letter-spacing: 1.5px;
}


/* =========================================================
   15 — PROJECT LOADING
========================================================= */

.database-loading {

    min-height: 380px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;
}


.database-loading.hidden {
    display: none;
}


.database-loading-symbol {

    width: 85px;
    height: 85px;

    margin-bottom: 25px;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;
}


.database-loading-symbol > span {

    position: absolute;

    inset: 0;

    border:
        1px solid #ddd;

    border-top-color: var(--red);

    border-radius: 50%;

    animation:
        rotate 1.5s linear infinite;
}


.database-loading-symbol strong {

    color: var(--red);

    font-size: 25px;
}


.database-loading p {

    color: var(--red);

    font-size: 8px;

    font-weight: 900;

    letter-spacing: 3px;
}


.database-loading h3 {

    margin-top: 9px;

    font-size: 15px;

    letter-spacing: 2px;
}


.database-loading-line {

    width: 230px;
    height: 2px;

    margin-top: 25px;

    position: relative;

    overflow: hidden;

    background: #e1e1e3;
}


.database-loading-line span {

    width: 35%;

    height: 100%;

    position: absolute;

    background: var(--red);

    animation:
        databaseLoader 1.5s ease-in-out infinite;
}


/* =========================================================
   16 — PROJECT GRID
========================================================= */

.projects-grid {

    margin-top: 45px;

    display: grid;

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

    gap: 24px;
}


/* =========================================================
   17 — GENERATED PROJECT CARD
========================================================= */

.project-card {

    min-height: 470px;

    position: relative;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    background: white;

    border:
        1px solid #e0e0e3;

    cursor: pointer;

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


.project-card:hover {

    transform:
        translateY(-7px);

    border-color:
        rgba(176,0,69,.3);

    box-shadow:
        0 22px 55px rgba(0,0,0,.10);
}


.project-card-cover {

    height: 220px;

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #17191f,
            #0c0e12
        );
}


.project-card-cover img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .6s ease;
}


.project-card:hover
.project-card-cover img {

    transform:
        scale(1.045);
}


.project-card-cover::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(9,11,15,.75),
            transparent 60%
        );

    pointer-events: none;
}


.project-card-category {

    position: absolute;

    top: 16px;
    left: 16px;

    z-index: 3;

    padding:
        7px 9px;

    color: white;

    background:
        rgba(9,11,15,.78);

    border-left:
        2px solid var(--red-light);

    backdrop-filter: blur(8px);

    font-size: 7px;

    font-weight: 900;

    letter-spacing: 1.5px;
}


.project-card-number {

    position: absolute;

    right: 15px;
    bottom: 13px;

    z-index: 3;

    color:
        rgba(255,255,255,.65);

    font-family: monospace;

    font-size: 9px;

    letter-spacing: 1px;
}


.project-card-placeholder {

    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--red-light);

    font-size: 45px;

    background-image:

        linear-gradient(
            rgba(255,255,255,.025) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(255,255,255,.025) 1px,
            transparent 1px
        );

    background-size: 25px 25px;
}


.project-card-content {

    padding: 25px;

    flex: 1;

    display: flex;

    flex-direction: column;
}


.project-card-status {

    margin-bottom: 12px;

    color: var(--red);

    font-size: 7px;

    font-weight: 900;

    letter-spacing: 2px;
}


.project-card h3 {

    margin-bottom: 13px;

    color: var(--black);

    font-size: 23px;

    line-height: 1.05;

    letter-spacing: -1px;
}


.project-card-description {

    color: #777a82;

    font-size: 12px;

    line-height: 1.7;
}


.project-card-progress {

    margin-top: auto;

    padding-top: 25px;
}


.project-card-progress-top {

    margin-bottom: 8px;

    display: flex;

    justify-content: space-between;

    color: #999ba1;

    font-size: 7px;

    font-weight: 900;

    letter-spacing: 1.3px;
}


.project-card-progress-top strong {

    color: var(--red);
}


.project-card-progress-track {

    height: 4px;

    overflow: hidden;

    background: #ececee;
}


.project-card-progress-fill {

    height: 100%;

    background:
        linear-gradient(
            90deg,
            var(--red-dark),
            var(--red-light)
        );
}


.project-card-action {

    margin-top: 20px;

    padding-top: 15px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-top:
        1px solid #ededee;

    color: #777a82;

    font-size: 8px;

    font-weight: 900;

    letter-spacing: 1.5px;
}


.project-card-action span {

    color: var(--red);

    font-size: 15px;

    transition:
        transform .3s;
}


.project-card:hover
.project-card-action span {

    transform:
        translateX(5px);
}


/* =========================================================
   18 — EMPTY PROJECT STATE
========================================================= */

.empty-projects {

    min-height: 560px;

    margin-top: 50px;

    padding: 60px;

    display: grid;

    grid-template-columns:
        .9fr 1.1fr;

    align-items: center;

    gap: 70px;

    overflow: hidden;

    background: var(--dark);

    border:
        1px solid #20232a;

    color: white;
}


.empty-projects.hidden {
    display: none;
}


.empty-visual {

    display: flex;

    justify-content: center;
}


.project-machine {

    width: 360px;
    height: 360px;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;
}


.machine-ring {

    position: absolute;

    border-radius: 50%;
}


.machine-ring-1 {

    width: 150px;
    height: 150px;

    border:
        1px solid var(--red);
}


.machine-ring-2 {

    width: 245px;
    height: 245px;

    border:
        1px dashed rgba(209,10,89,.35);

    animation:
        rotate 15s linear infinite;
}


.machine-ring-3 {

    width: 340px;
    height: 340px;

    border:
        1px solid rgba(255,255,255,.08);
}


.machine-axis {

    position: absolute;

    opacity: .1;

    background: white;
}


.machine-axis.axis-x {

    width: 100%;
    height: 1px;
}


.machine-axis.axis-y {

    width: 1px;
    height: 100%;
}


.machine-core {

    width: 110px;
    height: 110px;

    position: relative;

    z-index: 5;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    background: #191c22;

    border:
        1px solid var(--red);

    border-radius: 50%;

    box-shadow:
        0 0 50px rgba(176,0,69,.18);
}


.machine-core span {

    color: var(--red-light);

    font-size: 38px;
}


.machine-core small {

    margin-top: 5px;

    color: #555a64;

    font-size: 6px;

    font-weight: 900;

    letter-spacing: 2px;
}


.machine-node {

    width: 8px;
    height: 8px;

    position: absolute;

    background: var(--red-light);

    border-radius: 50%;

    box-shadow:
        0 0 15px var(--red-light);
}


.machine-node.node-one {

    top: 10%;
    left: 50%;
}


.machine-node.node-two {

    right: 7%;
    bottom: 35%;
}


.machine-node.node-three {

    left: 12%;
    bottom: 20%;
}


.empty-code {

    margin-bottom: 20px;

    color: var(--red-light);

    font-family: monospace;

    font-size: 9px;

    letter-spacing: 3px;
}


.empty-content h3 {

    margin-bottom: 25px;

    font-size:
        clamp(40px,5vw,65px);

    line-height: .93;

    letter-spacing: -3px;
}


.empty-content h3 span {

    display: block;

    color: var(--red-light);
}


.empty-description {

    max-width: 570px;

    color: #9b9da4;

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   19 — DEVELOPMENT BAR
========================================================= */

.development-status {

    max-width: 550px;

    margin-top: 45px;
}


.development-header {

    margin-bottom: 12px;

    display: flex;

    justify-content: space-between;

    color: #777b85;

    font-size: 7px;

    font-weight: 900;

    letter-spacing: 2px;
}


.development-header span:last-child {
    color: var(--red-light);
}


.development-track {

    height: 11px;

    position: relative;

    overflow: hidden;

    background: #292c33;

    border:
        1px solid #383b42;
}


.development-fill {

    width: 68%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            var(--red-dark),
            var(--red),
            var(--red-light)
        );
}


.development-scanner {

    width: 2px;
    height: 100%;

    position: absolute;

    top: 0;

    background: white;

    opacity: .6;

    animation:
        scanner 2.3s linear infinite;
}


.development-footer {

    margin-top: 12px;

    display: flex;

    justify-content: space-between;

    color: #555a64;

    font-size: 7px;

    font-weight: 900;

    letter-spacing: 2px;
}


.processing {

    display: flex;

    align-items: center;

    gap: 4px;
}


.processing i {

    width: 4px;
    height: 4px;

    background: var(--red-light);

    border-radius: 50%;

    animation:
        pulse 1s infinite;
}


.processing i:nth-child(2) {
    animation-delay: .2s;
}


.processing i:nth-child(3) {
    animation-delay: .4s;
}


/* =========================================================
   20 — PROJECT ERROR
========================================================= */

.database-error {

    margin-top: 45px;

    padding: 30px;

    display: none;

    align-items: center;

    gap: 22px;

    border:
        1px solid rgba(176,0,69,.22);

    background:
        rgba(176,0,69,.04);
}


.database-error.show {
    display: flex;
}


.database-error > span {

    width: 45px;
    height: 45px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    color: white;

    background: var(--red);

    font-weight: 900;
}


.database-error p {

    color: var(--red);

    font-size: 8px;

    font-weight: 900;

    letter-spacing: 2px;
}


.database-error h3 {

    margin-top: 5px;

    font-size: 17px;
}


.database-error small {

    display: block;

    margin-top: 5px;

    color: #888b92;
}


/* =========================================================
   21 — PHILOSOPHY
========================================================= */

.project-philosophy {

    padding:
        110px 8%
        125px;

    position: relative;

    overflow: hidden;

    color: white;

    background:
        linear-gradient(
            135deg,
            #70002b,
            #a90042 55%,
            #cf0958
        );
}


.project-philosophy::before {

    content: "";

    position: absolute;

    inset: 0;

    opacity: .08;

    background-image:

        linear-gradient(
            rgba(255,255,255,.3) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(255,255,255,.3) 1px,
            transparent 1px
        );

    background-size:
        65px 65px;
}


.philosophy-index {

    position: relative;

    z-index: 2;

    margin-bottom: 55px;

    display: flex;

    align-items: center;

    gap: 15px;

    font-size: 8px;

    font-weight: 900;

    letter-spacing: 3px;
}


.philosophy-index span {

    font-family: monospace;

    font-size: 22px;
}


.philosophy-content {

    position: relative;

    z-index: 2;

    text-align: center;
}


.philosophy-content > p:first-child {

    margin-bottom: 25px;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 5px;
}


.philosophy-content h2 {

    font-size:
        clamp(55px,8vw,105px);

    line-height: .88;

    letter-spacing: -5px;
}


.philosophy-content h2 span {

    color: #202126;
}


.philosophy-description {

    max-width: 650px;

    margin:
        35px auto 0;

    color:
        rgba(255,255,255,.82);

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   22 — PHILOSOPHY PROCESS
========================================================= */

.philosophy-process {

    max-width: 1050px;

    margin:
        80px auto 0;

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        1fr auto 1fr auto 1fr auto 1fr;

    align-items: center;

    gap: 20px;
}


.philosophy-process > div {

    text-align: center;
}


.philosophy-process div span {

    display: block;

    margin-bottom: 8px;

    color:
        rgba(255,255,255,.55);

    font-family: monospace;

    font-size: 8px;
}


.philosophy-process strong {

    display: block;

    font-size: 13px;

    letter-spacing: 2px;
}


.philosophy-process p {

    margin-top: 7px;

    color:
        rgba(255,255,255,.65);

    font-size: 10px;
}


.philosophy-process > i {

    width: 50px;
    height: 1px;

    background:
        rgba(255,255,255,.3);
}


/* =========================================================
   23 — REPORTS SECTION
========================================================= */

.reports-section {

    min-height: 700px;

    padding: 120px 8%;

    color: white;

    background: var(--dark);
}


.reports-header {

    margin-bottom: 50px;

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 50px;
}


.reports-header > div:first-child {

    max-width: 800px;
}


.reports-header
.section-label {

    color: var(--red-light);
}


.reports-header
.section-label span {

    background: var(--red-light);
}


.reports-header h2 span {
    color: var(--red-light);
}


.reports-header
> div:first-child > p {

    color: #858891;
}


.report-system-label {

    padding:
        13px 16px;

    display: flex;

    align-items: center;

    gap: 12px;

    border:
        1px solid #2c2f36;

    color: #747780;

    font-size: 7px;

    font-weight: 900;

    letter-spacing: 2px;
}


.report-system-label span {

    padding: 5px 6px;

    color: white;

    background: var(--red);

    font-size: 7px;
}


/* =========================================================
   24 — REPORT CONTROLS
========================================================= */

.report-controls {

    padding: 18px 0;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    border-top:
        1px solid #2b2e35;

    border-bottom:
        1px solid #2b2e35;
}


.report-filters {

    display: flex;

    flex-wrap: wrap;

    gap: 6px;
}


.report-filter {

    padding:
        10px 13px;

    color: #686b74;

    background: transparent;

    border:
        1px solid transparent;

    font-size: 8px;

    font-weight: 900;

    letter-spacing: 1.5px;

    cursor: pointer;

    transition: .25s;
}


.report-filter:hover,
.report-filter.active {

    color: var(--red-light);

    border-color:
        rgba(209,10,89,.25);

    background:
        rgba(176,0,69,.06);
}


.report-counter {

    display: flex;

    align-items: center;

    gap: 7px;
}


.report-counter span {

    color: var(--red-light);

    font-size: 18px;

    font-weight: 900;
}


.report-counter small {

    color: #686b74;

    font-size: 7px;

    font-weight: 900;

    letter-spacing: 1.5px;
}


/* =========================================================
   25 — REPORT LOADING
========================================================= */

.reports-loading {

    min-height: 280px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 15px;

    color: #656871;
}


.reports-loading.hidden {
    display: none;
}


.reports-loading-icon {

    color: var(--red-light);

    font-size: 38px;

    animation:
        pulse 1.2s infinite;
}


.reports-loading p {

    font-size: 8px;

    font-weight: 900;

    letter-spacing: 2px;
}


/* =========================================================
   26 — REPORT GRID
========================================================= */

.reports-grid {

    margin-top: 45px;

    display: grid;

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

    gap: 20px;
}


/* =========================================================
   27 — GENERATED REPORT CARD
========================================================= */

.report-card {

    min-height: 300px;

    padding: 27px;

    position: relative;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    border:
        1px solid #2a2d34;

    background:
        linear-gradient(
            145deg,
            #171a20,
            #101217
        );

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


.report-card::before {

    content: "";

    width: 80px;
    height: 2px;

    position: absolute;

    top: 0;
    left: 0;

    background: var(--red);
}


.report-card:hover {

    transform:
        translateY(-6px);

    border-color:
        rgba(209,10,89,.35);

    background:
        linear-gradient(
            145deg,
            #1a1d23,
            #111318
        );
}


.report-card-top {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 15px;
}


.report-card-icon {

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--red-light);

    border:
        1px solid #30333b;

    font-size: 20px;
}


.report-card-type {

    color: #646771;

    font-size: 7px;

    font-weight: 900;

    letter-spacing: 1.5px;
}


.report-card-date {

    color: #555861;

    font-family: monospace;

    font-size: 8px;
}


.report-card h3 {

    margin-top: 28px;

    color: white;

    font-size: 22px;

    line-height: 1.1;

    letter-spacing: -.7px;
}


.report-card-description {

    margin-top: 13px;

    color: #83868e;

    font-size: 12px;

    line-height: 1.7;
}


.report-card-project {

    margin-top: 18px;

    color: #5f626b;

    font-size: 7px;

    font-weight: 900;

    letter-spacing: 1.5px;
}


.report-card-project strong {
    color: var(--red-light);
}


.report-card-action {

    margin-top: auto;

    padding-top: 24px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    color: var(--red-light);

    font-size: 8px;

    font-weight: 900;

    letter-spacing: 2px;

    cursor: pointer;
}


.report-card-action span {

    font-size: 16px;

    transition: .3s;
}


.report-card:hover
.report-card-action span {

    transform:
        translateX(5px);
}


/* =========================================================
   28 — EMPTY REPORTS
========================================================= */

.empty-reports {

    min-height: 280px;

    margin-top: 45px;

    padding: 45px;

    display: none;

    align-items: center;

    gap: 35px;

    border:
        1px dashed #30333a;
}


.empty-reports.show {
    display: flex;
}


.empty-report-number {

    color: #282b32;

    font-size: 85px;

    font-weight: 900;
}


.empty-reports p {

    color: var(--red-light);

    font-size: 8px;

    font-weight: 900;

    letter-spacing: 2px;
}


.empty-reports h3 {

    margin-top: 7px;

    color: white;

    font-size: 25px;
}


.empty-reports div > span {

    display: block;

    margin-top: 10px;

    color: #747780;

    font-size: 12px;
}


/* =========================================================
   29 — REPORT ERROR
========================================================= */

.reports-error {

    margin-top: 40px;

    padding: 25px;

    display: none;

    align-items: center;

    gap: 20px;

    border:
        1px solid rgba(209,10,89,.25);

    background:
        rgba(176,0,69,.05);
}


.reports-error.show {
    display: flex;
}


.reports-error > span {

    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: white;

    background: var(--red);

    font-weight: 900;
}


.reports-error p {

    color: var(--red-light);

    font-size: 7px;

    font-weight: 900;

    letter-spacing: 2px;
}


.reports-error h3 {

    margin-top: 5px;

    color: white;

    font-size: 16px;
}


/* =========================================================
   30 — CTA
========================================================= */

.project-cta {

    min-height: 520px;

    padding: 110px 8%;

    position: relative;

    overflow: hidden;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    background: white;
}


.cta-grid {

    position: absolute;

    inset: 0;

    opacity: .035;

    background-image:

        linear-gradient(
            black 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            black 1px,
            transparent 1px
        );

    background-size:
        55px 55px;
}


.cta-content {

    max-width: 850px;

    position: relative;

    z-index: 2;
}


.cta-content > p:first-child {

    margin-bottom: 20px;

    color: var(--red);

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 4px;
}


.cta-content h2 {

    font-size:
        clamp(50px,7vw,90px);

    line-height: .9;

    letter-spacing: -5px;
}


.cta-content h2 span {

    display: block;

    color: var(--red);
}


.cta-description {

    max-width: 600px;

    margin:
        30px auto 0;

    color: #777a82;

    font-size: 14px;

    line-height: 1.8;
}


.cta-button {

    margin-top: 35px;

    padding:
        17px 24px;

    display: inline-flex;

    align-items: center;

    gap: 30px;

    color: white;

    background: var(--red);

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 2px;

    transition: .3s;
}


.cta-button:hover {

    transform:
        translateY(-4px);

    background: var(--red-dark);

    box-shadow:
        0 15px 35px rgba(176,0,69,.2);
}


/* =========================================================
   31 — PROJECT MODAL OVERLAY
========================================================= */

.project-modal-overlay {

    position: fixed;

    inset: 0;

    z-index: 5000;

    padding: 35px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        rgba(4,5,7,.88);

    backdrop-filter:
        blur(10px);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity .3s,
        visibility .3s;
}


.project-modal-overlay.open {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}


/* =========================================================
   32 — PROJECT DETAIL MODAL
========================================================= */

.project-detail-modal {

    width: min(1050px,100%);

    max-height: 90vh;

    position: relative;

    overflow-y: auto;

    background: white;

    box-shadow:
        0 30px 100px rgba(0,0,0,.35);

    transform:
        translateY(25px)
        scale(.985);

    transition:
        transform .35s;
}


.project-modal-overlay.open
.project-detail-modal {

    transform:
        translateY(0)
        scale(1);
}


.project-modal-close {

    width: 45px;
    height: 45px;

    position: absolute;

    top: 18px;
    right: 18px;

    z-index: 20;

    color: white;

    background:
        rgba(9,11,15,.78);

    border:
        1px solid rgba(255,255,255,.15);

    font-size: 25px;

    cursor: pointer;

    transition: .3s;
}


.project-modal-close:hover {

    color: white;

    background: var(--red);
}


.project-detail-cover {

    min-height: 340px;

    position: relative;

    overflow: hidden;

    display: flex;

    align-items: flex-end;

    padding: 30px;

    background:
        linear-gradient(
            135deg,
            #15181e,
            #080a0e
        );

    background-size: cover;

    background-position: center;
}


.project-cover-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(9,11,15,.85),
            rgba(9,11,15,.08) 70%
        );
}


.project-detail-category {

    position: relative;

    z-index: 2;

    padding:
        8px 10px;

    color: white;

    background: var(--red);

    font-size: 8px;

    font-weight: 900;

    letter-spacing: 2px;
}


.project-cover-code {

    position: absolute;

    right: 30px;
    bottom: 32px;

    z-index: 2;

    color:
        rgba(255,255,255,.5);

    font-family: monospace;

    font-size: 8px;

    letter-spacing: 2px;
}


.project-detail-content {

    padding:
        45px 50px
        55px;
}


.project-detail-top {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 30px;
}


.project-detail-top p {

    margin-bottom: 10px;

    color: var(--red);

    font-family: monospace;

    font-size: 8px;

    letter-spacing: 2px;
}


.project-detail-top h2 {

    max-width: 680px;

    font-size:
        clamp(35px,5vw,58px);

    line-height: .95;

    letter-spacing: -3px;
}


.project-detail-status {

    flex-shrink: 0;

    padding:
        9px 11px;

    color: var(--red);

    border:
        1px solid rgba(176,0,69,.2);

    background:
        rgba(176,0,69,.04);

    font-size: 7px;

    font-weight: 900;

    letter-spacing: 1.5px;
}


.project-detail-short {

    max-width: 760px;

    margin-top: 25px;

    color: #777a82;

    font-size: 15px;

    line-height: 1.75;
}


/* =========================================================
   33 — PROJECT MODAL PROGRESS
========================================================= */

.project-detail-progress {

    margin-top: 40px;

    padding:
        20px 0;

    border-top:
        1px solid #e5e5e7;

    border-bottom:
        1px solid #e5e5e7;
}


.project-detail-progress > div:first-child {

    margin-bottom: 10px;

    display: flex;

    justify-content: space-between;

    color: #888b92;

    font-size: 8px;

    font-weight: 900;

    letter-spacing: 1.5px;
}


.project-detail-progress strong {

    color: var(--red);
}


.detail-progress-track {

    height: 7px;

    overflow: hidden;

    background: #ececee;
}


.detail-progress-track div {

    width: 0;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            var(--red-dark),
            var(--red-light)
        );

    transition:
        width .8s ease;
}


.project-detail-description {

    margin-top: 40px;
}


.project-detail-description > span {

    color: var(--red);

    font-size: 8px;

    font-weight: 900;

    letter-spacing: 2px;
}


.project-detail-description p {

    margin-top: 15px;

    color: #62656d;

    font-size: 14px;

    line-height: 1.9;

    white-space: pre-line;
}


/* =========================================================
   34 — RELATED REPORTS
========================================================= */

.project-related-reports {

    margin-top: 45px;

    padding-top: 35px;

    border-top:
        1px solid #e3e3e5;
}


.related-reports-heading span {

    color: var(--red);

    font-size: 7px;

    font-weight: 900;

    letter-spacing: 2px;
}


.related-reports-heading h3 {

    margin-top: 6px;

    font-size: 21px;
}


.related-report-list {

    margin-top: 20px;

    display: grid;

    gap: 10px;
}


.related-report-item {

    padding:
        16px 18px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    background: #f6f6f7;

    border:
        1px solid #e4e4e6;

    cursor: pointer;

    transition: .25s;
}


.related-report-item:hover {

    border-color:
        rgba(176,0,69,.25);

    transform:
        translateX(4px);
}


.related-report-item strong {

    font-size: 12px;
}


.related-report-item span {

    color: var(--red);

    font-size: 8px;

    font-weight: 900;

    letter-spacing: 1px;
}


/* =========================================================
   35 — PDF READER OVERLAY
========================================================= */

.pdf-reader-overlay {

    position: fixed;

    inset: 0;

    z-index: 7000;

    padding: 25px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        rgba(3,4,6,.94);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity .3s,
        visibility .3s;
}


.pdf-reader-overlay.open {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}


.pdf-reader {

    width: min(1250px,100%);
    height: min(900px,94vh);

    display: flex;

    flex-direction: column;

    overflow: hidden;

    background: #111318;

    border:
        1px solid #2a2d34;

    box-shadow:
        0 30px 100px rgba(0,0,0,.5);
}


/* =========================================================
   36 — PDF HEADER
========================================================= */

.pdf-reader-header {

    min-height: 78px;

    padding:
        15px 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    border-bottom:
        1px solid #2a2d34;
}


.pdf-reader-header p {

    color: var(--red-light);

    font-size: 7px;

    font-weight: 900;

    letter-spacing: 2px;
}


.pdf-reader-header h2 {

    margin-top: 5px;

    color: white;

    font-size: 17px;
}


.pdf-reader-actions {

    display: flex;

    align-items: center;

    gap: 10px;
}


.pdf-reader-actions a {

    padding:
        10px 13px;

    color: #888b94;

    border:
        1px solid #30333a;

    font-size: 7px;

    font-weight: 900;

    letter-spacing: 1.5px;

    transition: .3s;
}


.pdf-reader-actions a:hover {

    color: white;

    border-color: var(--red);
}


.pdf-reader-actions button {

    width: 38px;
    height: 38px;

    color: white;

    background: var(--red);

    font-size: 23px;

    cursor: pointer;
}


/* =========================================================
   37 — PDF BODY
========================================================= */

.pdf-reader-body {

    flex: 1;

    position: relative;

    overflow: hidden;

    background: #1b1e24;
}


.pdf-reader-body iframe {

    width: 100%;
    height: 100%;

    display: block;

    border: none;

    background: white;
}


.pdf-reader-loading {

    position: absolute;

    inset: 0;

    z-index: 3;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 13px;

    color: #777a83;

    background: #111318;

    font-size: 8px;

    font-weight: 900;

    letter-spacing: 2px;
}


.pdf-reader-loading.hidden {
    display: none;
}


.pdf-reader-loading span {

    width: 16px;
    height: 16px;

    border:
        1px solid #44474f;

    border-top-color: var(--red-light);

    border-radius: 50%;

    animation:
        rotate 1s linear infinite;
}


/* =========================================================
   38 — FOOTER
========================================================= */

footer {

    padding:
        0 8%
        30px;

    background: #17191e;

    color: #aaa;
}


.footer-top-line {

    height: 1px;

    margin-bottom: 65px;

    background: #34363c;
}


.footer-main {

    padding-bottom: 50px;

    display: grid;

    grid-template-columns:
        1.3fr 1fr .7fr .8fr;

    gap: 60px;
}


.footer-brand {

    display: flex;

    align-items: center;

    gap: 18px;
}


.footer-brand img {

    width: 70px;
}


.footer-brand h3 {

    margin-bottom: 6px;

    color: white;

    letter-spacing: 3px;
}


.footer-brand p {
    color: var(--red-light);
}


.footer-school > p,
.footer-links > p,
.footer-system > p {

    margin-bottom: 12px;

    color: var(--red-light);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 3px;
}


.footer-school h3 {

    margin-bottom: 8px;

    color: white;

    font-size: 27px;
}


.footer-school span {

    font-size: 12px;

    line-height: 1.6;
}


.footer-links {

    display: flex;

    flex-direction: column;

    gap: 10px;
}


.footer-links a {

    width: fit-content;

    color: white;

    font-size: 13px;

    transition: .3s;
}


.footer-links a:hover {

    color: var(--red-light);

    transform:
        translateX(5px);
}


.footer-system div {

    display: flex;

    align-items: center;

    gap: 8px;

    color: #8a8d95;

    font-size: 8px;

    font-weight: 900;

    letter-spacing: 1.5px;
}


.footer-system div span {

    width: 6px;
    height: 6px;

    background: var(--red-light);

    border-radius: 50%;

    animation:
        pulse 1.5s infinite;
}


.footer-system small {

    display: block;

    margin-top: 13px;

    color: #555861;

    font-family: monospace;

    font-size: 8px;
}


.footer-bottom {

    padding-top: 25px;

    display: flex;

    justify-content: space-between;

    gap: 20px;

    border-top:
        1px solid #34363c;

    color: #85868b;

    font-size: 11px;
}


.footer-bottom span {
    color: var(--red-light);
}


/* =========================================================
   39 — REVEAL
========================================================= */

.reveal {

    opacity: 0;

    transform:
        translateY(30px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}


.reveal.visible {

    opacity: 1;

    transform:
        translateY(0);
}


/* =========================================================
   40 — UTILITY
========================================================= */

.hidden {
    display: none !important;
}


/* =========================================================
   41 — ANIMATIONS
========================================================= */

@keyframes rotate {

    to {
        transform:
            rotate(360deg);
    }
}


@keyframes reverseRotate {

    to {
        transform:
            rotate(-360deg);
    }
}


@keyframes pulse {

    0%,
    100% {
        opacity: .35;
    }

    50% {
        opacity: 1;
    }
}


@keyframes scanner {

    from {
        left: 0;
    }

    to {
        left: 100%;
    }
}


@keyframes heroScan {

    from {
        top: 0;
    }

    to {
        top: 100%;
    }
}


@keyframes scrollLine {

    from {
        left: -20px;
    }

    to {
        left: 100%;
    }
}


@keyframes databaseLoader {

    0% {
        left: -35%;
    }

    100% {
        left: 100%;
    }
}


/* =========================================================
   42 — LARGE TABLET
========================================================= */

@media (max-width: 1150px) {

    .nav-links {
        gap: 22px;
    }


    .projects-hero {

        padding-left: 6%;
        padding-right: 6%;
    }


    .hero-system {

        width: 360px;

        transform:
            scale(.88);
    }


    .projects-section,
    .reports-section,
    .database-introduction,
    .project-philosophy,
    .project-cta {

        padding-left: 6%;
        padding-right: 6%;
    }


    footer {
        padding-left: 6%;
        padding-right: 6%;
    }


    .projects-grid,
    .reports-grid {

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


    .project-controls {

        grid-template-columns:
            1fr auto;
    }


    .project-search {

        grid-column: 1 / -1;

        width: 100%;
    }


    .footer-main {

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

}


/* =========================================================
   43 — TABLET
========================================================= */

@media (max-width: 900px) {

    .nav-links,
    .navbar > .join-btn {

        display: none;
    }


    .menu-btn {
        display: block;
    }


    .projects-hero {

        min-height: auto;

        padding:
            145px 7%
            90px;

        flex-direction: column;

        gap: 70px;

        text-align: center;
    }


    .hero-content {

        width: 100%;
    }


    .section-code {

        justify-content: center;
    }


    .hero-description {

        margin-left: auto;
        margin-right: auto;
    }


    .hero-actions {

        justify-content: center;
    }


    .hero-status {

        margin-left: auto;
        margin-right: auto;
    }


    .hero-system {

        width: 400px;
        height: 400px;

        transform:
            scale(.9);
    }


    .hero-scroll {
        display: none;
    }


    .database-intro-grid {

        grid-template-columns:
            1fr;

        gap: 25px;

        text-align: center;
    }


    .projects-header,
    .reports-header {

        align-items: flex-start;

        flex-direction: column;

        gap: 30px;
    }


    .database-status {

        align-self: flex-start;
    }


    .empty-projects {

        grid-template-columns: 1fr;

        text-align: center;
    }


    .empty-description,
    .development-status {

        margin-left: auto;
        margin-right: auto;
    }


    .philosophy-process {

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

        gap: 15px;
    }


    .philosophy-process > i {
        display: none;
    }


    .project-detail-cover {

        min-height: 290px;
    }

}


/* =========================================================
   44 — MOBILE
========================================================= */

@media (max-width: 650px) {

    .navbar {

        height: 74px;

        padding:
            0 5%;
    }


    .navbar.scrolled {
        height: 70px;
    }


    .logo img {

        width: 46px;
        height: 46px;
    }


    .logo-text span {

        font-size: 13px;

        letter-spacing: 1.5px;
    }


    .logo-text small {

        font-size: 7px;
    }


    .mobile-menu {

        padding:
            100px 6%
            40px;
    }


    /* HERO */

    .projects-hero {

        padding:
            125px 6%
            65px;

        gap: 45px;
    }


    .projects-hero h1 {

        font-size:
            clamp(48px,15vw,65px);

        letter-spacing: -3px;
    }


    .projects-hero h1 small {

        transform:
            translateY(-7px);
    }


    .hero-description {

        font-size: 14px;

        line-height: 1.7;
    }


    .hero-actions {

        width: 100%;

        flex-direction: column;
    }


    .hero-primary,
    .hero-secondary {

        width: 100%;
    }


    .hero-status {

        width: 100%;

        display: grid;

        grid-template-columns:
            1fr 1fr;
    }


    .hero-status > div {

        min-width: 0;

        justify-content: center;

        border-bottom:
            1px solid #272a31;
    }


    .hero-status > div:first-child {

        grid-column: 1 / -1;

        border-right: none;
    }


    .hero-system {

        width: 300px;
        height: 300px;

        transform:
            scale(.72);

        margin:
            -20px 0;
    }


    /* INTRO */

    .database-introduction {

        padding:
            70px 6%;
    }


    .database-intro-grid h2 {

        font-size: 43px;

        letter-spacing: -2.5px;
    }


    /* PROJECTS */

    .projects-section {

        padding:
            85px 6%;
    }


    .projects-header h2,
    .reports-header h2 {

        font-size: 46px;

        letter-spacing: -2.5px;
    }


    .project-controls {

        display: flex;

        align-items: stretch;

        flex-direction: column;
    }


    .project-filters {

        width: 100%;

        overflow-x: auto;

        flex-wrap: nowrap;

        padding-bottom: 5px;

        scrollbar-width: none;
    }


    .project-filters::-webkit-scrollbar {
        display: none;
    }


    .filter {

        flex-shrink: 0;
    }


    .project-search {

        width: 100%;
    }


    .project-counter {

        align-self: flex-end;
    }


    .projects-grid,
    .reports-grid {

        grid-template-columns: 1fr;
    }


    .project-card {

        min-height: 430px;
    }


    .project-card-cover {
        height: 205px;
    }


    /* EMPTY */

    .empty-projects {

        min-height: auto;

        padding:
            50px 22px;

        gap: 25px;
    }


    .project-machine {

        width: 260px;
        height: 260px;

        transform:
            scale(.78);

        margin:
            -30px 0;
    }


    .empty-content h3 {

        font-size: 39px;

        letter-spacing: -2px;
    }


    .empty-description {

        font-size: 12px;
    }


    .development-header,
    .development-footer {

        gap: 15px;

        font-size: 6px;
    }


    /* PHILOSOPHY */

    .project-philosophy {

        padding:
            85px 6%;
    }


    .philosophy-index {

        margin-bottom: 40px;
    }


    .philosophy-content h2 {

        font-size: 53px;

        letter-spacing: -3px;
    }


    .philosophy-process {

        margin-top: 55px;

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

        gap: 35px 15px;
    }


    /* REPORTS */

    .reports-section {

        padding:
            85px 6%;
    }


    .report-controls {

        align-items: flex-start;

        flex-direction: column;
    }


    .report-filters {

        width: 100%;

        flex-wrap: nowrap;

        overflow-x: auto;

        padding-bottom: 5px;

        scrollbar-width: none;
    }


    .report-filters::-webkit-scrollbar {
        display: none;
    }


    .report-filter {
        flex-shrink: 0;
    }


    .report-counter {
        align-self: flex-end;
    }


    .report-card {

        min-height: 285px;

        padding: 23px;
    }


    .empty-reports {

        padding:
            35px 22px;

        flex-direction: column;

        align-items: flex-start;
    }


    .empty-report-number {
        font-size: 60px;
    }


    /* CTA */

    .project-cta {

        min-height: 480px;

        padding:
            85px 6%;
    }


    .cta-content h2 {

        font-size: 49px;

        letter-spacing: -3px;
    }


    /* PROJECT MODAL */

    .project-modal-overlay {

        padding: 0;

        align-items: flex-end;
    }


    .project-detail-modal {

        width: 100%;
        height: 94vh;
        max-height: 94vh;

        border-radius:
            0;
    }


    .project-detail-cover {

        min-height: 230px;

        padding: 20px;
    }


    .project-modal-close {

        top: 12px;
        right: 12px;
    }


    .project-cover-code {
        display: none;
    }


    .project-detail-content {

        padding:
            30px 22px
            45px;
    }


    .project-detail-top {

        flex-direction: column;

        gap: 15px;
    }


    .project-detail-top h2 {

        font-size: 38px;

        letter-spacing: -2px;
    }


    .project-detail-status {
        align-self: flex-start;
    }


    .project-detail-short {

        font-size: 13px;
    }


    .related-report-item {

        align-items: flex-start;

        flex-direction: column;
    }


    /* PDF */

    .pdf-reader-overlay {

        padding: 0;
    }


    .pdf-reader {

        width: 100%;
        height: 100vh;

        border: none;
    }


    .pdf-reader-header {

        min-height: 72px;

        padding:
            12px 14px;
    }


    .pdf-reader-header h2 {

        max-width: 190px;

        overflow: hidden;

        white-space: nowrap;

        text-overflow: ellipsis;

        font-size: 13px;
    }


    .pdf-reader-actions a {

        padding:
            9px 8px;

        font-size: 6px;
    }


    /* FOOTER */

    footer {

        padding:
            0 6%
            25px;
    }


    .footer-top-line {

        margin-bottom: 50px;
    }


    .footer-main {

        grid-template-columns: 1fr;

        gap: 40px;
    }


    .footer-bottom {

        flex-direction: column;

        gap: 10px;
    }

}


/* =========================================================
   45 — VERY SMALL MOBILE
========================================================= */

@media (max-width: 390px) {

    .projects-hero h1 {

        font-size: 45px;
    }


    .projects-header h2,
    .reports-header h2 {

        font-size: 40px;
    }


    .hero-system {

        transform:
            scale(.65);
    }


    .philosophy-content h2 {

        font-size: 47px;
    }


    .cta-content h2 {

        font-size: 43px;
    }


    .project-detail-top h2 {

        font-size: 34px;
    }

}


/* =========================================================
   46 — REDUCED MOTION
========================================================= */

@media (
    prefers-reduced-motion: reduce
) {

    *,
    *::before,
    *::after {

        scroll-behavior: auto !important;

        animation-duration:
            .01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            .01ms !important;
    }

}
/* =========================================================
   ADMIN ACCESS
========================================================= */

.admin-access {

    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 7px 10px;

    color: #55585f;

    border: 1px solid #2b2e34;

    border-radius: 3px;

    font-family: monospace;
    font-size: 9px;
    font-weight: 700;

    letter-spacing: 2px;

    opacity: .55;

    transition: .3s;

    cursor: pointer;
}


.admin-access-dot {

    width: 5px;
    height: 5px;

    background: #55585f;

    border-radius: 50%;

    transition: .3s;
}


.admin-access:hover {

    color: var(--red-light);

    border-color: var(--red);

    opacity: 1;

    box-shadow:
        0 0 15px
        rgba(176, 0, 69, .12);
}


.admin-access:hover
.admin-access-dot {

    background: var(--red-light);

    box-shadow:
        0 0 8px
        var(--red-light);
}
/* ==========================================================
   LANGUAGE SWITCH
========================================================== */

.language-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 20px;
}

.language-switch span {
    color: rgba(255,255,255,.4);
}

.language-switch button {
    background: transparent;
    border: none;
    color: #2b2b2b;
    cursor: pointer;
    font-size: .9rem;
    font-weight: 600;
    transition: .3s;
}

.language-switch button:hover {
    color: #d1005d;
}

.language-switch button.active {
    color: #d1005d;
}