:root {
    --ink: #292421;
    --muted: #625e58;
    --maroon: #8b2e2c;
    --maroon-dark: #682321;
    --green: #38533b;
    --gold: #8a5c17;
    --cream: #faf7f0;
    --line: #e9e0d2;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.7;
    background: #fff;
}

section,
footer {
    scroll-margin-top: 94px;
}

img {
    max-width: 100%;
}

.site-icon {
    width: 1em;
    height: 1em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: -0.12em;
}

.inline-icon {
    display: inline-block;
    margin-right: 0.4em;
    font-size: 1.05em;
}

.bank-details h3 .inline-icon {
    color: var(--maroon);
}

h1,
h2,
h3 {
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.18;
    color: #292421;
    text-transform: capitalize;
}

h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin: 0 0 1.2rem;
}

p {
    color: var(--muted);
    margin-bottom: 1rem;
}

a {
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 1100;
    background: #fff;
    padding: 0.5rem 1rem;
}

.skip-link:focus {
    top: 1rem;
}

.top-line {
    background: var(--green);
    color: #fff;
    font-size: 0.77rem;
    letter-spacing: 0.03em;
    padding: 0.32rem 0;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 2px 12px rgba(37, 30, 24, 0.04);
}

.navbar {
    min-height: 84px;
}

.navbar-brand {
    margin-right: 1.5rem;
    white-space: normal;
}

.navbar-brand img {
    object-fit: contain;
}

.brand-name {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.12rem;
    line-height: 1.14;
    color: var(--ink);
}

.brand-name strong {
    display: block;
    color: var(--maroon);
    font-weight: 700;
}

.brand-name small {
    display: block;
    margin-top: 0.28rem;
    font:
        600 0.63rem Arial,
        Helvetica,
        sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--muted);
}

.navbar .nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink);
    padding: 0.7rem 0.8rem !important;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: var(--maroon);
}

.navbar .nav-link.active:not(.nav-donate) {
    color: var(--maroon);
}

.navbar .nav-donate {
    margin-left: 0.45rem;
    padding: 0.55rem 1.2rem !important;
    background: var(--maroon);
    color: #fff;
    border-radius: 2px;
}

.navbar .nav-donate:hover,
.navbar .nav-donate:focus {
    background: var(--maroon-dark);
    color: #fff;
}

.navbar .nav-donate.active {
    background: var(--maroon-dark);
    color: #fff;
}

.language-bar {
    position: fixed;
    right: calc(1rem + env(safe-area-inset-right, 0px));
    bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
    z-index: 1030;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.language-bar.is-hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(1rem);
    pointer-events: none;
}

.language-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.1rem;
    padding: 0.2rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    white-space: nowrap;
    box-shadow: 0 4px 18px rgba(37, 30, 24, 0.18);
}

.language-option {
    min-width: 2.6rem;
    padding: 0.25rem 0.45rem;
    border: 0;
    border-radius: 3px;
    background: transparent;
    color: var(--ink);
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.3;
}

.language-option[aria-pressed="true"] {
    background: var(--maroon);
    color: #fff;
}

.language-option:focus-visible {
    outline: 2px solid var(--maroon);
    outline-offset: 2px;
}

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

.navbar-toggler {
    border: 0;
    width: 44px;
    height: 44px;
    padding: 0;
    flex-shrink: 0;
    font-size: 1.5rem;
    line-height: 1;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler:focus-visible {
    outline: 2px solid var(--maroon);
    outline-offset: 2px;
}

.navbar-toggler .nav-icon-close,
.navbar-toggler[aria-expanded="true"] .nav-icon-open {
    display: none;
}

.navbar-toggler[aria-expanded="true"] .nav-icon-close {
    display: inline-block;
}

.eyebrow {
    color: var(--maroon);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-space {
    padding: clamp(4rem, 7vw, 7rem) 0;
}

.hero {
    background: #29251e;
    overflow: hidden;
}

.hero .container {
    max-width: 1320px;
}

.hero-slide {
    position: relative;
    min-height: 520px;
    isolation: isolate;
    background: #29251e;
}

.hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(90deg, rgba(20, 25, 18, .88) 0%, rgba(20, 25, 18, .7) 32%, rgba(20, 25, 18, .18) 70%, rgba(20, 25, 18, .08) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    min-height: 520px;
}

.hero-copy {
    max-width: 600px;
    padding: 4rem 3.5rem;
}

.hero-title {
    font-size: clamp(2.2rem, 3.5vw, 3.7rem);
    max-width: 650px;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .3);
}

.hero .button-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, .9);
    background: rgba(20, 25, 18, .22);
}

