/* Diya website: tokens, layout, sections, forms, responsive behaviour. */
:root {
    --ink: #344054;
    --muted: #667085;
    --teal: #113f3b;
    --green: #176653;
    --saffron: #df6e39;
    --cream: #f6f3eb;
    --line: #e5e8e6;
    --radius: 24px;
    --shadow: 0 18px 50px #113f3b0c;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-weight: 400;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
strong,
b {
    font-weight: 600;
}

h1,
h2,
h3 {
    color: var(--teal);
    line-height: 1.16;
    letter-spacing: -0.035em;
}

h1 {
    font-size: clamp(2.5rem, 4.8vw, 4.8rem);
}

h2 {
    font-size: clamp(2rem, 3.2vw, 3.3rem);
}

h3 {
    font-size: 1.3rem;
    letter-spacing: -0.02em;
}

p {
    color: var(--muted);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

a,
button {
    touch-action: manipulation;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid #eea77b;
    outline-offset: 5px;
}

.container {
    max-width: 1280px;
    padding-left: 28px;
    padding-right: 28px;
}

.btn {
    font-weight: 600;
    border-radius: 12px;
    padding: 13px 22px;
    transition:
        transform 0.2s,
        box-shadow 0.2s;
    font-size: 0.92rem;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-donate {
    background: var(--saffron);
    color: #fff;
    border: 1px solid var(--saffron);
    box-shadow: 0 8px 20px #df6e3920;
}

.btn-donate:hover,
.btn-donate:focus {
    background: #c95d2c;
    color: white;
    border-color: #c95d2c;
    box-shadow: 0 10px 24px #df6e3930;
}

.btn-outline-teal {
    border-color: var(--teal);
    color: var(--teal);
}

.btn-outline-teal:hover {
    background: var(--teal);
    color: #fff;
}

.eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--green);
    margin-bottom: 20px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    font-size: 0.93rem;
    color: var(--teal);
}

.text-link:hover {
    color: var(--saffron);
}

.text-link span {
    font-size: 1.2rem;
}

.pattern {
    background-image: radial-gradient(#c4a98032 1px, transparent 1px);
    background-size: 22px 22px;
}

.section {
    padding: 60px 0;
}

.cream,
.theme-cream {
    background: var(--cream);
}

.theme-teal {
    background: var(--teal);
    color: #fff;
}

.theme-teal h2,
.theme-teal h3,
.theme-teal .text-link {
    color: #fff;
}

.theme-teal p {
    color: #d2e0da;
}

.theme-teal .eyebrow {
    color: #f0b489;
}

.narrow {
    max-width: 900px;
}

.preserve-lines {
    white-space: pre-line;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 20px;
    background: var(--teal);
    color: white;
    padding: 10px 20px;
    z-index: 9999;
}

.skip-link:focus {
    top: 10px;
}

/* Navigation */
.site-header {
    position: sticky;
    top: 0;
    background: #ffffffed;
    backdrop-filter: blur(16px);
    z-index: 1030;
    border-bottom: 1px solid #ebedea;
    transition: transform 0.3s ease;
    box-shadow: 0 3px 20px #113f3b03;
}

.site-header.header-hidden {
    transform: translateY(-110%);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 90px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand-mark {
    font-size: 43px;
    color: var(--saffron);
    line-height: 1;
    transform: rotate(-20deg);
}

.brand strong {
    display: block;
    font-size: 1.26rem;
    color: var(--teal);
    line-height: 1.3;
    letter-spacing: -0.025em;
}

.brand small {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #75817b;
}

.brand img {
    max-height: 105px;
    object-fit: contain;
    width: auto;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-actions .btn {
    white-space: nowrap;
    font-size: 0.8rem;
    padding: 11px 17px;
}

.menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 23px;
}

.menu-list>li {
    position: relative;
}

.menu-list a {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ink);
    display: block;
    padding: 12px 0;
}

.menu-list a:hover,
.menu-list a[aria-current] {
    color: var(--saffron);
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    padding: 12px 18px;
    background: #fff;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    border-radius: 14px;
    z-index: 4;
}

.submenu .submenu {
    left: 100%;
    top: 0;
}

.menu-list li:hover>.submenu,
.menu-list li:focus-within>.submenu {
    display: block;
}

.menu-toggle {
    display: none;
    border: 0;
    background: var(--cream);
    padding: 8px 13px;
    border-radius: 10px;
    color: var(--teal);
    font-size: 1.25rem;
}

.mobile-nav {
    background: #fdfbf6;
}

.mobile-nav .menu-list {
    display: block;
}

.mobile-nav .menu-list a {
    font-size: 1.1rem;
    border-bottom: 1px solid #e4e6df;
}

.mobile-nav .submenu {
    position: static;
    display: block;
    margin-left: 18px;
    padding: 0;
    box-shadow: none;
    border: 0;
    background: transparent;
}

.mobile-nav .submenu a {
    font-size: 0.9rem;
}

.mobile-nav h2 {
    font-size: 1.3rem;
}

/* Homepage */
.hero {
    background-color: #fbf8f0;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.03fr 1fr;
    gap: 70px;
    align-items: center;
    padding-top: 75px;
    padding-bottom: 80px;
}

.hero-copy h1 {
    max-width: 640px;
}

.hero-copy>p:not(.eyebrow) {
    font-size: 1.05rem;
    max-width: 520px;
    line-height: 1.85;
    margin: 25px 0 30px;
}

.tiny-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--saffron);
    margin-right: 10px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.hero-actions .btn {
    display: flex;
    gap: 30px;
    align-items: center;
}

.hero-note {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 40px;
}

.hero-note p {
    font-size: 0.8rem;
    line-height: 1.65;
    margin: 0;
    color: var(--muted);
}

.note-symbol {
    font-size: 38px;
    color: var(--saffron);
}

.hero-art {
    position: relative;
    margin-right: 5px;
}

.art-frame {
    border-radius: 150px 150px 35px 35px;
    overflow: hidden;
    background: #b8d2bd;
    min-height: 440px;
    box-shadow: 0 25px 0 -12px #f0be8b;
}

.art-frame img {
    display: block;
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    bottom: 45px;
    left: -40px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 18px 24px;
    border-radius: 18px;
    box-shadow: 0 15px 45px #113f3b20;
    animation: float 6s ease-in-out infinite;
}

.floating-card>span {
    background: #f8e8dc;
    border-radius: 50%;
    color: #c65e2d;
    width: 42px;
    height: 42px;
    text-align: center;
    line-height: 42px;
    font-size: 24px;
}

.floating-card>div {
    font-size: 0.72rem;
    color: var(--muted);
}

.floating-card strong {
    display: block;
    color: var(--teal);
    font-size: 0.85rem;
    margin-top: 3px;
}

.art-label {
    position: absolute;
    top: 30px;
    right: -15px;
    writing-mode: vertical-rl;
    color: #fff;
    background: var(--teal);
    padding: 18px 8px;
    letter-spacing: 0.05em;
    font-size: 0.7rem;
    border-radius: 10px;
}

.hero-strip {
    background: var(--teal);
    color: #ebf2e8;
}

.hero-strip .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 19px;
    padding-bottom: 19px;
    font-size: 0.8rem;
    letter-spacing: 0.025em;
}

