/* ==========================================================================
   Jubilee Trust (Doncaster) — Main Stylesheet
   Colour palette derived from brand assets:
     Burgundy:  #8B1B1B  (logo)
     Deep Navy: #0F2847  (hero water)
     Mid Blue:  #2B5D8E  (sky/water)
     Soft Blue: #6FA3CF  (sky accent)
     Cream:     #FAF8F5
   ========================================================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --burgundy:     #8B1B1B;
    --burgundy-d:   #6A1414;
    --burgundy-l:   #A82828;
    --navy:         #0F2847;
    --navy-l:       #1A3A5F;
    --blue:         #2B5D8E;
    --blue-l:       #3D7AB5;
    --soft-blue:    #6FA3CF;
    --cream:        #FAF8F5;
    --white:        #FFFFFF;
    --grey-100:     #F3F4F6;
    --grey-200:     #E5E7EB;
    --grey-300:     #D1D5DB;
    --grey-500:     #6B7280;
    --grey-700:     #374151;
    --grey-900:     #111827;
    --gold:         #C5963A;

    --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-body:    'Source Sans 3', 'Segoe UI', system-ui, sans-serif;

    --header-h:     80px;
    --container-w:  1200px;
    --section-py:   100px;
    --radius:       6px;
    --shadow-sm:    0 1px 3px rgba(15,40,71,.08);
    --shadow-md:    0 4px 20px rgba(15,40,71,.10);
    --shadow-lg:    0 12px 40px rgba(15,40,71,.14);
    --transition:   .3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    color: var(--grey-900);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
    width: 100%;
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.2;
    color: var(--navy);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }

p { margin-bottom: 1em; }
.lead { font-size: 1.15rem; color: var(--grey-700); line-height: 1.8; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}
.btn--primary {
    background: var(--burgundy);
    color: var(--white);
    border-color: var(--burgundy);
}
.btn--primary:hover {
    background: var(--burgundy-l);
    border-color: var(--burgundy-l);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139,27,27,.3);
}
.btn--outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn--outline:hover {
    background: var(--white);
    color: var(--navy);
}
.btn--outline-dark {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}
.btn--outline-dark:hover {
    background: var(--navy);
    color: var(--white);
}
.btn--sm { padding: 10px 22px; font-size: .85rem; }
.btn--lg { padding: 18px 40px; font-size: 1rem; }

/* ---------- Top Bar ---------- */
.top-bar {
    background: var(--navy);
    color: rgba(255,255,255,.7);
    font-size: .8rem;
    padding: 8px 0;
    letter-spacing: .02em;
}
.top-bar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar__links { display: flex; gap: 24px; }
.top-bar__links a { color: rgba(255,255,255,.85); transition: color var(--transition); }
.top-bar__links a:hover { color: var(--white); }

/* ---------- Site Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}
.site-header--scrolled { box-shadow: var(--shadow-md); }
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
}
.site-header__logo img { height: 48px; width: auto; }
.site-nav__list {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}
.site-nav__link {
    display: block;
    padding: 10px 18px;
    font-size: .9rem;
    font-weight: 500;
    letter-spacing: .02em;
    color: var(--grey-700);
    border-radius: var(--radius);
    transition: all var(--transition);
    position: relative;
}
.site-nav__link:hover,
.site-nav__link--active {
    color: var(--burgundy);
}
.site-nav__link--active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--burgundy);
    border-radius: 1px;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy);
}
.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .55;
    transition: transform 8s ease;
}
.hero:hover .hero__bg { transform: scale(1.03); }
.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,40,71,.85) 0%, rgba(43,93,142,.6) 50%, rgba(15,40,71,.75) 100%);
}
.hero__accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--burgundy);
}
.hero__content {
    position: relative;
    z-index: 2;
    padding: 80px 0;
    max-width: 680px;
}
.hero__content .container { padding: 0; }
.hero__label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(139,27,27,.85);
    color: var(--white);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    border-radius: 3px;
    margin-bottom: 24px;
}
.hero__title {
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 400;
}
.hero__subtitle {
    color: rgba(255,255,255,.85);
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 560px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Section ---------- */
.section {
    padding: var(--section-py) 0;
}
.section--cream { background: var(--cream); }
.section--navy {
    background: var(--navy);
    color: rgba(255,255,255,.9);
}
.section--navy h2,
.section--navy h3 { color: var(--white); }
.section--navy h4 { color: var(--soft-blue); }
.section--compact { padding: 0; }