.hero .button-outline:hover,
.hero .button-outline:focus {
    color: var(--ink);
    background: #fff;
}

#heroSlider {
    position: relative;
}

.hero-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 50%;
    background: rgba(20, 25, 18, .35);
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.hero-arrow-prev {
    left: 0.5rem;
}

.hero-arrow-next {
    right: 0.5rem;
}

.hero-arrow:hover,
.hero-arrow:focus-visible {
    background: rgba(20, 25, 18, .75);
    border-color: #fff;
    color: #fff;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.76rem 1.35rem;
    border: 1px solid var(--maroon);
    border-radius: 2px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.89rem;
    line-height: 1.4;
}

.button-primary {
    background: var(--maroon);
    color: #fff;
}

.button-primary:hover,
.button-primary:focus {
    background: var(--maroon-dark);
    color: #fff;
}

.button-outline {
    color: var(--maroon);
    background: transparent;
}

.button-outline:hover,
.button-outline:focus {
    background: #f2e5dc;
    color: var(--maroon-dark);
}

.button-whatsapp {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

.button-whatsapp:hover,
.button-whatsapp:focus {
    background: #29412c;
    border-color: #29412c;
    color: #fff;
}

.intro-image-frame {
    padding: 12px;
    border: 1px solid var(--line);
    background: #fff;
}

.intro-image-frame img {
    display: block;
    width: 100%;
    height: auto;
}

.intro-section p:not(.eyebrow),
.founder-section p:not(.eyebrow),
.donate-section p:not(.eyebrow) {
    max-width: 650px;
}

.principle {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    color: var(--green);
    border-left: 3px solid var(--gold);
    padding-left: 1.1rem;
    margin-top: 1.6rem;
}

.work-section {
    background: var(--cream);
}

.section-heading {
    margin-bottom: 1.3rem;
}

.section-heading>p {
    max-width: 360px;
    margin-bottom: 0;
}

.work-item {
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    padding: 1.7rem 1.4rem;
}

.work-item span {
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.work-item h3 {
    font-size: 1.28rem;
    margin: 1.1rem 0 0.7rem;
}

.work-item p {
    font-size: 0.91rem;
    line-height: 1.65;
    margin: 0;
}

.founder-image {
    width: 100%;
    height: auto;
}

.video-section {
    background: var(--cream);
}

.video-frame {
    width: 100%;
    max-width: 960px;
    aspect-ratio: 16 / 9;
    background: #29251e;
    margin-inline: auto;
}

.video-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.gallery-section {
    border-top: 1px solid var(--line);
}

.gallery-section figure {
    margin: 0;
}

.gallery-slide-media {
    display: flex;
    align-items: center;
    justify-content: center;
    height: clamp(240px, 40vw, 430px);
    background: var(--cream);
}

.gallery-section .gallery-slide-media img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.home-gallery a {
    display: block;
    text-decoration: none;
}

.home-gallery a:focus-visible {
    outline: 3px solid var(--maroon);
    outline-offset: 3px;
}

.home-gallery .carousel-control-prev,
.home-gallery .carousel-control-next {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--maroon);
    opacity: 1;
    font-size: 2rem;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(37, 30, 24, 0.12);
}

.home-gallery .carousel-control-prev {
    left: 0.75rem;
}

.home-gallery .carousel-control-next {
    right: 0.75rem;
}

.home-gallery .carousel-control-prev:hover,
.home-gallery .carousel-control-next:hover,
.home-gallery .carousel-control-prev:focus,
.home-gallery .carousel-control-next:focus {
    background: var(--maroon);
    color: #fff;
}

.gallery-section figcaption {
    padding: 0.8rem 0;
    color: var(--muted);
    font-size: 0.88rem;
    text-align: center;
}

.donate-section {
    background: #f2ede4;
}

.bank-details {
    background: #fff;
    border: 1px solid #ded3c4;
    padding: 2rem 2.2rem;
}

.bank-details h3 {
    font-size: 1.4rem;
    margin: 0 0 1rem;
}

.bank-details dl {
    margin: 0;
}

.bank-details dl div {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
}

.bank-details dl div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.bank-details dt {
    font-size: 0.82rem;
    color: var(--muted);
    font-weight: 600;
}

.bank-details dd {
    margin: 0;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.donation-qr {
    background: #fff;
    border: 1px solid #ded3c4;
    padding: 2rem;
    text-align: center;
}

.donation-qr img {
    display: block;
    width: min(100%, 280px);
    height: auto;
    margin: 0 auto;
}

.donation-qr h3 {
    font-size: 1.4rem;
    margin: 0 0 1rem;
}

.site-footer {
    background: #2e352f;
    color: #fff;
    padding: 4.5rem 0 1.5rem;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(2rem, 4vw, 4rem);
}

.footer-column + .footer-column {
    border-left: 1px solid #647165;
    padding-left: clamp(2rem, 4vw, 4rem);
}

.site-footer h2,
.site-footer h3 {
    color: #fff;
}

.site-footer h2 {
    font-size: 2rem;
}

.site-footer h3 {
    font-size: 1.25rem;
}

.site-footer .eyebrow {
    color: #e2b566;
}

.site-footer address {
    color: #e3e5df;
    font-style: normal;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
    color: #e2b566;
}

.footer-link {
    display: inline-block;
    border-bottom: 1px solid #8c9b8b;
    padding-bottom: 0.2rem;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem 1rem;
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.footer-nav li {
    margin: 0;
}

.footer-nav a {
    text-transform: capitalize;
}

.footer-bottom {
    border-top: 1px solid #647165;
    margin-top: 3.5rem;
    padding-top: 1.3rem;
    color: #d2d7cf;
    font-size: 0.8rem;
}

.footer-bottom a {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.text-link {
    display: inline-block;
    color: var(--maroon);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 0.15rem;
}

.text-link:hover,
.text-link:focus {
    color: var(--maroon-dark);
}

.page-banner {
    background: var(--cream);
    padding: clamp(1.35rem, 2.8vw, 2.2rem) 0;
    border-bottom: 1px solid var(--line);
}

.page-banner-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
}

.page-banner h1 {
    font-size: clamp(1.7rem, 2.5vw, 2.3rem);
    max-width: 850px;
    margin: 0;
}

.page-banner .breadcrumb {
    font-size: 0.85rem;
}

.page-banner .breadcrumb-item+.breadcrumb-item::before {
    content: ">";
    color: var(--muted);
}

.page-banner .breadcrumb a {
    color: var(--maroon);
    text-decoration: none;
}

.page-banner .breadcrumb a:hover,
.page-banner .breadcrumb a:focus {
    text-decoration: underline;
}

.page-banner .breadcrumb-item.active {
    color: var(--muted);
}

.page-banner+.section-space {
    padding-top: clamp(2.5rem, 4vw, 4rem);
}

.page-photo {
    display: block;
    width: 100%;
    height: auto;
}

.soft-section {
    background: var(--cream);
}

.closing-band {
    background: var(--green);
    padding: 3.5rem 0;
    text-align: center;
}

.closing-band p {
    color: #fff;
    font:
        1.7rem Georgia,
        "Times New Roman",
        serif;
    margin-bottom: 1.4rem;
}

.button-light {
    background: #fff;
    border-color: #fff;
    color: var(--maroon);
}

.button-light:hover,
.button-light:focus {
    background: var(--cream);
    color: var(--maroon-dark);
}

.narrow-intro {
    max-width: 750px;
}

.cause-list {
    margin-top: 2rem;
    border-top: 1px solid var(--line);
}

.cause-row {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 1rem;
    padding: 1.8rem 0;
    border-bottom: 1px solid var(--line);
}

.cause-number {
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 0.1em;
}

.cause-row h3 {
    font-size: 1.45rem;
    margin: 0 0 0.6rem;
}

.cause-row p {
    max-width: 850px;
    margin: 0;
}

.image-callout {
    background: var(--cream);
    padding: 3rem 0;
}

.image-callout img {
    display: block;
    width: 100%;
    height: auto;
}

.photo-grid figure {
    margin: 0;
    border: 1px solid var(--line);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.photo-grid .gallery-link {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--cream);
}

.photo-grid .gallery-link:focus-visible {
    outline: 3px solid var(--maroon);
    outline-offset: 3px;
}

.photo-grid img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: var(--cream);
}

.photo-grid figcaption {
    padding: 0.8rem 1rem;
    color: var(--muted);
    font-size: 0.9rem;
    flex: 1;
}

.gallery-note {
    margin: 1.5rem 0 0;
    font-size: 0.85rem;
}

.contact-address {
    font-style: normal;
    line-height: 1.9;
    color: var(--muted);
    margin: 0 0 1.5rem;
}

.contact-address strong {
    color: var(--ink);
}

.contact-methods {
    max-width: 420px;
    margin-bottom: 1.5rem;
}

.contact-methods .eyebrow {
    margin-bottom: 0.5rem;
}

.contact-method {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.3rem 1rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--line);
}

.contact-method a {
    color: var(--green);
    font-weight: 700;
    text-decoration: none;
}

.contact-method a:hover,
.contact-method a:focus {
    text-decoration: underline;
}

.footer-contacts {
    display: grid;
    grid-template-columns: max-content max-content;
    gap: 0.35rem 1.2rem;
    margin-top: 0.8rem;
}

.footer-contacts a {
    border-bottom: 1px solid #8c9b8b;
}

@media (max-width: 991.98px) {
    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-links {
        grid-column: 1 / -1;
    }

    .footer-column + .footer-column {
        border-left: 0;
        padding-left: 0;
    }

    .footer-links {
        border-top: 1px solid #647165;
        padding-top: 1.5rem;
    }

    .footer-nav {
        grid-template-columns: repeat(3, max-content);
        gap: 0.5rem 2rem;
    }
}

@media (max-width: 575.98px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-links {
        grid-column: auto;
    }

    .footer-column + .footer-column {
        border-top: 1px solid #647165;
        padding-top: 1.5rem;
    }

    .footer-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem 1rem;
    }
}

