@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');


/* =========================================================
   VARIABLES
========================================================= */

:root {
    --navy: #0d152b;
    --cream: #f4f0e8;
    --white: #ffffff;
    --muted: #9ba6c1;
    --coral: #ed737d;
    --dark: #090e1d;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--dark);
    color: var(--white);

    font-family: "DM Sans", sans-serif;

    overflow-x: hidden;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}


/* =========================================================
   NAVIGATION
========================================================= */

nav {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100px;

    padding: 0 8vw;

    display: flex;
    align-items: center;
    justify-content: space-between;

    z-index: 100;
}


.navbar-logo {
    display: flex;
    align-items: center;

    width: 220px;
    height: 75px;

    text-decoration: none;
}


.navbar-logo img {
    width: 210px;
    height: 70px;

    object-fit: contain;
    object-position: left center;
}


.nav-links {
    display: flex;
    align-items: center;

    gap: 35px;
}


.nav-links a {
    position: relative;

    color: rgba(255,255,255,0.85);

    font-size: 0.75rem;
    font-weight: 600;

    text-decoration: none;
}


.nav-links a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background: var(--coral);

    transition: width 0.25s ease;
}


.nav-links a:hover::after {
    width: 100%;
}


/* =========================================================
   GENERAL
========================================================= */

.section {
    position: relative;

    width: 100%;

    padding: 120px 8vw;
}


.eyebrow {
    color: var(--coral);

    font-family: "Space Grotesk", sans-serif;

    font-size: 0.68rem;
    font-weight: 700;

    letter-spacing: 4px;

    text-transform: uppercase;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    width: 100%;
    height: 100vh;
    min-height: 650px;

    overflow: hidden;

    display: flex;
    align-items: center;

    padding: 150px 8vw 100px;

    background: #000;
}


/* =========================================================
   VIDEO — THE ACTUAL HERO BACKGROUND
========================================================= */

.hero-video {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    z-index: 0;

    pointer-events: none;
}


/* =========================================================
   DARK OVERLAY
========================================================= */

.hero-overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(3, 7, 16, 0.78) 0%,
            rgba(3, 7, 16, 0.50) 50%,
            rgba(3, 7, 16, 0.20) 100%
        );

    pointer-events: none;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {
    position: relative;

    z-index: 5;

    width: 100%;
}


.hero-content .eyebrow {
    margin-bottom: 25px;
}


.hero h1 {
    max-width: 1100px;

    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(4rem, 8vw, 8rem);

    font-weight: 600;

    line-height: 0.92;

    letter-spacing: -5px;

    text-shadow:
        0 5px 30px
        rgba(0,0,0,0.25);
}


.hero h1 span {
    display: block;

    color: var(--coral);
}


.hero-description {
    max-width: 570px;

    margin-top: 35px;

    color: rgba(255,255,255,0.78);

    font-size: 1rem;

    line-height: 1.8;
}


/* =========================================================
   BUTTON
========================================================= */

.button {
    display: inline-flex;

    width: fit-content;

    align-items: center;
    justify-content: center;

    gap: 12px;

    margin-top: 35px;

    padding: 16px 24px;

    border:
        1px solid
        rgba(255,255,255,0.35);

    color: var(--white);

    font-size: 0.75rem;
    font-weight: 700;

    text-decoration: none;

    transition: 0.3s ease;
}


.button:hover {
    background: var(--white);

    color: var(--navy);

    transform: translateY(-2px);
}


/* =========================================================
   SOUND BUTTON
========================================================= */

.sound-button {
    position: absolute;

    right: 8vw;
    bottom: 65px;

    z-index: 10;

    width: auto;
    height: auto;

    padding: 11px 17px;

    border:
        1px solid
        rgba(255,255,255,0.35);

    border-radius: 100px;

    background:
        rgba(0,0,0,0.40);

    color: #ffffff;

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 0.68rem;
    font-weight: 600;

    cursor: pointer;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}


/* =========================================================
   HERO BOTTOM
========================================================= */

.hero-bottom {
    position: absolute;

    left: 8vw;
    right: 8vw;
    bottom: 35px;

    z-index: 5;

    display: flex;

    justify-content: space-between;

    color:
        rgba(255,255,255,0.55);

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 0.55rem;
    font-weight: 600;

    letter-spacing: 2px;
}


