/* ==========================================================
   SUNRISE CHILDREN'S SERVICES
   2026 FALL OFFERING
   COMPLETE PAGE STYLES
   ========================================================== */


/* ==========================================================
   PAGE VARIABLES
   ========================================================== */

.fall-offering-page {
    --fall-blue: #284D88;
    --fall-blue-bright: #0878BE;
    --fall-blue-medium: #176EAA;
    --fall-blue-deep: #17345F;

    --fall-yellow: #F7CA42;
    --fall-yellow-bright: #FFD85A;
    --fall-yellow-light: #FFF7D7;

    --fall-cream: #FFFBF1;
    --fall-light-blue: #EFF8FD;

    --fall-text: #33455D;
    --fall-text-dark: #233750;
    --fall-muted: #52657C;

    --fall-border: #DCE5ED;

    overflow: hidden;
    color: var(--fall-text);
}


/* ==========================================================
   GLOBAL
   ========================================================== */

.fall-offering-page p {
    color: var(--fall-text);
    font-size: 1.05rem;
    line-height: 1.7;
}

.fall-section {
    padding: 58px 0;
}

.fall-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--fall-blue-bright);
    font-size: .78rem;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: .17em;
    text-transform: uppercase;
}


/* ==========================================================
   BUTTONS
   ========================================================== */

.fall-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 50px;
    padding: 13px 23px;

    border: 2px solid transparent;
    border-radius: 7px;

    font-size: .95rem;
    font-weight: 800;
    line-height: 1.2;

    text-decoration: none;
    cursor: pointer;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease,
        color .2s ease,
        border-color .2s ease;
}

.fall-btn:hover {
    transform: translateY(-2px);
}

.fall-btn--primary {
    color: var(--fall-blue-deep);
    background: var(--fall-yellow);
    box-shadow: 0 8px 20px rgba(247, 202, 66, .22);
}

.fall-btn--primary:hover {
    color: var(--fall-blue-deep);
    background: var(--fall-yellow-bright);
    box-shadow: 0 12px 25px rgba(247, 202, 66, .32);
}

.fall-btn--secondary {
    color: var(--fall-blue);
    background: #fff;
    border-color: #C8D7E5;
}

.fall-btn--secondary:hover {
    color: #fff;
    background: var(--fall-blue);
    border-color: var(--fall-blue);
}

.fall-btn--light {
    color: var(--fall-blue-deep);
    background: #fff;
}

.fall-btn--light:hover {
    color: var(--fall-blue-deep);
    background: var(--fall-yellow);
}

.fall-btn--large {
    min-height: 55px;
    padding: 15px 28px;
}


/* ==========================================================
   HERO
   ========================================================== */

.fall-hero {
    position: relative;

    padding: 58px 0 62px;

    background:
        radial-gradient(
            circle at 83% 18%,
            rgba(247, 202, 66, .28),
            transparent 27%
        ),
        linear-gradient(
            120deg,
            #FFFFFF 0%,
            #F7FBFE 50%,
            #FFF9E6 100%
        );
}

.fall-hero::before {
    position: absolute;
    top: 0;
    left: 0;

    width: 6px;
    height: 100%;

    content: "";

    background: var(--fall-yellow);
}

.fall-hero__grid {
    display: grid;
    grid-template-columns: .88fr 1.12fr;

    align-items: center;

    gap: 55px;
}

.fall-hero__content {
    max-width: 600px;
}

.fall-hero__title {
    max-width: 600px;

    margin: 0 0 20px;

    color: var(--fall-blue-deep);

    font-size: clamp(2.8rem, 5vw, 4.9rem);
    line-height: .95;
    letter-spacing: -.045em;
}

.fall-hero__title span {
    color: var(--fall-blue);
}

.fall-hero__lead {
    max-width: 560px;

    margin: 0 0 15px;

    color: var(--fall-text-dark) !important;

    font-size: 1.08rem !important;
    line-height: 1.65 !important;
}

.fall-hero__statement {
    max-width: 540px;

    margin: 0 0 25px;

    color: var(--fall-blue-deep) !important;

    font-size: 1.08rem !important;
    font-weight: 800;
    line-height: 1.5 !important;
}

.fall-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}


/* HERO PHOTO */

.fall-hero__photo {
    position: relative;

    max-width: 650px;

    margin: 0;
}

