/*
 * Amerlink PRO page (pro-home.php, template-parts/pro/*, MILESTONES #25) in the colours and flow of the new home page:
 * the sections the page had, in its order. Fonts, colours, buttons and the header: home-hero.css (body
 * .amerlink-genesis-home); the registration form: home-register.css (.amf-section); the university logos:
 * pricing-logos.css. Prefix amp-.
 */

.amerlink-genesis-pro {
    --amp-text: #33446a;
    --amp-muted: #4b5c80;
    --amp-blue: #0a72f5;
    --amp-line: #e3ebf6;
    --amp-band: linear-gradient(100deg, #01216a 0%, #002a54 58%, #001a40 100%);
}

/* ---------- Header: the PRO badge beside the logo. */

.amerlink-genesis-pro .amh-logo {
    position: relative;
}

.amh-logo-badge {
    position: absolute;
    top: -4px;
    right: -42px;
    padding: 3px 8px 2px;
    border-radius: 6px;
    background: var(--amh-pink);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.2;
}

/* ---------- Shared. */

.amp-inner {
    width: min(100% - 64px, 1510px);
    margin-inline: auto;
}

.amp-section {
    padding: clamp(56px, 5vw, 100px) 0;
    color: var(--amp-text);
}

.amp-eyebrow {
    margin: 0 0 14px;
    color: var(--amh-pink);
    font-size: clamp(13px, 1vw, 17px);
    font-weight: 800;
    letter-spacing: .16em;
    line-height: 1.4;
    text-transform: uppercase;
}

.amp-eyebrow::after {
    display: block;
    width: 44px;
    height: 4px;
    margin-top: 10px;
    border-radius: 2px;
    background: var(--amh-pink);
    content: '';
}

.amp-eyebrow-light {
    color: #ff5aa5;
}

.amp-head-center {
    margin-bottom: clamp(26px, 2.4vw, 44px);
    text-align: center;
}

.amp-head-center .amp-eyebrow::after {
    margin-inline: auto;
}

.amp-title {
    margin: 0 0 18px;
    padding: 0;
    color: var(--amh-navy);
    font-size: clamp(30px, 2.8vw, 54px);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.08;
}

.amp-title span {
    color: var(--amp-blue);
}

.amp-title-light {
    color: #fff;
}

.amp-title-light span {
    color: #7cc4f8;
}

.amp-title-medium {
    font-size: clamp(26px, 2.2vw, 42px);
}

.amp-lead {
    margin: 0 0 12px;
    color: var(--amh-navy);
    font-size: clamp(17px, 1.25vw, 21px);
    font-weight: 700;
}

.amp-text {
    max-width: 760px;
    margin: 0 0 28px;
    font-size: clamp(15px, 1.1vw, 19px);
    line-height: 1.65;
}

.amp-text p {
    margin: 0 0 1em;
}

.amp-text p:last-child {
    margin-bottom: 0;
}

.amp-text-light {
    color: rgba(255, 255, 255, .9);
}

.amp-text-light strong {
    color: #fff;
}

.amp-list {
    display: grid;
    gap: 10px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.amp-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    font-size: clamp(14px, .98vw, 17px);
    line-height: 1.45;
}

.amp-check {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    margin-top: .12em;
    fill: var(--amp-blue);
}

.amp-icon {
    display: grid;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(140deg, #088be0, #0751a1);
    color: #fff;
}

.amp-icon svg {
    width: 30px;
    height: 30px;
}

.amh-button.amp-button-light {
    border-color: #fff;
    background: #fff;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .12);
    color: var(--amh-navy);
}

.amh-button.amp-button-light:hover,
.amh-button.amp-button-light:focus-visible {
    background: #f1f6fd;
    color: var(--amh-navy);
}

.amh-button.amp-button-outline {
    border-color: #cfe4fa;
    background: #eaf3fd;
    box-shadow: none;
    color: var(--amp-blue);
}

.amh-button.amp-button-outline:hover,
.amh-button.amp-button-outline:focus-visible {
    background: #dcecfc;
    color: #075fd0;
}

.amh-button.amp-button-light span,
.amh-button.amp-button-outline span {
    color: var(--amh-pink);
    font-family: Arial, sans-serif;
    font-size: 26px;
    font-weight: 400;
    line-height: .7;
}

.amp-center {
    margin-top: clamp(26px, 2.4vw, 44px);
    text-align: center;
}

.amp-link {
    display: inline-flex;
    gap: 8px;
    color: var(--amp-blue);
    font-weight: 700;
    text-decoration: none;
}

.amp-link:hover,
.amp-link:focus-visible {
    color: var(--amh-pink);
}

.amp-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(32px, 4vw, 80px);
}

/* ---------- 1. Hero: the photo on the right under a navy gradient, the paths at the bottom. */

.amp-hero {
    position: relative;
    min-height: min(900px, max(720px, 50vw));
    overflow: hidden;
    background: var(--amh-navy);
    color: #fff;
    isolation: isolate;
}

.amp-hero-photo {
    position: absolute;
    z-index: -2;
    top: 0;
    right: 0;
    width: 72%;
    height: 100%;
    object-fit: cover;
    object-position: 80% 30%;
}

.amp-hero-shade {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(90deg, #00214c 0%, #032d63 30%, rgba(4, 47, 101, .75) 42%, rgba(4, 47, 101, 0) 60%),
        linear-gradient(0deg, rgba(0, 27, 61, .9) 0%, rgba(0, 27, 61, 0) 34%),
        linear-gradient(180deg, rgba(0, 29, 63, .5) 0%, rgba(0, 29, 63, 0) 22%);
}

.amp-hero-inner {
    display: flex;
    min-height: inherit;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(200px, 13vw, 240px) 0 clamp(48px, 4vw, 72px);
}

.amp-hero-copy {
    max-width: min(760px, 52%);
}

.amp-hero-eyebrow {
    margin: 0 0 22px;
    color: #d5e6f5;
    font-size: clamp(12px, .95vw, 16px);
    font-weight: 700;
    letter-spacing: .19em;
    line-height: 1.4;
    text-transform: uppercase;
}

.amp-hero-eyebrow::after {
    display: block;
    width: 64px;
    height: 4px;
    margin-top: 14px;
    border-radius: 2px;
    background: var(--amh-pink);
    content: '';
}

.amp-hero-title {
    margin: 0 0 18px;
    padding: 0;
    color: #fff;
    font-size: clamp(38px, 3.6vw, 66px);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.05;
}

.amp-hero-title span {
    color: #7cc4f8;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .amp-hero-title span {
        background: linear-gradient(180deg, #9ad5ff 0%, #6cbcf7 60%, #58b0f2 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }
}

.amp-hero-desc {
    margin: 0 0 32px;
    color: rgba(255, 255, 255, .92);
    font-size: clamp(17px, 1.3vw, 22px);
    line-height: 1.5;
}

.amp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: clamp(40px, 4vw, 70px);
}

.amp-paths {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.amp-paths li {
    margin: 0;
}

.amp-path {
    display: flex;
    height: 100%;
    min-height: 110px;
    align-items: center;
    gap: 18px;
    padding: 18px;
    border: 1px solid rgba(35, 146, 243, .48);
    border-radius: 13px;
    background: rgba(0, 42, 88, .78);
    color: #fff;
    text-decoration: none;
    backdrop-filter: blur(9px);
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.amp-path:hover,
.amp-path:focus-visible {
    border-color: #5ebaff;
    background: rgba(0, 71, 139, .91);
    color: #fff;
    transform: translateY(-3px);
}

.amp-path-copy {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 4px;
}

.amp-path-copy strong {
    font-size: clamp(15px, 1.1vw, 19px);
}

.amp-path-copy span {
    color: #d5e6f5;
    font-size: 14px;
    line-height: 1.35;
}

.amp-path-arrow {
    color: var(--amh-pink);
    font-size: 22px;
}

/* ---------- 2. Welcome and the video. */

.amp-welcome {
    background: linear-gradient(180deg, #f5f9fe 0%, #eef5fd 100%);
}

.amp-video-frame {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 24px 54px rgba(1, 33, 106, .18);
}

.amp-video-frame::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 33, 76, .35), rgba(0, 33, 76, 0) 50%);
    content: '';
    pointer-events: none;
}

.amp-video-image {
    display: block;
    width: 100%;
    height: auto;
}

/* The whole picture is the button (its ::before covers it); the round pink play in the middle. */
.amp-video-play {
    position: absolute;
    z-index: 1;
    inset: 0;
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    padding: 0;
    border: 0;
    background: none;
    color: #fff;
    cursor: pointer;
}

.amp-video-play svg {
    width: 84px;
    height: 84px;
    padding: 25px 22px 25px 28px;
    border-radius: 50%;
    background: var(--amh-pink);
    box-shadow: 0 12px 28px rgba(245, 0, 114, .4);
    transition: scale .2s ease;
}

.amp-video-play:hover svg,
.amp-video-play:focus-visible svg {
    scale: 1.08;
}

.amp-video-play:focus-visible {
    outline: 3px solid #0381f8;
    outline-offset: -3px;
}

/* ---------- 3. PRO Opportunities. */

.amp-opportunities {
    background: #fff;
}

.amp-opps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 1.8vw, 34px);
}