/* =========================================================
   STORY
========================================================= */

.story {
    overflow: hidden;

    background: var(--cream);

    color: var(--navy);
}


.story > .eyebrow {
    width: 100%;
    max-width: 1100px;

    margin:
        0 auto
        65px;
}


/* =========================================================
   COUNTER
========================================================= */

.memory-counter {
    width: 100%;
    max-width: 1100px;

    margin: auto;
}


.counter-kicker {
    margin-bottom: 15px;

    color: var(--coral);

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 0.68rem;
    font-weight: 700;

    letter-spacing: 3px;
}


.counter-main {
    display: flex;

    align-items: center;

    gap: 28px;
}


.counter-block {
    display: flex;

    align-items: baseline;

    gap: 13px;
}


.counter-block > span {
    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(5rem,11vw,10rem);

    font-weight: 600;

    line-height: 0.88;

    letter-spacing: -8px;
}


.counter-block small {
    color: #777d8a;

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.counter-dot {
    color: var(--coral);

    font-size: 4rem;
}


.counter-secondary {
    margin-top: 25px;

    display: flex;

    gap: 9px;

    align-items: baseline;

    color: #616878;
}


.counter-secondary span:first-child {
    color: var(--coral);

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 1.6rem;

    font-weight: 600;
}


.counter-since {
    margin-top: 7px;

    color: #7a808d;

    font-size: 0.82rem;

    font-style: italic;
}


/* =========================================================
   TIMELINE
========================================================= */

.memory-timeline {
    width: 100%;
    max-width: 1100px;

    margin:
        55px auto
        100px;

    display: grid;

    grid-template-columns:
        auto 1fr auto;

    align-items: center;

    gap: 18px;
}


.memory-timeline > span {
    color: #727987;

    font-size: 0.57rem;

    font-weight: 700;

    letter-spacing: 2px;
}


.timeline-line {
    position: relative;

    height: 1px;

    background:
        rgba(13,21,43,0.14);
}


.timeline-progress {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(13,21,43,0.25),
            var(--coral)
        );
}


.timeline-pulse {
    position: absolute;

    right: -4px;
    top: 50%;

    width: 9px;
    height: 9px;

    transform:
        translateY(-50%);

    border-radius: 50%;

    background: var(--coral);

    animation:
        pulse 2s infinite;
}


@keyframes pulse {

    0% {
        box-shadow:
            0 0 0 0
            rgba(237,115,125,0.45);
    }

    70% {
        box-shadow:
            0 0 0 10px
            rgba(237,115,125,0);
    }

    100% {
        box-shadow:
            0 0 0 0
            rgba(237,115,125,0);
    }
}


/* =========================================================
   STORY CONTENT
========================================================= */

.story-content {
    width: 100%;
    max-width: 1100px;

    margin: auto;
}


.story-small {
    margin-bottom: 22px;

    color: var(--coral);

    font-size: 0.62rem;

    font-weight: 700;

    letter-spacing: 2.5px;
}


.story-content h2 {
    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(3.3rem,7vw,7rem);

    line-height: 0.93;

    letter-spacing: -5px;
}


.story-content h2 span {
    color: var(--coral);
}


.story-text {
    max-width: 720px;

    margin-top: 45px;

    color: #555d6d;

    font-size: 1rem;

    line-height: 1.9;
}


.story-text-second {
    margin-top: 18px;
}


/* =========================================================
   FINAL YEAR
========================================================= */

.final-year-card {
    width: 100%;
    max-width: 1100px;

    margin:
        100px auto 0;

    border-top:
        1px solid
        rgba(13,21,43,0.18);

    border-bottom:
        1px solid
        rgba(13,21,43,0.18);
}


.final-year-top {
    padding: 18px 0;

    display: flex;

    justify-content:
        space-between;

    border-bottom:
        1px solid
        rgba(13,21,43,0.12);

    color: #777d89;

    font-size: 0.55rem;

    font-weight: 700;

    letter-spacing: 2px;
}


