/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
    --maroon:       #7A1428;
    --maroon-mid:   #9A1B34;
    --maroon-dark:  #4E0D1A;

    --grey-950:  #0E0E0F;
    --grey-800:  #242428;
    --grey-600:  #58585E;
    --grey-400:  #9A9AA0;
    --grey-200:  #E2DED8;
    --cream:     #FAF8F5;
    --white:     #FFFFFF;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-label:   'Oswald', 'Arial Narrow', sans-serif;
    --font-body:    'Lora', Georgia, serif;

    --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
    --radius:    2px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--cream);
    color: var(--grey-950);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

sup {
    font-size: 0.6em;
    vertical-align: super;
}

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes heroZoom {
    from { transform: scale(1.07); }
    to   { transform: scale(1.0); }
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-18px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes riseUp {
    from { opacity: 0; transform: translateY(56px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   HERO ENTRANCE ANIMATIONS
   ============================================================ */
.animate-fade-down {
    animation: fadeDown 1s ease both;
    animation-delay: 0.4s;
}

.animate-rise {
    animation: riseUp 1.3s var(--ease-out) both;
    animation-delay: 0.8s;
}

.animate-fade-up {
    animation: fadeUp 1s ease both;
    animation-delay: 1.3s;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    height: 100svh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/header.jpg');
    background-size: cover;
    background-position: center top;
    animation: heroZoom 9s var(--ease-out) both;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        170deg,
        rgba(14, 14, 15, 0.30) 0%,
        rgba(78, 13, 26, 0.60) 45%,
        rgba(14, 14, 15, 0.80) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
}

.hero-school {
    font-family: var(--font-label);
    font-size: clamp(0.65rem, 1.8vw, 0.9rem);
    font-weight: 500;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.hero-title {
    font-family: var(--font-display);
    line-height: 0.9;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.05em;
}

.hero-title-rocket {
    font-size: clamp(4.5rem, 17vw, 15rem);
    font-weight: 300;
    font-style: italic;
    display: block;
}

.hero-title-band {
    font-size: clamp(4.5rem, 17vw, 15rem);
    font-weight: 600;
    font-style: normal;
    display: block;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.88);
}

/* Fallback for browsers without -webkit-text-stroke */
@supports not (-webkit-text-stroke: 1px black) {
    .hero-title-band {
        color: var(--white);
    }
}

/* ============================================================
   DATE BANNER (empty maroon divider)
   ============================================================ */
.date-banner {
    background: var(--maroon);
    height: 6px;
}

/* ============================================================
   SECTION LABEL
   ============================================================ */
.section-label {
    display: block;
    font-family: var(--font-label);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--maroon);
    margin-bottom: 0.9rem;
}

.section-label.light {
    color: rgba(255, 255, 255, 0.45);
}

.section-label.center {
    text-align: center;
}

/* ============================================================
   EVENT SECTION
   ============================================================ */
.event-section {
    padding: 6rem 2rem 7rem;
    background: var(--cream);
}

.event-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    align-items: start;
}

.event-image {
    position: relative;
    border-radius: var(--radius);
    box-shadow: 0 24px 64px rgba(78, 13, 26, 0.18);
    overflow: hidden;
}

.event-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(122, 20, 40, 0.12);
    pointer-events: none;
    border-radius: var(--radius);
}

.event-image img {
    width: 100%;
    height: auto;
    object-fit: unset;
    display: block;
}

.event-title {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 5.5vw, 5.25rem);
    font-weight: 600;
    line-height: 1.0;
    color: var(--grey-950);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.event-when-where {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 2rem;
    padding: 1rem 1.25rem;
    border-left: 3px solid var(--maroon);
    background: rgba(122, 20, 40, 0.04);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.event-when-where div {
    display: flex;
    gap: 0.75rem;
    align-items: baseline;
}

.event-when-where dt {
    font-family: var(--font-label);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--maroon);
    flex-shrink: 0;
    width: 3rem;
}

.event-when-where dd {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--grey-600);
}

.event-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.event-body p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--grey-600);
}

.event-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    margin-bottom: 2.5rem;
}

.event-bullets li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.bullet-icon {
    color: var(--maroon);
    font-size: 0.45rem;
    margin-top: 0.55rem;
    flex-shrink: 0;
}

.event-bullets strong {
    display: block;
    font-family: var(--font-label);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--grey-950);
    margin-bottom: 0.3rem;
}

.event-bullets p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--grey-600);
}

.event-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.95rem 2.2rem;
    background: var(--maroon);
    color: var(--white);
    font-family: var(--font-label);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--radius);
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.event-button:hover {
    background: var(--maroon-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(78, 13, 26, 0.3);
}

.event-button:active {
    transform: translateY(0);
    box-shadow: none;
}

/* ============================================================
   GALLERY / CAROUSEL
   ============================================================ */
.gallery-section {
    padding: 5rem 2rem 0;
    background: var(--grey-950);
}

.carousel {
    position: relative;
    max-width: 1180px;
    margin: 1.5rem auto 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--grey-800);
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--grey-800);
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: saturate(0.85) brightness(0.92);
    transition: filter 0.4s ease;
}

.carousel:hover .carousel-slide img {
    filter: saturate(1) brightness(1);
}

/* Arrows */
.carousel-arrow {
    position: absolute;
    top: calc(50% - 22px);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(122, 20, 40, 0.7);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    opacity: 0;
    transition: opacity 0.25s ease, background 0.2s ease;
    z-index: 10;
}

.carousel:hover .carousel-arrow {
    opacity: 1;
}

.carousel-arrow--prev { left: 1rem; }
.carousel-arrow--next { right: 1rem; }

.carousel-arrow:hover {
    background: var(--maroon);
}

/* Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 0 1rem;
    background: var(--grey-950);
}

.carousel-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--grey-600);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s ease, transform 0.2s ease;
}

.carousel-dot.active {
    background: var(--maroon);
    transform: scale(1.35);
}

@media (prefers-reduced-motion: reduce) {
    .carousel-track { transition: none; }
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.cta-section {
    position: relative;
    padding: 8rem 2rem;
    background: var(--maroon-dark);
    overflow: hidden;
}

.cta-section::before {
    content: 'ROCKETS';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: clamp(7rem, 22vw, 20rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.025);
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 6.5vw, 5.75rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.cta-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
}

.contact-email {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(255, 255, 255, 0.4);
    transition: text-decoration-color 0.2s ease;
}

.contact-email:hover {
    text-decoration-color: var(--white);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--grey-950);
    padding: 2.5rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-footer p {
    font-family: var(--font-label);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
}

.footer-sub {
    margin-top: 0.5rem;
    font-size: 0.62rem !important;
    letter-spacing: 0.12em !important;
    color: rgba(255, 255, 255, 0.18) !important;
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 900px) {
    .event-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .event-image {
        max-width: 500px;
        margin: 0 auto;
    }

}


/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 600px) {
    .hero-title-band {
        -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.88);
    }

    .event-section {
        padding: 4rem 1.25rem 5rem;
    }

    .gallery-section {
        padding: 4rem 1.25rem 0;
    }

    .carousel-arrow {
        opacity: 0.75;
        width: 36px;
        height: 36px;
        font-size: 1rem;
        top: calc(50% - 18px);
    }

    .cta-section {
        padding: 5rem 1.25rem;
    }

    .cta-section::before {
        content: none;
    }
}
