/* ✅ Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

/* ✅ Base Styles */
html, body {
    width: 100vw;
    height: 400vh;
    background-color: #111;
    color: #ddd;  /* Changed to greyish white */
    overflow-x: hidden;
}

/* ✅ Typography */
h1 {
    text-transform: uppercase;
    font-size: 5vw;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 1px;
}

a, p {
    text-decoration: none;
    color: #ddd; /* Greyish white */
    font-size: 1.2vw;
    font-weight: 400;
    line-height: 1.4;
}

p span {
    font-family: "Gascogne Serial";
}

/* ✅ Model */
.model {
    position: fixed;
    z-index: 2;
}

/* ✅ Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100vw;
    padding: 2em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

nav a {
    text-transform: uppercase;
    font-weight: 600;
}

/* ✅ Section Styles */
section {
    width: 100vw;
    height: 100vh;
}

/* ✅ Improved Intro Section */
.intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8em 2em;
    min-height: 100vh;
    gap: 2em;
}

/* ✅ Headings in Intro */
.intro h1 {
    font-size: 4vw;
    font-weight: 600;
    color: #ccc;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

/* ✅ Underline Effect */
.intro h1::after {
    content: "";
    display: block;
    width: 60%;
    height: 2px;
    background: linear-gradient(to right, rgba(227, 227, 227, 0.8), rgba(230, 230, 230, 0.8));
    margin: 0.6em auto 0;
}

/* ✅ Centering Paragraph */
.intro p {
    max-width: 55%;
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.2vw;
    font-weight: 300;
    text-align: center;
    line-height: 1.6;
}

/* ✅ Header Row */
.header-row {
    display: flex;
    gap: 3em;
    align-items: center;
    justify-content: center;  /* Center aligned */
}

.header-row p {
    text-transform: uppercase;
    width: auto;
}

/* ✅ Archive Section */
.archive {
    height: 200vh;
    display: flex;
    flex-direction: column;
    gap: 3em;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.archive-header p {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-style: italic;
}

.archive h2 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 120px;
    font-weight: 300;
    color: #4f4f4f;
}

/* ✅ Archive Info */
.archive-info {
    width: 100%;
    padding: 1em;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.archive-info p {
    text-transform: uppercase;
    color: #4f4f4f;
}

/* ✅ Outro Section */
.outro {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 6em 2em 2em 2em;
}

.outro-copy h2 {
    width: 75%;
    text-transform: uppercase;
    font-size: 60px;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 0.5em;
}

.outro-copy h2 .line {
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    overflow: hidden;
    display: block;
}

.outro-copy h2 .line span {
    position: relative;
    will-change: transform;
    display: flex;
    transform: translateY(70px);
}

.outro-copy p {
    display: flex;
    margin: 1em 0;
    gap: 2em;
    text-transform: uppercase;
}

.outro-copy p span {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

/* ✅ Footer */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    text-transform: uppercase;
}

/* ✅ Lenis Smooth Scroll */
.lenis.lenis-smooth {
    scroll-behavior: auto !important;
    overflow: hidden;
}

.lenis.lenis-smooth[data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: clip;
}

.lenis.lenis-smooth iframe {
    pointer-events: none;
}

/* ✅ Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.intro h1, .intro p {
    animation: fadeInUp 1s ease-out forwards;
}