.section__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}
.section__header h2 { margin-bottom: 16px; }
.section__header .lead { margin-bottom: 0; }
.section__eyebrow {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 12px;
}
.section--navy .section__eyebrow { color: var(--gold); }

/* ---------- Cards ---------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}
.card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}
.card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid var(--grey-200);
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    border-radius: 50%;
    margin-bottom: 20px;
    color: var(--burgundy);
    font-size: 1.4rem;
}
.card__body { padding: 36px; }
.card__body h3 {
    margin-bottom: 14px;
    font-size: 1.5rem;
}
.card__body p {
    color: var(--grey-700);
    line-height: 1.7;
}
.card__body p:last-child { margin-bottom: 0; }

/* ---------- About Split ---------- */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-split__img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.about-split__img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}
.about-split__img::after {
    content: '';
    position: absolute;
    top: -16px;
    right: -16px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--burgundy);
    border-radius: var(--radius);
    z-index: -1;
}
.about-split__text h2 { margin-bottom: 20px; }
.about-split__text p { color: var(--grey-700); }

/* ---------- Stats Bar ---------- */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding: 14px 0;
}
.stat {
    text-align: center;
}
.stat__number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    color: var(--burgundy);
    line-height: 1;
    margin-bottom: 4px;
}
.section--navy .stat__number { color: var(--gold); }
.stat__label {
    font-size: .75rem;
    font-weight: 500;
    color: var(--grey-500);
    text-transform: uppercase;
    letter-spacing: .06em;
}
.section--navy .stat__label { color: rgba(255,255,255,.7); }

/* ---------- CTA Banner ---------- */
.cta-banner {
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-d) 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 24px;
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 70%);
    border-radius: 50%;
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,.85); margin-bottom: 32px; font-size: 1.1rem; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ---------- Objects / Mission ---------- */
.objects-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}
.object-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius);
    border-left: 4px solid var(--burgundy);
    box-shadow: var(--shadow-sm);
}
.section--navy .object-item {
    background: rgba(255,255,255,.06);
    border-left-color: var(--gold);
}
.object-item__num {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    color: var(--burgundy);
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 50%;
}
.section--navy .object-item__num {
    background: rgba(197,150,58,.2);
    color: var(--gold);
}
.object-item p { margin-bottom: 0; }

/* ---------- Projects Feature ---------- */
.project-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 48px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}
.project-feature__media {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
}
.project-feature__media img,
.project-feature__media video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.project-feature__text h3 { margin-bottom: 16px; }
.project-feature__text p { color: var(--grey-700); }

/* ---------- Contact Form ---------- */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.form-group { margin-bottom: 0; }
.form-group--full { grid-column: 1 / -1; }
.form-group label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: var(--grey-700);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--grey-300);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: .95rem;
    color: var(--grey-900);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(43,93,142,.12);
}
.form-group textarea { resize: vertical; min-height: 140px; }

/* ---------- Contact Info Cards ---------- */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}
.contact-info-card {
    text-align: center;
    padding: 36px 24px;
    background: var(--cream);
    border-radius: var(--radius);
    transition: all var(--transition);
}
.contact-info-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.contact-info-card__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    color: var(--burgundy);
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
}
.contact-info-card h4 { margin-bottom: 8px; text-transform: none; letter-spacing: 0; font-size: 1rem; }
.contact-info-card p, .contact-info-card a { font-size: .9rem; color: var(--grey-700); margin-bottom: 0; }
.contact-info-card a:hover { color: var(--burgundy); }

