:root {
    --ink: #071126;
    --panel: #ffffff;
    --panel-2: #f4f8f3;
    --purple: #0c8f49;
    --violet: #03c458;
    --gold: #f7c948;
    --muted: #607184;
    --paper: #ffffff;
    --line: rgba(3, 196, 88, .18);
    --aqua: #03c458;
    --rose: #ff5b5b;
    --navy: #071126;
    --leaf: #eaf8ef;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background:
        radial-gradient(circle at 16% 4%, rgba(3, 196, 88, .13), transparent 28%),
        radial-gradient(circle at 92% 10%, rgba(7, 17, 38, .08), transparent 26%),
        var(--paper);
    font-family: Outfit, Arial, sans-serif;
}

a { color: inherit; text-decoration: none; }

button {
    font: inherit;
}

.site-shell {
    width: 100%;
    margin: 0 auto;
    background: var(--paper);
    box-shadow: none;
}

.left-panel,
.right-panel {
    min-width: 0;
}




.right-panel {
    color: var(--ink);
    background: var(--panel);
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(20px, 4vw, 56px);
    color: white;
    background: rgba(7, 17, 38, .92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 10px 30px rgba(7, 17, 38, .16);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    line-height: .9;
}

.brand-logo {
    display: block;
    width: clamp(88px, 10vw, 126px);
    height: auto;
    object-fit: contain;
}

.brand-mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(90deg, var(--purple) 0%, var(--violet) 100%);
    font-size: 13px;
    font-weight: 900;
    transform: rotate(-12deg);
    animation: brandFloat 4s ease-in-out infinite;
    position: relative;
}

.brand-mark::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px dashed var(--violet);
    animation: spinCircle 10s linear infinite;
}

