/* ===== RESET ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --brand: rgb(255, 83, 20);
    --dark-1: rgb(26, 26, 26);
    --dark-2: rgb(66, 66, 66);
    --yellow: rgba(253, 240, 197, 1);
    --beige: rgb(250, 248, 244);
    --gold: #af8720;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

/* ===== TYPOGRAPHY SCALE ===== */
.t-heading-lg {
    font-family: "Nunito", sans-serif;
    font-size: 40px;
    font-weight: 900;
    line-height: 44px;
    color: var(--dark-1);
}
.t-heading-md {
    font-family: "Nunito", sans-serif;
    font-size: 32px;
    font-weight: 800;
    line-height: 48px;
    letter-spacing: -0.72px;
    color: var(--dark-1);
}
.t-heading-sm {
    font-family: "Nunito", sans-serif;
    font-size: 28px;
    font-weight: 800;
    line-height: 32px;
    color: var(--dark-1);
}
.t-body-lg {
    font-size: 19px;
    font-weight: 500;
    line-height: 32px;
    color: var(--dark-2);
}
.t-body {
    font-size: 18px;
    font-weight: 500;
    line-height: 30px;
    letter-spacing: 0.05px;
    color: var(--dark-2);
}
.t-body-sm {
    font-size: 17px;
    font-weight: 500;
    line-height: 28px;
    letter-spacing: 0.1px;
    color: var(--dark-2);
}
.t-title {
    font-family: "Nunito", sans-serif;
    font-size: 18px;
    font-weight: 800;
    line-height: normal;
    color: var(--dark-1);
}

body {
    font-family: "Manrope", "Inter", sans-serif;
    color: var(--dark-1);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
/* Balance only headings (short display text) — NOT body text. On paragraphs
   text-wrap:balance forces all lines to equal length, so a short paragraph
   breaks in the middle with room to spare. Body text should fill each line. */
h2,
h3,
h4,
h5,
h6 {
    text-wrap: balance;
}
p,
li,
blockquote {
    text-wrap: pretty;
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 1),
        rgba(255, 255, 255, 0.9)
    );
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 22px 0;
}

.nav-inner {
    width: 100%;
    max-width: 1560px;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.nav-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    z-index: 2;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

/* Center links — absolutely positioned to true center of nav */
.nav-links-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links-center a {
    text-decoration: none;
    color: #181818;
    font-family: "Manrope", sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 24px;
    transition: color 0.2s;
    white-space: nowrap;
}

@media (hover: hover) {
    .nav-links-center a:hover {
        color: var(--brand);
    }
}

.nav-links-center a.active {
    color: var(--brand);
    font-weight: 700;
}

/* Right section: socials + language + donate button */
.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    z-index: 2;
}

.nav-socials {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-right: 8px;
}

.nav-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #181818;
    opacity: 0.6;
    transition:
        color 0.2s,
        opacity 0.2s;
}

.nav-social-icon svg {
    width: 20px;
    height: 20px;
}

.nav-social-icon:hover {
    color: var(--brand);
    opacity: 1;
}

/* Language selector */
.nav-lang {
    position: relative;
}

.nav-lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 44px;
    padding: 0 12px;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    border-radius: 100px;
    background: transparent;
    cursor: pointer;
    font-family: "Manrope", sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #181818;
    transition: border-color 0.2s;
}

.nav-lang-btn:hover {
    border-color: rgba(0, 0, 0, 0.24);
}

.nav-lang-btn.open {
    border-color: rgba(0, 0, 0, 0.3);
}

.nav-lang-arrow {
    width: 14px;
    height: 14px;
    transition: transform 0.2s;
}

.nav-lang-btn.open .nav-lang-arrow {
    transform: rotate(180deg);
}

.nav-lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    padding: 6px;
    display: none;
    flex-direction: column;
    z-index: 10;
}

.nav-lang-dropdown.open {
    display: flex;
}

.nav-lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #424242;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.15s;
}

.nav-lang-option:hover {
    background: rgba(0, 0, 0, 0.04);
}