.amp-opp {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--amp-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(1, 33, 106, .08);
}

.amp-opp-head {
    display: flex;
    min-height: 150px;
    align-items: flex-end;
    padding: 22px 26px;
    background: linear-gradient(120deg, rgba(1, 33, 106, .92), rgba(10, 114, 245, .78)), var(--amp-opp-img) center / cover;
}

.amp-opp-head h3 {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    color: #d5e6f5;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .08em;
    line-height: 1.3;
    text-transform: uppercase;
}

.amp-opp-head h3 span {
    color: #fff;
    font-size: clamp(26px, 2vw, 34px);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.15;
    text-transform: none;
}

.amp-opp .amp-list {
    flex: 1;
    margin: 24px 26px 18px;
}

.amp-opp .amp-link {
    margin: 0 26px 26px;
}

/* ---------- 4. and 8. Navy bands: texts and a photo side by side. */

.amp-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    background: var(--amp-band);
    color: #fff;
}

.amp-coaches {
    min-height: 520px;
}

.amp-students {
    min-height: 440px;
}

.amp-band-copy {
    align-self: center;
    max-width: 720px;
    padding: clamp(56px, 5vw, 96px) 32px;
}

.amp-coaches .amp-band-copy {
    justify-self: end;
    padding-right: clamp(32px, 4vw, 80px);
}