.fall-hero__photo::before {
    position: absolute;
    z-index: 0;

    top: -15px;
    right: -18px;

    width: 78%;
    height: 92%;

    content: "";

    background: var(--fall-yellow);

    transform: rotate(2deg);
}

.fall-hero__photo-frame {
    position: relative;
    z-index: 1;

    padding: 10px;

    background: #fff;

    box-shadow:
        0 24px 50px rgba(20, 43, 76, .18);

    transform: rotate(-1deg);
}

.fall-hero__photo img {
    display: block;

    width: 100%;
    height: auto;
}

.fall-hero__photo figcaption {
    position: relative;
    z-index: 2;

    margin: 12px auto 0;

    color: #52657C;

    font-size: .83rem;
    font-style: italic;
    line-height: 1.45;

    text-align: center;
}


/* ==========================================================
   LEGACY / HISTORY
   ========================================================== */

.fall-history {
    position: relative;

    padding: 50px 0 52px;

    background: #fff;
}

.fall-history::before {
    position: absolute;

    top: 0;
    left: 50%;

    width: 85px;
    height: 5px;

    content: "";

    background: var(--fall-yellow);
    border-radius: 20px;

    transform: translateX(-50%);
}

.fall-history__content {
    max-width: 900px;

    margin: 0 auto;

    text-align: center;
}

.fall-history h2 {
    max-width: 850px;

    margin: 0 auto 20px;

    color: var(--fall-blue-deep);

    font-size: clamp(2.2rem, 4vw, 3.55rem);
    line-height: 1.04;
    letter-spacing: -.03em;
}

.fall-history p {
    max-width: 820px;

    margin: 0 auto 13px;

    color: var(--fall-text-dark) !important;

    font-size: 1.08rem !important;
    line-height: 1.7 !important;
}

.fall-history__lead {
    max-width: 760px !important;

    color: var(--fall-blue-deep) !important;

    font-size: 1.17rem !important;
    font-weight: 800;
    line-height: 1.55 !important;
}

.fall-history strong {
    color: var(--fall-blue-deep);
    font-weight: 800;
}


/* ==========================================================
   VIDEO
   FEATURED CAMPAIGN STORY
   ========================================================== */

.fall-video {
    position: relative;

    padding: 62px 0 70px;

    overflow: hidden;

    background:
        linear-gradient(
            115deg,
            #0878BE 0%,
            #176EAA 48%,
            #284D88 100%
        );
}


/* YELLOW ACCENT */

.fall-video::before {
    position: absolute;

    top: 0;
    right: 8%;

    width: 170px;
    height: 7px;

    content: "";

    background: var(--fall-yellow);
}


/* SUBTLE LINE TEXTURE */

.fall-video::after {
    position: absolute;

    inset: 0;

    content: "";

    pointer-events: none;

    opacity: .35;

    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, .025) 1px,
            transparent 1px
        );

    background-size: 90px 90px;
}

.fall-video .shell {
    position: relative;
    z-index: 1;
}


/* VIDEO HEADING */

.fall-video .fall-section-heading {
    max-width: 900px;

    margin: 0 auto 34px;

    text-align: center;
}

.fall-video .fall-eyebrow {
    color: var(--fall-yellow);
}

.fall-video .fall-section-heading h2 {
    max-width: 900px;

    margin: 0 auto 16px;

    color: #fff;

    font-size: clamp(2.7rem, 5vw, 4.6rem);
    line-height: .98;
    letter-spacing: -.035em;
}

.fall-video .fall-section-heading p {
    max-width: 760px;

    margin: 0 auto;

    color: #fff !important;

    font-size: 1.1rem !important;
    line-height: 1.65 !important;
}


/* VIDEO EMBED */

.fall-video__wrap {
    position: relative;

    width: min(1180px, 96%);
    max-width: none;

    margin: 0 auto;

    overflow: hidden;

    background: #000;

    border: 6px solid rgba(255, 255, 255, .18);
    border-radius: 8px;

    box-shadow:
        0 30px 65px rgba(0, 0, 0, .28),
        0 0 0 1px rgba(255, 255, 255, .08);

    aspect-ratio: 16 / 9;
}

.fall-video__wrap iframe {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    border: 0;
}


/* ==========================================================
   GENERATIONS / ADOPTION
   ========================================================== */