.nav-lang-option.active {
    font-weight: 700;
    color: #181818;
}

/* Rounded flag chip for the language selector */
.nav-lang-flag {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: inline-block;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.nav-lang-flag svg {
    width: 100%;
    height: 100%;
    display: block;
}

.nav-dropdown-lang-opt {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Donate button */
.nav-btn {
    background: #ff5314;
    color: white !important;
    border: none;
    height: 44px;
    padding: 0 20px;
    border-radius: 100px;
    font-family: "Manrope", sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.nav-btn:hover {
    opacity: 0.9;
}

.nav-btn.active {
    background: var(--dark-1);
}

/* Hidden on desktop (nav-btn-desktop already shows full button) */
.nav-btn-mobile {
    display: none;
}

/* ===== PAGE HERO ===== */
.page-hero {
    background: radial-gradient(
        100% 100% at 50.03% 100%,
        #faf8f4 0%,
        #fff 100%
    );
    min-height: 160px;
    padding: 184px 40px 80px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-hero-inner {
    max-width: 1560px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-hero h1,
.page-hero h2 {
    margin-bottom: 8px;
}

.page-hero p {
    /* t-body-lg */
    font-size: 19px;
    font-weight: 500;
    color: var(--dark-2);
    max-width: 560px;
    margin: 0 auto;
    line-height: 32px;
}

.page-hero .hero-note {
    /* t-body-sm */
    font-size: 15px;
    font-weight: 500;
    color: var(--dark-2);
    opacity: 0.8;
    max-width: 560px;
    margin: 16px auto 0;
}

/* ===== BREADCRUMBS ===== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-2);
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--dark-2);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--brand);
}

.breadcrumb .breadcrumb-sep {
    color: rgba(0, 0, 0, 0.25);
    font-size: 12px;
}

.breadcrumb .breadcrumb-current {
    color: var(--dark-1);
    font-weight: 600;
}

.page-hero .hero-note a {
    color: var(--brand);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--brand);
    color: white;
    border: none;
    padding: 18px 32px;
    border-radius: 100px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition:
        opacity 0.2s,
        transform 0.2s;
    text-decoration: none;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: var(--dark-1);
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    padding: 18px 32px;
    border-radius: 100px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition:
        border-color 0.2s,
        transform 0.2s;
    text-decoration: none;
}

.btn-secondary:hover {
    border-color: rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

/* ===== FOOTER ===== */
.footer {
    width: 100%;
    background: var(--white);
    color: var(--dark-1);
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-inner {
    width: 100%;
    max-width: 1560px;
    padding: 64px 40px 32px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 48px;
}

.footer-brand {
    flex: 1 1 300px;
    max-width: 460px;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-logo img {
    height: 36px;
    width: auto;
}

.footer-tagline {
    /* ~t-body-sm */
    font-size: 15px;
    font-weight: 500;
    color: var(--dark-2);
    line-height: 1.7;
}

/* Registered-foundation trust line (KvK). Language-neutral, so no data-i18n. */
.footer-legal {
    margin-top: 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-2);
}

.footer-cols {
    display: flex;
    gap: 96px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em /* 0.7px */;
    margin-bottom: 20px;
    color: var(--dark-2);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    color: var(--dark-2);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--dark-1);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy {
    font-size: 13px;
    color: var(--dark-2);
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.footer-socials a:hover {
    background: rgba(0, 0, 0, 0.1);
}

.footer-socials svg {
    width: 18px;
    height: 18px;
    fill: var(--dark-1);
}

/* ===== TEAM SECTION (shared component) ===== */
.team {
    width: 100%;
    background: var(--white);
    display: flex;
    justify-content: center;
    padding: 72px 0;
}

.team-inner {
    width: 100%;
    max-width: 1560px;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.team-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 600px;
}

.team-header h2 {
    font-family: "Nunito", sans-serif;
    font-size: 34px;
    font-weight: 800;
    line-height: 48px;
    color: #1a1a1a;
    letter-spacing: -0.72px;
}

.team-header p {
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
    color: #545454;
}

.team-carousel-wrap {
    position: relative;
}

.team-grid {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 0 16px;
}

.team-grid::-webkit-scrollbar {
    display: none;
}

.team-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3/4;
    flex: 0 0 calc(25% - 24px);
    min-width: 220px;
    scroll-snap-align: start;
}

.team-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.team-card:hover img {
    transform: scale(1.05);
}

.team-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 20px 20px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.7) 0%,
        transparent 100%
    );
}

.team-name {
    font-family: "Nunito", sans-serif;
    font-size: 18px;
    font-weight: 800;
    line-height: 28px;
    color: white;
}

.team-role {
    font-size: 15px;
    font-weight: 500;
    line-height: 24px;
    color: white;
}

.team-years {
    font-size: 15px;
    font-weight: 500;
    line-height: 24px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.team-years svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex-shrink: 0;
}

.team-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        opacity 0.2s,
        box-shadow 0.2s;
}

.team-arrow:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}
.team-arrow.hidden {
    opacity: 0;
    pointer-events: none;
}
.team-arrow svg {
    width: 20px;
    height: 20px;
    fill: var(--dark-1);
}
.team-arrow.prev {
    left: -22px;
}
.team-arrow.next {
    right: -22px;
}

.team-divider {
    width: 1480px;
    max-width: calc(100% - 80px);
    height: 0.5px;
    background: rgba(0, 0, 0, 0.16);
    margin: 0 auto;
}

/* Team responsive rules now in shared responsive section below */

/* ===== FAQ SECTION ===== */
.faq {
    width: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.faq-inner {
    width: 100%;
    max-width: 1560px;
    padding: 72px 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.faq-title {
    font-family: "Nunito", sans-serif;
    font-size: 34px;
    font-weight: 800;
    line-height: 43px;
    letter-spacing: -0.72px;
    color: #1a1a1a;
    margin: 0;
}

.faq-cols {
    display: flex;
    gap: 120px;
}

.faq-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding-bottom: 1px;
}

.faq-item {
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.12);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    gap: 16px;
}

.faq-question span {
    font-family: "Nunito", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 25.2px;
    color: #1a1a1a;
    flex: 1;
}

.faq-question svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: #424242;
    transition: transform 0.3s;
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-inner {
    padding: 0 0 24px;
    font-family: "Manrope", sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.7;
    color: #424242;
}

.faq-divider {
    width: 1480px;
    max-width: calc(100% - 80px);
    height: 0.5px;
    background: rgba(0, 0, 0, 0.16);
    margin: 0 auto;
}

/* FAQ responsive rules now in shared responsive section below */

/* ===== SHARED RESPONSIVE ===== */

/* --- LG: 1248–1333px --- */
@media (max-width: 1333px) {
    .nav-links-center {
        gap: 28px;
    }
}

/* --- MD: 1024–1247px --- */
@media (max-width: 1247px) {
    .nav-links-center {
        position: static;
        transform: none;
        gap: 20px;
        margin-left: 24px;
    }
    .nav-right {
        margin-left: auto;
        gap: 12px;
    }
    .nav-socials {
        gap: 16px;
        margin-right: 4px;
    }
    .faq-cols {
        gap: 64px;
    }
}

/* ===== HAMBURGER BUTTON ===== */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 100px;
    background: #fcf9f5;
    cursor: pointer;
    gap: 3px;
    padding: 0;
    z-index: 4;
    position: relative;
    transition: background 0.2s;
}
.nav-hamburger:hover {
    background: #f5f0e8;
}
.nav-hamburger span {
    display: block;
    width: 12px;
    height: 2px;
    background: #181818;
    border-radius: 2px;
    transition:
        transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.2s ease;
}
.nav-hamburger.open {
    background: #fff;
}
.nav-hamburger.open span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.nav-hamburger.open span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
}

