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

:root {
    --gold: #c9a84c;
    --gold-light: #f5e6c0;
    --gold-dark: #8b6914;
    --red: #cc2936;
    --charcoal: #1a1a1a;
    --off-white: #f8f5ee;
    --mid-gray: #6b6b6b;
    --border: rgba(201, 168, 76, 0.22);
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'DM Sans', system-ui, sans-serif;
}

html {
    scroll-behavior: smooth;
}
body {
    font-family: var(--font-sans);
    background: var(--off-white);
    color: var(--charcoal);
    line-height: 1.6;
    overflow-x: hidden;
}

.hero {
    position: relative;
    width: 100%;
    height: 720px;
    background: #1a1a1a;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 25%;
    background-repeat: no-repeat;
    opacity: 0.35;
}
.hero-photo-notice {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(201, 168, 76, 0.9);
    color: #1a1a1a;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 4px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: none;
}
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 40px 0;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.96), transparent);
    animation: fadeUp 0.8s ease both;
}
.hero-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}
.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 12px;
}
.hero-title em {
    color: var(--gold);
    font-style: italic;
}
.hero-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    font-weight: 300;
    max-width: 600px;
}

.countdown-strip {
    background: var(--red);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    overflow: hidden;
    padding: 10px 16px;
    gap: 0;
}
.cd-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0 12px 0 0;
    opacity: 0.85;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    white-space: nowrap;
}
.cd-units {
    display: flex;
}
.cd-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 0;
}
.cd-num {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.cd-lbl {
    font-size: 8px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.7;
    margin-top: 2px;
}
.cd-deadline {
    font-size: 11px;
    font-weight: 500;
    padding: 0 0 0 12px;
    opacity: 0.8;
    display: flex;
    align-items: center;
    white-space: nowrap;
}
@media (max-width: 480px) {
    .cd-label {
        display: none;
    }
    .cd-deadline {
        display: none;
    }
    .cd-unit {
        padding: 6px 16px;
    }
    .cd-num {
        font-size: 26px;
    }
    .cd-lbl {
        font-size: 9px;
    }
}

.main-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 64px 24px;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 56px;
    align-items: start;
}
@media (max-width: 860px) {
    .main-wrapper {
        grid-template-columns: 1fr;
        padding: 40px 20px;
        gap: 40px;
    }
    .progress-card {
        position: static;
    }
    .charity-link {
        display: table;
        margin: 8px auto 0;
        white-space: normal;
        font-size: 11px;
        letter-spacing: 0.04em;
        padding: 10px 16px;
        text-align: center;
    }
}

.section-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 10px;
}
.section-title {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}
.story-body {
    font-size: 16px;
    line-height: 1.8;
    color: #3a3a3a;
    margin-bottom: 16px;
}
.charity-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--charcoal);
    color: var(--gold);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 12px 20px;
    border-radius: 3px;
    margin-top: 8px;
    transition:
        background 0.2s,
        transform 0.15s;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}
.charity-link:hover {
    background: var(--red);
    transform: translateY(-1px);
}

.donors-section {
    margin-top: 48px;
}
.donors-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.donors-title {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
}
.count-badge {
    background: var(--red);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    padding: 4px 9px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
}
.donor-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.donor-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px 18px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.donor-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--gold);
    flex-shrink: 0;
    letter-spacing: 0.05em;
    overflow: hidden;
}
.donor-info {
    flex: 1;
    min-width: 0;
}
.donor-name {
    font-size: 14px;
    font-weight: 600;
}
.donor-message {
    font-size: 13px;
    color: var(--mid-gray);
    margin-top: 2px;
    font-style: italic;
    word-break: break-word;
}
.donor-amount {
    font-size: 16px;
    font-weight: 700;
    color: var(--red);
    white-space: nowrap;
    flex-shrink: 0;
}
.donor-loading {
    text-align: center;
    color: var(--mid-gray);
    font-size: 14px;
    padding: 24px;
}

.progress-card {
    background: var(--charcoal);
    border-radius: 8px;
    padding: 32px;
    color: #fff;
    margin-bottom: 24px;
    position: sticky;
    top: 20px;
    isolation: isolate;
}
.progress-raised-label {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 8px;
    font-weight: 600;
}
.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}
.raised-amount {
    font-family: var(--font-serif);
    font-size: 40px;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}
.progress-goal {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}
.progress-track {
    background: rgba(255, 255, 255, 0.12);
    height: 8px;
    border-radius: 100px;
    margin: 16px 0 10px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    border-radius: 100px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold));
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0%;
}
.progress-stats {
    display: flex;
    gap: 20px;
    margin-top: 14px;
}
.pstat .val {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}
.pstat .lbl {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.05em;
}

.donate-form {
    background: #fff;
    border-radius: 8px;
    border: 1px solid var(--border);
    padding: 28px;
    isolation: isolate;
}
.donate-form-title {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}
.amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}
.amount-btn {
    border: 1.5px solid #d4c89a;
    background: #fff;
    color: var(--charcoal);
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    padding: 12px 6px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s;
    text-align: center;
}
.amount-btn:hover {
    border-color: var(--gold);
    background: var(--gold-light);
}
.amount-btn.active {
    background: var(--charcoal);
    color: var(--gold);
    border-color: var(--charcoal);
}