.fall-generations {
    position: relative;

    padding: 60px 0;

    background:
        linear-gradient(
            115deg,
            #FFF9E7 0%,
            #FFFDF8 52%,
            #EEF8FD 100%
        );
}

.fall-generations__grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;

    align-items: center;

    gap: 55px;

    max-width: 1080px;
}

.fall-generations__photo {
    position: relative;

    margin: 0;
}


/* YELLOW EDGE — NOT A BUBBLE */

.fall-generations__photo::before {
    position: absolute;
    z-index: 0;

    top: 16px;
    left: -13px;

    width: 13px;
    height: calc(100% - 32px);

    content: "";

    background: var(--fall-yellow);
}

.fall-generations__photo img {
    position: relative;
    z-index: 1;

    display: block;

    width: 100%;
    height: auto;

    /* FULL COLOR */
    filter: none;

    box-shadow:
        0 20px 45px rgba(25, 46, 77, .16);
}

.fall-generations__photo figcaption {
    position: relative;
    z-index: 1;

    margin-top: 10px;

    color: #53667D;

    font-size: .83rem;
    font-style: italic;
    line-height: 1.45;
}


/* GENERATIONS CONTENT */

.fall-generations__content h2 {
    margin: 0 0 17px;

    color: var(--fall-blue-deep);

    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 1.04;
    letter-spacing: -.03em;
}

.fall-generations__content p {
    margin: 0 0 13px;

    color: var(--fall-text-dark) !important;

    font-size: 1.05rem !important;
    line-height: 1.68 !important;
}

.fall-generations__question {
    color: var(--fall-blue-bright) !important;

    font-size: 1.25rem !important;
    font-weight: 900;
}

.fall-generations__emphasis {
    margin-bottom: 22px !important;

    color: var(--fall-blue-deep) !important;

    font-size: 1.13rem !important;
    font-weight: 900;
}


/* ==========================================================
   GENERAL SECTION HEADING
   ========================================================== */

.fall-section-heading {
    max-width: 760px;

    margin: 0 auto 30px;

    text-align: center;
}

.fall-section-heading h2 {
    margin: 0 0 15px;

    color: var(--fall-blue-deep);

    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 1.04;
    letter-spacing: -.03em;
}

.fall-section-heading p {
    margin: 0;

    color: var(--fall-text-dark) !important;

    font-size: 1.05rem !important;
    line-height: 1.65 !important;
}


/* ==========================================================
   ORDER MATERIALS
   ========================================================== */

.fall-order {
    position: relative;

    padding: 60px 0 64px;

    background:
        linear-gradient(
            135deg,
            #F2F9FD 0%,
            #FFFFFF 52%,
            #FFF9E7 100%
        );
}

.fall-order::before {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    content: "";

    background:
        linear-gradient(
            90deg,
            var(--fall-blue-bright) 0%,
            var(--fall-blue-bright) 50%,
            var(--fall-yellow) 50%,
            var(--fall-yellow) 100%
        );
}

.fall-order__heading {
    max-width: 760px;

    margin: 0 auto 30px;

    text-align: center;
}

.fall-order__heading h2 {
    margin: 0 0 15px;

    color: var(--fall-blue-deep);

    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1.04;
    letter-spacing: -.03em;
}

.fall-order__heading p {
    max-width: 680px;

    margin: 0 auto;

    color: var(--fall-text-dark) !important;

    font-size: 1.05rem !important;
    line-height: 1.65 !important;
}


/* ==========================================================
   FORM PANEL
   ========================================================== */

.fall-order__panel {
    max-width: 920px;

    margin: 0 auto;

    overflow: hidden;

    background: #fff;

    border: 1px solid #DDE6EE;
    border-top: 6px solid var(--fall-yellow);
    border-radius: 14px;

    box-shadow:
        0 22px 55px rgba(24, 52, 95, .10);
}

.fall-order__form {
    padding: 36px 42px;
}

.fall-order__section {
    margin: 0;
    padding: 0 0 27px;

    border: 0;
}

.fall-order__section + .fall-order__section {
    padding-top: 27px;

    border-top: 1px solid #E4EAF0;
}

.fall-order__section legend {
    width: 100%;

    margin: 0 0 17px;
    padding: 0;

    color: var(--fall-blue-deep);

    font-size: 1.15rem;
    font-weight: 900;
}


