:root {
    --deep: #102820;
    --lake: #1f4b43;
    --moss: #597057;
    --sand: #eee7d7;
    --paper: #f8f5ed;
    --ink: #1f2925;
    --muted: #66736c;
    --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    color: var(--ink);
    background: var(--paper);
}
a { color: inherit; }
button { font: inherit; }

.hero {
    position: relative;
    min-height: 520px;
    display: grid;
    place-items: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 15%, rgba(255,255,255,.10), transparent 30%),
        linear-gradient(145deg, #17372e 0%, #234f47 48%, #0e221c 100%);
}
.hero.has-photo {
    background-image: url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
}
.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(7,24,18,.18), rgba(7,24,18,.72));
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding: 40px 24px;
}
.club-mark {
    width: 74px;
    height: 74px;
    margin: 0 auto 18px;
    border: 2px solid rgba(255,255,255,.75);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: Arial, sans-serif;
    font-weight: 700;
    letter-spacing: .12em;
}
.hero h1 {
    margin: 0;
    font-size: clamp(3.1rem, 8vw, 6.6rem);
    font-weight: 500;
    line-height: .95;
    letter-spacing: -.03em;
    text-shadow: 0 3px 18px rgba(0,0,0,.28);
}
.hero p {
    margin: 24px 0 8px;
    font-family: Arial, sans-serif;
    text-transform: uppercase;
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .24em;
}
.tradition {
    display: inline-block;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.35);
    font-style: italic;
    font-size: 1.15rem;
}

main {
    width: min(1380px, 100%);
    margin: 0 auto;
    overflow: hidden;
}
.intro {
    text-align: center;
    padding: 72px 20px 20px;
    max-width: 820px;
    margin: 0 auto;
}
.eyebrow {
    font-family: Arial, sans-serif;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .22em;
    color: var(--moss);
}
.intro h2, .story-card h2, .photo-placeholder h2 {
    margin: 12px 0 14px;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 500;
    line-height: 1.05;
}
.intro p, .story-card p, .photo-placeholder p {
    color: var(--muted);
    line-height: 1.7;
    font-size: 1.08rem;
}

.trip-carousel {
    padding: 22px 0 82px;
}
.carousel-stage {
    position: relative;
    width: 100%;
}
.carousel-viewport {
    width: 100%;
    overflow: hidden;
    padding: 26px 0 34px;
    outline: none;
}
.carousel-viewport:focus-visible {
    box-shadow: inset 0 0 0 3px rgba(31,75,67,.25);
}
.carousel-track {
    --carousel-side-pad: 0px;
    display: flex;
    gap: 30px;
    width: max-content;
    padding-left: var(--carousel-side-pad);
    padding-right: var(--carousel-side-pad);
    transition: transform .58s cubic-bezier(.22,.78,.25,1);
    will-change: transform;
}
.carousel-track.no-transition { transition: none; }

.carousel-card {
    position: relative;
    flex: 0 0 min(820px, 66vw);
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 10px;
    text-decoration: none;
    background:
        radial-gradient(circle at 24% 18%, rgba(255,255,255,.09), transparent 28%),
        linear-gradient(145deg, #3f675b 0%, #1d443b 58%, #102820 100%);
    background-size: cover;
    background-position: center;
    box-shadow: 0 16px 40px rgba(16,40,32,.13);
    opacity: .52;
    transform: scale(.86);
    filter: saturate(.72);
    transition:
        transform .5s cubic-bezier(.22,.78,.25,1),
        opacity .45s ease,
        filter .45s ease,
        box-shadow .45s ease;
}
.carousel-card.has-cover { background-color: #24473e; }
.carousel-card.is-active {
    opacity: 1;
    transform: scale(1);
    filter: saturate(1);
    box-shadow: 0 30px 65px rgba(16,40,32,.24);
    z-index: 2;
}
.carousel-card:not(.is-active):hover {
    opacity: .76;
    filter: saturate(.9);
}
.carousel-card-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(5,18,14,.92) 0%,
        rgba(5,18,14,.72) 18%,
        rgba(5,18,14,.18) 48%,
        rgba(5,18,14,0) 72%
    );
}
.carousel-card-content {
    position: absolute;
    z-index: 2;
    left: clamp(24px, 5vw, 54px);
    right: clamp(24px, 5vw, 54px);
    bottom: clamp(24px, 5vw, 48px);
    color: white;
}
.carousel-year {
    display: block;
    font-size: clamp(3.4rem, 8vw, 6.8rem);
    line-height: .82;
    font-weight: 500;
    letter-spacing: -.025em;
    text-shadow: 0 3px 20px rgba(0,0,0,.32);
}
.carousel-title {
    display: block;
    margin-top: 15px;
    font-family: Arial, sans-serif;
    font-size: clamp(.94rem, 1.7vw, 1.16rem);
    opacity: .94;
}
.carousel-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 999px;
    font-family: Arial, sans-serif;
    font-size: .73rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 800;
    background: rgba(7,24,18,.22);
    backdrop-filter: blur(4px);
}
.missing-photo-mark {
    position: absolute;
    top: 34px;
    right: 36px;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    color: rgba(255,255,255,.62);
    font: 700 .72rem/1 Arial, sans-serif;
    letter-spacing: .13em;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 58px;
    height: 58px;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 50%;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    background: rgba(16,40,32,.87);
    color: white;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(16,40,32,.22);
    transition: transform .18s ease, background .18s ease, opacity .18s ease;
}
.carousel-arrow span {
    display: block;
    font: 300 2.8rem/1 Arial, sans-serif;
    transform: translateY(-2px);
}
.carousel-arrow:hover:not(:disabled) {
    background: var(--lake);
    transform: translateY(-50%) scale(1.06);
}
.carousel-arrow:disabled {
    opacity: .18;
    cursor: default;
}
.carousel-arrow-prev { left: max(18px, calc(50% - 470px)); }
.carousel-arrow-next { right: max(18px, calc(50% - 470px)); }