.hero-strip i {
    font-style: normal;
    color: #e9a16d;
    font-size: 21px;
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 100px;
}

.split-grid h2 {
    margin-bottom: 25px;
}

.split-grid p:not(.eyebrow) {
    line-height: 1.85;
    margin-bottom: 25px;
}

.split-image {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
}

.split-image img {
    display: block;
    width: 100%;
    aspect-ratio: auto;
    object-fit: cover;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 30px;
    background: #113f3be3;
    color: white;
    font-size: 0.8rem;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    margin-bottom: 45px;
}

.section-heading h2 {
    margin-bottom: 0;
    max-width: 620px;
}

.section-heading>p {
    max-width: 360px;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.focus-card {
    position: relative;
    border: 1px solid #dde4da;
    border-radius: 20px;
    padding: 28px 25px 40px;
    background: #fff;
    transition:
        transform 0.3s,
        box-shadow 0.3s;
}

.focus-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.focus-card p {
    font-size: 0.85rem;
    line-height: 1.75;
}

.focus-icon {
    width: 56px;
    height: 56px;
    background: #eef3e9;
    color: var(--green);
    display: grid;
    place-items: center;
    font-size: 25px;
    border-radius: 17px;
    margin-bottom: 24px;
}

.focus-card:nth-child(even) .focus-icon {
    background: #f9ece3;
    color: #b96533;
}

.card-arrow {
    position: absolute;
    right: 24px;
    bottom: 20px;
    color: var(--saffron);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.story-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e4e7e1;
    border-radius: 22px;
    transition:
        transform 0.35s,
        box-shadow 0.35s;
}

.story-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 40px #103e3a13;
}

.story-image {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1.42;
    background: #e7ece0;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.story-card:hover img {
    transform: scale(1.04);
}

.story-category {
    position: absolute;
    left: 18px;
    top: 18px;
    background: #ffffffec;
    color: var(--teal);
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 600;
}