.amp-students .amp-band-copy {
    padding-left: clamp(32px, 4vw, 80px);
}

.amp-band-photo {
    min-height: 100%;
    background-position: 40% 30%;
    background-size: cover;
}

.amp-coaches .amp-band-photo {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%);
    mask-image: linear-gradient(90deg, transparent 0, #000 22%);
}

.amp-students .amp-band-photo {
    background-position: center;
    -webkit-mask-image: linear-gradient(270deg, transparent 0, #000 22%);
    mask-image: linear-gradient(270deg, transparent 0, #000 22%);
}

/* ---------- 5. 25 years: the photo on a blue card, the badge in its corner (beside the face, not over it). */

.amp-experience {
    background: linear-gradient(180deg, #f5f9fe 0%, #eef5fd 100%);
}

.amp-exp-media {
    position: relative;
    display: grid;
    justify-items: center;
}

.amp-exp-media::before {
    position: absolute;
    inset: 14% 8% 0;
    border-radius: 26px;
    background: linear-gradient(140deg, #0a72f5, #01216a);
    content: '';
}

.amp-exp-photo {
    position: relative;
    width: min(100%, 420px);
    height: auto;
}

.amp-exp-badge {
    position: absolute;
    right: 6%;
    bottom: 8%;
    width: clamp(96px, 9vw, 150px);
    height: auto;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .25));
}

.amp-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 6px 0 22px;
    padding: 0;
    list-style: none;
}

.amp-stats li {
    display: flex;
    min-width: 180px;
    flex-direction: column;
    margin: 0;
    padding: 18px 22px;
    border: 1px solid var(--amp-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(1, 33, 106, .07);
}

.amp-stats strong {
    color: var(--amp-blue);
    font-size: clamp(34px, 2.6vw, 48px);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.05;
}

.amp-stats span {
    color: var(--amp-muted);
    font-size: 14px;
    font-weight: 600;
}

/* ---------- 6. PRO Programs: four cards. */

.amp-programs {
    background: #fff;
}

.amp-programs-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(14px, 1.2vw, 24px);
}

.amp-programs-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.amp-programs-2,
.amp-programs-1 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.amp-program {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: clamp(20px, 1.6vw, 30px);
    border: 1px solid var(--amp-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(1, 33, 106, .08);
}

.amp-program-featured {
    border: 2px solid var(--amp-blue);
    box-shadow: 0 22px 48px rgba(10, 114, 245, .18);
}

.amp-program-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.amp-program-head h3 {
    margin: 0;
    padding: 0;
    color: var(--amh-navy);
    font-size: clamp(19px, 1.35vw, 24px);
    font-weight: 800;
    line-height: 1.2;
}

.amp-program-head p {
    margin: 2px 0 0;
    padding: 0;
    color: var(--amp-blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.35;
    text-transform: uppercase;
}

.amp-program-desc {
    margin: 0 0 16px;
    padding: 0 0 16px;
    border-bottom: 1px solid var(--amp-line);
    color: var(--amp-muted);
    font-size: 15px;
    line-height: 1.55;
}

.amp-included {
    margin: 0 0 10px;
    padding: 0;
    color: var(--amh-navy);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.amp-program .amp-list li {
    font-size: 14.5px;
}

.amp-program-foot {
    margin-top: auto;
}

.amp-price {
    margin: 0;
    padding: 0;
    color: var(--amh-navy);
    line-height: 1.05;
}

.amp-price strong {
    font-size: clamp(30px, 2.2vw, 40px);
    font-weight: 800;
    letter-spacing: -.03em;
}

.amp-price span {
    margin-left: 6px;
    font-size: 17px;
    font-weight: 700;
}

/* A text in place of a price (Agent – Elite: "Agent Agreement", MILESTONES 38.B5): smaller, as a label on one line. */
.amp-price.amp-price-label strong {
    font-size: clamp(20px, 1.45vw, 26px);
    letter-spacing: .04em;
    text-transform: uppercase;
}

.amp-price-note {
    margin: 6px 0 0;
    padding: 0;
    color: var(--amp-muted);
    font-size: 14px;
    font-weight: 600;
}

.amp-program-extra {
    margin: 12px 0 0;
    padding: 12px 14px;
    border-radius: 10px;
    background: #f1f7fe;
    color: var(--amp-muted);
    font-size: 13px;
    line-height: 1.5;
}

.amh-button.amp-program-button {
    width: 100%;
    margin-top: 18px;
}

/* ---------- 9. Registration: home-register.css lays out .amf-section; here only what the PRO form adds. */

.amp-register .amp-title {
    font-size: clamp(30px, 2.6vw, 50px);
}

.amp-register .amp-title span {
    color: #7cc4f8;
}

.amp-register .is-athlete-item-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 14px;
}

.amp-register .is-athlete-item-container-inner {
    order: 2;
}

.amp-register .is-athlete-item-container .i-am-student {
    margin: 0;
    padding: 0;
    color: var(--amp-text);
    font-size: 15px;
}

.amp-register .is-athlete-item-container > input[type='checkbox'] {
    width: 22px;
    height: 22px;
    margin: 0;
    accent-color: var(--amh-pink);
}

.amp-register .ambassador-id-info-label {
    margin: 4px 0 8px;
    padding: 0;
    color: var(--amp-muted);
    font-size: 13px;
    line-height: 1.45;
}

/* ---------- Narrower screens. */

@media (max-width: 1366px) {
    .amp-program {
        padding-inline: 18px;
    }
}

@media (max-width: 1180px) {
    .amp-paths,
    .amp-programs-grid,
    .amp-programs-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .amp-opps {
        grid-template-columns: minmax(0, 1fr);
        max-width: 760px;
        margin-inline: auto;
    }

    .amp-hero-copy {
        max-width: 70%;
    }
}

@media (max-width: 900px) {
    .amp-split,
    .amp-band {
        grid-template-columns: minmax(0, 1fr);
    }

    .amp-band-photo {
        min-height: 280px;
        -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18%);
        mask-image: linear-gradient(180deg, transparent 0, #000 18%);
    }

    .amp-coaches .amp-band-photo {
        order: -1;
        -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 18%);
        mask-image: linear-gradient(0deg, transparent 0, #000 18%);
    }

    .amp-students .amp-band-photo {
        -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 18%);
        mask-image: linear-gradient(0deg, transparent 0, #000 18%);
    }

    .amp-coaches .amp-band-copy,
    .amp-students .amp-band-copy {
        justify-self: stretch;
        max-width: none;
        padding: 40px 32px 56px;
    }

    .amp-hero-photo {
        width: 100%;
        opacity: .55;
    }

    .amp-hero-copy {
        max-width: none;
    }

    .amp-exp-media {
        max-width: 460px;
        margin-inline: auto;
    }
}

@media (max-width: 780px) {
    .amp-inner {
        width: min(100% - 36px, 660px);
    }

    .amp-coaches .amp-band-copy,
    .amp-students .amp-band-copy {
        padding-inline: 18px;
    }

    .amh-logo-badge {
        right: -36px;
        font-size: 11px;
    }
}

@media (max-width: 700px) {
    .amp-paths,
    .amp-programs-grid,
    .amp-programs-3,
    .amp-programs-2,
    .amp-programs-1 {
        grid-template-columns: minmax(0, 1fr);
    }

    .amp-hero-actions .amh-button {
        width: 100%;
    }

    .amp-stats li {
        min-width: 0;
        flex: 1 1 140px;
    }

    .amp-opp-head {
        min-height: 120px;
        padding: 18px 20px;
    }

    .amp-opp .amp-list {
        margin-inline: 20px;
    }

    .amp-opp .amp-link {
        margin-inline: 20px;
    }
}

/* ---------- Motion: the hero on load, as the home hero (keyframes in home-motion.css); the sections below the screen
 * come in from home-motion.js. Only when motion is welcome. */

@media (prefers-reduced-motion: no-preference) {
    .amp-hero-eyebrow,
    .amp-hero-desc,
    .amp-hero-actions {
        animation: amo-hero-rise .9s cubic-bezier(.25, 1, .5, 1) backwards, amo-fade .6s linear backwards;
    }

    .amp-hero-title {
        animation: amo-hero-rise 1s .08s cubic-bezier(.25, 1, .5, 1) backwards;
    }

    .amp-hero-desc {
        animation-delay: .2s;
    }

    .amp-hero-actions {
        animation-delay: .3s;
    }

    @media (min-width: 781px) {
        .amp-paths li {
            animation: amo-hero-rise .9s cubic-bezier(.25, 1, .5, 1) backwards, amo-fade .6s linear backwards;
        }

        .amp-paths li:nth-child(1) {
            animation-delay: .45s;
        }

        .amp-paths li:nth-child(2) {
            animation-delay: .55s;
        }

        .amp-paths li:nth-child(3) {
            animation-delay: .65s;
        }

        .amp-paths li:nth-child(4) {
            animation-delay: .75s;
        }
    }
}
