:root {
    --ink: #24092F;
    --paper: #F4EFE2;
    --coral: #FFE100;
    --coral-deep: #4A1868;
    --teal: #34104A;
    --sage: #E4EAD6;
    --line: rgba(36,9,47,0.14);
    --line-light: rgba(244,239,226,0.22);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--paper);
    color: var(--ink);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.05;
}

.tag {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 500;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

a {
    color: inherit;
    text-decoration: none;
}

img, svg {
    display: block;
}

.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 40px;
}

.hidden{
    display:none;
}

/* ===== NAV ===== */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--ink);
    border-bottom: 1px solid var(--line-light);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 8px;
    color: var(--coral);
}

.logo .mark {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
}

.logo .mark span {
    color: var(--paper);
}

.logo .sub {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.68rem;
    color: rgba(244,239,226,0.55);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 34px;
}

.nav-links a {
    color: var(--coral)!important;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color .15s ease;
}

.nav-links a:hover {
    color: var(--paper);
}

.nav-links a:focus-visible {
    outline: 2px solid var(--coral);
    outline-offset: 4px;
}

.nav-cta {
    background: var(--coral);
    color: var(--ink);
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
}

.nav-cta:hover {
    background: #ffffff;
}   

.nav-cta:focus-visible {
    outline: 2px solid var(--paper);
    outline-offset: 3px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 34px;
    height: 34px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--coral);
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-toggle:focus-visible {
    outline: 2px solid var(--coral);
    outline-offset: 4px;
}

@media (max-width:900px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--ink);
        flex-direction: column;
        gap: 0;
        border-bottom: 1px solid var(--line-light);
        max-height: 0;
        overflow: hidden;
        transition: max-height .25s ease;
    }

    .nav-links.open {
        max-height: 320px;
    }

    .nav-links a {
        padding: 16px 24px;
        border-top: 1px solid var(--line-light);
    }
}

/* ===== HERO ===== */
.hero {
    background: var(--ink);
    color: var(--paper);
    padding: 100px 0 90px;
    position: relative;
    overflow: hidden;
}

.hero .wrap {
    text-align: center;
}

.hero::before {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 1px dashed rgba(255,225,0,0.35);
}

.hero::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 60px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 1px dashed rgba(255,225,0,0.2);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line-light);
    border-radius: 999px;
    padding: 7px 16px 7px 8px;
    margin-bottom: 36px;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--coral);
    flex-shrink: 0;
}

.hero-badge span {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: rgba(244,239,226,0.8);
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(2.6rem, 5.6vw, 5.2rem);
    max-width: 820px;
    margin: 0 auto;
    color: var(--coral);
}

.hero h1 em {
    font-style: normal;
    color: var(--paper);
}

.hero p.lead {
    margin-top: 26px;
    margin-left: auto;
    margin-right: auto;
    max-width: 520px;
    font-size: 1.08rem;
    color: rgba(244,239,226,0.75);
}

.hero-actions {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform .15s ease, background .15s ease, color .15s ease;
}

.btn-primary {
    background: var(--coral);
    color: var(--ink);
}

.btn-primary:hover {
    background: #fff;
    transform: translateY(-1px);
}

.btn-ghost {
    border: 1px solid rgba(255,225,0,0.45);
    color: var(--coral);
}

.btn-ghost:hover {
    border-color: var(--paper);
    color: var(--paper);
}

.btn:focus-visible {
    outline: 2px solid var(--coral);
    outline-offset: 3px;
}

.hero-stats {
    margin-top: 70px;
    display: flex;
    justify-content: center;
    gap: 56px;
    flex-wrap: wrap;
    border-top: 1px solid var(--line-light);
    padding-top: 32px;
}

.stat .num {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: var(--coral);
}

.stat .lbl {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(244,239,226,0.55);
    margin-top: 6px;
}

/* ===== SECTION SCAFFOLD ===== */
section.block {
    padding: 96px 0;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.eyebrow .rule {
    width: 34px;
    height: 1px;
    background: currentColor;
    opacity: .5;
}

.eyebrow span {
    color: var(--coral-deep);
}

.block-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 52px;
    flex-wrap: wrap;
}

.block-head h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.7rem);
}

.block-head p {
    max-width: 380px;
    color: rgba(36,9,47,0.62);
    font-size: 0.98rem;
}

/* ===== ABOUT ===== */
.about {
    background: var(--paper);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: start;
}

.about-copy p {
    color: rgba(36,9,47,0.72);
    margin-bottom: 18px;
    font-size: 1.02rem;
}

    .about-copy p:last-of-type {
        margin-bottom: 0;
    }