.carousel-controls {
    width: min(1120px, calc(100% - 36px));
    margin: 6px auto 0;
    text-align: center;
}
.carousel-years {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
.year-jump {
    border: 0;
    border-bottom: 2px solid transparent;
    padding: 7px 8px 6px;
    background: transparent;
    color: #7c877f;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: .88rem;
    font-weight: 700;
    transition: color .18s ease, border-color .18s ease, transform .18s ease;
}
.year-jump:hover { color: var(--lake); }
.year-jump.is-active {
    color: var(--deep);
    border-color: var(--moss);
    transform: translateY(-1px);
}
.carousel-hint {
    margin: 16px 0 0;
    color: #839087;
    font: .82rem/1.5 Arial, sans-serif;
}

footer {
    padding: 34px 24px;
    background: var(--deep);
    color: rgba(255,255,255,.82);
    display: flex;
    justify-content: center;
    gap: 16px 28px;
    flex-wrap: wrap;
    font-family: Arial, sans-serif;
    font-size: .82rem;
}
footer strong { color: white; letter-spacing: .06em; }

/* Year detail page styles */
.topbar { padding: 18px 28px; background: var(--deep); color: white; }
.brand { text-decoration: none; font-family: Arial, sans-serif; font-weight: 700; letter-spacing: .04em; }
.trip-hero {
    min-height: 390px;
    position: relative;
    display: flex;
    align-items: flex-end;
    color: white;
    background: linear-gradient(145deg, #355e52, #182f28);
    background-size: cover;
    background-position: center;
}
.trip-hero-content { position: relative; z-index: 2; width: min(1120px, calc(100% - 36px)); margin: 0 auto; padding: 70px 0 54px; }
.trip-hero .eyebrow { color: rgba(255,255,255,.76); }
.trip-hero h1 { font-size: clamp(4.8rem, 14vw, 9rem); margin: 6px 0 -4px; line-height: .9; font-weight: 500; }
.trip-hero p { margin: 16px 0 0; font-size: 1.25rem; }
.trip-shell { width: min(1080px, calc(100% - 36px)); margin: 0 auto; padding: 64px 0 80px; }
.story-card { max-width: 760px; }
.memory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 45px; }
.memory-card { background: white; padding: 28px; border-radius: 7px; box-shadow: 0 10px 30px rgba(16,40,32,.08); }
.memory-icon { font-size: 1.8rem; }
.memory-card h3 { margin: 15px 0 9px; font-size: 1.35rem; }
.memory-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.photo-placeholder { margin-top: 28px; padding: 54px 30px; text-align: center; border: 1px dashed #b9c0b8; background: rgba(255,255,255,.45); border-radius: 7px; }
.empty-state { text-align: center; padding: 70px 20px; }
.button { display: inline-block; margin-top: 20px; padding: 12px 18px; background: var(--deep); color: white; text-decoration: none; border-radius: 4px; font-family: Arial, sans-serif; }

@media (max-width: 980px) {
    .carousel-card { flex-basis: 74vw; }
    .carousel-arrow-prev { left: 18px; }
    .carousel-arrow-next { right: 18px; }
}

@media (max-width: 850px) {
    .hero { min-height: 430px; }
    .memory-grid { grid-template-columns: 1fr; }
    .trip-carousel { padding-bottom: 64px; }
    .carousel-card { flex-basis: 80vw; }
}

@media (max-width: 560px) {
    main, .trip-shell, .trip-hero-content { width: 100%; }
    .hero { min-height: 390px; }
    .hero p { line-height: 1.7; font-size: .78rem; }
    .intro { padding: 54px 22px 12px; }
    .trip-carousel { padding-top: 10px; }
    .carousel-viewport { padding-top: 18px; }
    .carousel-track { gap: 16px; }
    .carousel-card {
        flex-basis: 88vw;
        aspect-ratio: 4 / 3;
        border-radius: 8px;
    }
    .carousel-card:not(.is-active) { transform: scale(.9); }
    .carousel-year { font-size: clamp(3rem, 17vw, 4.8rem); }
    .carousel-card-content { left: 24px; right: 24px; bottom: 24px; }
    .carousel-link { margin-top: 16px; }
    .carousel-arrow {
        width: 46px;
        height: 46px;
        top: 48%;
    }
    .carousel-arrow span { font-size: 2.2rem; }
    .carousel-arrow-prev { left: 8px; }
    .carousel-arrow-next { right: 8px; }
    .carousel-controls { width: min(100% - 24px, 100%); }
    .carousel-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; }
    .carousel-track,
    .carousel-card,
    .carousel-arrow,
    .year-jump { transition: none !important; }
}