/* Links wrap — pass-through on desktop */
.nav-links-wrap {
    display: contents;
}

/* Dog icon in links bar — hidden on desktop */
.nav-links-icon {
    display: none;
}

/* Overlay + Dropdown — hidden on desktop */
.nav-overlay {
    display: none;
}
.nav-dropdown {
    display: none;
}

/* ===== MOBILE DRAWER (legacy, hidden when dropdown is used) ===== */
.nav-mobile-drawer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 99;
    padding: 100px 32px 40px;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    animation: drawerIn 0.25s ease;
}
@keyframes drawerIn {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.nav-mobile-drawer.open {
    display: flex;
}

/* Language section */
.nav-mobile-drawer-lang {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.nav-mobile-drawer-label {
    font-family: "Manrope", sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--dark-2);
    padding: 0 0 12px;
}
.nav-mobile-lang-option {
    display: block;
    padding: 14px 16px;
    font-family: "Manrope", sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--dark-2);
    text-decoration: none;
    border-radius: 12px;
    transition:
        background 0.15s,
        color 0.15s;
}
.nav-mobile-lang-option:hover {
    background: rgba(0, 0, 0, 0.04);
}
.nav-mobile-lang-option.active {
    font-weight: 700;
    color: var(--dark-1);
    background: rgba(0, 0, 0, 0.04);
}