@keyframes spinCircle {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.brand b {
    display: block;
    font-size: clamp(20px, 1.8vw, 28px);
    letter-spacing: 0;
}

.brand small {
    display: block;
    margin-top: 4px;
    font-size: 6px;
    font-weight: 800;
    letter-spacing: .8px;
}

nav {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    font-size: clamp(10px, .8vw, 13px);
    font-weight: 800;
}

nav a {
    position: relative;
    min-height: 34px;
    display: grid;
    place-items: center;
    padding: 8px 13px;
    border-radius: 999px;
    color: rgba(255, 255, 255, .82);
    transition: color .28s ease, background .28s ease, transform .28s cubic-bezier(.22, 1, .36, 1);
}

nav a::after {
    content: none;
}

nav a:hover,
nav a.is-active {
    color: white;
    background: rgba(3, 196, 88, .18);
}

nav a:hover {
    transform: translateY(-1px);
}

nav .nav-cta {
    color: #071126;
    background: linear-gradient(90deg, #9be15d, var(--aqua));
    box-shadow: 0 8px 22px rgba(3, 196, 88, .18);
}

nav .nav-cta:hover {
    color: #071126;
    background: linear-gradient(90deg, var(--aqua), #9be15d);
}

.crop {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.portrait-crop {
    background-position: center 12%;
}

.landscape-crop {
    background-position: center center;
}

.hero-img,
.about-photo,
.gallery-shot,
.moments-main,
.moment-thumb,
.timeline-photo,
.thanks-img {
    filter: saturate(1.12) contrast(1.06) brightness(1.03);
}

.hero-img {
    filter: none;
}

.hero {
    position: relative;
    min-height: 520px;
    height: calc(100vh - 72px);
    max-height: 690px;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: white;
    text-align: center;
}

.hero-img {
    position: absolute;
    inset: 0;
    background-image: url("../assets/images/hero.jpg");
    background-position: center center;
    background-size: cover;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 17, 38, .72), rgba(7, 17, 38, .18) 48%, rgba(7, 17, 38, .55)),
        linear-gradient(180deg, rgba(7, 17, 38, .28), rgba(7, 17, 38, .04) 42%, rgba(7, 17, 38, .42));
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(920px, calc(100% - 36px));
    margin-top: 4px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    text-shadow: 0 4px 22px rgba(0, 0, 0, .72);
    animation: heroLift 1s cubic-bezier(.16, 1, .3, 1) both;
}

.hero h1 {
    margin: 0;
    font-size: clamp(38px, 4vw, 68px);
    line-height: .95;
    font-weight: 900;
}

.hero h1 .letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(18px);
    animation: textReveal .95s cubic-bezier(.16, 1, .3, 1) forwards;
}

.script {
    margin: 0 0 6px;
    font-family: Pacifico, cursive;
    font-size: clamp(58px, 6vw, 94px);
    line-height: 1.05;
    background: linear-gradient(90deg, #9be15d 0%, var(--aqua) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textReveal .95s cubic-bezier(.16, 1, .3, 1) .22s both;
}

.tagline {
    margin: 0 0 23px;
    font-size: clamp(15px, 1.35vw, 22px);
    font-weight: 700;
    animation: textReveal .95s cubic-bezier(.16, 1, .3, 1) .34s both;
}

.date-pill,
.primary-btn {
    display: table;
    margin: 0 auto;
    border-radius: 999px;
    font-size: clamp(12px, .95vw, 15px);
    font-weight: 800;
    animation: textReveal .95s cubic-bezier(.16, 1, .3, 1) .46s both;
}

.date-pill {
    padding: 8px 14px;
    color: #eafff0;
    background: rgba(3, 196, 88, .18);
    border: 1px solid rgba(155, 225, 93, .55);
}

.primary-btn {
    margin-top: 22px;
    padding: 14px 34px;
    color: white;
    background: linear-gradient(90deg, #0c8f49, var(--aqua));
    box-shadow: 0 14px 34px rgba(3, 196, 88, .28);
    transition: transform .28s cubic-bezier(.22, 1, .36, 1), box-shadow .28s ease, background .28s ease;
}

.primary-btn:hover,
.section-title button:hover,
.gallery-shot:hover,
.moment-thumb:hover,
.primary-btn:hover {
    background: linear-gradient(90deg, var(--aqua), #0c8f49);
    box-shadow: 0 15px 28px rgba(3, 196, 88, .34);
}

.scroll-dot {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: 24px;
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    border: 1px solid white;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    transform: translateX(-50%);
    animation: bob 1.7s ease-in-out infinite;
}

@keyframes bob {
    50% { transform: translate(-50%, 5px); }
}

.section-pad {
    padding: clamp(42px, 5vw, 78px) clamp(28px, 4vw, 62px);
}

.about {
    position: relative;
    display: grid;
    grid-template-columns: minmax(250px, .82fr) minmax(310px, 1.18fr);
    gap: clamp(28px, 4vw, 58px);
    align-items: center;
    background: white;
}

.about::after {
    content: "";
    position: absolute;
    right: 22px;
    top: 22px;
    bottom: 25px;
    width: 45px;
    opacity: .23;
    background-image: radial-gradient(#03c458 1.2px, transparent 1.2px);
    background-size: 8px 8px;
}

h2 {
    margin: 0;
    font-size: clamp(24px, 2vw, 34px);
    line-height: 1.15;
    font-weight: 900;
}

.about p {
    margin: 15px 0 25px;
    color: #151b2d;
    font-size: clamp(13px, 1vw, 16px);
    line-height: 1.58;
    font-weight: 600;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    text-align: center;
}

.stats article {
    display: grid;
    gap: 4px;
    padding: 16px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--leaf);
}

.stats strong {
    font-size: 18px;
    font-weight: 900;
}

.stats small {
    font-size: 11px;
    font-weight: 700;
}

.line-icon,
.hi-icon {
    display: block;
    margin: 0 auto;
    width: 31px;
    height: 31px;
    position: relative;
}

.line-icon::before,
.hi-icon::before {
    content: "";
    position: absolute;
    inset: 5px;
    border: 3px solid currentColor;
    border-radius: 9px;
}

.people, .rocket, .spark { color: #2b2356; }
.book, .violet, .purple { color: #0c8f49; }
.blue { color: #42a4cf; }
.gold { color: #e2bb5c; }
.coral { color: #ee6f6c; }

.rocket::before { border-radius: 50% 50% 42% 42%; transform: rotate(-26deg); }
.spark::before { width: 4px; left: 13px; border-radius: 4px; }
.search::before { border-radius: 50%; }
.heart::before { border-radius: 50% 50% 10px 10px; transform: rotate(45deg) scale(.72); }
.smile::after {
    content: "";
    position: absolute;
    left: 9px;
    right: 9px;
    bottom: 10px;
    height: 6px;
    border-bottom: 2px solid currentColor;
    border-radius: 50%;
}

.about-photo {
    min-height: 260px;
    height: clamp(260px, 25vw, 380px);
    border-radius: 8px;
    background-image: url("../assets/images/about.jpg");
    box-shadow: 0 8px 30px rgba(36, 37, 70, .12);
}

.highlights {
    padding-top: 13px;
    text-align: center;
    background: linear-gradient(180deg, #f4f8f3, #ffffff);
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: clamp(12px, 1.5vw, 22px);
    margin-top: 20px;
}

.highlight-grid article {
    min-height: 128px;
    display: grid;
    place-content: center;
    gap: 6px;
    border-radius: 8px;
    border: 1px solid rgba(3, 196, 88, .14);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 14px 34px rgba(7, 17, 38, .07);
    transition: transform .34s cubic-bezier(.22, 1, .36, 1), box-shadow .34s ease;
}

.highlight-grid article:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 46px rgba(3, 196, 88, .2);
}

.highlight-grid strong {
    font-size: 17px;
    font-weight: 900;
}

.highlight-grid small {
    font-size: 11px;
    font-weight: 700;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.section-title button {
    min-width: 76px;
    padding: 11px 19px;
    border: 0;
    border-radius: 7px;
    color: white;
    background: linear-gradient(90deg, #0c8f49, var(--aqua));
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    cursor: pointer;
    transition: transform .28s cubic-bezier(.22, 1, .36, 1), box-shadow .28s ease, background .28s ease;
}

.section-title button:hover {
    background: linear-gradient(90deg, var(--aqua), #0c8f49);
    box-shadow: 0 10px 22px rgba(3, 196, 88, .25);
}

.gallery {
    background: linear-gradient(180deg, #ffffff, #f4f8f3);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    grid-auto-rows: clamp(130px, 12vw, 190px);
    gap: clamp(12px, 1.2vw, 18px);
}

.gallery-grid .crop {
    border-radius: 7px;
    animation: textReveal .95s cubic-bezier(.16, 1, .3, 1) .34s both;
}

.about-photo,
.gallery-shot,
.thanks-img {
    background-size: contain;
    background-color: #f5f6fb;
}

.about-photo,
.gallery-shot {
    background-size: cover;
}

.gallery-shot,
.moment-thumb {
    display: block;
    width: 100%;
    border: 0;
    cursor: pointer;
    transition: transform .34s cubic-bezier(.22, 1, .36, 1), box-shadow .34s ease, filter .34s ease;
}

.gallery-shot:hover,
.moment-thumb:hover {
    box-shadow: 0 18px 38px rgba(13, 17, 36, .18);
    filter: saturate(1.12) contrast(1.04);
}

.gallery-grid .tall {
    grid-row: span 2;
}

.g1 { background-image: url("../assets/images/g1.jpg"); }
.g2 { background-image: url("../assets/images/g2.jpg"); }
.g3 { background-image: url("../assets/images/g3.jpg"); }
.g4 { background-image: url("../assets/images/g4.jpg"); }
.g5 { background-image: url("../assets/images/g5.jpg"); }

.moments {
    text-align: center;
    background: linear-gradient(180deg, #f4f8f3, #ffffff);
}

.video-frame {
    position: relative;
    margin-top: 18px;
    height: clamp(240px, 27vw, 420px);
    overflow: hidden;
    border-radius: 8px;
}

.moments-main {
    width: 100%;
    height: 100%;
    background-image: url("../assets/images/moments-main.jpg");
}

.moments-main.portrait-crop {
    background-size: contain;
    background-color: #080d20;
}

.moments-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #080d20;
    filter: saturate(1.12) contrast(1.05) brightness(1.03);
}

.video-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 18, .28);
    pointer-events: none;
    transition: opacity .32s ease;
}

.video-frame.is-playing::after {
    opacity: 0;
}

.video-frame button {
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    width: 56px;
    height: 56px;
    border: 0;
    border-radius: 50%;
    background: white;
    color: #090f22;
    font-size: 11px;
    font-weight: 900;
    transform: translate(-50%, -50%);
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
    transition: transform .28s cubic-bezier(.22, 1, .36, 1), background .28s ease;
}

.video-frame button:hover {
    transform: translate(-50%, -50%) scale(1.06);
}

.video-frame.is-playing .play-btn {
    background: #7b5cff;
    color: white;
    opacity: 0;
    pointer-events: none;
}

.playing-badge {
    position: absolute;
    z-index: 1;
    left: 50%;
    bottom: 14px;
    padding: 7px 13px;
    border-radius: 999px;
    color: white;
    background: rgba(8, 13, 32, .78);
    font-size: 10px;
    font-weight: 800;
    opacity: 0;
    transform: translate(-50%, 8px);
    transition: opacity .28s ease, transform .28s cubic-bezier(.22, 1, .36, 1);
}

.video-frame.is-playing .playing-badge {
    opacity: 1;
    transform: translate(-50%, 0);
}

.thumb-row {
    display: grid;
    grid-template-columns: 34px repeat(4, 1fr) 34px;
    gap: 12px;
    align-items: center;
    margin-top: 13px;
}

.thumb-row.video-thumbs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.thumb-row.video-thumbs .moment-prev,
.thumb-row.video-thumbs .moment-next {
    flex: 0 0 34px;
}

.thumb-row.video-thumbs .moment-thumb {
    flex: 1 1 120px;
    max-width: 190px;
}

.thumb-row button {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    color: #0c8f49;
    background: #eaf8ef;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
    transition: transform .28s cubic-bezier(.22, 1, .36, 1), background .28s ease;
}

.thumb-row .crop {
    height: clamp(68px, 7vw, 105px);
    border-radius: 5px;
}

.thumb-row .moment-thumb {
    width: 100%;
    height: clamp(68px, 7vw, 105px);
    overflow: hidden;
    border-radius: 5px;
    font-size: 12px;
}

.moment-video-thumb {
    position: relative;
    padding: 0;
    background: #080d20;
}

.moment-video-thumb video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #080d20;
    filter: saturate(1.08) brightness(.78);
}

.moment-video-thumb span {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #080d20;
    background: white;
    font-size: 12px;
    font-weight: 900;
    transform: translate(-50%, -50%);
}

.moment-thumb.is-active {
    outline: 3px solid var(--aqua);
    outline-offset: 2px;
}

.m1 { background-image: url("../assets/images/m1.jpg"); }
.m2 { background-image: url("../assets/images/m2.jpg"); }
.m3 { background-image: url("../assets/images/m3.jpg"); }
.m4 { background-image: url("../assets/images/m4.jpg"); }

.timeline-wrap {
    padding: clamp(42px, 5vw, 72px) clamp(22px, 5vw, 76px);
    color: var(--ink);
    background:
        radial-gradient(circle at 15% 10%, rgba(3, 196, 88, .11), transparent 28%),
        radial-gradient(circle at 86% 18%, rgba(3, 196, 88, .08), transparent 26%),
        var(--panel);
}

.timeline-wrap h2 {
    margin-bottom: 34px;
    color: var(--ink);
    text-align: center;
    font-size: clamp(27px, 3vw, 44px);
}

.timeline-wrap h2 span,
.thanks h2 {
    color: var(--aqua);
    font-family: Outfit, Arial, sans-serif;
    font-weight: 900;
}

.timeline {
    position: relative;
    display: grid;
    gap: clamp(22px, 2vw, 34px);
    width: min(980px, 100%);
    margin: 0 auto;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 6px;
    bottom: 7px;
    width: 2px;
    background: rgba(3, 196, 88, .42);
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: minmax(220px, .78fr) minmax(320px, 1.22fr);
    gap: clamp(24px, 4vw, 54px);
    padding-left: 58px;
    align-items: center;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 19px;
    width: 16px;
    height: 16px;
    border: 5px solid var(--aqua);
    border-radius: 50%;
    background: var(--panel);
}

.timeline-copy time {
    display: block;
    margin-bottom: 12px;
    color: var(--ink);
    font-size: clamp(13px, .95vw, 16px);
    font-weight: 900;
}

.timeline-copy h3 {
    margin: 0 0 8px;
    color: #0c8f49;
    font-size: clamp(12px, .9vw, 15px);
}

.timeline-copy p {
    margin: 0;
    color: var(--muted);
    font-size: clamp(11px, .8vw, 14px);
    line-height: 1.65;
    font-weight: 700;
}

.timeline-photo {
    height: clamp(170px, 18vw, 260px);
    border: 2px solid rgba(255,255,255,.8);
    border-radius: 10px;
    background-size: cover;
    background-color: #080d20;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .2);
    transition: transform .36s cubic-bezier(.22, 1, .36, 1), box-shadow .36s ease;
}

.timeline-photo:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 56px rgba(0, 0, 0, .28);
}

.timeline-photo.portrait-crop {
    height: clamp(220px, 24vw, 340px);
    background-position: center 18%;
    background-size: cover;
    background-color: #080d20;
}

.timeline-photo.landscape-crop {
    height: clamp(210px, 24vw, 340px);
    background-size: cover;
}

.registration-photo {
    height: clamp(230px, 27vw, 360px);
    background-position: center 34%;
    background-size: cover;
    background-color: #080d20;
}

.tl1 { background-image: url("../assets/images/tl1.jpg"); }
.timeline-photo.tl2 {
    background-image: url("../assets/images/tl2.jpg");
    height: clamp(300px, 42vw, 520px);
    background-position: center center !important;
    background-size: contain !important;
    background-color: #080d20;
}
.tl3 { background-image: url("../assets/images/tl3.jpg"); }
.tl4 { background-image: url("../assets/images/tl4.jpg"); }
.tl5 { background-image: url("../assets/images/tl5.jpg"); }
.tl6 { background-image: url("../assets/images/tl6.jpg"); }
.tl7 { background-image: url("../assets/images/tl7.jpg"); }
.tl8 { background-image: url("../assets/images/tl8.jpg"); }
.tl9 { background-image: url("../assets/images/tl9.jpg"); }

.contact-section {
    padding: clamp(26px, 3vw, 42px) clamp(28px, 4vw, 58px);
    border-top: 1px solid var(--line);
    background:
        radial-gradient(circle at 12% 0%, rgba(3, 196, 88, .09), transparent 28%),
        var(--panel-2);
    text-align: center;
}

.contact-section h2 {
    margin-bottom: 12px;
    color: var(--ink);
    font-size: clamp(22px, 1.8vw, 30px);
}

.contact-section h2 span {
    color: var(--aqua);
}

.contact-section p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
    font-weight: 700;
}

.thanks {
    position: relative;
    padding: clamp(34px, 4vw, 58px) clamp(28px, 4vw, 58px);
    overflow: hidden;
    color: var(--ink);
    background: linear-gradient(180deg, #ffffff, #f4f8f3);
    text-align: center;
}

.thanks h2 {
    color: var(--aqua);
    font-size: clamp(40px, 4vw, 64px);
    line-height: 1.1;
}

.thanks p {
    margin: 8px 0 16px;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
}

.quote-mark {
    position: absolute;
    left: 24px;
    top: 26px;
    color: #dff5e7;
    font-size: 58px;
    font-weight: 900;
}

.heart-mark {
    position: absolute;
    right: 28px;
    top: 35px;
    color: #0c8f49;
    font-size: 45px;
}

.thanks-img {
    height: clamp(190px, 18vw, 270px);
    border-radius: 8px;
    background-image: url("../assets/images/thanks.jpg");
    background-size: contain;
    background-color: #f6f7fb;
}

.thanks-img.landscape-crop {
    height: clamp(220px, 22vw, 330px);
    background-size: contain;
    background-color: #f6f7fb;
}

footer {
    min-height: 168px;
    display: grid;
    grid-template-columns: minmax(180px, .8fr) minmax(190px, 1fr) minmax(110px, .55fr) minmax(230px, 1.25fr) minmax(90px, .45fr);
    gap: clamp(14px, 2vw, 26px);
    align-items: start;
    padding: 28px clamp(24px, 4vw, 54px) 22px;
    background: var(--navy);
    color: white;
}

.footer-brand .brand-mark {
    width: 31px;
    height: 31px;
}

.footer-brand .brand-logo {
    width: clamp(92px, 10vw, 132px);
    height: auto;
}

.footer-about,
.footer-links,
.footer-contact {
    display: grid;
    gap: 6px;
}

.footer-about strong,
.footer-links strong,
.footer-contact strong {
    color: white;
    font-size: 13px;
}

.footer-about span {
    max-width: 250px;
    color: rgba(255, 255, 255, .76);
    font-size: 11px;
    line-height: 1.55;
    font-weight: 700;
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, .78);
    font-size: 11px;
    line-height: 1.35;
    transition: color .28s ease, transform .28s cubic-bezier(.22, 1, .36, 1);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--aqua);
    transform: translateX(2px);
}

.social {
    display: grid;
    gap: 8px;
    justify-items: center;
    font-size: 12px;
}

.social span {
    color: rgba(255, 255, 255, .72);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.instagram-icon {
    position: relative;
    width: 36px;
    height: 36px;
    display: block;
    border-radius: 12px;
    background: linear-gradient(135deg, #feda75, #fa7e1e 30%, #d62976 56%, #962fbf 78%, #4f5bd5);
    box-shadow: 0 10px 22px rgba(214, 41, 118, .24);
    transition: transform .32s cubic-bezier(.22, 1, .36, 1), box-shadow .32s ease;
}

.instagram-icon::before {
    content: "";
    position: absolute;
    inset: 9px;
    border: 2px solid white;
    border-radius: 50%;
}

.instagram-icon::after {
    content: "";
    position: absolute;
    right: 9px;
    top: 9px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: white;
}

.instagram-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(214, 41, 118, .32);
}

footer p {
    margin: 0;
    justify-self: end;
    align-self: end;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.45;
    text-align: right;
}

footer p span {
    color: rgba(255, 255, 255, .68);
    font-size: 11px;
    font-weight: 700;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .85s cubic-bezier(.16, 1, .3, 1), transform .85s cubic-bezier(.16, 1, .3, 1);
}

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

.reveal.is-visible h2,
.reveal.is-visible h3 {
    animation: textReveal .8s cubic-bezier(.16, 1, .3, 1) both;
}

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

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

@keyframes brandFloat {
    0%, 100% { transform: rotate(-12deg) translateY(0); }
    50% { transform: rotate(-12deg) translateY(-3px); }
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: 54px minmax(240px, 620px) 54px;
    gap: 14px;
    place-content: center;
    align-items: center;
    padding: 24px;
    background: rgba(4, 7, 18, .82);
    opacity: 0;
    pointer-events: none;
    transition: opacity .28s ease;
}

.lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-photo {
    width: min(620px, 74vw);
    height: min(420px, 64vh);
    border: 3px solid white;
    border-radius: 12px;
    background-size: contain;
    background-color: #080d20;
    box-shadow: 0 22px 70px rgba(0, 0, 0, .45);
}

.lightbox button {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    color: white;
    background: rgba(3, 196, 88, .92);
    font-size: 24px;
    font-weight: 900;
    cursor: pointer;
}

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 18px;
    z-index: 30;
    max-width: calc(100vw - 32px);
    padding: 11px 16px;
    border-radius: 999px;
    color: white;
    background: rgba(8, 14, 32, .92);
    font-size: 12px;
    font-weight: 800;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 12px);
    transition: opacity .28s ease, transform .28s cubic-bezier(.22, 1, .36, 1);
}

.toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

@media (max-width: 820px) {
    .topbar {
        height: auto;
        gap: 18px;
        padding: 18px;
        flex-wrap: wrap;
    }

    nav {
        width: 100%;
        justify-content: flex-start;
        gap: 6px;
        overflow-x: auto;
        padding: 7px;
        scrollbar-width: none;
    }

    nav::-webkit-scrollbar { display: none; }

    nav a {
        flex: 0 0 auto;
        padding: 8px 11px;
        font-size: 10px;
    }

    .brand-logo {
        width: 112px;
    }

    .hero {
        height: 430px;
        min-height: 430px;
    }

    .hero-img {
        background-position: center 72%;
        background-size: cover;
    }

    .about {
        grid-template-columns: 1fr;
    }

    .about-photo {
        width: 100%;
    }

    .highlight-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .timeline-wrap {
        padding-inline: 22px;
    }

    .timeline-item {
        grid-template-columns: minmax(120px, 1fr) minmax(165px, 1.25fr);
        padding-left: 42px;
    }

    footer {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 16px;
    }

    .footer-about,
    .footer-links,
    .footer-contact {
        max-width: 360px;
        justify-items: center;
    }

    footer p {
        justify-self: center;
        text-align: center;
    }
}

@media (max-width: 520px) {
    .hero h1 { font-size: 31px; }
    .script { font-size: 46px; }

    .topbar {
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .brand-logo {
        width: 96px;
    }

    .section-pad {
        padding-inline: 18px;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .highlight-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 150px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .timeline-photo {
        height: 130px;
    }

    .registration-photo {
        height: 220px;
        background-position: center 34%;
    }

    .thumb-row {
        grid-template-columns: 32px repeat(2, 1fr) 32px;
    }

    .thumb-row .moment-thumb {
        height: 74px;
    }

    .thumb-row .moment-thumb:nth-of-type(n+4) {
        display: none;
    }

    .lightbox {
        grid-template-columns: 42px 1fr 42px;
        gap: 8px;
        padding: 16px;
    }

    .lightbox-photo {
        width: 100%;
        height: 52vh;
    }
}