.about-copy strong {
    color: var(--ink);
}

.about-card {
    background: var(--ink);
    color: var(--paper);
    border-radius: 18px;
    padding: 34px;
}

    .about-card ul {
        list-style: none;
        margin-top: 22px;
    }

    .about-card li {
        display: flex;
        justify-content: space-between;
        padding: 14px 0;
        border-top: 1px solid var(--line-light);
        font-size: 0.95rem;
    }

        .about-card li:first-child {
            border-top: none;
        }

        .about-card li .k {
            color: rgba(244,239,226,0.6);
        }

        .about-card li .v {
            font-family: 'IBM Plex Mono', monospace;
            font-weight: 600;
            color: var(--coral);
        }

/* ===== NEWS ===== */
.news {
    background: var(--sage);
}

.news-list {
    display: flex;
    flex-direction: column;
}

.news-item {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 28px;
    align-items: start;
    padding: 28px 0;
    border-top: 1px solid var(--line);
}

    .news-item:first-child {
        border-top: none;
    }

.news-date {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: var(--coral-deep);
    padding-top: 4px;
}

.news-body h3 {
    font-size: 1.28rem;
    margin-bottom: 8px;
}

.news-body p {
    color: rgba(36,9,47,0.65);
    font-size: 0.96rem;
    max-width: 560px;
}

.news-group {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(36,9,47,0.08);
    border-radius: 999px;
    padding: 6px 12px;
    white-space: nowrap;
    align-self: start;
    margin-top: 4px;
}

.news-more {
    margin-top: 44px;
    display: flex;
    justify-content: center;
}

.link-more {
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 3px;
}

    .link-more:hover {
        color: var(--coral-deep);
        border-color: var(--coral-deep);
    }

/* ===== VOLUNTEERS / BADGES ===== */
.team {
    background: var(--paper);
}

/* ===== SECONDARY PAGE HEADER (Volunteers page, etc.) ===== */
.page-header {
    background: var(--ink);
    color: var(--paper);
    padding: 70px 0 60px;
    text-align: center;
}

    .page-header .eyebrow {
        justify-content: center;
        color: var(--coral);
    }

        .page-header .eyebrow .rule {
            background: var(--coral);
            opacity: 1;
        }

    .page-header h1 {
        font-size: clamp(2.2rem, 4.4vw, 3.4rem);
        color: var(--coral);
        margin-top: 14px;
    }

    .page-header .lead {
        margin: 18px auto 0;
        max-width: 560px;
        font-size: 1.05rem;
        color: rgba(244,239,226,0.75);
    }

/* ===== VOLUNTEER ROSTER ===== */
.roster {
    background: var(--paper);
}

.roster.sage {
    background: var(--sage);
}

.volunteer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.volunteer-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--line);
    overflow: hidden;
}

.volunteer-photo {
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 2.2rem;
    color: var(--ink);
}
img.volunteer-photo {
    aspect-ratio: 1/1;
    object-fit: cover;
    width: 100%;
    height: auto;
}

.volunteer-info {
    padding: 22px 24px 24px;
}

.volunteer-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
}

.volunteer-role {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--coral-deep);
    margin-top: 4px;
}

.volunteer-bio {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed var(--line);
    color: rgba(36,9,47,0.65);
    font-size: 0.93rem;
}

.badge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.badge-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--line);
    padding: 26px 24px 24px;
    position: relative;
    box-shadow: 0 1px 0 rgba(36,9,47,0.03);
}

.badge-punch {
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 18px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 0 0 10px 10px;
    border-top: none;
}

.badge-strip {
    height: 5px;
    border-radius: 3px;
    margin-bottom: 20px;
}

.badge-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--ink);
    flex-shrink: 0;
}

.badge-name {
    font-size: 1.08rem;
}

.badge-role {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--coral-deep);
    margin-top: 4px;
}

.badge-card p.bio {
    color: rgba(36,9,47,0.65);
    font-size: 0.92rem;
    padding-top: 16px;
    border-top: 1px dashed var(--line);
}

/* ===== CONTACT / JOIN ===== */
.join {
    background: var(--teal);
    color: var(--paper);
}

.join-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.join-copy p {
    color: rgba(244,239,226,0.72);
    margin-top: 18px;
    max-width: 420px;
    font-size: 1.02rem;
}

.join-perks {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.perk {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.94rem;
    color: rgba(244,239,226,0.85);
}

.perk .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--coral);
    margin-top: 8px;
    flex-shrink: 0;
}

form {
    background: rgba(244,239,226,0.06);
    border: 1px solid var(--line-light);
    border-radius: 18px;
    padding: 32px;
}

.field {
    margin-bottom: 18px;
}

