/* Landing page (landing.php) */

:root { --sans: "Figtree", "Helvetica Neue", Arial, sans-serif; }

.page { background: linear-gradient(180deg, #fff 0, var(--cream) 320px); }

.wrap {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}

.site-header {
    border-bottom: 1px solid var(--line);
}

.btn--pill-outline {
    padding: .65em 2.6em;
    border: 2px solid var(--gold);
    border-radius: 999px;
    color: var(--navy-deep);
    font-size: 1.1rem;
    background: var(--white);
}

.btn--pill-outline:hover { background: var(--gold); color: var(--white); }

/* ---------- Video + headline ---------- */
.intro {
    padding: 20px var(--gutter) 0;
    text-align: center;
}

.video {
    position: relative;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    padding: 5px;
    border-radius: 6px;
    background: linear-gradient(135deg, #f3d77a, var(--gold) 45%, #b8861c);
    box-shadow: 0 12px 30px rgba(15, 42, 92, .18);
}

.video > iframe,
.video__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 3px;
}

/* Placeholder until the Vimeo embed is dropped in */
.video__placeholder {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background:
        radial-gradient(80% 70% at 70% 30%, rgba(212, 165, 44, .25), transparent 60%),
        linear-gradient(180deg, #13306a 0%, #0b1f45 100%);
    color: var(--white);
}

.video__play {
    display: grid;
    place-items: center;
    width: clamp(56px, 12vw, 96px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--white);
    color: var(--navy-deep);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
}

.video__play svg { width: 46%; margin-left: 8%; }

.video__caption {
    position: absolute;
    bottom: 6%;
    font-size: clamp(.95rem, 2vw, 1.4rem);
    font-weight: 500;
}

.intro__title {
    margin-top: 28px;
    font-weight: 800;
    font-size: clamp(2rem, 4.6vw, 3.6rem);
    line-height: 1.1;
    letter-spacing: -.02em;
    color: var(--navy-deep);
}

.intro__title .accent { color: var(--green); }

/* Gold underline */
.intro__title::after {
    content: "";
    display: block;
    width: 120px;
    height: 4px;
    margin: 18px auto 0;
    border-radius: 2px;
    background: var(--gold);
}

.intro__lead {
    margin-top: 20px;
    font-size: clamp(1.05rem, 1.7vw, 1.4rem);
    line-height: 1.45;
    color: var(--navy-deep);
}

/* ---------- Memberships ---------- */
.memberships {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 32px var(--gutter) 24px;
}

.membership {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    text-align: center;
}

/* Thin gold dividers between columns */
.membership + .membership { border-left: 1.5px solid rgba(212, 165, 44, .6); }

.membership__icon {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 150px;
}

.membership__icon img,
.membership__icon svg { width: 145px; height: 145px; }

.membership__icon--shield img { width: auto; height: 140px; }

.membership__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.1;
}

.membership__eyebrow {
    display: flex;
    align-items: center;
    gap: .5em;
    margin-top: -.4em;
    font-size: 1.35rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
}

.membership__eyebrow::before,
.membership__eyebrow::after {
    content: "";
    width: 3.2em;
    height: 2px;
    background: var(--gold);
}

.membership__name {
    font-size: clamp(1.5rem, 2.5vw, 1.95rem);
    letter-spacing: -.01em;
}

/* Empty eyebrow keeps the titles level across columns */
.membership__eyebrow--spacer { visibility: hidden; }

.membership__name .navy { color: var(--navy-deep); }
.membership__name .green { color: var(--green); }

.membership__sub {
    margin-top: 10px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .42em;
    margin-right: -.42em; /* balance trailing letter-spacing */
    text-transform: uppercase;
    color: var(--gold);
}

.btn--join {
    margin-top: 18px;
    min-width: 230px;
    padding: .7em 2em;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--green-bright), var(--green));
    color: var(--white);
    font-size: 1.3rem;
    box-shadow: 0 6px 16px rgba(20, 107, 44, .28);
}

.btn--join:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(20, 107, 44, .35); }

/* ---------- Footer ---------- */
.site-footer {
    position: relative;
    margin-top: 8px;
}

.skyline {
    display: block;
    width: 100%;
    height: clamp(110px, 14vw, 180px);
}

.site-footer__bar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    flex-wrap: wrap;
    margin-top: -26px;
    padding: 0 var(--gutter) 14px;
}

.site-footer__copy { font-size: .85rem; color: var(--navy-deep); }

.site-footer__brand.myecon-logo { width: 220px; }

/* ================= Responsive ================= */

@media (max-width: 859px) {
    .memberships {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
        max-width: 480px;
    }

    .membership + .membership {
        border-left: 0;
        border-top: 1.5px solid rgba(212, 165, 44, .5);
        padding-top: 36px;
    }

    .membership__eyebrow--spacer { display: none; }

    .br-desktop { display: none; }
}

@media (max-width: 599px) {
    .site-header { padding-top: 10px; padding-bottom: 10px; }

    .btn--pill-outline { padding: .5em 1.2em; font-size: .9rem; border-width: 1.5px; }

    .intro { padding-top: 16px; }

    .video { padding: 3px; }

    .membership__icon { height: 120px; }
    .membership__icon img,
    .membership__icon svg { width: 115px; height: 115px; }
    .membership__icon--shield img { height: 115px; }

    .btn--join { min-width: 0; width: 100%; max-width: 300px; font-size: 1.15rem; }

    .site-footer__bar { flex-direction: column-reverse; margin-top: -10px; }
}