.story-body {
    padding: 28px;
}

.story-meta {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #a8633d;
    margin-bottom: 12px;
}

.story-body h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.story-body>p:not(.story-meta) {
    font-size: 0.88rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.story-body .text-link {
    font-size: 0.8rem;
}

.theme-teal .story-body h3 {
    color: var(--teal);
}

.theme-teal .story-body p {
    color: var(--muted);
}

.theme-teal .story-body .text-link {
    color: var(--teal);
}

.section-bottom {
    text-align: center;
    margin-top: 45px;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 20px;
}

.partner-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid var(--line);

    border-radius: 16px;
    padding: 0;
    color: var(--teal);
    font-size: 0.9rem;
}

.partner-card img {
    width: 100%;
    object-fit: contain;
}

.partner-symbol {
    font-size: 28px;
    color: var(--saffron);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-tile {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    aspect-ratio: 1.2;
}

.gallery-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-tile:hover img {
    transform: scale(1.05);
}

.gallery-tile span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    color: #fff;
    background: linear-gradient(transparent, #113f3bc7);
    font-weight: 600;
    font-size: 0.9rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.stat-block strong {
    display: block;
    font-size: 3rem;
    color: var(--saffron);
}

.stat-block span {
    font-weight: 600;
}

.stat-block p {
    font-size: 0.85rem;
}

.cta-section {
    position: relative;
    overflow: hidden;
    text-align: center;
    background-image:
        radial-gradient(ellipse at 80% 20%, #408a6c66, transparent 50%),
        radial-gradient(#b4cf9f15 1px, transparent 1px);
    background-size:
        auto,
        28px 28px;
    background-attachment: fixed;
}

.cta-section h2 {
    max-width: 860px;
    margin: 0 auto 25px;
    font-size: clamp(1rem, 3vw, 3rem);
}

.cta-section p:not(.eyebrow) {
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-orbit {
    font-size: 280px;
    position: absolute;
    right: -30px;
    top: -70px;
    color: #7caa8815;
    animation: turn 70s linear infinite;
}

.newsletter-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 100px;
    align-items: center;
}

.newsletter h2 {
    font-size: 2.4rem;
}

.subscribe-row {
    display: flex;
    gap: 8px;
}

.newsletter .consent {
    font-size: 0.72rem;
}

.newsletter p {
    font-size: 0.9rem;
}

/* Inner pages and forms */
.page-heading {
    background-color: var(--cream);
    padding: 24px 0 28px;
}

.page-heading h1 {
    font-size: clamp(2rem, 3.4vw, 3.25rem);
    line-height: 1.15;
    max-width: 1050px;
    margin: 0;
}

.breadcrumbs {
    color: var(--muted);
    font-size: 0.78rem;
    margin-bottom: 10px;
}

.breadcrumbs ol {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumbs li {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.breadcrumbs li+li::before {
    content: "/";
    color: #98a2b3;
}

.breadcrumbs a {
    color: var(--green);
}

.breadcrumbs [aria-current="page"] {
    color: var(--ink);
}

.page-heading+.section {
    padding-top: 36px;
}

.article-image {
    border-radius: 22px;
    overflow: hidden;
    margin-bottom: 35px;
    height: 400px;
}

.article-image img {
    width: 100%;
    height: 100%;
}

.article-body {
    font-size: 1.05rem;
    line-height: 1.95;
}

.form-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: start;
}

.form-layout h2 {
    margin-bottom: 25px;
}

.public-form {
    padding: 36px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow);
}

.form-control,
.form-select {
    padding: 13px 15px;
    border-color: #d9dfd9;
    border-radius: 10px;
    color: var(--ink);
    font-size: 0.9rem;
    min-height: 49px;
}

.form-control:focus,
.form-select:focus {
    border-color: #528b76;
    box-shadow: 0 0 0 3px #17665315;
}

.form-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ink);
}

.consent {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 7px;
    font-size: 0.74rem;
    color: var(--muted);
    line-height: 1.6;
    margin-top: 14px;
}

.consent input {
    margin-top: 4px;
    accent-color: var(--green);
}

.consent a {
    color: var(--green);
    text-decoration: underline;
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
}

.contact-note {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    border-top: 1px solid var(--line);
    padding-top: 25px;
}

.contact-note>span {
    color: var(--saffron);
    font-size: 30px;
}

.contact-note p {
    font-size: 0.85rem;
}

.trust-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    color: var(--green);
    font-size: 0.9rem;
    margin-top: 30px;
}

.form-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.form-title h3 {
    margin-bottom: 0;
}

.form-title>span {
    background: #edf3e9;
    padding: 4px 10px;
    color: var(--green);
    font-size: 0.75rem;
    border-radius: 6px;
}

.secure-note {
    font-size: 0.65rem;
    text-align: center;
    margin: 14px 0 0;
}

.donation-message {
    color: #b42318;
    font-size: 0.8rem;
    margin-top: 12px;
}

.receipt-card {
    background: #fff;
    border: 1px solid var(--line);
    padding: 50px;
    border-radius: 26px;
}

.receipt-check {
    display: grid;
    place-items: center;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    background: #edf3e8;
    color: var(--green);
    font-size: 40px;
    margin-bottom: 25px;
}

.receipt-details {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 15px;
    font-size: 0.85rem;
    margin: 35px 0;
}

.receipt-details dt {
    font-weight: 600;
}

.receipt-details dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.receipt-card h1 {
    font-size: 2.8rem;
}

.accordion-item {
    border: 1px solid var(--line);
    border-radius: 12px !important;
    overflow: hidden;
    margin-bottom: 12px;
}

.accordion-button {
    font-weight: 600;
    color: var(--teal);
    font-size: 0.95rem;
    padding: 22px;
}

.accordion-button:not(.collapsed) {
    background: #ecf2e8;
    color: var(--green);
}

.accordion-body {
    font-size: 0.9rem;
    color: var(--muted);
}

.empty-public {
    padding: 30px;
    border: 1px dashed var(--line);
    border-radius: 14px;
    font-size: 0.9rem;
    color: var(--muted);
}

/* Footer and feedback */
.site-footer {
    background: #0c302d;
    color: #d7e2dd;
    padding: 70px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 0.7fr 1fr;
    gap: 100px;
    padding-bottom: 55px;
}

.site-footer .brand strong {
    color: #fff;
}

.site-footer .brand small {
    color: #b8c9bc;
}

.footer-brand>p {
    max-width: 350px;
    font-size: 0.85rem;
    line-height: 1.85;
    color: #a9bfb5;
    margin-top: 25px;
}

.site-footer h3 {
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    color: #f0c49c;
    margin: 12px 0 22px;
}

.site-footer .menu-list {
    display: block;
}

.site-footer .menu-list a {
    color: #b5c8bd;
    font-weight: 400;
    font-size: 0.8rem;
    padding: 5px 0;
}

.site-footer .submenu {
    position: static;
    display: block;
    box-shadow: none;
    background: transparent;
    border: 0;
    padding: 0 0 0 14px;
}

.footer-contact p,
.footer-contact a {
    font-size: 0.82rem;
    color: #b5c8bd;
}

.footer-contact .text-link {
    color: #f0b489;
    margin-top: 15px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    border: 1px solid #49706566;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 14px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #74918633;
    padding: 22px 0;
    font-size: 0.67rem;
    color: #97b1a3;
}

.back-top {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: var(--green);
    color: #fff;
    box-shadow: var(--shadow);
    z-index: 1010;
}

.app-toast {
    border: 1px solid #b9d5bf;
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow);
    min-width: 320px;
}