/* ---------- Page Hero (Inner Pages) ---------- */
.page-hero {
    background: var(--navy);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}
.page-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .25;
}
.page-hero__content {
    position: relative;
    z-index: 2;
}
.page-hero h1 {
    color: var(--white);
    margin-bottom: 12px;
}
.page-hero p {
    color: rgba(255,255,255,.75);
    font-size: 1.1rem;
    max-width: 560px;
    margin-bottom: 0;
}
.page-hero__accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--burgundy);
}

/* ---------- Founders ---------- */
.founders {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: center;
    padding: 48px;
    background: var(--cream);
    border-radius: var(--radius);
}
.founders__photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-md);
}
.founders__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- Support Options ---------- */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}
.support-card {
    padding: 40px 32px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--grey-200);
    text-align: center;
    transition: all var(--transition);
}
.support-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--burgundy);
}
.support-card__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-l));
    color: var(--white);
    border-radius: 50%;
    font-size: 1.6rem;
}
.support-card h3 { margin-bottom: 12px; font-size: 1.4rem; }
.support-card p { color: var(--grey-700); margin-bottom: 20px; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--navy);
    color: rgba(255,255,255,.75);
    padding: 72px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
    gap: 36px;
}
.footer-logo {
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
}
.footer-tagline {
    font-size: .9rem;
    line-height: 1.7;
    color: rgba(255,255,255,.6);
}
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}
.footer-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.85);
    transition: all var(--transition);
}
.footer-social a:hover {
    background: rgba(255,255,255,.95);
    color: var(--navy);
    transform: translateY(-2px);
}
.footer-heading {
    color: var(--white);
    margin-bottom: 20px;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 600;
}
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-links a {
    font-size: .9rem;
    color: rgba(255,255,255,.65);
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-text {
    font-size: .85rem;
    color: rgba(255,255,255,.55);
    line-height: 1.6;
}
.footer-logos {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.footer-partner-logo {
    max-width: 160px;
    height: auto;
    opacity: .9;
    filter: grayscale(1) brightness(0) invert(1);
    transition: opacity var(--transition);
}
.footer-partner-logo:hover {
    opacity: 1;
}
.footer-bottom {
    margin-top: 48px;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,.1);
    text-align: center;
    font-size: .8rem;
    color: rgba(255,255,255,.45);
}

/* ---------- Animations ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .15s ease, transform .15s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Project Slide Card ---------- */
.project-slide-card {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 40px;
    align-items: center;
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--grey-200);
    overflow: hidden;
}
.project-slide-card__media {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}
.project-slide-card__media img,
.project-slide-card__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.project-slide-card__text {
    min-width: 0;
    overflow: hidden;
}
.project-slide-card__text h3 {
    margin-bottom: 12px;
    font-size: 1.5rem;
}
.project-slide-card__text p {
    color: var(--grey-700);
    line-height: 1.7;
}
.project-slide-card__text p:last-of-type {
    margin-bottom: 0;
}
.project-slide-card__media--book {
    background: #2a1a0a;
    padding: 8px;
}
.project-slide-card__media--book img {
    object-fit: contain;
}

/* ---------- Project Slider ---------- */
.project-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}
.project-slider__track {
    display: flex;
    transition: transform .5s cubic-bezier(.4,0,.2,1);
    width: 100%;
}
.project-slider__slide {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    flex-shrink: 0;
    box-sizing: border-box;
}
.project-slider__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}
.project-slider__controls--hidden {
    display: none;
}
.project-slider__btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 2px solid var(--grey-200);
    border-radius: 50%;
    cursor: pointer;
    color: var(--navy);
    transition: all var(--transition);
}
.project-slider__btn:hover {
    border-color: var(--burgundy);
    color: var(--burgundy);
}
.project-slider__dots {
    display: flex;
    gap: 8px;
}
.project-slider__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--grey-300);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all var(--transition);
}
.project-slider__dot--active {
    background: var(--burgundy);
    transform: scale(1.2);
}

