:root {
    --blue-950: #062c43;
    --blue-900: #083a57;
    --blue-800: #0a5274;
    --blue-600: #1688b8;
    --blue-500: #21a6d7;
    --blue-100: #dff4fb;
    --ink: #15232d;
    --muted: #667884;
    --paper: #ffffff;
    --soft: #f3f8fb;
    --line: #dbe8ef;
    --shadow: 0 20px 55px rgba(8, 58, 87, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "DM Sans", Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.hero {
    position: relative;
    min-height: 690px;
    overflow: hidden;
    color: white;
    background:
        linear-gradient(90deg, rgba(3, 31, 48, .84), rgba(5, 53, 78, .52) 55%, rgba(3, 32, 50, .34)),
        url("../bg1.jpg") center 54% / cover no-repeat,
        linear-gradient(135deg, var(--blue-950), var(--blue-600));
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 34%, rgba(125, 220, 255, .20), transparent 25%),
        linear-gradient(to bottom, rgba(255,255,255,.02), rgba(0,22,35,.22));
    pointer-events: none;
}
.nav {
    position: relative;
    z-index: 5;
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,.22);
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50% 50% 46% 54% / 54% 47% 53% 46%;
    background: white;
    color: var(--blue-800);
    font-size: 18px;
    transform: rotate(-4deg);
    box-shadow: 0 8px 24px rgba(0,0,0,.16);
}
.brand-text {
    font: 700 25px/1 "Cormorant Garamond", Georgia, serif;
    letter-spacing: .02em;
}
.brand-text em {
    margin-left: 2px;
    color: #8ce3ff;
    font-family: "Dancing Script", cursive;
    font-size: .84em;
}
.nav-right { display: flex; align-items: center; gap: 28px; }
.phone { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; letter-spacing: .04em; }
.phone:hover { color: #b8efff; }
.menu-button {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: white;
    cursor: pointer;
}
.mobile-menu {
    position: absolute;
    top: 72px;
    right: 0;
    display: none;
    min-width: 190px;
    padding: 10px;
    background: rgba(4, 42, 63, .97);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 16px;
    box-shadow: var(--shadow);
}
.mobile-menu.open { display: grid; }
.mobile-menu a { padding: 12px 14px; border-radius: 10px; }
.mobile-menu a:hover { background: rgba(255,255,255,.10); }
.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 122px;
    padding-bottom: 150px;
}
.eyebrow, .section-kicker {
    margin: 0 0 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
}
.eyebrow { color: #aeeaff; }
.hero h1 {
    max-width: 760px;
    margin: 0;
    font: 600 clamp(63px, 8vw, 112px)/.82 "Cormorant Garamond", Georgia, serif;
    letter-spacing: -.045em;
    text-shadow: 0 10px 35px rgba(0,0,0,.22);
}
.hero h1 span { display: inline-block; margin-top: 22px; }
.hero h1 em {
    margin-left: 10px;
    color: #92e6ff;
    font: 600 .47em/1 "Dancing Script", cursive;
    letter-spacing: 0;
}
.hero-copy {
    max-width: 610px;
    margin: 32px 0 0;
    font: 500 clamp(17px, 2vw, 21px)/1.65 "DM Sans", sans-serif;
    color: rgba(255,255,255,.85);
}
.schedule-link {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-top: 34px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,.65);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.schedule-link span { font-size: 18px; }
.wave {
    position: absolute;
    z-index: 3;
    left: -3%; right: -3%; bottom: -55px;
    height: 115px;
    background: white;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.intro { padding: 100px 0 92px; text-align: center; }
.section-kicker { color: var(--blue-600); }
.section-kicker.light { color: #a8eaff; }
.intro h2, .section-head h2, .contact h2 {
    margin: 0;
    font: 600 clamp(42px, 5vw, 64px)/1 "Cormorant Garamond", Georgia, serif;
    letter-spacing: -.025em;
}
.intro > p:last-child { max-width: 650px; margin: 22px auto 0; color: var(--muted); line-height: 1.8; }
.program { padding: 90px 0 110px; background: var(--soft); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.filter-wrap { width: min(360px, 100%); }
.filter-wrap label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.filter-wrap input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
    padding: 14px 16px;
    outline: none;
}
.filter-wrap input:focus { border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(33,166,215,.12); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.event-card {
    overflow: hidden;
    background: white;
    border: 1px solid rgba(12, 85, 117, .10);
    border-radius: 22px;
    box-shadow: 0 12px 35px rgba(8, 58, 87, .08);
    transition: transform .25s ease, box-shadow .25s ease;
}
.event-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.card-image { position: relative; height: 238px; overflow: hidden; background: #ccecf7; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.event-card:hover .card-image img { transform: scale(1.04); }
.image-placeholder { height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, #d8f3fb, #88cde4); color: white; font-size: 58px; }
.date-badge {
    position: absolute;
    left: 18px;
    bottom: 18px;
    width: 62px;
    height: 70px;
    display: grid;
    place-content: center;
    text-align: center;
    border-radius: 14px;
    background: white;
    color: var(--blue-900);
    box-shadow: 0 10px 25px rgba(6,44,67,.18);
}
.date-badge strong { font: 700 28px/1 "Cormorant Garamond", serif; }
.date-badge span { margin-top: 4px; font-size: 10px; font-weight: 700; letter-spacing: .13em; }
.featured-badge { position: absolute; top: 16px; right: 16px; padding: 8px 11px; border-radius: 999px; background: var(--blue-600); color: white; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.card-body { padding: 25px; }
.category { margin: 0 0 9px; color: var(--blue-600); font-size: 11px; font-weight: 700; letter-spacing: .17em; }
.card-body h3 { min-height: 56px; margin: 0; font: 700 28px/1 "Cormorant Garamond", Georgia, serif; }
.description { min-height: 73px; margin: 15px 0 20px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.meta { display: flex; flex-wrap: wrap; gap: 10px 16px; padding-top: 18px; border-top: 1px solid var(--line); color: #536a78; font-size: 12px; }
.empty-state, .no-results { padding: 70px 20px; text-align: center; background: white; border: 1px dashed #bdd5e0; border-radius: 22px; }
.empty-state span { display: block; margin-bottom: 15px; color: var(--blue-500); font-size: 42px; }
.empty-state h3 { margin: 0; font: 700 32px "Cormorant Garamond", serif; }
.empty-state p, .no-results { color: var(--muted); }
.contact { padding: 82px 0; color: white; background: linear-gradient(125deg, var(--blue-950), var(--blue-800)); }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.contact p { color: rgba(255,255,255,.72); }
.contact a { padding: 18px 26px; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; font-weight: 700; }
.contact a:hover { background: white; color: var(--blue-900); }
footer { padding: 34px 0; background: #041f30; color: rgba(255,255,255,.68); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand .brand-mark { width: 32px; height: 32px; }
.footer-brand .brand-text { color: white; font-size: 20px; }
.footer-inner p { font-size: 12px; }

@media (max-width: 900px) {
    .cards { grid-template-columns: repeat(2, 1fr); }
    .hero { min-height: 630px; }
    .hero-content { padding-top: 105px; }
}
@media (max-width: 680px) {
    .shell { width: min(100% - 26px, 1120px); }
    .nav { min-height: 74px; }
    .phone { display: none; }
    .brand-text { font-size: 20px; }
    .hero { min-height: 650px; background-position: 58% center; }
    .hero-content { padding-top: 105px; }
    .hero h1 { font-size: clamp(54px, 17vw, 76px); }
    .hero-copy { font-size: 16px; }
    .intro { padding: 75px 0 70px; }
    .program { padding: 70px 0 80px; }
    .section-head { align-items: stretch; flex-direction: column; }
    .filter-wrap { width: 100%; }
    .cards { grid-template-columns: 1fr; }
    .card-image { height: 255px; }
    .contact-inner, .footer-inner { align-items: flex-start; flex-direction: column; }
}