.contact-panel {
    background: var(--cream);
    border: 1px solid var(--line);
    padding: 2rem;
}

.contact-panel h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-panel .text-link {
    margin-top: 0.45rem;
}

@media (max-width: 1199.98px) {
    .navbar-brand {
        max-width: calc(100% - 52px);
        min-width: 0;
        margin-right: 0;
    }

    .navbar-brand img {
        flex-shrink: 0;
    }

    .brand-name {
        min-width: 0;
    }

    .navbar-toggler {
        margin-left: auto;
    }

    .navbar .nav-donate {
        display: inline-block;
        margin: 0.4rem 0 1rem;
    }

    .navbar-collapse {
        padding: 0.7rem 1rem 1rem;
    }
}

@media (max-width: 991.98px) {
    .hero-copy {
        padding: 3rem 3.5rem;
    }

    .hero .container {
        max-width: 960px;
    }
}

@media (max-width: 767.98px) {
    .top-line span:last-child {
        display: none;
    }

    .hero-slide,
    .hero-content {
        min-height: 620px;
        min-height: min(760px, 84svh);
    }

    .hero-content {
        align-items: flex-end;
    }

    .hero-slide::after {
        background: linear-gradient(180deg, rgba(20, 25, 18, .08) 0%, rgba(20, 25, 18, .16) 32%, rgba(20, 25, 18, .72) 62%, rgba(20, 25, 18, .94) 100%);
    }

    .hero-copy {
        padding: 2rem 2rem 3rem;
    }

    .hero-arrow {
        top: 38%;
    }

    .section-space {
        padding: 4rem 0;
    }

    .intro-image-frame img {
        height: auto;
    }

    .section-heading>p {
        margin-top: 0.3rem;
    }

    .bank-details,
    .donation-qr {
        padding: 1.4rem;
    }

    .site-footer {
        padding-top: 3.7rem;
    }

    .home-gallery .carousel-control-prev,
    .home-gallery .carousel-control-next {
        width: 38px;
        height: 38px;
    }

    .cause-row {
        grid-template-columns: 45px 1fr;
        gap: 0.7rem;
    }

    .contact-panel {
        padding: 1.4rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        min-height: 75px;
    }

    .navbar-brand img {
        width: 54px;
        height: 52px;
    }

    .brand-name {
        font-size: 0.96rem;
    }

    .brand-name small {
        font-size: 0.56rem;
    }

    .hero-title {
        font-size: 2.3rem;
    }

    .hero-copy {
        padding: 1.5rem 1.5rem 2.25rem;
    }

    .hero-copy .d-flex {
        gap: .65rem !important;
    }

    .button {
        width: 100%;
    }

    .bank-details dl div {
        grid-template-columns: 1fr;
        gap: 0.1rem;
    }

    .bank-details dd {
        font-size: 0.92rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    a {
        transition: none;
    }
}
