/* Animated gifting walkthrough inside the green landing-page introduction. */
.giving-flow {
    width: 100%;
    margin-top: clamp(42px, 7vw, 92px);
    padding-top: clamp(28px, 5vw, 60px);
    border-top: 1px solid rgba(86, 16, 35, 0.3);
    color: var(--maroon, #561023);
}

.giving-step {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: clamp(10px, 4vw, 40px);
    align-items: center;
    min-height: clamp(210px, 64vw, 310px);
    padding: clamp(24px, 8vw, 64px) 0;
    border-bottom: 1px solid rgba(86, 16, 35, 0.2);
}

.giving-step>*,
.giving-step-copy,
.giving-step-visual {
    min-width: 0;
}

.giving-step--share .giving-step-visual,
.giving-step--contribute .giving-step-visual {
    order: 2;
}

.giving-step--share .giving-step-copy,
.giving-step--contribute .giving-step-copy {
    order: 1;
}

.giving-step-copy {
    position: relative;
    z-index: 2;
}

.giving-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-bottom: 11px;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
}

.giving-step h3 {
    margin: 0 0 9px;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(26px, 7vw, 36px);
    font-style: italic;
    font-weight: 400;
    line-height: 0.96;
    overflow-wrap: break-word;
}

.giving-step-copy p {
    margin: 0;
    font-family: 'DM Mono', monospace;
    font-size: clamp(14px, 3.7vw, 16px);
    font-weight: 500;
    line-height: 1.5;
    overflow-wrap: break-word;
}

.giving-step-visual {
    min-width: 0;
}

/* 01 — cycling product and cash-fund cards */
.gift-cycle {
    position: relative;
    width: 100%;
    aspect-ratio: 0.84;
    max-height: 285px;
    perspective: 800px;
}

.gift-cycle-card {
    --card-accent: #e45558;
    position: absolute;
    inset: 4% 5% 8% 3%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(12px, 4vw, 22px);
    overflow: hidden;
    border: 1px solid rgba(86, 16, 35, 0.28);
    background: #f4ede3;
    box-shadow: 7px 8px 0 var(--card-accent);
    opacity: 0;
    transform: translate3d(16px, 8px, -40px) rotate(2deg);
}

.gift-cycle-card--lamp {
    z-index: 3;
}

.gift-cycle-card--fund {
    --card-accent: #d5c800;
    z-index: 2;
}

.gift-cycle-card--dinner {
    --card-accent: #e163c3;
    z-index: 1;
}

.gift-cycle-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 82% 18%, var(--card-accent) 0 17%, transparent 17.5%);
    opacity: 0.86;
}

.gift-cycle-kicker,
.gift-cycle-card strong,
.gift-cycle-card small {
    position: relative;
    z-index: 2;
}

.gift-cycle-kicker {
    position: absolute;
    top: 13px;
    left: 13px;
    max-width: 70%;
    font-family: 'DM Mono', monospace;
    font-size: clamp(12px, 2.7vw, 13px);
    letter-spacing: 0.12em;
}

.gift-cycle-card strong {
    font-family: 'Nanum Myeongjo', serif;
    font-size: clamp(16px, 4.4vw, 22px);
    font-weight: 700;
    line-height: 1.05;
}

.gift-cycle-card small {
    margin-top: 5px;
    font-family: 'DM Mono', monospace;
    font-size: clamp(12px, 2.8vw, 14px);
}

.gift-cycle-icon {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 46%;
    transform: translate(-50%, -50%);
}