.final-year-main {
    padding: 50px 0;

    display: grid;

    grid-template-columns:
        1fr auto 1fr;

    align-items: center;

    gap: 45px;
}


.final-year-label {
    color: #6e7480;

    font-size: 0.65rem;

    font-weight: 700;

    letter-spacing: 2px;
}


.final-year-number {
    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(2.8rem,6vw,5.5rem);

    letter-spacing: -4px;
}


.final-year-number span {
    color: var(--coral);
}


.final-year-school {
    justify-self: end;

    color: #555d6c;

    font-size: 0.65rem;

    font-weight: 700;

    line-height: 1.7;

    text-align: right;
}


.final-year-bottom {
    padding: 18px 0;

    display: flex;

    justify-content: center;

    gap: 45px;

    border-top:
        1px solid
        rgba(13,21,43,0.12);

    color: #6e7480;

    font-size: 0.55rem;

    font-weight: 700;

    letter-spacing: 2px;
}


/* =========================================================
   QUOTE
========================================================= */

.story-quote {
    width: 100%;
    max-width: 1100px;

    margin:
        95px auto 0;

    display: flex;

    gap: 20px;
}


.story-quote > span {
    color: var(--coral);

    font-size: 5rem;

    line-height: 0.75;
}


.story-quote p {
    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(1.8rem,4vw,3.4rem);

    line-height: 1.15;
}


/* =========================================================
   MEMORIES
========================================================= */

.memories {
    background: #111a2d;
}


.memories > .eyebrow,
.memories > h2,
.memories > p,
.album-heading {
    max-width: 1100px;

    margin-left: auto;
    margin-right: auto;
}


.memories > h2 {
    margin-top: 25px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(3rem,6vw,5.8rem);

    line-height: 0.98;
}


.memories > p {
    margin-top: 30px;

    color:
        rgba(255,255,255,0.7);

    line-height: 1.8;
}


.featured-memory {
    max-width: 1100px;

    margin:
        65px auto 0;
}


.featured-memory img {
    display: block;

    width: 100%;
}


.featured-caption {
    margin-top: 14px;

    display: flex;

    justify-content:
        space-between;

    color:
        rgba(255,255,255,0.55);

    font-size: 0.62rem;

    letter-spacing: 2px;
}


.album-heading {
    margin-top: 80px;
    margin-bottom: 25px;

    display: flex;

    justify-content:
        space-between;
}


/* =========================================================
   GALLERY
========================================================= */

.gallery-grid {
    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 10px;
}


.gallery-grid img {
    width: 100%;
    height: 235px;

    object-fit: cover;

    cursor: pointer;

    transition: 0.3s ease;
}


.gallery-grid img:hover {
    transform: scale(1.015);
}


/* =========================================================
   LIGHTBOX
========================================================= */

.gallery-lightbox {
    position: fixed;

    inset: 0;

    z-index: 1000;

    display: none;

    align-items: center;
    justify-content: center;

    background:
        rgba(4,8,18,0.96);
}


.gallery-lightbox.active {
    display: flex;
}


.gallery-lightbox img {
    max-width: 88vw;
    max-height: 82vh;

    object-fit: contain;
}


.gallery-close,
.gallery-prev,
.gallery-next {
    position: absolute;

    border: none;

    color: white;

    background:
        rgba(255,255,255,0.08);

    cursor: pointer;
}


.gallery-close {
    top: 25px;
    right: 35px;

    background: none;

    font-size: 2rem;
}


.gallery-prev,
.gallery-next {
    top: 50%;

    width: 50px;
    height: 50px;

    border-radius: 50%;

    font-size: 1.5rem;
}


.gallery-prev {
    left: 30px;
}


.gallery-next {
    right: 30px;
}


.gallery-counter {
    position: absolute;

    bottom: 25px;

    left: 50%;

    transform:
        translateX(-50%);

    font-size: 0.7rem;
}


/* =========================================================
   CLASSMATES
========================================================= */

.classmates {
    background: #090f1e;
}


.classmates > .eyebrow,
.classmates > h2,
.classmates-intro,
.month-filter,
.classmates-grid {
    max-width: 1100px;

    margin-left: auto;
    margin-right: auto;
}