/* ---------- Direct Debit Grid ---------- */
.dd-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 700px;
    margin: 0 auto;
}
.dd-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background: var(--white);
    border: 2px solid var(--grey-200);
    border-radius: var(--radius);
    text-decoration: none;
    transition: all var(--transition);
}
.dd-option:hover {
    border-color: var(--burgundy);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.dd-option__amount {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--burgundy);
    line-height: 1;
    margin-bottom: 4px;
}
.dd-option__freq {
    font-size: .75rem;
    color: var(--grey-500);
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* ---------- Trust Deed ---------- */
.trust-deed {
    max-width: 820px;
    margin: 0 auto;
}
.trust-deed h2 {
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
    margin-top: 40px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--grey-200);
}
.trust-deed p {
    color: var(--grey-700);
    line-height: 1.8;
}
.deed-witness {
    font-weight: 600;
    color: var(--navy);
    margin-top: 32px;
    font-size: 1.05rem;
}
.deed-list {
    list-style-position: outside;
    padding-left: 32px;
    margin-bottom: 20px;
}
.deed-list li {
    color: var(--grey-700);
    line-height: 1.8;
    margin-bottom: 12px;
    padding-left: 8px;
}
.deed-divider {
    border: none;
    border-top: 2px solid var(--burgundy);
    margin: 48px 0;
    max-width: 120px;
}
.deed-preamble {
    font-style: italic;
    color: var(--grey-500);
}
.deed-creed {
    padding: 32px 40px;
    background: var(--cream);
    border-left: 4px solid var(--burgundy);
    border-radius: var(--radius);
    margin: 24px 0;
}
.deed-creed p {
    color: var(--navy);
    line-height: 1.9;
}
.deed-signing {
    font-weight: 600;
    color: var(--navy);
    text-align: center;
    font-size: 1.05rem;
    margin-top: 32px;
}

/* ---------- Resources Page ---------- */
.resource-list {
    margin: 0 0 8px 20px;
    padding: 0;
    color: var(--grey-700);
}
.resource-list li {
    padding: 4px 0;
    line-height: 1.6;
}
.resource-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

/* ---------- Form Messages ---------- */
.form-message {
    padding: 0;
    margin: 0;
    border-radius: var(--radius);
    font-size: .95rem;
    display: none;
}
.form-message--success,
.form-message--error {
    display: block;
    padding: 16px 20px;
    margin-bottom: 24px;
}
.form-message--success {
    background: #ecfdf5;
    color: #065f46;
    border-left: 4px solid #10b981;
}
.form-message--error {
    background: #fef2f2;
    color: #991b1b;
    border-left: 4px solid #991b1b;
}