.app-toast .toast-body {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--ink);
    font-size: 0.85rem;
}

.toast-icon {
    color: var(--green);
    font-size: 22px;
}

.toast-error {
    border-color: #efb4a5;
}

.toast-body ul {
    padding-left: 18px;
    margin: 8px 0;
}

.toast-container {
    z-index: 2000;
}

.busy-overlay {
    position: fixed;
    inset: 0;
    background: #ffffffd9;
    backdrop-filter: blur(3px);
    z-index: 2100;
    display: grid;
    place-items: center;
    text-align: center;
}

.busy-overlay[hidden] {
    display: none;
}

.busy-overlay p {
    font-size: 0.85rem;
    margin-top: 16px;
}

.green-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    border: 3px solid #d9e8d8;
    border-top-color: #23814c;
    border-radius: 50%;
    animation: turn 0.7s linear infinite;
}

.modal-title {
    font-size: 1.25rem;
}

.campaign-modal {
    border: 0;
    border-radius: 24px;
    overflow: hidden;
}

.campaign-modal .modal-body {
    padding: 25px;
}

.campaign-modal p {
    white-space: pre-line;
}

.consent-panel {
    position: fixed;
    left: 25px;
    bottom: 25px;
    max-width: 390px;
    padding: 20px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    z-index: 1050;
}

.consent-panel p {
    font-size: 0.8rem;
}

.consent-panel .btn {
    font-size: 0.75rem;
    padding: 8px 15px;
}

.skeleton-media {
    position: relative;
}

.skeleton-media:not(.is-loaded)::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(100deg, #e7ebe3 20%, #f3f5ef 45%, #e7ebe3 65%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
    pointer-events: none;
}