.field label {
    display: block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(244,239,226,0.55);
    margin-bottom: 8px;
}

.field input, .field select {
    width: 100%;
    background: rgba(244,239,226,0.08);
    border: 1px solid var(--line-light);
    border-radius: 10px;
    padding: 12px 14px;
    color: var(--paper);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

.field input::placeholder {
    color: rgba(244,239,226,0.4);
}

.field select option {
    color: var(--ink);
}

.field input:focus, .field select:focus {
    outline: 2px solid var(--coral);
    outline-offset: 2px;
}

form .btn-primary {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
    border: none;
    cursor: pointer;
}

footer {
    background: var(--ink);
    color: rgba(244,239,226,0.55);
    padding: 44px 0;
}

.foot-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
}

.foot-links {
    display: flex;
    gap: 24px;
}

.foot-links a {
    color: white!important;
}

.foot-links a:hover {
    color: var(--coral);
}
.foot-social {
    display: flex;
    gap: 16px;
}

.foot-social a {
    color: white!important;
    display: flex;
}

.foot-social a:hover {
    color: var(--coral);
}
@media (max-width:900px) {
    .wrap {
        padding: 0 24px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .badge-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .volunteer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .join-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .news-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .news-group {
        margin-top: 0;
    }
}

@media (max-width:560px) {
    .hero {
        padding: 70px 0 60px;
    }

    .badge-grid {
        grid-template-columns: 1fr;
    }

    .volunteer-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        gap: 32px;
    }

    .about-card {
        padding: 26px;
    }
    .foot-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .foot-links {
        flex-wrap: wrap;
        gap: 14px 20px;
    }

    .foot-social {
        gap: 20px;
    }
}



@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

/* ===== SPEAKER CONNECT HUB ===== */
.speaker-hero {
    background: var(--ink);
    color: var(--paper);
    padding: 70px 0 60px;
}

.speaker-hero .eyebrow {
    color: var(--coral);
}

.speaker-hero .eyebrow .rule {
    background: var(--coral);
    opacity: 1;
}

.speaker-hero h1 {
    font-size: clamp(2.2rem, 4.4vw, 3.4rem);
    color: var(--coral);
    margin-top: 14px;
    max-width: 780px;
}

.speaker-hero .lead {
    margin-top: 18px;
    max-width: 640px;
    font-size: 1.05rem;
    color: rgba(244,239,226,0.75);
}

.speaker-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.speaker-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--line);
    padding: 26px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.speaker-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.speaker-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
}

.speaker-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.08rem;
}

.speaker-role {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.72rem;
    color: rgba(36,9,47,0.6);
    margin-top: 4px;
    line-height: 1.5;
}

.speaker-section {
    padding-top: 16px;
    border-top: 1px dashed var(--line);
    margin-top: 16px;
}

.speaker-section:first-of-type {
    padding-top: 0;
    border-top: none;
    margin-top: 0;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--coral-deep);
    margin-bottom: 10px;
}

.section-label .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dot-open { background: var(--coral); }
.dot-skill { background: #4B5A8A; }
.dot-day { background: #173F3C; }

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-pill {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.72rem;
    padding: 6px 12px;
    border-radius: 999px;
    white-space: nowrap;
    line-height: 1.3;
}

.tag-open {
    background: rgba(255, 225, 0, 0.22);
    color: var(--coral-deep);
}

.tag-skill {
    background: #DCE1F1;
    color: #2c3a5e;
}

.tag-day {
    background: var(--sage);
    color: #1f3320;
}

.avail-slots {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.86rem;
    color: rgba(36,9,47,0.68);
}

@media (max-width: 900px) {
    .speaker-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .speaker-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== ANIMATION ===== */

/* Hero entrance, staggered */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-badge { animation: fadeUp 0.7s ease both; }
.hero h1 { animation: fadeUp 0.7s ease 0.1s both; }
.hero p.lead { animation: fadeUp 0.7s ease 0.2s both; }
.hero-actions { animation: fadeUp 0.7s ease 0.3s both; }
.hero-stats { animation: fadeUp 0.7s ease 0.4s both; }

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Card hover lift */
.badge-card,
.volunteer-card,
.speaker-card,
.about-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.badge-card:hover,
.volunteer-card:hover,
.speaker-card:hover,
.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(36,9,47,0.10);
}

@media (prefers-reduced-motion: reduce) {
    .hero-badge, .hero h1, .hero p.lead, .hero-actions, .hero-stats {
        animation: none;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
    .badge-card:hover,
    .volunteer-card:hover,
    .speaker-card:hover,
    .about-card:hover {
        transform: none;
    }
}