/* ---------- Wizard ---------- */
.wizard {
    max-width: 780px;
    margin: 0 auto;
}
.wizard__progress {
    margin-bottom: 48px;
}
.wizard__progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}
.wizard__step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
    opacity: .4;
    transition: all var(--transition);
}
.wizard__step-indicator--active {
    opacity: 1;
}
.wizard__step-indicator--done {
    opacity: .7;
}
.wizard__step-num {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--grey-200);
    color: var(--grey-700);
    font-size: .85rem;
    font-weight: 600;
    transition: all var(--transition);
}
.wizard__step-indicator--active .wizard__step-num {
    background: var(--burgundy);
    color: var(--white);
}
.wizard__step-indicator--done .wizard__step-num {
    background: var(--navy);
    color: var(--white);
}
.wizard__step-label {
    font-size: .75rem;
    font-weight: 500;
    color: var(--grey-500);
    text-transform: uppercase;
    letter-spacing: .04em;
    text-align: center;
}
.wizard__step-indicator--active .wizard__step-label {
    color: var(--burgundy);
}
.wizard__progress-bar {
    height: 4px;
    background: var(--grey-200);
    border-radius: 2px;
    overflow: hidden;
}
.wizard__progress-fill {
    height: 100%;
    background: var(--burgundy);
    border-radius: 2px;
    width: 25%;
    transition: width .4s ease;
}
.wizard__panel {
    display: none;
}
.wizard__panel--active {
    display: block;
    animation: fadeUp .4s ease forwards;
}
.wizard__panel h2 {
    margin-bottom: 8px;
}
.wizard__panel .lead {
    margin-bottom: 32px;
}
.wizard__nav {
    display: flex;
    justify-content: space-between;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--grey-200);
}
.wizard__checkboxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.wizard__checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    font-size: .9rem;
    color: var(--grey-700);
    cursor: pointer;
    transition: all var(--transition);
}
.wizard__checkbox:hover {
    border-color: var(--burgundy);
}
.wizard__checkbox input[type="checkbox"] {
    accent-color: var(--burgundy);
    width: 18px;
    height: 18px;
}
.wizard__summary {
    text-align: center;
}
.wizard__summary-icon {
    margin-bottom: 20px;
}
.wizard__summary-details {
    text-align: left;
    margin-top: 32px;
    padding: 32px;
    background: var(--cream);
    border-radius: var(--radius);
    border-left: 4px solid var(--burgundy);
}
.wizard__summary-details h4 {
    margin-bottom: 12px;
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--burgundy);
}
.wizard__summary-details dl {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 8px 16px;
    font-size: .9rem;
    margin-bottom: 24px;
}
.wizard__summary-details dt {
    font-weight: 600;
    color: var(--navy);
}
.wizard__summary-details dd {
    color: var(--grey-700);
    margin: 0;
}
.wizard__error {
    background: #fef2f2;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: .9rem;
    margin-bottom: 20px;
    display: none;
}
.wizard__error--visible {
    display: block;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    :root { --section-py: 72px; }
    .about-split { grid-template-columns: 1fr; gap: 40px; }
    .about-split__img::after { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .project-feature { grid-template-columns: 1fr; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .contact-info-grid { grid-template-columns: 1fr; }
    .project-slide-card { grid-template-columns: 2fr 3fr; gap: 28px; padding: 28px; }
    .card-grid--3 { grid-template-columns: 1fr 1fr; }
    .dd-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
    :root { --header-h: 64px; --section-py: 56px; }
    .top-bar { display: none; }
    
    .hamburger { display: flex; }
    .site-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        padding: 32px 24px;
        transform: translateX(100%);
        transition: transform var(--transition);
        z-index: 999;
        overflow-y: auto;
    }
    .site-nav--open { transform: translateX(0); }
    .site-nav__list {
        flex-direction: column;
        gap: 8px;
    }
    .site-nav__link {
        padding: 14px 20px;
        font-size: 1.1rem;
    }
    .site-nav__link--active::after { display: none; }
    
    .hero { min-height: 480px; }
    .hero__content { padding: 48px 0; }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; justify-content: center; }
    
    .card-grid { grid-template-columns: 1fr; }
    .card-grid--3 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .stats-bar { grid-template-columns: 1fr 1fr; gap: 24px; }
    .form-grid { grid-template-columns: 1fr; }
    .founders { grid-template-columns: 1fr; text-align: center; justify-items: center; }
    .support-grid { grid-template-columns: 1fr; }
    .dd-grid { grid-template-columns: repeat(2, 1fr); }
    .project-slide-card { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
    .project-slide-card__media { aspect-ratio: 16/9; max-height: 220px; margin: 0 auto; width: 100%; }

    .hamburger--active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger--active span:nth-child(2) { opacity: 0; }
    .hamburger--active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .wizard__step-label { display: none; }
    .wizard__checkboxes { grid-template-columns: 1fr; }
    .wizard__summary-details dl { grid-template-columns: 1fr; }
    .wizard__summary-details dt { margin-top: 8px; }
}