.classmates h2 {
    margin-top: 25px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(3rem,6vw,5.8rem);

    line-height: 0.98;
}


.classmates h2 span {
    color: var(--coral);
}


.classmates-intro {
    margin-top: 28px;

    color: var(--muted);

    line-height: 1.8;
}


/* =========================================================
   MONTH FILTER
========================================================= */

.month-filter {
    margin-top: 50px;
    margin-bottom: 35px;

    display: flex;

    gap: 8px;

    overflow-x: auto;
}


.month-button {
    flex-shrink: 0;

    padding: 9px 14px;

    border:
        1px solid
        rgba(255,255,255,0.12);

    border-radius: 50px;

    background: transparent;

    color: var(--muted);

    cursor: pointer;
}


.month-button.active {
    background: var(--coral);

    border-color: var(--coral);

    color: white;
}


/* =========================================================
   CLASSMATE CARDS
========================================================= */

.classmates-grid {
    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    gap: 14px;
}


.classmate-card {
    overflow: hidden;

    background: #101a31;

    border:
        1px solid
        rgba(255,255,255,0.07);
}


.classmate-photo img {
    display: block;

    width: 100%;
    height: auto;

    object-fit: contain;
}


.classmate-info {
    min-height: 120px;

    padding:
        16px 16px 18px;
}


.classmate-info::before {
    content:
        "CLASS OF '19";

    display: block;

    margin-bottom: 9px;

    color: var(--coral);

    font-size: 0.5rem;

    letter-spacing: 1.8px;
}


.classmate-info h3 {
    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 1.02rem;
}


.classmate-birthday {
    margin-top: 12px;

    color: var(--muted);

    font-size: 0.62rem;

    text-transform: uppercase;
}


/* =========================================================
   CLOSING
========================================================= */

.closing {
    min-height: 75vh;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    background: var(--cream);

    color: var(--navy);
}


.closing h2 {
    margin-top: 25px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(3rem,7vw,6.5rem);

    line-height: 0.95;
}


.closing > p {
    max-width: 600px;

    margin-top: 30px;

    color: #626b7c;

    line-height: 1.8;
}


.closing .button {
    color: var(--navy);

    border-color:
        rgba(13,21,43,0.25);
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    min-height: 95px;

    padding: 15px 8vw;

    display: flex;

    align-items: center;
    justify-content: space-between;

    background: var(--dark);

    color:
        rgba(255,255,255,0.45);

    font-size: 0.58rem;

    letter-spacing: 1.5px;
}


.footer-logo img {
    width: 145px;
    height: 55px;

    object-fit: contain;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .classmates-grid {
        grid-template-columns:
            repeat(3,1fr);
    }

    .gallery-grid {
        grid-template-columns:
            repeat(2,1fr);
    }
}


@media (max-width: 600px) {

    nav {
        height: 72px;

        padding: 0 18px;
    }


    .navbar-logo {
        width: 125px;
    }


    .navbar-logo img {
        width: 120px;
    }


    .nav-links {
        gap: 10px;
    }


    .nav-links a {
        font-size: 0.52rem;
    }


    .hero {
        height: 100svh;
        min-height: 600px;

        padding:
            120px
            20px
            100px;
    }


    .hero-video {
        width: 100%;
        height: 100%;

        object-fit: cover;

        object-position: center;
    }


    .hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(3,7,16,0.55),
                rgba(3,7,16,0.42),
                rgba(3,7,16,0.75)
            );
    }


    .hero h1 {
        font-size:
            clamp(3rem,15vw,5rem);

        letter-spacing: -3px;
    }


    .hero-description {
        font-size: 0.9rem;
    }


    .sound-button {
        right: 20px;
        bottom: 55px;
    }


    .hero-bottom {
        left: 20px;
        right: 20px;

        bottom: 23px;

        font-size: 0.48rem;
    }


    .section {
        padding:
            85px
            20px;
    }


    .counter-main {
        gap: 12px;
    }


    .counter-block {
        flex-direction: column;

        align-items: flex-start;
    }


    .counter-block > span {
        font-size: 4.5rem;

        letter-spacing: -5px;
    }


    .story-content h2 {
        font-size: 3.3rem;

        letter-