.reveal {
    opacity: 1;
    transform: none;
}

.motion-enabled .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.motion-enabled .reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes shimmer {
    to {
        background-position: -200% 0;
    }
}

@keyframes turn {
    to {
        transform: rotate(360deg);
    }
}

@keyframes float {
    50% {
        transform: translateY(-8px);
    }
}

/* Responsive and accessibility */
@media (max-width: 1199px) {
    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-grid {
        gap: 40px;
    }

    .art-frame img {
        height: 470px;
    }

    .floating-card {
        left: -15px;
    }

    .split-grid,
    .form-layout,
    .newsletter-grid {
        gap: 50px;
    }

    .focus-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        gap: 50px;
    }
}

@media (max-width: 767px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .header-inner {
        min-height: 76px;
        gap: 10px;
    }

    .brand strong {
        font-size: 1.1rem;
    }

    .brand small {
        font-size: 0.55rem;
    }

    .brand-mark {
        font-size: 34px;
    }

    .header-actions {
        gap: 8px;
    }

    .header-actions .btn {
        font-size: 0.68rem;
        padding: 9px 12px;
    }

    .section {
        padding: 40px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding-top: 48px;
        padding-bottom: 50px;
        gap: 38px;
    }

    .hero-copy h1 {
        font-size: 2.95rem;
    }

    .hero-copy>p:not(.eyebrow) {
        font-size: 0.95rem;
    }

    .hero-note {
        margin-top: 25px;
    }

    .hero-art {
        max-width: 470px;
        margin: 0 auto;
        width: 100%;
        padding: 0 10px;
    }

    .art-frame {
        min-height: 330px;
        border-radius: 100px 100px 25px 25px;
    }

    .art-frame img {
        height: 400px;
    }

    .floating-card {
        left: 0;
        bottom: 25px;
        padding: 14px 18px;
    }

    .art-label {
        right: 0;
    }

    .hero-strip .container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 18px;
        font-size: 0.7rem;
    }

    .hero-strip i {
        display: none;
    }

    .split-grid,
    .form-layout,
    .newsletter-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .split-grid h2,
    .section-heading h2 {
        font-size: 2.3rem;
    }

    .section-heading {
        display: block;
        margin-bottom: 30px;
    }

    .section-heading>p {
        margin-top: 20px;
        max-width: none;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .focus-grid {
        gap: 12px;
    }

    .focus-card {
        padding: 22px 17px 35px;
    }

    .focus-card h3 {
        font-size: 1.12rem;
    }

    .focus-card p {
        font-size: 0.76rem;
    }

    .focus-icon {
        width: 45px;
        height: 45px;
    }

    .partner-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 12px;
    }

    .partner-card {
        /* padding: 18px 12px; */
        font-size: 0.75rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-block strong {
        font-size: 2.4rem;
    }

    .newsletter-grid {
        gap: 25px;
    }

    .subscribe-row {
        flex-direction: column;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-brand {
        grid-column: 1/-1;
    }

    .footer-bottom {
        gap: 20px;
        flex-direction: column;
    }

    .public-form {
        padding: 25px;
    }

    .receipt-card {
        padding: 30px 22px;
    }

    .receipt-card h1 {
        font-size: 2.2rem;
    }

    .receipt-details {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .receipt-details dd {
        margin-bottom: 12px;
    }

    .page-heading {
        padding: 20px 0 22px;
    }

    .page-heading+.section {
        padding-top: 24px;
    }

    .cta-section {
        background-attachment: scroll;
    }

    .consent-panel {
        left: 15px;
        right: 15px;
        bottom: 15px;
        max-width: none;
    }

    .app-toast {
        min-width: 0;
        width: calc(100vw - 30px);
    }

    .hero-actions {
        gap: 20px;
    }

    .hero-actions .btn {
        font-size: 0.85rem;
    }

    .hero-actions .text-link {
        font-size: 0.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .motion-enabled .reveal {
        opacity: 1;
        transform: none;
    }

    .parallax {
        background-attachment: scroll;
    }
}

@media print {

    .site-header,
    .site-footer,
    .back-top,
    .btn,
    .text-link,
    .toast-container,
    .consent-panel {
        display: none !important;
    }

    .receipt-card {
        border: 0;
        padding: 0;
    }

    .section {
        padding: 0;
    }

    .cream {
        background: white;
    }

    body {
        font-size: 12pt;
    }
}

/* Free-entry contribution field */
.donation-amount-help {
    font-size: 0.75rem;
    color: var(--muted);
    margin: -5px 0 18px;
}