/* Social links section */
.nav-mobile-drawer-socials {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.nav-mobile-drawer-socials a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    font-family: "Manrope", sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--dark-2);
    text-decoration: none;
    border-radius: 12px;
    transition:
        background 0.15s,
        color 0.15s;
}
.nav-mobile-drawer-socials a:hover {
    background: rgba(0, 0, 0, 0.04);
    color: var(--dark-1);
}
.nav-mobile-drawer-socials a svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
}

/* --- SM: 768–1023px --- */
@media (max-width: 1023px) {
    /* Nav: scrollable links bar below the logo row */
    .nav {
        padding: 0;
        border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
        transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav.nav-scrolled {
        transform: translateY(-68px);
    }

    .nav-inner {
        flex-wrap: wrap;
    }

    .nav-logo {
        height: 68px;
    }

    .nav-logo img {
        height: 32px;
    }

    .nav-right {
        height: 68px;
    }

    /* Links wrap: full-width row that holds icon + scrollable links */
    .nav-links-wrap {
        display: block;
        position: relative;
        width: calc(100% + 80px);
        margin-left: -40px;
        margin-right: -40px;
        order: 10;
        border-top: 0.5px solid rgba(0, 0, 0, 0.08);
    }

    .nav-links-center {
        position: static;
        transform: none;
        width: 100%;
        padding: 0 0 0 40px;
        margin: 0;
        overflow-x: auto;
        scrollbar-width: none;
        gap: 28px;
        justify-content: flex-start;
        transition: padding 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links-center::-webkit-scrollbar {
        display: none;
    }

    .nav-links-center a:last-child {
        padding-right: 40px;
    }

    /* When scrolled, make room for the fixed icon */
    .nav.nav-scrolled .nav-links-center {
        padding-left: 83px; /* 40px edge + 27px icon + 16px gap */
    }

    /* Dog icon — positioned absolutely so it doesn't scroll */
    .nav-links-icon {
        display: block;
        position: absolute;
        left: 40px;
        top: 50%;
        transform: translateY(-50%);
        width: auto;
        height: 32px;
        aspect-ratio: auto;
        overflow: visible;
        flex-shrink: 0;
        opacity: 0;
        z-index: 2;
        pointer-events: none;
        transition: opacity 0.24s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links-icon img {
        height: 100%;
        width: auto;
        display: block;
        object-fit: contain;
    }

    .nav.nav-scrolled .nav-links-icon {
        opacity: 1;
        pointer-events: auto;
    }

    /* Gradient mask: clips links scrolling behind the icon */
    .nav-links-wrap::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 79px; /* matches padding-left */
        background: linear-gradient(to right, #fff 70%, transparent);
        z-index: 1;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav.nav-scrolled .nav-links-wrap::before {
        opacity: 1;
    }

    /* Show dropdown + overlay at SM */
    .nav-overlay {
        display: block;
    }
    .nav-dropdown {
        display: block;
    }

    /* Hide legacy drawer at SM+ */
    .nav-mobile-drawer {
        display: none !important;
    }

    .nav-links-center a {
        font-size: 15px;
        font-weight: 500;
        line-height: 24px;
        letter-spacing: 0.2px;
        padding: 16px 0;
        touch-action: manipulation;
    }

    .nav-links-center a.active {
        font-weight: 500;
        border-bottom: 2px solid var(--brand);
    }

    .nav-socials {
        display: none;
    }
    .nav-btn-desktop {
        display: none;
    }
    .nav-lang {
        display: none;
    }
    .nav-hamburger {
        display: flex;
    }
    .nav-btn-mobile {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #ff5314;
        color: #fff !important;
        border: none;
        height: 32px;
        padding: 8px 12px;
        border-radius: 100px;
        font-family: "Manrope", sans-serif;
        font-size: 14px;
        font-weight: 700;
        line-height: 24px;
        letter-spacing: 0.2px;
        text-decoration: none;
        white-space: nowrap;
        cursor: pointer;
        transition: opacity 0.35s ease;
    }
    .nav-btn-mobile:hover {
        opacity: 0.9;
    }
    .nav-right {
        gap: 12px;
        z-index: auto; /* Don't create stacking context — only hamburger (z:4) should sit above nav::after (z:3) overlay */
    }

    /* ===== DROPDOWN MENU (replaces full-page drawer) ===== */

    /* Dim overlay on nav bar itself (nav-right z-index 5 sits above) */
    .nav::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.2);
        z-index: 3;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.35s ease;
        border-radius: inherit;
    }

    .nav.nav-menu-open::after {
        opacity: 1;
    }

    /* Hide Doneer button behind the overlay when menu is open */
    .nav.nav-menu-open .nav-btn-mobile {
        opacity: 0;
        pointer-events: none;
    }

    /* Page overlay (behind nav, dims page content) */
    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0);
        z-index: 98;
        pointer-events: none;
        transition: background 0.35s ease;
    }

    .nav-overlay.open {
        background: rgba(0, 0, 0, 0.2);
        pointer-events: auto;
    }

    .nav-dropdown {
        position: fixed;
        top: 60px;
        right: 40px;
        width: 240px;
        background: #fff;
        border-radius: 20px;
        box-shadow:
            0 8px 40px rgba(0, 0, 0, 0.12),
            0 0 0 0.5px rgba(0, 0, 0, 0.06);
        z-index: 101;
        padding: 8px;
        opacity: 0;
        visibility: hidden;
        transform: scale(0.92) translateY(-8px);
        transform-origin: top right;
        pointer-events: none;
        transition:
            opacity 0.25s ease,
            transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
            visibility 0.25s ease;
    }

    .nav-dropdown.open {
        opacity: 1;
        visibility: visible;
        transform: scale(1) translateY(0);
        pointer-events: auto;
    }

    .nav-dropdown a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 16px;
        font-family: "Manrope", sans-serif;
        font-size: 15px;
        font-weight: 500;
        color: var(--dark-1);
        text-decoration: none;
        border-radius: 12px;
        transition: background 0.15s;
    }

    .nav-dropdown a:hover {
        background: rgba(0, 0, 0, 0.04);
    }

    .nav-dropdown a.active {
        color: var(--brand);
        font-weight: 600;
    }

    .nav-dropdown-divider {
        height: 0.5px;
        background: rgba(0, 0, 0, 0.08);
        margin: 4px 16px;
    }

    .nav-dropdown-section-label {
        font-family: "Manrope", sans-serif;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: var(--dark-2);
        padding: 8px 16px 4px;
    }

    .nav-dropdown-lang {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0;
    }

    .nav-dropdown-lang a {
        padding: 12px 16px;
        font-size: 15px;
        font-weight: 500;
        border-radius: 12px;
        color: var(--dark-1);
        background: none;
        gap: 12px;
        justify-content: flex-start;
    }

    .nav-dropdown-lang a:hover {
        background: rgba(0, 0, 0, 0.04);
    }

    .nav-dropdown-lang a.active {
        color: var(--brand);
        font-weight: 600;
    }

    .nav-dropdown-socials {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0;
    }

    .nav-dropdown-socials a {
        padding: 12px 16px;
        border-radius: 12px;
        color: var(--dark-2);
    }

    .nav-dropdown-socials a:hover {
        color: var(--dark-1);
    }

    .nav-dropdown-socials a svg {
        width: 18px;
        height: 18px;
        fill: currentColor;
        flex-shrink: 0;
    }

    /* Responsive type scale — classes */
    .t-heading-lg {
        font-size: 32px;
        line-height: 36px;
    }
    .t-heading-md {
        font-size: 30px;
        line-height: 40px;
    }
    .t-heading-sm {
        font-size: 24px;
        line-height: 28px;
    }
    .t-body-lg {
        font-size: 18px;
        line-height: 30px;
        letter-spacing: 0.05px;
    }
    .t-body {
        font-size: 17px;
        line-height: 28px;
        letter-spacing: 0.1px;
    }
    .t-body-sm {
        font-size: 16px;
        line-height: 26px;
        letter-spacing: 0.15px;
    }
    .t-title {
        font-size: 17px;
    }

    /* Responsive type scale — shared component selectors */
    .page-hero p {
        font-size: 18px;
        line-height: 30px;
        letter-spacing: 0.05px;
    }
    .team-header h2 {
        font-size: 30px;
    }
    .team-header p {
        font-size: 16px;
    }
    .team-name {
        font-size: 16px;
    }
    .faq-title {
        font-size: 30px;
    }
    .faq-question span {
        font-size: 16px;
    }

    .team {
        padding: 48px 0;
    }
    /* Team carousel: break out of padding to go edge-to-edge (like XS) */
    .team-carousel-wrap {
        margin-left: -40px;
        margin-right: -40px;
    }
    .team-grid {
        gap: 16px;
        padding: 4px 40px 12px;
        scroll-padding-left: 40px;
    }
    .team-card {
        flex: 0 0 270px;
        min-width: 270px;
    }
    /* Arrows: reposition inside the breakout area */
    .team-arrow.prev { left: 16px; }
    .team-arrow.next { right: 16px; }

    .faq-inner {
        padding: 48px 40px;
    }
    .faq-cols {
        flex-direction: column;
        gap: 0;
    }

    .footer-top {
        flex-direction: column;
    }

    .footer-brand {
        max-width: none;
        /* In the stacked (column) footer, flex-basis:300px would apply to the
           main axis (height) and leave a tall empty gap below the tagline —
           size to content instead. */
        flex: none;
    }

    .footer-cols {
        flex-wrap: wrap;
        gap: 40px;
    }

    .page-hero {
        padding: 192px 32px 64px;
    }
}

