        :root {
            /* Colour */
            --color-ink: #1a1a1a;        /* primary text, footer bg */
            --color-paper: #faf8f5;      /* page background */
            --color-surface: #ffffff;    /* cards, forms */
            --color-teal: #0e5f4e;       /* brand accent from logo, deepened; primary buttons, brand moments */
            --color-gold: #a3854f;       /* editorial accent: eyebrows, rules, metadata, hovers */
            --color-line: #e5e0d8;       /* hairline borders, dividers */
            --color-body-muted: #5a564e; /* secondary text on light backgrounds */

            /* Footer-specific */
            --color-footer-text: #c9c4ba;   /* body text on ink background */
            --color-footer-muted: #8a857b;  /* legal/compliance row */
            --color-footer-line: #3a3a3a;   /* dividers on ink background */

            /* Typography */
            --font-heading: 'Playfair Display', Georgia, serif;
            --font-accent: 'Lora', Georgia, serif;        /* italic taglines, pull quotes */
            --font-body: 'Montserrat', Arial, sans-serif;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font-body);
            line-height: 1.6;
            color: var(--color-ink);
            background-color: var(--color-paper);
            overflow-x: hidden;
        }

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            position: relative;
            z-index: 1;
        }

        /* Header Styles */
        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            padding: 20px 0;
            transition: all 0.3s ease;
            background-color: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
        }

        header.scrolled {
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
            padding: 15px 0;
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: inline-block;
            height: 50px; /* Adjust based on your logo's aspect ratio */
            z-index: 1001;
        }

        .logo img {
            height: 100%;
            width: auto;
        }

        .nav-menu {
            display: flex;
            list-style: none;
        }

        .nav-item {
            margin-left: 30px;
            background-color: rgba(255, 255, 255, 0.7);
        }

        .nav-link {
            color: var(--color-ink);
            text-decoration: none;
            font-size: 1rem;
            font-weight: 500;
            position: relative;
            transition: all 0.3s ease;
        }

        .nav-link:hover,
        .nav-link.active {
            color: var(--color-teal);
        }

        .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 0;
            background-color: var(--color-teal);
            transition: width 0.3s ease;
        }

        .nav-link:hover::after {
            width: 100%;
        }

        .hamburger {
            display: none;
            cursor: pointer;
            z-index: 1001;
        }

        .bar {
            display: block;
            width: 25px;
            height: 3px;
            margin: 5px auto;
            transition: all 0.3s ease;
            background-color: var(--color-ink);
        }

        /* Hero Section */
        .hero {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)), url('images/bg.jpg');
            background-size: auto;
            background-position: center;
            overflow: hidden;
            padding: 160px 0 90px;
        }

        /* Homepage hero: full-bleed photo beside a brand panel, in the flyer's
           indigo. Other pages reuse .hero only as a spacer under the fixed
           header, which is why this is a modifier rather than a change to .hero. */
        .hero.hero--photo {
            display: block;
            padding: 90px 0 0;          /* clears the fixed header */
            background: var(--color-primary-dk, #2e1a6b);
        }

        .hero-split {
            display: grid;
            grid-template-columns: minmax(0, 62fr) minmax(0, 38fr);
        }

        .hero-split--solo {
            grid-template-columns: 1fr;
        }

        .hero-photo {
            position: relative;
            overflow: hidden;
        }

        /* At least the photo's own 3:2 shape, so both people in the panel stay
           in frame, while still stretching if the text panel is taller. */
        .hero-photo::before {
            content: '';
            display: block;
            padding-top: 66.667%;
        }

        .hero-photo img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center 35%;
            display: block;
        }

        .hero-panel {
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: clamp(2rem, 4vw, 4rem);
            color: #fff;
            animation: fadeIn 1.2s ease;
        }

        .hero-split--solo .hero-panel {
            max-width: 760px;
            margin: 0 auto;
            text-align: center;
            padding-top: 5rem;
            padding-bottom: 5rem;
        }

        .hero--photo .hero-eyebrow {
            color: #8fe0e2;             /* light teal, 8:1 on the indigo */
        }

        .hero--photo .hero-title {
            color: #fff;
            font-size: clamp(1.8rem, 3vw, 2.9rem);
        }

        .hero--photo .hero-subtitle {
            color: rgba(255, 255, 255, 0.86);
        }

        .hero--photo .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 0 12px;
        }

        .hero--photo .btn {
            background-color: #fff;
            border-color: #fff;
            color: var(--color-primary-dk, #2e1a6b);
        }

        .hero--photo .btn:hover {
            background-color: #8fe0e2;
            border-color: #8fe0e2;
            color: var(--color-primary-dk, #2e1a6b);
        }

        .hero--photo .btn-outline {
            background-color: transparent;
            border-color: rgba(255, 255, 255, 0.7);
            color: #fff;
        }

        .hero--photo .btn-outline:hover {
            background-color: #fff;
            color: var(--color-primary-dk, #2e1a6b);
        }

        @media (max-width: 899px) {
            .hero-split {
                grid-template-columns: 1fr;
            }

            .hero-panel {
                text-align: center;
                padding: 2.25rem 1.25rem 2.75rem;
            }

            .hero--photo .hero-actions {
                justify-content: center;
            }
        }

        .hero-content {
            position: relative;
            width: 100%;
            max-width: 1200px;
            text-align: center;
            z-index: 2;
            animation: fadeIn 1.5s ease;
        }

        .hero-main-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 2rem;
        }

        @media (min-width: 992px) {
            .hero-main-content {
                flex-direction: row;
                align-items: center;
                gap: 4rem;
            }
        }

        .hero-svg {
            width: 100%;
            max-width: 500px;
            height: auto;
            aspect-ratio: 4 / 3;   /* matches images/hero.jpg (1200x900) */
            margin: -50px auto;
            /* padding: 50px 30px; */
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            color: #222;
        }

        .hero-svg img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .hero-info {
            max-width: 420px;
            text-align: left;
            padding: 2.25rem 2.5rem;
            background-color: rgba(250, 248, 245, 0.9);
            border-left: 3px solid var(--color-teal);
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        @media (max-width: 991px) {
            .hero-info {
                text-align: center;
                border-left: none;
                border-top: 3px solid var(--color-teal);
                padding: 1.75rem 1.5rem;
            }
        }

        .hero-eyebrow {
            font-family: var(--font-body);
            color: var(--color-teal);
            font-size: 12px;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.18em;
            margin-bottom: 14px;
        }

        .hero-title {
            font-family: var(--font-heading);
            font-weight: 600;
            color: var(--color-ink);
            font-size: clamp(1.6rem, 2.6vw, 2.4rem);
            line-height: 1.25;
            margin-bottom: 10px;
        }

        .hero-subtitle {
            font-family: var(--font-accent);
            font-style: italic;
            font-size: clamp(1rem, 3vw, 1.2rem);
            margin-bottom: 30px;
            color: var(--color-body-muted);
        }

        .hero-date, .hero-venue, .hero-address {
            margin-bottom: 15px;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        @media (max-width: 991px) {
            .hero-date, .hero-venue, .hero-address {
                justify-content: center;
            }
        }

        .event-image {
            width: 200px;
            height: 150px;
            object-fit: cover;
            border: 5px solid var(--color-surface);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            margin: 20px 0;
        }

        /* Countdown Section */
        .countdown-section {
            padding: 80px 0;
            background-color: var(--color-paper);
            text-align: center;
        }

        .countdown-section .container {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 30px;
        }

        .countdown {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        .countdown-item {
            background: var(--color-teal);
            padding: 20px;
            min-width: 100px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            color: var(--color-paper);
        }

        .countdown-value {
            font-size: 2rem;
            font-weight: bold;
            margin-bottom: 5px;
        }

        .countdown-label {
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        @media (max-width: 768px) {
            .countdown-item {
                min-width: 80px;
                padding: 15px;
            }
            
            .countdown-value {
                font-size: 1.5rem;
            }
            
            .countdown-label {
                font-size: 0.8rem;
            }
        }

        @media (max-width: 480px) {
            .countdown-item {
                min-width: 70px;
                padding: 10px;
            }
            
            .countdown-value {
                font-size: 1.25rem;
            }
            
            .countdown-label {
                font-size: 0.7rem;
            }
        }

        /* Sections */
        section {
            padding: 100px 0;
            position: relative;
        }

        section:nth-child(even) {
            background-color: var(--color-surface);
        }

        .section-title {
            font-family: var(--font-heading);
            font-weight: 600;
            font-size: 2.5rem;
            margin-bottom: 50px;
            text-align: left;
            color: var(--color-ink);
            position: relative;
            padding-bottom: 20px;
        }

        .section-title::after {
            content: '';
            position: absolute;
            width: 44px;
            height: 2px;
            background-color: var(--color-gold);
            bottom: 0;
            left: 0;
        }

        /* About Section */
        .about .container {
            position: relative;
            z-index: 1;
        }

        /* About story rows. Phones and tablets: photo above text. Desktop: the
           photo in the left column and the text on the right, a row per part of
           the story, so the picture changes as you read down. */
        .about-row {
            display: grid;
            gap: 24px;
        }

        .about-row-media {
            margin: 0;
        }

        .about-row-media img {
            display: block;
            width: 100%;
            height: auto;
            border: 1px solid var(--color-line);
        }

        .about-row-media--arch img {
            border-radius: 50% 50% 0 0;
            max-width: 420px;
            margin: 0 auto;
        }

        .about-row-media figcaption {
            font-size: 13px;
            color: var(--color-body-muted);
            margin-top: 10px;
            line-height: 1.5;
        }

        .about-row-text p {
            color: var(--color-ink);
            margin-bottom: 18px;
        }

        .about-row-text p:last-child {
            margin-bottom: 0;
        }

        .about-row-text .about-pullquote {
            margin-top: 28px;
        }

        /* The "What's next" row has a date card where the photo would be. */
        .about-datecard {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            padding: 32px 36px;
            background: var(--color-primary-dk, #2e1a6b);
            color: #fff;
            text-decoration: none;
            transition: background-color 0.3s ease;
        }

        .about-datecard:hover {
            background: var(--color-primary, #4c3e9e);
        }

        .about-datecard-day {
            font-family: var(--font-heading);
            font-weight: 700;
            font-size: 4.5rem;
            line-height: 1;
        }

        .about-datecard-month {
            font-size: 1.25rem;
            font-weight: 600;
            margin: 4px 0 16px;
        }

        .about-datecard-meta {
            color: rgba(255, 255, 255, 0.85);
            font-size: 15px;
            line-height: 1.6;
        }

        .about-datecard-cta {
            margin-top: 22px;
            padding: 11px 24px;
            background: #fff;
            color: var(--color-primary-dk, #2e1a6b);
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.12em;
        }

        @media (min-width: 992px) {
            .about-row {
                grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
                gap: 64px;
                align-items: center;    /* text sits level with the middle of its photo */
            }

            .about-row-media--arch img {
                max-width: 100%;
            }

            /* A row with no photo lets the text take the full width. */
            .about-row > .about-row-text:only-child {
                grid-column: 1 / -1;
            }
        }

        /* About bands: each row of the story sits in its own full-width band,
           alternating white with the flyer indigo and teal, so the colour
           changes along with the photo as you read down. */
        .about.about {
            padding: 0;
            background: none;
        }

        .about-band {
            padding: 88px 0;
            background: var(--color-surface, #fff);
        }

        /* The section after About (Get involved) is white, so the last band
           takes the pale page tint to keep the edge between them. */
        .about-band:last-child {
            background: var(--color-paper);
        }

        .about-band--indigo {
            background: var(--color-band-indigo, #22185e);
        }

        .about-band--teal {
            background: var(--color-band-teal, #007a6e);
        }

        .about-band--gradient {
            background: linear-gradient(115deg, var(--color-band-indigo, #22185e) 0%,
                                                var(--color-band-teal, #007a6e) 100%);
        }

        /* Text on the coloured bands. Every pairing here is 5:1 or better. */
        .about-band--indigo,
        .about-band--teal,
        .about-band--gradient {
            color: #fff;
        }

        .about-band--indigo .about-row-text p,
        .about-band--teal .about-row-text p,
        .about-band--gradient .about-row-text p,
        .about-band--indigo .about-list li,
        .about-band--teal .about-list li {
            color: rgba(255, 255, 255, 0.92);
        }

        .about-band--indigo .about-subhead,
        .about-band--gradient .about-subhead,
        .about-band--indigo .about-list strong {
            color: #8fe0e2;
        }

        .about-band--teal .about-subhead,
        .about-band--teal .about-list strong {
            color: #fff;
        }

        .about-band--indigo .about-list li::before,
        .about-band--teal .about-list li::before {
            background: #8fe0e2;
        }

        .about-band--indigo a,
        .about-band--teal a,
        .about-band--gradient .about-row-text a {
            color: #fff;
            text-decoration: underline;
            text-underline-offset: 3px;
        }

        .about-band--indigo .about-row-media figcaption,
        .about-band--teal .about-row-media figcaption {
            color: rgba(255, 255, 255, 0.78);
        }

        .about-band--indigo .about-row-media img,
        .about-band--teal .about-row-media img {
            border-color: transparent;
        }

        /* The flyers' signature: a panel with one large rounded corner. */
        .about-row-media:not(.about-row-media--arch) img {
            border-radius: 0 72px 0 0;
        }

        /* On the gradient band the date card turns white, so it still reads
           as a card rather than a patch of the same colour. */
        .about-band--gradient .about-datecard {
            background: #fff;
            color: var(--color-band-indigo, #22185e);
            border-radius: 0 72px 0 0;
        }

        .about-band--gradient .about-datecard:hover {
            background: #eaf7f6;
        }

        .about-band--gradient .about-datecard-meta {
            color: #4a4566;
        }

        .about-band--gradient .about-datecard-cta {
            background: var(--color-band-indigo, #22185e);
            color: #fff;
        }

        @media (max-width: 767px) {
            .about-band {
                padding: 56px 0;
            }

            .about-row-media:not(.about-row-media--arch) img,
            .about-band--gradient .about-datecard {
                border-radius: 0 48px 0 0;
            }
        }

        /* Rows fade up as they come into view. The class is added by script, so
           without JavaScript (or with reduced motion) everything just shows. */
        .about-row.will-reveal {
            opacity: 0;
            transform: translateY(28px);
            transition: opacity 0.7s ease, transform 0.7s ease;
        }

        .about-row.will-reveal.is-revealed {
            opacity: 1;
            transform: none;
        }

        @media (prefers-reduced-motion: reduce) {
            .about-row.will-reveal {
                opacity: 1;
                transform: none;
                transition: none;
            }
        }

        .about-subhead {
            font-family: var(--font-heading);
            font-weight: 600;
            color: var(--color-gold);
            font-size: 15px;
            text-transform: uppercase;
            letter-spacing: 0.16em;
            margin-bottom: 18px;
        }

        .about-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .about-list li {
            position: relative;
            padding-left: 22px;
            margin-bottom: 14px;
            color: var(--color-ink);
        }

        .about-list li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0.65em;
            width: 10px;
            height: 2px;
            background: var(--color-gold);
        }

        .about-list strong {
            color: var(--color-primary, var(--color-teal));
        }

        .about-pullquote {
            font-family: var(--font-heading);
            font-weight: 500;
            font-size: clamp(1.4rem, 2.6vw, 1.9rem);
            line-height: 1.35;
            color: var(--color-ink);
            border-left: 3px solid var(--color-gold);
            padding: 6px 0 6px 28px;
            margin: 8px 0;
        }


        /* Editorial Section */
        .editorial-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .editorial-card {
            background-color: var(--color-surface);
            border: 1px solid var(--color-line);
            border-radius: 0;
            overflow: hidden;
            transition: border-color 0.3s ease;
        }

        .editorial-card:hover {
            border-color: var(--color-gold);
        }

        .editorial-img {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }

        .editorial-content {
            padding: 20px;
        }

        .editorial-title {
            font-family: var(--font-heading);
            font-weight: 600;
            font-size: 1.3rem;
            margin-bottom: 10px;
            color: var(--color-ink);
        }

        /* Schedule Section */
        .schedule-content {
            display: none;
        }

        .schedule-content.active {
            display: block;
            animation: fadeIn 0.5s ease;
        }

        .schedule-item {
            display: flex;
            margin-bottom: 30px;
            background-color: var(--color-surface);
            border: 1px solid var(--color-line);
            border-radius: 0;
            overflow: hidden;
        }

        .schedule-time {
            width: 150px;
            padding: 20px;
            background-color: var(--color-ink);
            color: var(--color-paper);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            font-weight: 600;
        }

        .schedule-info {
            flex: 1;
            padding: 20px;
        }

        .schedule-title {
            font-family: var(--font-heading);
            font-weight: 600;
            font-size: 1.3rem;
            margin-bottom: 10px;
        }

        .schedule-speaker {
            font-weight: 500;
            color: var(--color-gold);
        }

        /* Tickets Section */
        .tickets-container {
            display: flex;
            justify-content: center;
            max-width: 600px;
            margin: 0 auto;
        }

        .ticket-card {
            width: 100%;
            margin: 0;
        }

        /* Sponsors Section */
        .sponsors-logos {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            gap: 40px;
        }

        .sponsor-logo {
            max-width: 150px;
            filter: grayscale(100%);
            opacity: 0.7;
            transition: all 0.3s ease;
        }

        .sponsor-logo:hover {
            filter: grayscale(0);
            opacity: 1;
        }

        /* Volunteers Section */
        .volunteers-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
        }

        .volunteer-card {
            text-align: center;
            perspective: 1000px;
        }

        .volunteer-card-inner {
            position: relative;
            width: 100%;
            height: 350px;
            transition: transform 0.8s;
            transform-style: preserve-3d;
        }

        .volunteer-card:hover .volunteer-card-inner {
            transform: rotateY(180deg);
        }

        .volunteer-front, .volunteer-back {
            position: absolute;
            width: 100%;
            height: 100%;
            backface-visibility: hidden;
            border-radius: 10px;
            overflow: hidden;
        }

        .volunteer-front {
            background-color: var(--color-surface);
            border: 1px solid var(--color-line);
        }

        .volunteer-back {
            background-color: var(--color-teal);
            color: var(--color-paper);
            transform: rotateY(180deg);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }

        .volunteer-img {
            width: 100%;
            height: 250px;
            object-fit: cover;
        }

        .volunteer-info {
            padding: 20px;
        }

        .volunteer-name {
            font-family: var(--font-heading);
            font-weight: 600;
            font-size: 1.3rem;
            margin-bottom: 5px;
        }

        .volunteer-role {
            color: var(--color-gold);
            font-weight: 500;
        }

        .volunteer-social {
            margin-top: 20px;
        }

        .volunteer-social a {
            color: var(--color-paper);
            margin: 0 10px;
            font-size: 1.2rem;
            transition: color 0.3s ease;
        }

        .volunteer-social a:hover {
            color: var(--color-gold);
        }

        /* Mailing List Section */
        .mailing-list {
            text-align: center;
            max-width: 600px;
            margin: 0 auto;
        }

        .mailing-form {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-top: 30px;
        }

        .mailing-input {
            flex: 1;
            padding: 15px;
            border: 1px solid var(--color-line);
            border-radius: 0;
            background-color: var(--color-surface);
            font-family: var(--font-body);
            min-width: 250px;
        }

        .mailing-input:focus {
            outline: none;
            border-color: var(--color-teal);
            box-shadow: 0 0 0 2px rgba(14, 95, 78, 0.15);
        }

        /* Virtual Community */
        .virtual-content {
            text-align: center;
            max-width: 700px;
            margin: 0 auto;
        }

        .virtual-icons {
            display: flex;
            justify-content: center;
            margin-top: 30px;
            gap: 30px;
        }

        .virtual-link {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            padding: 14px 30px;
            background-color: var(--color-surface);
            border: 1px solid var(--color-line);
            color: var(--color-ink);
            border-radius: 0;
            font-family: var(--font-body);
            font-weight: 600;
            font-size: 1.05rem;
            letter-spacing: 0.02em;
            text-decoration: none;
            transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease;
        }

        .virtual-link i {
            font-size: 1.6rem;
        }

        .virtual-instagram:hover {
            background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
            color: #fff;
        }

        .virtual-whatsapp:hover {
            background-color: #25D366;
            color: #fff;
        }

        /* Footer */
        footer {
            background-color: var(--color-ink);
            color: var(--color-footer-text);
            padding: 60px 0 0;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 40px;
            padding-bottom: 40px;
        }

        @media (min-width: 900px) {
            .footer-content {
                grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
                gap: 56px;
            }

            .footer-content--social {
                grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
            }

            .footer-col--brand {
                max-width: 46ch;
            }
        }

        .footer-col h3 {
            font-family: var(--font-heading);
            font-weight: 600;
            font-size: 15px;
            color: var(--color-paper);
            margin-bottom: 18px;
        }

        .footer-col p {
            font-size: 13px;
            line-height: 1.7;
        }

        .footer-col .footer-tagline {
            color: var(--color-gold-bright, #ffd24f);
            font-weight: 600;
            margin-bottom: 10px;
        }

        .footer-col .footer-blurb {
            color: var(--color-footer-text);
            margin-bottom: 16px;
        }

        .footer-cta {
            display: inline-block;
            font-size: 13px;
            font-weight: 600;
            color: var(--color-paper);
            text-decoration: none;
            border-bottom: 1px solid var(--color-gold-bright, #ffd24f);
            padding-bottom: 2px;
            transition: color 0.3s ease;
        }

        .footer-cta:hover {
            color: var(--color-gold-bright, #ffd24f);
        }

        .footer-links {
            list-style: none;
            padding: 0;
        }

        .footer-links li {
            margin-bottom: 10px;
        }

        .footer-links a {
            font-size: 13px;
            color: var(--color-footer-text);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-links a:hover {
            color: var(--color-gold-bright, #ffd24f);
        }

        .footer-contact-item {
            display: flex;
            align-items: center;
            margin-bottom: 12px;
            font-size: 13px;
        }

        .footer-contact-item a {
            color: var(--color-footer-text);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-contact-item a:hover {
            color: var(--color-gold-bright, #ffd24f);
        }

        .footer-contact-item.footer-email a {
            color: var(--color-gold-bright, #ffd24f);
        }

        .footer-contact-icon {
            margin-right: 12px;
            color: var(--color-gold-bright, #ffd24f);
            min-width: 18px;
            text-align: center;
        }

        .footer-social {
            display: flex;
            gap: 16px;
            margin-top: 4px;
        }

        .footer-social a {
            color: var(--color-footer-text);
            font-size: 1.2rem;
            transition: color 0.3s ease;
        }

        .footer-social a:hover {
            color: var(--color-gold-bright, #ffd24f);
        }

        .footer-bottom {
            display: flex;
            flex-wrap: wrap;
            gap: 12px 20px;
            justify-content: space-between;
            align-items: center;
            padding: 20px 0;
            border-top: 0.5px solid var(--color-footer-line);
            font-size: 12px;
            color: var(--color-footer-muted);
        }

        .footer-legal-links a,
        .footer-credit a {
            color: var(--color-footer-muted);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-legal-links a:hover,
        .footer-credit a:hover {
            color: var(--color-gold-bright, #ffd24f);
        }

        .footer-legal-links .sep {
            margin: 0 8px;
        }

        /* Animations */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .fade-in {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }

        .fade-in.show {
            opacity: 1;
            transform: translateY(0);
        }

        .btn {
            display: inline-block;
            background-color: var(--color-teal);
            color: var(--color-paper);
            padding: 13px 30px;
            border-radius: 0;
            text-decoration: none;
            font-family: var(--font-body);
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
            border: 1px solid var(--color-teal);
            margin-top: 20px;
        }

        .btn:hover {
            background-color: var(--color-ink);
            color: var(--color-paper);
            border-color: var(--color-ink);
        }

        .btn-outline {
            display: inline-block;
            background-color: transparent;
            color: var(--color-ink);
            padding: 13px 30px;
            border-radius: 0;
            text-decoration: none;
            font-family: var(--font-body);
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            transition: background-color 0.3s ease, color 0.3s ease;
            border: 1px solid var(--color-ink);
            margin-top: 20px;
        }

        .btn-outline:hover {
            background-color: var(--color-ink);
            color: var(--color-paper);
        }

        /* Media Queries */
        @media screen and (max-width: 992px) {
            .nav-menu {
                position: fixed;
                top: 0;
                right: -100%;
                width: 70%;
                height: 100%;
                flex-direction: column;
                background-color: var(--color-paper);
                padding-top: 120px;
                transition: 0.4s;
                box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
            }

            .nav-menu.active {
                right: 0;
            }

            .nav-item {
                margin: 0;
                padding: 15px 30px;
            }

            .hamburger {
                display: block;
            }

            .hamburger.active .bar:nth-child(2) {
                opacity: 0;
            }

            .hamburger.active .bar:nth-child(1) {
                transform: translateY(8px) rotate(45deg);
            }

            .hamburger.active .bar:nth-child(3) {
                transform: translateY(-8px) rotate(-45deg);
            }

            .hero {
                min-height: auto;
                padding-top: 4rem;
            }
            
            .hero-svg {
                width: 100%;
                height: auto;
                max-width: 100%;
                padding: 10px;
                margin-top: 0;
                aspect-ratio: 4 / 3;
                align-items: normal;
            }
            
            .hero-content {
                width: 100%;
                padding: 0 10px;
            }

            .hero-title {
                font-size: 2.5rem;
            }

            .schedule-item {
                flex-direction: column;
            }

            .schedule-time {
                width: 100%;
                padding: 10px;
            }

            .ticket-card {
                margin-bottom: 30px;
            }
        }

        @media screen and (max-width: 768px) {
            .hero {
                min-height: auto;
                padding-top: 4rem;
            }
            
            .hero-svg {
                width: 100%;
                height: auto;
                max-width: 100%;
                padding: 10px;
                margin-top: 0;
                aspect-ratio: 4 / 3;
                align-items: normal;
            }
            
            .hero-content {
                width: 100%;
                padding: 0 10px;
            }

            .hero-title {
                font-size: 2rem;
            }

            .event-image {
                width: 150px;
                height: 120px;
            }

            .section-title {
                font-size: 2rem;
            }

            .countdown {
                flex-wrap: wrap;
            }

            .countdown-item {
                flex: 1;
                min-width: 70px;
                margin-bottom: 15px;
            }

            .mailing-form {
                flex-direction: column;
            }

            .virtual-icons {
                flex-wrap: wrap;
            }
        }

        @media screen and (max-width: 480px) {
            .hero {
                min-height: auto;
                padding-top: 4rem;
            }
            
            .hero-svg {
                width: 100%;
                height: auto;
                max-width: 100%;
                padding: 10px;
                margin-top: 0;
                aspect-ratio: 4 / 3;
                align-items: normal;
            }
            
            .hero-content {
                width: 100%;
                padding: 0 10px;
            }

            .hero-title {
                font-size: 1.8rem;
            }

            .btn {
                padding: 10px 20px;
            }
        }

        .registration-form {
            max-width: 600px;
            margin: 0 auto;
            padding: 30px;
            background: var(--color-surface);
            border: 1px solid var(--color-line);
            border-radius: 0;
        }

        .form-description {
            text-align: center;
            margin-bottom: 30px;
            color: var(--color-ink);
        }

        .registration-form-content {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .form-group {
            width: 100%;
        }

        .form-group input,
        .form-group select {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid var(--color-line);
            border-radius: 0;
            background-color: var(--color-surface);
            font-family: var(--font-body);
            font-size: 1rem;
        }

        .form-group input:focus,
        .form-group select:focus {
            outline: none;
            border-color: var(--color-teal);
            box-shadow: 0 0 0 2px rgba(14, 95, 78, 0.15);
        }

        .form-group select {
            appearance: none;
            background: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") no-repeat right 12px center;
            background-size: 16px;
        }

        .cta-container {
            text-align: center;
            margin: 50px auto 0;
            max-width: 600px;
            padding: 0 20px;
            width: 100%;
        }

        .cta-text {
            margin-bottom: 20px;
            color: var(--color-ink);
            font-size: 1.1rem;
        }

        .cta-btn {
            display: inline-block;
            margin-top: 20px;
            min-width: 200px;
        }

        .gift-incentive {
            background: var(--color-surface);
            padding: 1.5rem;
            border-radius: 0;
            margin: 1.5rem auto;
            max-width: 500px;
            border: 2px dashed var(--color-gold);
        }

        .gift-incentive p {
            text-align: center;
            margin: 0;
            line-height: 1.6;
        }

        .gift-incentive strong {
            color: var(--color-gold);
        }

        .limited-offer {
            display: block;
            margin-top: 0.5rem;
            color: var(--color-gold);
            font-weight: bold;
        }


  
/* Screening Selection Styles */
.screening-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.screening-option {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    padding: 18px 20px;
    border: 1px solid var(--color-line);
    border-radius: 0;
    transition: all 0.2s ease;
    background-color: var(--color-paper);
    position: relative;
}

.screening-option:hover {
    border-color: var(--color-teal);
    background-color: var(--color-surface);
}

.screening-option input[type="radio"] {
    margin-right: 15px;
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: var(--color-teal);
}

.screening-option input[type="radio"]:checked + .screening-details strong {
    color: var(--color-teal);
}

.screening-option:has(input[type="radio"]:checked) {
    border-color: var(--color-teal);
    background-color: var(--color-surface);
    box-shadow: 0 0 0 1px rgba(14, 95, 78, 0.2);
}

.screening-details {
    flex: 1;
}

.screening-details strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1.1em;
    color: var(--color-ink);
}

.screening-details p {
    margin: 0;
    font-size: 0.9em;
    color: var(--color-body-muted);
    line-height: 1.4;
}

/* Mobile responsiveness for screening options */
@media screen and (max-width: 768px) {
    .screening-option {
        padding: 12px;
    }
    
    .screening-details strong {
        font-size: 1em;
    }
    
    .screening-details p {
        font-size: 0.85em;
    }
}

/* Form message styles (enhance existing) */
.form-message.processing {
    color: var(--color-teal);
    background-color: rgba(14, 95, 78, 0.08);
    padding: 10px;
    border-radius: 0;
    margin-top: 15px;
}

.form-message.success {
    color: #27ae60;
    background-color: rgba(39, 174, 96, 0.1);
    padding: 10px;
    border-radius: 5px;
    margin-top: 15px;
}

.form-message.error {
    color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.1);
    padding: 10px;
    border-radius: 5px;
    margin-top: 15px;
}
/* ==========================================================================
   APPENDED for the database-driven rebuild (do not edit rules above).
   Event grid / card / modal styles carried over from the inline <style>
   block of the old events.html (canonical reference), plus archive styles.
   ========================================================================== */

/* Hide past events (client-side belt-and-braces) */
.event-card.event-past {
    display: none !important;
}

/* Event Cards */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.event-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: 0;
    overflow: hidden;
    transition: border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    border-color: var(--color-gold);
}

.event-flyer-frame {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #f0f0f0; /* fallback while images load */
}
.event-flyer-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(20px) brightness(0.85);
    transform: scale(1.1); /* hide blur edge bleed */
}
.event-flyer {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.event-date-badge {
    color: var(--color-gold);
    background: none;
    padding: 0;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    display: inline-block;
}

.event-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.5rem;
    margin: 10px 0;
    color: var(--color-ink);
}

.event-price {
    font-weight: 600;
    font-size: 1.1rem;
    margin: 10px 0;
}

.event-price.free {
    color: var(--color-gold);
}

.event-price.paid {
    color: var(--color-body-muted);
}

.event-description {
    color: var(--color-body-muted);
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
}

.event-btn {
    display: inline-block;
    background-color: var(--color-teal);
    color: var(--color-paper);
    padding: 12px 25px;
    border-radius: 0;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-align: center;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--color-teal);
    cursor: pointer;
    margin-bottom: 12px;
}

.event-btn:hover {
    background-color: var(--color-ink);
    border-color: var(--color-ink);
}

/* External Link Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background-color: var(--color-surface);
    border-radius: 0;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: var(--color-body-muted);
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--color-ink);
}

.modal-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--color-ink);
}

.modal-description {
    color: var(--color-body-muted);
    margin-bottom: 25px;
    line-height: 1.6;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--color-line);
    border-radius: 0;
    background-color: var(--color-surface);
    font-family: var(--font-body);
    font-size: 1rem;
}

.modal-form input:focus {
    outline: none;
    border-color: var(--color-teal);
    box-shadow: 0 0 0 2px rgba(14, 95, 78, 0.15);
}

.modal-redirect {
    display: none;
    text-align: center;
}

.modal-redirect.active {
    display: block;
}

.redirect-message {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.redirect-url {
    background-color: var(--color-paper);
    border: 1px solid var(--color-line);
    padding: 15px;
    border-radius: 0;
    word-break: break-all;
    margin: 15px 0;
    color: var(--color-teal);
    font-weight: 500;
}

.countdown-timer {
    font-size: 3rem;
    font-weight: bold;
    color: var(--color-teal);
    margin: 20px 0;
}

/* Registration Modal */
.reg-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 20px;
}

.reg-modal-overlay.active {
    display: flex;
}

.reg-modal-content {
    background-color: var(--color-surface);
    border-radius: 0;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.reg-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: var(--color-body-muted);
    transition: color 0.3s ease;
    z-index: 10;
}

.reg-modal-close:hover {
    color: var(--color-ink);
}

.reg-modal-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--color-ink);
    padding-right: 30px;
}

.reg-modal-details {
    background-color: var(--color-paper);
    border: 1px solid var(--color-line);
    padding: 15px;
    border-radius: 0;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.reg-modal-details p {
    margin: 5px 0;
    color: var(--color-body-muted);
}

.reg-modal-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.reg-modal-form input,
.reg-modal-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--color-line);
    border-radius: 0;
    background-color: var(--color-surface);
    font-family: var(--font-body);
    font-size: 1rem;
    box-sizing: border-box;
}

.reg-modal-form input:focus,
.reg-modal-form select:focus {
    outline: none;
    border-color: var(--color-teal);
    box-shadow: 0 0 0 2px rgba(14, 95, 78, 0.15);
}

.reg-modal-form .form-message {
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

.reg-modal-form .form-message.success {
    background-color: #d4edda;
    color: #155724;
}

.reg-modal-form .form-message.error {
    background-color: #f8d7da;
    color: #721c24;
}

.reg-modal-form .form-message.processing {
    background-color: #fff3cd;
    color: #856404;
}

/* Past Events archive */
.year-heading {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 2.2rem;
    color: var(--color-ink);
    margin: 60px 0 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-gold);
}

.year-heading:first-of-type {
    margin-top: 20px;
}

.event-flyer-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-ink) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    color: var(--color-paper);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.6rem;
    line-height: 1.4;
}

@media screen and (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 30px 20px;
    }

    .reg-modal-content {
        padding: 25px 20px;
        margin: 10px;
    }

    .reg-modal-title {
        font-size: 1.3rem;
    }
}

/* ===================== Blog (Site Update 1b) ===================== */

.blog-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}
.blog-card .event-content { display: flex; flex-direction: column; flex: 1; }
.blog-card .event-title { color: var(--color-ink); }
.blog-card .blog-readmore { margin-top: auto; align-self: flex-start; cursor: pointer; }

.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 44px;
}
.blog-page-info { color: var(--color-body-muted); font-size: 0.95rem; }

.blog-article {
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    padding: 40px;
    border-radius: 0;
}
.blog-back { margin: 0 0 18px; }
.blog-back a { color: var(--color-teal); text-decoration: none; font-weight: 600; }
.blog-back a:hover { text-decoration: underline; }
.blog-article-title {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-ink);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    margin: 6px 0 8px;
}
.blog-article-date { color: var(--color-body-muted); font-size: 0.95rem; margin: 0 0 26px; }
.blog-article-cover {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: 0;
    margin-bottom: 30px;
}
.blog-draft-banner {
    background: var(--color-paper);
    border: 1px solid var(--color-gold);
    color: var(--color-ink);
    padding: 10px 14px;
    border-radius: 0;
    margin-bottom: 22px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Rendered Markdown body (public) */
.post-body { line-height: 1.8; color: var(--color-ink); font-size: 1.05rem; }
.post-body > *:first-child { margin-top: 0; }
.post-body h1, .post-body h2, .post-body h3, .post-body h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-ink);
    line-height: 1.3;
    margin: 1.5em 0 .5em;
}
.post-body p { margin: 0 0 1.2em; }
.post-body a { color: var(--color-teal); }
.post-body img { max-width: 100%; height: auto; border-radius: 0; margin: 1em 0; }
.post-body ul, .post-body ol { margin: 0 0 1.2em 1.5em; }
.post-body li { margin-bottom: .4em; }
.post-body blockquote {
    border-left: 4px solid var(--color-gold);
    margin: 1.2em 0;
    padding: .5em 1.2em;
    color: var(--color-body-muted);
    background: var(--color-paper);
}
.post-body code { background: var(--color-paper); padding: 2px 6px; border-radius: 4px; font-size: .9em; }
.post-body pre { background: var(--color-ink); color: var(--color-footer-text); padding: 16px; border-radius: 0; overflow-x: auto; margin: 1.2em 0; }
.post-body pre code { background: none; padding: 0; color: inherit; }

@media (max-width: 700px) {
    .blog-article { padding: 24px 20px; }
    .blog-pagination { gap: 14px; }
}

/* ==========================================================================
   Design tokens rollout (design-tokens-and-footer-spec.md) — brand texture,
   page-header band and eyebrow helpers shared across pages.
   ========================================================================== */

.about,
.page-header-band {
    position: relative;
    overflow: hidden;
}

/* clip, not hidden: clips the rows' fade-up motion at the edges without making
   .about a scroll container (which would break any sticky content inside it). */
.about {
    overflow: clip;
}

/*
 * Inner pages open with an empty .hero that only clears the fixed header
 * (90px tall), followed by the page-header band. Both used to carry their own
 * large top padding, which left about 140px of blank space above every page
 * title. Now the spacer is exactly the header and the band adds a modest gap.
 */
.hero.page-spacer {
    min-height: 0;
    padding: 90px 0 0;
    background: var(--color-paper);
}

.page-header-band {
    padding: 40px 0 80px;
    background-color: var(--color-paper);
}

.page-header-band--doc {
    padding-bottom: 100px;
}

.page-header-eyebrow {
    font-family: var(--font-body);
    color: var(--color-teal);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 14px;
}

.page-header-title {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-ink);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
}

.page-header-subtitle {
    font-family: var(--font-accent);
    font-style: italic;
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    color: var(--color-body-muted);
    max-width: 800px;
    margin: 0 auto;
}


/* ==========================================================================
   Contact / Volunteer form pages (appended)
   ========================================================================== */
.page-section { padding: 130px 0 60px; }   /* 90px header + 40px, as .page-spacer + .page-header-band */
.page-section .section-title { text-align: center; margin-bottom: 24px; }
.form-group > label { display: block; margin-bottom: 6px; font-weight: 600; }
.form-group textarea {
    width: 100%; padding: 12px 15px; border: 1px solid var(--color-line);
    border-radius: 0; background-color: var(--color-surface);
    font-family: var(--font-body); font-size: 1rem; resize: vertical; min-height: 120px;
}
.form-group textarea:focus {
    outline: none; border-color: var(--color-teal); box-shadow: 0 0 0 2px rgba(14, 95, 78, 0.15);
}
.checkbox-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-top: 6px; }
.checkbox-item { display: flex; align-items: center; gap: 8px; font-weight: normal; }
.checkbox-item input { width: auto; }
/* Honeypot: hidden from people, offered to naive bots */
.hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- Nested navigation ----
   One level only, driven by SITE_NAV's `children`. The parent remains a real
   link, so this is a shortcut rather than the only route to the sub-page.
   Opened on hover AND on focus-within, so it works from the keyboard; on
   narrow screens the submenu is simply always visible inside the drawer,
   because a hover dropdown inside a slide-out panel is a trap on touch. */
.nav-item.has-children { position: relative; }
.nav-caret { font-size: 0.62em; margin-left: 6px; vertical-align: middle; opacity: 0.7; }

.nav-sub {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 170px;
    background: var(--color-surface, #fff);
    border: 1px solid var(--color-line, #e5e0d8);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease;
    z-index: 1002;
}
.nav-item.has-children:hover .nav-sub,
.nav-item.has-children:focus-within .nav-sub { opacity: 1; visibility: visible; }

.nav-sub a {
    display: block;
    padding: 9px 18px;
    color: var(--color-ink);
    text-decoration: none;
    font-size: 0.95rem;
    white-space: nowrap;
}
.nav-sub a:hover { color: var(--color-teal); background: var(--color-paper); }

@media screen and (max-width: 992px) {
    .nav-sub {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        border: none;
        box-shadow: none;
        background: transparent;
        padding: 6px 0 0 14px;
        min-width: 0;
    }
    .nav-sub a { padding: 8px 0; }
    .nav-caret { display: none; }
}

/* ---- Get involved cards ---- */
.involve-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.involve-card {
    background: var(--color-surface, #fff);
    border: 1px solid var(--color-line, #e5e0d8);
    border-radius: 10px;
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
}
.involve-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-teal);
    margin: 0 0 12px;
}
.involve-card p { margin: 0 0 20px; line-height: 1.7; color: var(--color-body-muted, #5a564e); }
/* Push every button onto the same baseline regardless of copy length. */
.involve-card .btn { margin-top: auto; align-self: flex-start; }

/* ---- Further reading ----
   Deliberately plain: these are links off the site, so they should not compete
   with the chapter's own calls to action. */
.reading { padding: 70px 0; }
.reading-intro {
    max-width: 700px;
    margin: 0 auto 28px;
    text-align: center;
    color: var(--color-body-muted, #5a564e);
    line-height: 1.7;
}
.reading-list { list-style: none; padding: 0; max-width: 760px; margin: 0 auto; }
.reading-list li {
    padding: 18px 0;
    border-bottom: 1px solid var(--color-line, #e5e0d8);
}
.reading-list li:last-child { border-bottom: none; }
.reading-list a {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--color-teal);
    text-decoration: none;
}
.reading-list a:hover { text-decoration: underline; }
.reading-source {
    display: block;
    margin-top: 5px;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-body-muted, #5a564e);
}

/* Cross-links between the Upcoming and Past events pages. They are siblings
   under Events in the navigation, so each page points at the other. */
.page-header-links { margin: 14px 0 0; }
.page-header-links a {
    color: var(--color-teal);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
}
.page-header-links a:hover { text-decoration: underline; }

/* ---- Hero with no artwork ----
   The hero is a two-column layout: art on the left, a panel on the right. With
   no art file the panel would sit in its half of the row beside dead space, so
   it becomes a single centred column instead and is allowed to grow wider. */
.hero-main-content--solo { flex-direction: column !important; }
.hero-main-content--solo .hero-info {
    max-width: 760px;
    text-align: center;
    border-left: none;
    border-top: 3px solid var(--color-teal);
    padding: 2.5rem 2.5rem 2.75rem;
}
.hero-main-content--solo .hero-actions,
.hero-main-content--solo .btn { align-self: center; }

/* The subtitle inherited an italic serif treatment from the previous brand.
   This identity is sans throughout, so italic body copy reads as an accident. */
.hero-subtitle { font-style: normal; }

/* .hero-info is a flex column, so two sibling buttons stack. Wrap them. */
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-main-content--solo .hero-actions { justify-content: center; }