.gift-cycle-icon--lamp {
    width: 34%;
    height: 42%;
    border-bottom: 5px solid var(--maroon, #561023);
}

.gift-cycle-icon--lamp::before {
    content: '';
    position: absolute;
    left: 14%;
    top: 0;
    width: 72%;
    height: 44%;
    border: 3px solid var(--maroon, #561023);
    border-radius: 50% 50% 9% 9%;
    background: #e45558;
}

.gift-cycle-icon--lamp::after {
    content: '';
    position: absolute;
    left: 47%;
    top: 43%;
    width: 6%;
    height: 53%;
    background: var(--maroon, #561023);
}

.gift-cycle-icon--plane {
    display: grid;
    place-items: center;
    width: 44%;
    aspect-ratio: 1;
    border: 2px solid var(--maroon, #561023);
    border-radius: 50%;
    background: #d5c800;
    font-size: clamp(28px, 10vw, 54px);
}

.gift-cycle-card--fund .gift-cycle-icon--plane {
    top: 35%;
    width: 38%;
}

.gift-cycle-icon--plate {
    width: 46%;
    aspect-ratio: 1;
    border: 3px double var(--maroon, #561023);
    border-radius: 50%;
    background: #e163c3;
    box-shadow: inset 0 0 0 13px #f4ede3, inset 0 0 0 15px var(--maroon, #561023);
}

.giving-flow.is-visible .gift-cycle-card {
    animation: giving-card-cycle 9s infinite both;
}

.giving-flow.is-visible .gift-cycle-card--fund {
    animation-delay: 3s;
}

.giving-flow.is-visible .gift-cycle-card--dinner {
    animation-delay: 6s;
}

@keyframes giving-card-cycle {
    0% {
        opacity: 0;
        transform: translate3d(18px, 8px, -40px) rotate(2deg);
        z-index: 1;
    }

    5%,
    29% {
        opacity: 1;
        transform: translate3d(0, 0, 0) rotate(-1deg);
        z-index: 4;
    }

    34%,
    100% {
        opacity: 0;
        transform: translate3d(-18px, -5px, -70px) rotate(-3deg);
        z-index: 1;
    }
}

/* 02 — shared link and recipient badges */
.share-demo {
    position: relative;
    padding: clamp(11px, 3.4vw, 24px);
    border: 1px solid var(--maroon, #561023);
    background: #bed9ed;
    box-shadow: -7px 8px 0 #e163c3;
}

.share-demo-link {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(7px, 2vw, 11px);
    min-height: clamp(62px, 18vw, 88px);
    padding: clamp(9px, 2.5vw, 14px);
    border: 1px solid var(--maroon, #561023);
    background: #f4ede3;
    font-family: 'DM Sans', sans-serif;
    animation: share-link-pulse 4.8s infinite both;
}

.share-demo-link strong {
    min-width: 0;
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(13px, 3.2vw, 17px);
    line-height: 1.12;
    overflow-wrap: break-word;
}

.share-demo-link-icon {
    display: grid;
    place-items: center;
    width: clamp(30px, 8vw, 42px);
    aspect-ratio: 1;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--maroon, #561023);
    color: #f4ede3;
}

.share-demo-link-icon svg {
    width: 52%;
    height: 52%;
}

.share-demo-people {
    display: flex;
    align-items: center;
    margin-top: 14px;
}

.share-demo-people>span {
    display: grid;
    place-items: center;
    width: clamp(26px, 8vw, 39px);
    aspect-ratio: 1;
    margin-left: -5px;
    border: 2px solid #bed9ed;
    border-radius: 50%;
    background: #e45558;
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(12px, 3vw, 14px);
    font-weight: 700;
    opacity: 0;
    transform: scale(0.4);
}

.share-demo-people>span:nth-child(2) {
    background: var(--maroon, #561023);
}

.share-demo-people>span:nth-child(3) {
    background: #084434;
}

.giving-flow.is-visible .share-demo-people>span {
    animation: share-person-pop 4.8s infinite both;
}

.giving-flow.is-visible .share-demo-people>span:nth-child(2) {
    animation-delay: 0.45s;
}

.giving-flow.is-visible .share-demo-people>span:nth-child(3) {
    animation-delay: 0.9s;
}

@keyframes share-person-pop {

    0%,
    12% {
        opacity: 0;
        transform: scale(0.4);
    }

    22%,
    82% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(0.75);
    }
}

@keyframes share-link-pulse {

    0%,
    15%,
    100% {
        box-shadow: inset 0 0 0 0 rgba(86, 16, 35, 0);
    }

    28%,
    52% {
        box-shadow: inset 0 0 0 3px rgba(86, 16, 35, 0.14);
    }
}

/* 03 — reservation state */
.reserve-demo-card {
    position: relative;
    display: grid;
    grid-template-columns: 42% 58%;
    min-height: clamp(148px, 42vw, 220px);
    overflow: hidden;
    border: 1px solid rgba(86, 16, 35, 0.35);
    background: #f4ede3;
    box-shadow: 7px 8px 0 #d5c800;
}

.reserve-demo-image {
    position: relative;
    min-height: 100%;
    background: #e45558;
}

.reserve-demo-image .gift-cycle-icon--lamp {
    width: 57%;
    height: 51%;
    top: 50%;
}

.reserve-demo-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12px;
}

.reserve-demo-info small {
    margin-bottom: 7px;
    font-family: 'DM Mono', monospace;
    font-size: clamp(12px, 2.6vw, 13px);
    letter-spacing: 0.12em;
}

.reserve-demo-info strong {
    font-family: 'Nanum Myeongjo', serif;
    font-size: clamp(15px, 4vw, 21px);
    line-height: 1.05;
}

.reserve-demo-info span {
    margin-top: 7px;
    font-family: 'DM Mono', monospace;
    font-size: clamp(12px, 2.8vw, 14px);
}

.reserve-demo-label {
    position: absolute;
    right: 9px;
    bottom: 10px;
    padding: 5px 8px;
    border-radius: 999px;
    background: var(--maroon, #561023);
    color: #f4ede3;
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    opacity: 0;
    transform: rotate(-7deg) scale(1.6);
}

.giving-flow.is-visible .reserve-demo-label {
    animation: reservation-stamp 5.4s infinite both;
}

@keyframes reservation-stamp {

    0%,
    24% {
        opacity: 0;
        transform: rotate(-7deg) scale(1.6);
    }

    30% {
        opacity: 1;
        transform: rotate(-7deg) scale(0.9);
    }

    36%,
    84% {
        opacity: 1;
        transform: rotate(-7deg) scale(1);
    }

    100% {
        opacity: 0;
        transform: rotate(-7deg) scale(0.94);
    }
}

/* 04 — pooled contribution progress */
.contribution-demo {
    position: relative;
    padding: clamp(15px, 4.8vw, 28px);
    border: 1px solid rgba(86, 16, 35, 0.4);
    background: #f4ede3;
    box-shadow: -7px 8px 0 #e45558;
}

.contribution-demo-top {
    display: block;
}

.contribution-demo-top div {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.contribution-demo-top small,
.contribution-goal {
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.1em;
}

.contribution-demo-top strong {
    margin-top: 4px;
    font-family: 'Nanum Myeongjo', serif;
    font-size: clamp(14px, 3.8vw, 20px);
    line-height: 1;
    overflow-wrap: break-word;
}

.contribution-track {
    height: 11px;
    margin-top: 24px;
    overflow: hidden;
    border: 1px solid var(--maroon, #561023);
    border-radius: 0px;
    background: rgba(86, 16, 35, 0.08);
}

.contribution-fill {
    display: block;
    width: 4%;
    height: 100%;
    border-radius: inherit;
    background: #e45558;
    transform-origin: left center;
}

.contribution-badges {
    position: relative;
    height: clamp(33px, 10vw, 49px);
    margin-top: -3px;
}

.contribution-badge {
    position: absolute;
    top: 0;
    display: grid;
    place-items: center;
    width: clamp(25px, 7.6vw, 38px);
    aspect-ratio: 1;
    border: 2px solid #f4ede3;
    border-radius: 50%;
    background: var(--maroon, #561023);
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    opacity: 0;
    transform: translate(-50%, -7px) scale(0.5);
}

.contribution-badge--one {
    left: 28%;
    background: #e163c3;
}

.contribution-badge--two {
    left: 56%;
    background: #084434;
}

.contribution-badge--three {
    left: 82%;
    background: var(--maroon, #561023);
}

.contribution-goal {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    margin-top: 4px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.contribution-goal span {
    white-space: nowrap;
}

.giving-payment-modes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
    width: min(100%, 560px);
    gap: 7px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.giving-payment-modes li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 0;
    min-height: 44px;
    padding: 6px 5px;
    border: 1px solid rgba(86, 16, 35, 0.55);
    background: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

.giving-payment-modes img {
    display: block;
    width: auto;
    max-width: 90%;
    max-height: 19px;
    object-fit: contain;
}

.giving-payment-modes svg {
    width: 18px;
    height: auto;
    flex: 0 0 auto;
}

.giving-payment-modes span {
    min-width: 0;
    white-space: nowrap;
}

.giving-step--contribute {
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 3vw, 28px);
    align-items: flex-start;
}

.giving-step--contribute .giving-step-copy {
    width: 100%;
    max-width: 540px;
    order: 1;
    grid-column: unset;
    grid-row: unset;
}

.giving-step--contribute .giving-step-visual {
    width: 100%;
    order: 2;
    grid-column: unset;
    grid-row: unset;
    align-self: auto;
    transform: none;
}

.giving-step--contribute .giving-payment-modes {
    order: 3;
}

.giving-flow.is-visible .contribution-fill {
    animation: contribution-fill 6s infinite both;
}

.giving-flow.is-visible .contribution-badge--one {
    animation: contribution-badge 6s 0.5s infinite both;
}

.giving-flow.is-visible .contribution-badge--two {
    animation: contribution-badge 6s 1.4s infinite both;
}

.giving-flow.is-visible .contribution-badge--three {
    animation: contribution-badge 6s 2.3s infinite both;
}

@keyframes contribution-fill {

    0%,
    8% {
        width: 4%;
    }

    25% {
        width: 28%;
    }

    45% {
        width: 56%;
    }

    65%,
    88% {
        width: 82%;
    }

    100% {
        width: 4%;
    }
}

@keyframes contribution-badge {

    0%,
    6% {
        opacity: 0;
        transform: translate(-50%, -7px) scale(0.5);
    }

    13%,
    72% {
        opacity: 1;
        transform: translate(-50%, -1px) scale(1);
    }

    88%,
    100% {
        opacity: 0;
        transform: translate(-50%, -1px) scale(0.8);
    }
}

/* 05 — activity overview and interactive note */
.giving-step--activity {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-bottom: clamp(20px, 5vw, 52px);
    border-bottom: 0;
}

.giving-step-copy--centered {
    max-width: 590px;
    margin: 0 auto;
    text-align: center;
}

.giving-step-visual--wide {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
}

.activity-demo {
    position: relative;
    padding: clamp(12px, 3.5vw, 28px);
    border: 1px solid rgba(86, 16, 35, 0.36);
    background: #ede6dc;
    box-shadow: 0 12px 28px rgba(24, 23, 20, 0.14);
}

.activity-demo-summary {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    margin-bottom: 11px;
    border: 1px solid rgba(86, 16, 35, 0.18);
}

.activity-demo-summary>div {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: clamp(10px, 3.3vw, 19px);
    background: #f4ede3;
}

.activity-demo-summary>div:first-child {
    background: var(--maroon, #561023);
    color: #ede6dc;
}

.activity-demo-summary small,
.activity-demo-summary span {
    font-family: 'DM Mono', monospace;
    font-size: clamp(12px, 2.5vw, 13px);
    letter-spacing: 0.1em;
}

.activity-demo-summary strong {
    margin: 5px 0 2px;
    overflow: hidden;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(22px, 7vw, 42px);
    font-weight: 400;
    line-height: 0.95;
    white-space: nowrap;
}

.activity-entry {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: clamp(7px, 2.5vw, 16px);
    width: 100%;
    min-height: clamp(62px, 18vw, 91px);
    margin: 0 0 9px;
    padding: clamp(9px, 2.7vw, 16px);
    border: 1px solid rgba(86, 16, 35, 0.14);
    background: #f4ede3;
    color: var(--maroon, #561023);
    text-align: left;
}

.activity-avatar {
    display: grid;
    place-items: center;
    width: clamp(34px, 10vw, 54px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: #e45558;
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(13px, 3.3vw, 17px);
    font-weight: 700;
}

.activity-avatar--green {
    background: #084434;
}

.activity-person {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.activity-person strong {
    overflow: hidden;
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(13px, 3vw, 16px);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.activity-person small {
    margin-top: 3px;
    overflow: hidden;
    color: rgba(86, 16, 35, 0.63);
    font-family: 'DM Mono', monospace;
    font-size: clamp(12px, 2.5vw, 13px);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.activity-amount {
    font-family: 'DM Mono', monospace;
    font-size: clamp(12px, 2.7vw, 14px);
    font-weight: 700;
    white-space: nowrap;
}

.activity-note-icon {
    font-size: clamp(13px, 4vw, 20px);
}

.activity-reserved-pill {
    grid-column: 3 / 5;
    padding: 5px 9px;
    border-radius: 0px;
    background: var(--maroon, #561023);
    color: #f4ede3;
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    font-weight: 700;
}
.activity-item {
    position: relative;
}

.activity-note {
    position: absolute;
    top: 50%;
}
/* .varun1{
   top: 30px;
}
.varun2{
   top: 30px;
} */

.activity-note {
    position: absolute;
    z-index: 3;

    left: clamp(20px, 5vw, 52px);
    right: clamp(20px, 5vw, 52px);
    margin: 0;
    padding: clamp(16px, 4.5vw, 28px);
    border-top: 6px solid #e45558;
    background: #fff;
    box-shadow: 0 13px 27px rgba(31, 23, 19, 0.17);
    /* hidden by default */
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.38s ease, transform 0.38s ease;
}

.activity-note.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.activity-note--naina {
    border-top-color: #084434;
}

.activity-note small {
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.16em;
    color: rgba(86, 16, 35, 0.62);
}

.activity-note p {
    margin: 11px 0 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(19px, 5.2vw, 29px);
    font-style: italic;
    line-height: 1.22;
}

/* Both cards always visible */
.activity-entry--contribution,
.activity-entry--reservation {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .activity-note {
        transition: none;
    }
}

@media (max-width: 900px) {
    .giving-flow {
        margin-top: 48px;
        padding-top: 36px;
    }

    .giving-step,
    .giving-step--share {
        display: grid;
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
        gap: 12px 14px;
        align-items: center;
        min-height: 0;
        padding: 28px 14px;
    }

    .giving-step--contribute {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
        min-height: 0;
        padding: 28px 14px;
    }

    .giving-step--share .giving-step-visual {
        order: 2;
        grid-column: 2;
        grid-row: 1;
    }

    .giving-step--share .giving-step-copy {
        order: 1;
        grid-column: 1;
        grid-row: 1;
    }

    .giving-step--contribute .giving-step-visual,
    .giving-step--contribute .giving-step-copy {
        width: 100%;
        order: unset;
        grid-column: unset;
        grid-row: unset;
    }

    .giving-step--add .giving-step-visual,
    .giving-step--reserve .giving-step-visual {
        grid-column: 1;
        grid-row: 1;
    }

    .giving-step--add .giving-step-copy,
    .giving-step--reserve .giving-step-copy {
        grid-column: 2;
        grid-row: 1;
    }

    .giving-step-visual {
        width: 100%;
        max-width: none;
        margin-inline: 0;
    }

    .giving-step-copy {
        width: 100%;
        max-width: none;
        margin-inline: 0;
        text-align: left;
    }

    .giving-step h3 {
        font-size: clamp(22px, 5.2vw, 30px);
        margin-bottom: 6px;
    }

    .giving-step-copy p {
        font-size: clamp(11px, 2.8vw, 14px);
        line-height: 1.45;
    }

    .giving-step-number {
        width: 26px;
        height: 26px;
        margin-bottom: 8px;
        font-size: 11px;
    }

    .gift-cycle {
        width: 100%;
        max-height: none;
        aspect-ratio: 0.82;
        overflow: hidden;
        margin-inline: 0;
    }

    .gift-cycle-card {
        inset: 5% 10% 8% 6%;
        padding: 10px;
        box-shadow: 5px 5px 0 var(--card-accent);
    }

    .gift-cycle-card::before {
        background: radial-gradient(circle at 90% 14%, var(--card-accent) 0 12%, transparent 12.5%);
    }

    .gift-cycle-kicker {
        top: 8px;
        left: 8px;
        max-width: 58%;
        font-size: 8px;
        line-height: 1.2;
        letter-spacing: 0.08em;
    }

    .gift-cycle-icon {
        top: 34%;
    }

    .gift-cycle-icon--plate {
        width: 32%;
        box-shadow: inset 0 0 0 8px #f4ede3, inset 0 0 0 10px var(--maroon, #561023);
    }

    .gift-cycle-icon--lamp {
        width: 28%;
        height: 30%;
    }

    .gift-cycle-card--fund .gift-cycle-icon--plane {
        top: 28%;
        width: 30%;
        font-size: clamp(16px, 7vw, 24px);
    }

    .gift-cycle-card strong {
        font-size: clamp(11px, 3vw, 15px);
        line-height: 1.1;
    }

    .gift-cycle-card small {
        margin-top: 3px;
        font-size: 14px;
    }

    .share-demo,
    .reserve-demo-card,
    .contribution-demo,
    .activity-demo {
        width: 100%;
        max-width: none;
        margin-inline: 0;
    }

    .share-demo {
        padding: 10px;
    }

    .share-demo-link {
        min-height: 52px;
        padding: 8px;
    }

    .share-demo-link strong {
        font-size: 11px;
    }

    .reserve-demo-card {
        min-height: 120px;
    }

    .contribution-demo {
        padding: 12px;
    }

    .giving-step--contribute {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .giving-step--contribute .giving-step-visual {
        width: 100%;
        align-self: auto;
        transform: none;
    }

    .giving-step--contribute .contribution-demo {
        width: 100%;
    }

    .giving-step--contribute .contribution-goal {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .giving-step--contribute .giving-payment-modes {
        width: 100%;
        max-width: none;
        margin: 6px 0 0;
    }

    .giving-step--activity {
        display: flex;
        flex-direction: column;
        padding-inline: 16px;
    }

    .activity-demo-summary {
        grid-template-columns: 1fr;
    }

    .activity-demo-summary strong {
        white-space: normal;
    }

    .activity-person strong,
    .activity-person small {
        white-space: normal;
    }
}

@media (min-width: 901px) {
    .giving-flow {
        margin-top: 88px;
        padding-top: 70px;
    }

    .giving-step {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
        gap: clamp(55px, 8vw, 110px);
        min-height: 410px;
        padding: 72px 5%;
    }

    .giving-step--share {
        grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
    }

    .giving-step--contribute {
        display: flex;
        flex-direction: column;
        gap: clamp(24px, 4vw, 40px);
        align-items: flex-start;
        grid-template-columns: unset;
    }

    .giving-step--contribute .giving-step-copy {
        max-width: 480px;
    }

    .giving-step--contribute .giving-step-visual {
        width: 100%;
        transform: none;
    }

    .giving-payment-modes {
        margin-top: 28px;
    }

    .giving-step-copy {
        max-width: 360px;
    }

    .giving-step-number {
        width: 38px;
        height: 38px;
        margin-bottom: 18px;
        font-size: 12px;
    }

    .giving-step h3 {
        margin-bottom: 14px;
        font-size: clamp(38px, 4vw, 54px);
    }

    .giving-step-copy p {
        font-size: 16px;
        line-height: 1.65;
    }

    .contribution-goal {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .gift-cycle {
        max-height: none;
        aspect-ratio: 1.12;
    }

    .giving-step--activity {
        gap: 40px;
        padding-top: 92px;
        padding-bottom: 40px;
    }

    .giving-step-copy--centered {
        max-width: 620px;
    }
}

@media (max-width: 520px) {

    .giving-step,
    .giving-step--share,
    .giving-step--contribute {
        gap: 10px 12px;
        padding: 22px 12px;
    }

    .giving-step h3 {
        font-size: 20px;
    }

    .giving-step-copy p {
        font-size: 11px;
    }

    .gift-cycle {
        aspect-ratio: 0.8;
    }

    .gift-cycle-kicker {
        font-size: 7px;
    }

    .gift-cycle-card strong {
        font-size: 16px;
    }

    .giving-payment-modes li {
        font-size: 10px;
        min-height: 38px;
        padding-inline: 4px;
    }
}

@media (max-width: 390px) {
    .giving-step h3 {
        font-size: 26px;
    }

    .giving-step-copy p {
        font-size: 14px;
    }

    .giving-step-number {
        width: 27px;
        height: 27px;
    }

    .activity-demo {
        padding: 9px;
    }

    .activity-entry {
        gap: 8px;
        padding: 10px;
    }

    .activity-person strong,
    .activity-person small {
        white-space: normal;
    }
}

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

    .giving-flow *,
    .giving-flow *::before,
    .giving-flow *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .gift-cycle-card--lamp {
        opacity: 1;
        transform: none;
    }

    .reserve-demo-label,
    .share-demo-people>span,
    .contribution-badge,
    .activity-entry {
        opacity: 1;
        transform: none;
    }

    .contribution-fill {
        width: 82%;
    }
}