*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

@font-face {
    font-family: "CrimsonText";
    src: url("../fonts/CrimsonText-Regular.ttf") format("truetype")
}

@font-face {
    font-family: "Inter";
    src: url("../fonts/Inter_24pt-SemiBold.ttf") format("truetype")
}

@font-face {
    font-family: "Datatype";
    src: url("../fonts/Datatype-VariableFont_wdth,wght.ttf") format("truetype")
}

@font-face {
    font-family: "Tanker";
    src: url("../fonts/Tanker-Regular.ttf") format("truetype")
}

@font-face {
    font-family: "DMMono";
    src: url("../fonts/DMMono-Regular.ttf") format("truetype")
}

@font-face {
    font-family: "DMMono-M";
    src: url("../fonts/DMMono-Medium.ttf") format("truetype")
}

h1 {
    font-family: "Tanker", sans-serif;
}

h2 {
    font-family: "Datatype", sans-serif;
    color: white;
}

body {
    font-family: "DMMono", monospace;
}

.menu-button {
    position: fixed;
    top: 14px;
    right: 20px;
    z-index: 10;
    width: 56px;
    height: 56px;
    padding: 0;
    border: none;
    border-radius: 12px;
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 11;
}

.menu-button { position: fixed; }
.menu-button span {
    position: absolute;
    width: 24px;
    height: 3px;
    background: #ffffff;
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.2s ease;
    transform-origin: center;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    background: rgba(8, 10, 24, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    }

.mobile-menu.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.mobile-menu a {
    color: #fff;
    text-decoration: none;
    font-size: clamp(1.4rem, 3vw, 2.4rem);
    font-family: "DMMono-M", monospace;
    letter-spacing: 0.04em;
    z-index: 10;
}

.menu-button span:nth-child(1) { transform: translateY(-7px); }
.menu-button span:nth-child(2) { transform: translateY(0); }
.menu-button span:nth-child(3) { transform: translateY(7px); }

.menu-button.open span:nth-child(1) { transform: rotate(45deg); }
.menu-button.open span:nth-child(2) { opacity: 0; }
.menu-button.open span:nth-child(3) { transform: rotate(-45deg); }

.glass{
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border:1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

.logo {
    display: block;
    width: 40rem;
    height: auto;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.hero {
    min-height: 90vh;
    background: rgb(218, 222, 234);
    position: relative;
    z-index: 1;
    isolation: isolate;
    overflow: hidden;
    padding-bottom: 20rem
}

.hero-art {
    position: absolute;
    left: 0;
    bottom: 0;
    width: clamp(36rem, 58vw, 62rem);
    max-width: 55%;
    height: auto;
    z-index: 2;
}

.hero::before {
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../images/noise.webp") center / cover no-repeat;
    opacity: 0.07;
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.hero::after {
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../images/noise2.webp") center / cover no-repeat;
    opacity: 0.2;
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.hero-text {
    padding-right: 4rem;
    margin-top: 4rem;
    position: relative;
    text-align: right;
    width: 47%;
    margin-left: auto;
    z-index: 5;
}

.hero-text h2 {
    font-size: 6rem;
    font-family: "DMMono-M", monospace;
    color: #0008A2;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.hero-text p {
    font-size: 1.5rem;
    color: #0008A2;
    margin-top: 0;
}

main {
    position: relative;
    min-height: 100vh;
}

.content {
    z-index: 2;
    overflow: visible;
    position: relative;
}

.content-inner {
    background:
        url("../images/deco2.webp") right 0 top 15% / 700px no-repeat,
        url("../images/deco1.webp") left -20px bottom -20px / 500px no-repeat,
        linear-gradient(
        to bottom,
        rgb(0, 8, 162),
        #000572,
        rgb(0, 5, 91) 40%);
}

.content::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/noise-s.webp") top left repeat;
    opacity: 0.1;
    mix-blend-mode: soft-light;
    pointer-events: none;
    z-index: 0
}

.content::after {
    content: "";
    position: absolute !important;
    inset: 0;
    background: url("../images/03.webp") top left repeat;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0
}

.featured {
    padding: 15rem 0 0rem;
    display: flex;
    justify-content: center;
    color: white;
    position: relative;
    z-index: 2;
}

.featured-stack {
    top: -30rem;
    margin-bottom: -15rem;
    position: relative;
    width: 70%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

.image-wrapper {
    overflow: visible;
    position: relative;
    width: 100%;
    z-index: 2;
}

.image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.25);
}

.image-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    pointer-events: none;
    border-radius: 20px;
}

.image-wrapper h1 {
    position: absolute;
    bottom: -70px;
    left: -40px;
    margin: 0;
    font-size: 8rem;
    color: white;
    z-index: 2;
}

.featured-button {
    position: absolute;
    left: -40px;
    bottom: -120px;
    z-index: 3;
    padding: 0.85rem 4rem;
}

.button {
    display: inline-block;
    border-radius: 999px;
    background: rgb(255, 255, 255);
    color: rgb(0, 8, 162);
    text-decoration: none;
    font-family: "DMMono", sans-serif;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

.preview-button {
    margin-top: 4rem;
    text-align: center;
    padding: 1rem 9rem;
}

.scroll-text-band {
    --scroll-progress: 0;
    position: absolute;
    top: 39%;
    left: 50%;
    width: 160%;
    transform: translate(-50%, -50%);
    z-index: 1;
    overflow: hidden;
    display: grid;
    gap: 0.1rem;
    pointer-events: none;
}

.scroll-row {
    margin: 0;
    white-space: nowrap;
    font-family: "Datatype", sans-serif;
    font-size: 7rem ;
    line-height: 0.8;
    color: rgba(255, 255, 255, 0.9);
    transform: translateX(calc(var(--offset) + (var(--scroll-progress) * 160px * var(--dir))));
    will-change: transform;
}

.blog-preview {
    position: relative;
    padding-bottom: 33rem;
    text-align:center;
    color: white;
    z-index: 2;
}

.blog-title {
    font-size: 8rem;
    margin-bottom: 3rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 85%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.blog-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.blog-card img {
    width: 100%;
    height: 800px;
    object-fit: cover;
    display: block;
}

.blog-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.7),
        rgba(0,0,0,0)
    );
    pointer-events: none;
}

.footer {
    padding: 2rem;
    background: rgb(0, 8, 162);
    font-family: "CrimsonText", serif;
    font-size: 1rem;
    color: rgb(198, 186, 230);
    text-align: center;
}

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