/* ==========================================================
   FORM GRID
   ========================================================== */

.fall-form-grid {
    display: grid;
    grid-template-columns: 1fr;

    gap: 16px;
}

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

.fall-form-grid--3 {
    grid-template-columns:
        1.5fr 1fr 1fr;

    margin-top: 16px;
}


/* ==========================================================
   FORM FIELDS
   ========================================================== */

.fall-field label,
.fall-material__quantity label {
    display: block;

    margin-bottom: 6px;

    color: var(--fall-blue-deep);

    font-size: .86rem;
    font-weight: 800;
}

.fall-field label span {
    color: #C73E35;
}

.fall-field input,
.fall-field select,
.fall-field textarea,
.fall-material__quantity input {
    width: 100%;

    box-sizing: border-box;

    padding: 11px 13px;

    color: var(--fall-text-dark);

    background: #FCFDFE;

    border: 1px solid #C8D5E1;
    border-radius: 7px;

    font: inherit;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.fall-field input,
.fall-field select,
.fall-material__quantity input {
    min-height: 45px;
}

.fall-field textarea {
    min-height: 92px;

    resize: vertical;
}

.fall-field input:focus,
.fall-field select:focus,
.fall-field textarea:focus,
.fall-material__quantity input:focus {
    outline: none;

    background: #fff;

    border-color: var(--fall-blue-bright);

    box-shadow:
        0 0 0 3px rgba(8, 120, 190, .11);
}


/* ==========================================================
   MATERIAL ORDER CARDS
   ========================================================== */

.fall-order__instructions {
    margin: -5px 0 18px;

    color: var(--fall-text) !important;

    font-size: .92rem !important;
    line-height: 1.5 !important;
}

.fall-material {
    display: grid;
    grid-template-columns: 1fr 120px;

    align-items: center;

    gap: 20px;

    margin-bottom: 10px;
    padding: 15px 17px;

    background:
        linear-gradient(
            100deg,
            #F0F8FD 0%,
            #FFFCF1 100%
        );

    border: 1px solid #D9E5EE;
    border-left: 4px solid var(--fall-blue-bright);
    border-radius: 8px;
}

.fall-material:nth-of-type(even) {
    border-left-color: var(--fall-yellow);
}

.fall-material__content {
    display: flex;

    align-items: center;

    gap: 14px;
}

.fall-material__icon {
    display: flex;
    flex: 0 0 42px;

    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    color: #fff;

    background: var(--fall-blue-bright);

    border-radius: 7px;
}

.fall-material__icon svg {
    width: 21px;
    height: 21px;
}

.fall-material h3 {
    margin: 0 0 3px;

    color: var(--fall-blue-deep);

    font-size: 1rem;
}

.fall-material p {
    margin: 0;

    color: var(--fall-text) !important;

    font-size: .85rem !important;
    line-height: 1.45 !important;
}

.fall-material__quantity input {
    background: #fff;

    text-align: center;
}


/* ==========================================================
   FORM SUBMIT
   ========================================================== */

.fall-order__submit {
    padding-top: 0;

    text-align: center;
}

.fall-order__submit p {
    margin: 11px auto 0;

    color: var(--fall-muted) !important;

    font-size: .82rem !important;
}


/* ==========================================================
   READY TO SEND OFFERING
   ========================================================== */

.fall-give {
    padding: 42px 0;

    background: #fff;
}

.fall-give__panel {
    display: grid;
    grid-template-columns: 1fr auto;

    align-items: center;

    gap: 35px;

    max-width: 920px;

    margin: 0 auto;
    padding: 30px 38px;

    background:
        linear-gradient(
            110deg,
            #EAF6FC 0%,
            #FFF8D9 100%
        );

    border-left: 6px solid var(--fall-yellow);
    border-radius: 4px;
}

.fall-give h2 {
    margin: 0 0 9px;

    color: var(--fall-blue-deep);

    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.06;
}

.fall-give__content p {
    max-width: 640px;

    margin: 0 0 7px;

    color: var(--fall-text-dark) !important;

    font-size: 1rem !important;
    line-height: 1.55 !important;
}

.fall-give__notice {
    color: var(--fall-blue-deep) !important;
}


/* ==========================================================
   FINAL THANK YOU
   NO CIRCLES / BUBBLES / DECORATIVE BLOBS
   ========================================================== */

.fall-final {
    position: relative;

    padding: 48px 0;

    color: #fff;

    background:
        linear-gradient(
            110deg,
            #0878BE 0%,
            #176EAA 42%,
            #284D88 100%
        );

    border-top: 6px solid var(--fall-yellow);
}

.fall-final::before,
.fall-final::after {
    display: none !important;
    content: none !important;
}

.fall-final__content {
    max-width: 760px;

    margin: 0 auto;

    text-align: center;
}

.fall-final__small {
    display: block;

    margin-bottom: 8px;

    color: var(--fall-yellow);

    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.fall-final h2 {
    margin: 0 0 14px;

    color: #fff;

    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.04;
    letter-spacing: -.03em;
}

.fall-final p {
    max-width: 650px;

    margin: 0 auto;

    color: #fff !important;

    font-size: 1.02rem !important;
    line-height: 1.62 !important;
}


/*
   If the old PHP still contains an Order Offering Materials
   button inside the final CTA, hide it.

   You can also remove the button from the PHP entirely.
*/

.fall-final .fall-btn {
    display: none;
}


/* ==========================================================
   ACCESSIBILITY
   ========================================================== */

.sr-only {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    padding: 0 !important;
    margin: -1px !important;

    overflow: hidden !important;

    clip: rect(0, 0, 0, 0) !important;

    white-space: nowrap !important;

    border: 0 !important;
}


/* ==========================================================
   SAFETY — NO OLD REVEAL CODE HIDING CONTENT
   ========================================================== */

.fall-reveal {
    opacity: 1 !important;
    transform: none !important;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 980px) {

    .fall-hero__grid,
    .fall-generations__grid {
        grid-template-columns: 1fr;

        gap: 38px;
    }

    .fall-hero__content {
        max-width: 700px;
    }

    .fall-hero__photo {
        max-width: 720px;
    }

    .fall-generations__photo {
        max-width: 680px;
    }

    .fall-video__wrap {
        width: 100%;
    }

    .fall-give__panel {
        grid-template-columns: 1fr;

        gap: 18px;
    }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 700px) {

    .fall-section {
        padding: 45px 0;
    }


    /* HERO */

    .fall-hero {
        padding: 45px 0 50px;
    }

    .fall-hero__grid {
        gap: 32px;
    }

    .fall-hero__title {
        font-size: clamp(2.5rem, 12vw, 3.7rem);
    }

    .fall-hero__lead {
        font-size: 1rem !important;
    }

    .fall-hero__actions {
        flex-direction: column;
    }

    .fall-hero__actions .fall-btn {
        width: 100%;
    }

    .fall-hero__photo::before {
        top: -9px;
        right: -8px;
    }


    /* HISTORY */

    .fall-history {
        padding: 44px 0;
    }

    .fall-history p {
        font-size: 1rem !important;
    }


    /* VIDEO */

    .fall-video {
        padding: 48px 0 52px;
    }

    .fall-video .fall-section-heading {
        margin-bottom: 25px;
    }

    .fall-video .fall-section-heading h2 {
        font-size: clamp(2.2rem, 10vw, 3rem);
    }

    .fall-video .fall-section-heading p {
        font-size: 1rem !important;
    }

    .fall-video__wrap {
        width: 100%;

        border-width: 4px;
        border-radius: 5px;
    }


    /* GENERATIONS */

    .fall-generations {
        padding: 48px 0;
    }

    .fall-generations__photo::before {
        left: -7px;

        width: 7px;
    }


    /* FORM */

    .fall-order {
        padding: 48px 0 52px;
    }

    .fall-form-grid--2,
    .fall-form-grid--3 {
        grid-template-columns: 1fr;
    }

    .fall-order__panel {
        border-radius: 9px;
    }

    .fall-order__form {
        padding: 27px 20px;
    }

    .fall-material {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .fall-material__quantity {
        max-width: 140px;
    }

    .fall-order__submit .fall-btn {
        width: 100%;
    }


    /* GIVE */

    .fall-give {
        padding: 35px 0;
    }

    .fall-give__panel {
        padding: 26px 23px;
    }


    /* FINAL */

    .fall-final {
        padding: 42px 0;
    }

}


/* ==========================================================
   REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    .fall-btn {
        transition: none;
    }

}