/* --- XS: 0–767px --- */
@media (max-width: 767px) {
    /* Responsive type scale — XS */
    .t-heading-lg {
        font-size: 26px;
        line-height: 30px;
    }
    .t-heading-md {
        font-size: 22px;
        line-height: 28px;
    }
    .t-heading-sm {
        font-size: 20px;
        line-height: 24px;
    }
    .t-body-lg {
        font-size: 17px;
        line-height: 28px;
        letter-spacing: 0.1px;
    }
    .t-body {
        font-size: 16px;
        line-height: 26px;
        letter-spacing: 0.15px;
    }
    .t-body-sm {
        font-size: 15px;
        line-height: 24px;
        letter-spacing: 0.2px;
    }
    .t-title {
        font-size: 16px;
    }

    .page-hero p {
        font-size: 17px;
        line-height: 28px;
        letter-spacing: 0.1px;
    }
    .team-header h2 {
        font-size: 22px;
        line-height: 28px;
        color: #181818;
    }
    .team-header p {
        font-size: 16px;
        line-height: 26px;
        letter-spacing: 0.15px;
        opacity: 0.72;
        color: #181818;
    }
    .team-header {
        gap: 8px;
    }
    .faq-title {
        font-size: 22px;
        line-height: 28px;
    }
    .faq-inner {
        padding: 32px 20px;
    }

    .nav-inner {
        padding: 0 20px;
    }

    .nav-links-wrap {
        width: calc(100% + 40px);
        margin-left: -20px;
        margin-right: -20px;
    }

    .nav-links-center {
        padding-left: 20px;
    }

    .nav.nav-scrolled .nav-links-center {
        padding-left: 63px; /* 20px edge + 27px icon + 16px gap */
    }

    .nav-links-icon {
        left: 20px;
    }

    .nav-links-wrap::before {
        width: 63px;
    }

    .nav-dropdown {
        right: 20px;
    }

    .page-hero {
        padding: 152px 0 32px;
    }

    .page-hero-inner {
        padding: 0;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        text-align: center;
    }

    .footer-inner {
        padding: 48px 20px 24px;
    }

    /* Tighten the gap between the tagline block and the link lists on mobile */
    .footer-top {
        gap: 24px;
    }

    .footer-cols {
        gap: 32px;
    }

    /* iOS Safari auto-zooms when a focused field is < 16px. Keep form controls
       at 16px on phones so focusing an input never zooms the page/sheet. */
    input,
    textarea,
    select {
        font-size: 16px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 16px 28px;
    }

    .team {
        padding: 32px 0;
    }
    .team-arrow {
        display: none;
    }
    .team-inner {
        padding: 0 20px;
        gap: 24px;
    }
    /* Team carousel: break out of padding to go edge-to-edge (like social) */
    .team-carousel-wrap {
        margin-left: -20px;
        margin-right: -20px;
    }
    .team-grid {
        gap: 12px;
        padding: 4px 20px 12px;
        scroll-padding-left: 20px;
    }
    .team-card {
        flex: 0 0 270px;
        min-width: 270px;
    }

    /* ===== VAUL DRAWER — exact port of vaul/src/style.css ===== */

    /* BA overlay: use display-based show/hide at mobile (not opacity) */
    .ba-modal-overlay {
        display: none;
        opacity: 1;
        pointer-events: auto;
        transition: none;
    }
    .ba-modal-overlay.active {
        display: flex;
    }

    /* All overlays: bottom-aligned, transparent bg (JS drives entrance animations) */
    .dog-modal-overlay.open,
    .contact-overlay.open,
    .modal-overlay.open {
        align-items: flex-end;
        padding: 0;
        overflow: hidden;
        background-color: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .ba-modal-overlay.active {
        align-items: flex-end;
        padding: 0;
        overflow: hidden;
        background-color: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    /* Drawer containers — no CSS animation, JS drives entrance */
    .dog-modal-overlay.open .dog-modal,
    .contact-overlay.open .contact-modal,
    .modal-overlay.open .modal,
    .ba-modal-overlay.active .ba-modal {
        max-width: 100%;
        width: 100%;
        /* JS sets exact pixel height via window.innerHeight for cross-browser consistency.
       CSS fallback using dvh (dynamic viewport) for the brief moment before JS runs. */
        height: calc(100dvh - 26px);
        max-height: calc(100dvh - 26px);
        overflow-y: auto;
        overscroll-behavior: contain;
        border-radius: 20px 20px 0 0;
        will-change: transform;
        transform: translate3d(0, 100dvh, 0);
        animation: none;
    }

    /* Drag handle — matches Vaul defaults: 32×5px, #e2e2e4, opacity 0.7, 1rem radius */
    .dog-modal-overlay.open .dog-modal::before,
    .contact-overlay.open .contact-modal::before,
    .modal-overlay.open .modal::before {
        content: "";
        position: absolute;
        top: 8px;
        left: 50%;
        transform: translateX(-50%);
        width: 32px;
        height: 5px;
        background: #e2e2e4;
        border-radius: 1rem;
        opacity: 0.7;
        z-index: 10;
    }
    /* Dog modal: make it a flex column so sticky handle + close button work. */
    .dog-modal-overlay.open .dog-modal {
        display: flex;
        flex-direction: column;
    }
    /* All flex children: don't shrink — let the modal scroll instead */
    .dog-modal-overlay.open .dog-modal > * {
        flex-shrink: 0;
    }
    /* Drag handle: sticky at top, centered, negative margin eats its height */
    .dog-modal-overlay.open .dog-modal::before {
        position: sticky;
        top: 8px;
        flex-shrink: 0;
        display: block;
        align-self: center;
        left: auto;
        transform: none;
        margin: 0 0 -5px;
    }
    /* Close button: sticky at top-right, negative margin eats its height */
    .dog-modal-overlay.open .dog-modal-close {
        position: sticky;
        top: 12px;
        flex-shrink: 0;
        align-self: flex-end;
        right: auto;
        margin-right: 16px;
        margin-bottom: -40px;
        z-index: 11;
    }

    /* Drag handle — dark variant for BA modal */
    .ba-modal-overlay.active .ba-modal::before {
        content: "";
        position: absolute;
        top: 8px;
        left: 50%;
        transform: translateX(-50%);
        width: 32px;
        height: 5px;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 1rem;
        z-index: 10;
    }

    /* Keyframes — matching vaul/src/style.css */
    @keyframes vaul-slide-in {
        from {
            transform: translate3d(0, 100%, 0);
        }
        to {
            transform: translate3d(0, 0, 0);
        }
    }
    @keyframes vaul-overlay-in {
        from {
            background-color: transparent;
        }
        to {
            background-color: rgba(0, 0, 0, 0.4);
        }
    }

    /* Background scale (use-scale-background.ts) — wrapper styles managed via JS */
    body.vaul-sheet-open {
        background: black;
    }
}

/* ===== DONATE SECTION: frequency toggle + custom-amount button ===== */
.cta-freq {
    display: flex;
    gap: 0;
    width: fit-content;
    margin: 0;
    background: var(--beige);
    border-radius: 100px;
    padding: 4px;
}

.cta-freq-btn {
    padding: 10px 26px;
    border-radius: 100px;
    border: none;
    background: transparent;
    font-family: "Manrope", sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-2);
    cursor: pointer;
    transition: all 0.2s;
}

.cta-freq-btn.active {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 2px 8px rgba(255, 83, 20, 0.25);
}

.cta-freq-btn:hover:not(.active) {
    color: var(--dark-1);
}

.cta-cost-custom {
    margin: 24px 0 0;
}

/* Donate section: frequency toggle + payment logos on one row */
.cta-freq-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

/* Payment logos inside the toggle row: wrap + shrink on small screens
   (2-class selectors so they win over the per-page .cta-payment-logos rules) */
.cta-freq-row .cta-payment-logos {
    flex-wrap: wrap;
    justify-content: flex-end;
    padding: 0;
}

.cta-freq-row .cta-payment-logos img {
    height: 20px;
    width: auto;
}

/* Mobile-only copy of the payment logos, shown below the custom button */
.cta-payment-logos-below {
    display: none;
}

@media (max-width: 767px) {
    .cta-freq-row {
        gap: 24px;
    }
    /* Full-width toggle */
    .cta-freq {
        width: 100%;
    }
    .cta-freq-btn {
        flex: 1;
    }
    /* Full-width "Kies je eigen bedrag" button */
    .cta-cost-custom {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    /* Move the payment icons out of the toggle row to below the custom button */
    .cta-freq-row .cta-payment-logos {
        display: none;
    }
    .cta-payment-logos-below {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        row-gap: 10px;
        margin-top: 20px;
        width: 100%;
    }
    .cta-payment-logos-below img {
        height: 20px;
        width: auto;
    }
    /* Show all 5 amount cards: first four 2-up, the last (€200) full-width */
    .cta-final-inner .cta-costs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .cta-final-inner .cta-cost-item:nth-child(5) {
        display: flex;
        grid-column: 1 / -1;
    }
}