.custom-wrap {
    position: relative;
    margin-bottom: 16px;
    display: none;
}
.custom-wrap .dollar {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: var(--mid-gray);
    font-weight: 500;
    pointer-events: none;
}
.custom-input {
    width: 100%;
    border: 1.5px solid #d4c89a;
    border-radius: 6px;
    padding: 12px 12px 12px 26px;
    font-size: 15px;
    font-family: var(--font-sans);
    outline: none;
    color: var(--charcoal);
    transition: border-color 0.15s;
}
.custom-input:focus {
    border-color: var(--gold);
}

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mid-gray);
    margin-bottom: 6px;
}
.form-input {
    width: 100%;
    border: 1.5px solid #e0d8c4;
    border-radius: 6px;
    padding: 11px 13px;
    font-size: 14px;
    font-family: var(--font-sans);
    outline: none;
    color: var(--charcoal);
    margin-bottom: 12px;
    transition: border-color 0.15s;
    background: #fafaf7;
}
.form-input:focus {
    border-color: var(--gold);
    background: #fff;
}
.form-textarea {
    width: 100%;
    border: 1.5px solid #e0d8c4;
    border-radius: 6px;
    padding: 11px 13px;
    font-size: 14px;
    font-family: var(--font-sans);
    outline: none;
    color: var(--charcoal);
    margin-bottom: 12px;
    resize: vertical;
    min-height: 70px;
    transition: border-color 0.15s;
    background: #fafaf7;
}
.form-textarea:focus {
    border-color: var(--gold);
    background: #fff;
}

.anon-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    cursor: pointer;
    user-select: none;
}
.anon-toggle input {
    display: none;
}
.toggle-track {
    width: 36px;
    height: 20px;
    background: #d4c89a;
    border-radius: 100px;
    position: relative;
    flex-shrink: 0;
    transition: background 0.2s;
}
.toggle-track::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: transform 0.2s;
}
.anon-toggle input:checked + .toggle-track {
    background: var(--charcoal);
}
.anon-toggle input:checked + .toggle-track::after {
    transform: translateX(16px);
}
.anon-label {
    font-size: 13px;
    color: var(--mid-gray);
}

.venmo-btn {
    width: 100%;
    background: #008cff;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 15px 20px;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--font-sans);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition:
        background 0.2s,
        transform 0.15s;
    text-decoration: none;
    letter-spacing: 0.02em;
}
.venmo-btn:hover {
    background: #0074d4;
    transform: translateY(-1px);
}
.venmo-wordmark {
    height: 16px;
    width: auto;
    display: block;
}
.team-section {
    background: var(--charcoal);
    padding: 72px 24px;
    text-align: center;
}
.team-section .section-eyebrow {
    color: var(--gold);
}
.team-section .section-title {
    color: #fff;
    max-width: 400px;
    margin: 0 auto 40px;
}
.gold-divider {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    max-width: 200px;
    margin: 0 auto 40px;
    border: none;
}
.team-grid {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    max-width: 700px;
    margin: 0 auto;
}
.team-card {
    text-align: center;
}
.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #333;
    margin: 0 auto 14px;
    border: 3px solid var(--gold);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 700;
    color: var(--gold);
}
.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-name {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}
.team-role {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}
.ig-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    border: 1px solid rgba(201, 168, 76, 0.35);
    padding: 5px 12px;
    border-radius: 100px;
    transition: background 0.2s;
}
.ig-link:hover {
    background: rgba(201, 168, 76, 0.12);
}

.footer {
    background: #111;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    padding: 28px 24px;
    font-size: 12px;
    line-height: 1.8;
}
.footer a {
    color: var(--gold);
    text-decoration: none;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay.open {
    display: flex;
}
.modal-box {
    background: #fff;
    border-radius: 12px;
    padding: 36px;
    max-width: 420px;
    width: 100%;
    text-align: center;
}
.modal-title {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}
.modal-subtitle {
    font-size: 13px;
    color: var(--mid-gray);
    margin-bottom: 24px;
    line-height: 1.6;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
}
.modal-steps {
    text-align: left;
    background: var(--off-white);
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 24px;
}
.modal-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}
.modal-step:last-child {
    margin-bottom: 0;
}
.step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--charcoal);
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}
.step-text {
    font-size: 13px;
    line-height: 1.5;
}
.step-text strong {
    display: block;
    font-weight: 600;
    color: var(--charcoal);
}
.step-text span {
    color: var(--mid-gray);
    font-size: 12px;
}
.venmo-modal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: #008cff;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    padding: 14px 20px;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 10px;
    transition: background 0.2s;
}
.venmo-modal-btn:hover {
    background: #0074d4;
}
.modal-close {
    background: none;
    border: none;
    color: var(--mid-gray);
    font-size: 13px;
    cursor: pointer;
    font-family: var(--font-sans);
    margin-top: 4px;
}
.modal-close:hover {
    color: var(--charcoal);
}

.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: var(--charcoal);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    z-index: 9999;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}
.toast.show {
    transform: translateX(-50%) translateY(0);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
