/* ===== HACK CLUB DESIGN SYSTEM (https://design.hackclub.com): Phantom Sans, Zarathustra, brand palette ===== */
@font-face { font-family: 'Phantom Sans'; src: url('https://unpkg.com/@hackclub/theme@2.0.0/dist/fonts/phantom-sans-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Phantom Sans'; src: url('https://unpkg.com/@hackclub/theme@2.0.0/dist/fonts/phantom-sans-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Phantom Sans'; src: url('https://unpkg.com/@hackclub/theme@2.0.0/dist/fonts/phantom-sans-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Phantom Sans'; src: url('https://unpkg.com/@hackclub/theme@2.0.0/dist/fonts/phantom-sans-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Zarathustra'; src: url('https://unpkg.com/@hackclub/theme@2.0.0/dist/fonts/zarathustra-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }

/* ===== COLOURS & BASICS ===== */
:root {
    --red: #d4253f;       /* Hack Club red, a touch deeper so text on it is easy to read */
    --red-bright: #ec3750; /* the original Hack Club red, for decoration only */
    --orange: #ff8c37;
    --dark: #17171d;
    --text: #3c4858;
    --muted: #5f6b7d;
    --light: #fff6eb;       /* Hack Club cream */
    --white: #ffffff;
    --radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: "Phantom Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container { width: 90%; max-width: 1100px; margin: 0 auto; }
h1, h2, h3 { color: var(--dark); line-height: 1.2; }
h2 { font-size: 2.2rem; margin-bottom: 1rem; }
.center { text-align: center; }

/* ===== SCROLL PROGRESS BAR ===== */
.progress {
    pointer-events: none;
    position: fixed; top: 0; left: 0; height: 4px; width: 0;
    background: linear-gradient(90deg, var(--red), var(--orange));
    z-index: 300;
}

/* ===== HACK CLUB FLAG ===== */
.hc-flag { position: absolute; top: 0; left: 20px; z-index: 200; }
.hc-flag img { width: 110px; transition: transform 0.2s; transform-origin: top left; }
.hc-flag img:hover { transform: rotate(-5deg); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--red);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(236, 55, 80, 0.3); }
.btn-small { padding: 8px 18px; }
.btn-outline { background: transparent; color: var(--red); }
.btn-white { background: var(--white); color: var(--red); border-color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--white); }

/* ===== NAVIGATION ===== */
.nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0 16px 120px; }
.brand { text-decoration: none; color: var(--dark); font-size: 1.3rem; }
.brand strong { color: var(--red); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 500; }
.nav-links a:not(.btn):hover { color: var(--red); }
.menu-btn { display: none; background: none; border: none; font-size: 1.8rem; cursor: pointer; }

/* ===== HERO ===== */
.hero {
    position: relative;
    padding: 60px 0 100px;
    text-align: center;
    overflow: hidden;
}
.hero-inner { position: relative; z-index: 1; }

/* Soft moving colour blobs behind the hero */
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.35; animation: float 10s ease-in-out infinite; }
.blob-1 { width: 400px; height: 400px; background: var(--red); top: -100px; left: -100px; }
.blob-2 { width: 350px; height: 350px; background: var(--orange); bottom: -120px; right: -80px; animation-delay: -5s; }
@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(40px, 30px); }
}

.hero-logo { width: 320px; max-width: 80%; margin-bottom: 10px; }
.tag { color: var(--red); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; }
.hero h1 { font-size: 3.5rem; margin: 16px 0; font-weight: 800; }
.typed { color: var(--red); }
.cursor { color: var(--red); animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-text { max-width: 600px; margin: 0 auto 32px; font-size: 1.15rem; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== SCROLLING BANNER ===== */
.marquee { background: var(--dark); color: var(--white); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; width: max-content; animation: scroll 25s linear infinite; }
.marquee-track span { padding-right: 32px; font-weight: 700; font-size: 1.1rem; white-space: nowrap; }
.marquee-track span:nth-child(even) { color: var(--red); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }
.section-alt { background: var(--light); }
.section-label { color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; margin-bottom: 8px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: center; }
.about-grid p { margin-bottom: 16px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { background: var(--light); padding: 24px; border-radius: var(--radius); text-align: center; }
.stat-num { display: block; font-size: 2.2rem; font-weight: 800; color: var(--red); }
.stat-label { font-size: 0.9rem; color: var(--muted); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-top: 4px solid transparent;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1); border-top-color: var(--red); }
.card-icon { font-size: 2.2rem; margin-bottom: 12px; }
.card h3 { margin-bottom: 8px; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.step { text-align: center; padding: 20px; }
.step-num {
    width: 60px; height: 60px; margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red), #c2410c);
    color: var(--white); font-size: 1.5rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
}
.step h3 { margin-bottom: 6px; }

/* Quote banner */
.quote-banner { background: var(--dark); padding: 80px 0; text-align: center; }
.quote { color: var(--white); font-size: 1.8rem; font-weight: 700; max-width: 800px; margin: 0 auto; }

/* Team */
.team { display: flex; justify-content: center; gap: 40px; margin-top: 48px; flex-wrap: wrap; }
.member {
    background: var(--white);
    width: 300px;
    padding: 32px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s;
}
.member:hover { transform: translateY(-6px); }
.avatar {
    width: 160px; height: 160px; border-radius: 50%;
    object-fit: cover; object-position: top;
    margin-bottom: 16px;
    border: 5px solid var(--white);
    box-shadow: 0 0 0 4px var(--red);
}
.role { color: var(--red); font-weight: 600; margin-bottom: 8px; }
.bio { font-size: 0.95rem; color: var(--muted); }

/* FAQ */
.faq-wrap { max-width: 750px; }
.faq-wrap h2 { margin-bottom: 40px; }
.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
}
.faq-item summary {
    padding: 20px 24px;
    cursor: pointer;
    font-size: 1.05rem; font-weight: 600; color: var(--dark);
    list-style: none;
    display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--red); transition: transform 0.3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--red); }
.faq-item p { padding: 0 24px 20px; animation: drop 0.3s ease; }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

/* Join */
.join { background: linear-gradient(135deg, var(--red), #c2410c); text-align: center; }
.join h2, .join p { color: var(--white); }
.join p { margin-bottom: 32px; font-size: 1.15rem; }
.join .email-text { margin: 20px 0 0; font-size: 1rem; opacity: 1; line-height: 1.8; }

/* Footer */
.footer { background: var(--dark); color: #a0aec0; padding: 30px 0; font-size: 0.9rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-hc { display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; }
.footer-hc img { width: 32px; }
.footer-social { display: flex; gap: 14px; align-items: center; }
.footer-social a { color: var(--white); opacity: .8; display: flex; transition: opacity .15s, transform .15s; }
.footer-social a:hover, .footer-social a:focus-visible { opacity: 1; transform: translateY(-2px); }

/* Back to top button */
.to-top {
    position: fixed; bottom: 24px; right: 24px;
    width: 50px; height: 50px; border-radius: 50%;
    background: var(--red); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; text-decoration: none;
    box-shadow: 0 6px 20px rgba(236, 55, 80, 0.4);
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s;
    z-index: 100;
}
.to-top.show { opacity: 1; pointer-events: auto; }

/* Pop-up message */
.toast {
    position: fixed; bottom: 30px; left: 50%;
    transform: translate(-50%, 100px);
    background: var(--dark); color: var(--white);
    padding: 12px 24px; border-radius: 999px;
    max-width: 90vw; text-align: center;
    transition: transform 0.3s;
    z-index: 200;
}
.toast.show { transform: translate(-50%, 0); }

/* ===== HERO LOGO FRAME ===== */
.hero-logo { width: 240px; height: auto; border-radius: 28px; box-shadow: 0 12px 40px rgba(23, 23, 29, 0.15); }

/* Small line of text under a heading */
.section-sub { color: var(--muted); max-width: 620px; margin: 0 auto; font-size: 1.05rem; }

/* ===== MEETINGS BULLETIN BOARD ===== */
.board {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px;
    margin-top: 48px; padding: 40px;
    background: #c99a62;
    background-image: radial-gradient(rgba(0, 0, 0, 0.08) 1px, transparent 1px);
    background-size: 8px 8px;
    border: 12px solid #7a5230;
    border-radius: var(--radius);
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.25), 0 10px 30px rgba(0, 0, 0, 0.1);
}
.note {
    position: relative;
    background: #fff9c4;
    padding: 32px 24px 24px;
    border-radius: 4px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
    transform: rotate(-1.5deg);
    transition: transform 0.2s;
}
.note:hover { transform: rotate(0) scale(1.03); }
.note-main { background: var(--white); transform: rotate(1deg); }
.note-tilt { transform: rotate(2deg); background: #d6f0ff; }
.note h3 { margin: 6px 0 8px; }
.note p { margin-bottom: 12px; }
.note-label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.note-date { color: var(--red); font-weight: 800; font-size: 1.15rem; }
.note-soon h3 { color: var(--muted); }
.pin {
    position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
    width: 18px; height: 18px; border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ff7a8a, var(--red) 60%, #a01828);
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.35);
}

/* ===== PRIZES ===== */
.prize { text-align: center; }
.prize .card-icon { font-size: 2.6rem; }

/* ===== TEAM CHIPS ===== */
.member { width: 340px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }
.chips span {
    background: rgba(236, 55, 80, 0.1); color: #b91c35;
    padding: 4px 12px; border-radius: 999px;
    font-size: 0.8rem; font-weight: 600;
}

/* ===== GALLERY ===== */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.photo-slot, .photo { aspect-ratio: 4 / 3; border-radius: var(--radius); width: 100%; }
.photo { object-fit: cover; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); }
.photo-slot {
    border: 3px dashed #d3dce6;
    background: var(--light);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: var(--muted); font-weight: 600;
}
.photo-slot span { font-size: 2.5rem; margin-bottom: 8px; }

/* ===== HERO HEADLINE: the typed word gets its own line, so nothing jumps ===== */
.typed-line { display: block; min-height: 1.2em; }

/* Sticky nav must not cover section titles after clicking a link */
section[id] { scroll-margin-top: 72px; }

/* Current section highlighted in the nav */
.nav-links a.active:not(.btn) { color: var(--red); }

/* Meeting countdown badge */
.note-badge {
    display: inline-block; margin-left: 6px;
    background: var(--red); color: var(--white);
    padding: 2px 10px; border-radius: 999px;
    font-size: 0.75rem; letter-spacing: 0.5px;
}
.note-badge:empty { display: none; }
.note-badge.past { background: var(--muted); }

/* ===== KEYBOARD FOCUS ===== */
a:focus-visible, button:focus-visible, summary:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 3px;
    border-radius: 8px;
}
.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 400;
    background: var(--dark); color: var(--white);
    padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ===== FADE-IN ON SCROLL ===== */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s, transform 0.6s; }
.fade-in.visible { opacity: 1; transform: none; }

/* ===== PHONES & TABLETS ===== */
@media (max-width: 900px) {
    .menu-btn { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
    .nav-links {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; background: var(--white); padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    }
    .nav-links.open { display: flex; }
    .hero h1 { font-size: 2.4rem; }
    .about-grid { grid-template-columns: 1fr; }
    .cards { grid-template-columns: 1fr; }
    .board { grid-template-columns: 1fr; padding: 24px; }
    .gallery { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr 1fr; }
    .nav-links a:not(.btn) { padding: 6px 0; }
    section.section { padding: 72px 0; }
    .quote { font-size: 1.3rem; }
    .hc-flag img { width: 80px; }
    .nav-inner { padding-left: 90px; }
}

/* Small phones */
@media (max-width: 560px) {
    .steps { grid-template-columns: 1fr; gap: 8px; }
    .to-top { width: 44px; height: 44px; bottom: 16px; right: 16px; }
    .board { border-width: 8px; padding: 20px; gap: 22px; }
    .hero-logo { width: 190px; }
    h2 { font-size: 1.8rem; }
}

/* People who turn on "reduce motion" get a calm page */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .blob, .marquee-track, .cursor { animation: none; }
    .fade-in { opacity: 1; transform: none; transition: none; }
    .card, .member, .note, .btn { transition: none; }
}

.note-time { font-weight: 700; color: var(--dark); margin-top: -6px; }

/* ===== PHOTO CARDS (What We Do) ===== */
.card { overflow: hidden; }
.photo-card { padding: 0 0 28px; }
.photo-card h3, .photo-card p { padding: 0 28px; }
.card-photo {
    display: block; width: 100%;
    aspect-ratio: 4 / 3; object-fit: cover;
    margin-bottom: 20px;
    transition: transform 0.4s;
}
.photo-card:hover .card-photo { transform: scale(1.04); }

/* ===== PRIZES: numbers instead of icons ===== */
.prize { text-align: left; }
.prize-num {
    display: block; margin-bottom: 14px;
    font-size: 0.85rem; font-weight: 800; letter-spacing: 1px;
    color: var(--red);
}
.banner-photo { margin: 40px 0 0; }
.banner-photo img {
    display: block; width: 100%;
    aspect-ratio: 21 / 8; object-fit: cover;
    border-radius: var(--radius);
}
.banner-photo figcaption, .community-photo figcaption {
    margin-top: 10px; font-size: 0.85rem; color: var(--muted);
}

/* ===== MARQUEE DOTS ===== */
.marquee-track span.dot {
    width: 8px; height: 8px; padding: 0; margin: auto 32px auto 0;
    border-radius: 50%; background: var(--red-bright);
}

/* ===== GALLERY ===== */
.photo-slot { gap: 6px; padding: 16px; text-align: center; }
.photo-slot p { color: var(--dark); font-weight: 700; }
.photo-slot span { font-size: 0.85rem; font-weight: 500; margin: 0; }
.community-title { text-align: center; margin-top: 64px; font-size: 1.3rem; }
.community-photo { margin: 0; }
.gallery + .community-title + .gallery { margin-top: 24px; }

/* ===== NOTES without emoji ===== */
.note-label { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.note-badge { margin-left: 0; }
.note-main .pin { left: 85%; }

/* ===== EXTERNAL SIGN-UP PAGE ===== */
.signup-page { background: var(--light); }
.signup-nav { padding-left: 0; }
.back-link { color: var(--text); font-weight: 600; text-decoration: none; }
.back-link:hover { color: var(--red); }
.signup-main { padding: 56px 0 80px; }
.signup-wrap {
    display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px;
    align-items: start; max-width: 1100px;
}
.signup-intro { position: sticky; top: 96px; }
.signup-intro h1 { font-size: 2.4rem; margin-bottom: 16px; font-weight: 800; }
.signup-intro > p { margin-bottom: 16px; }
.signup-meeting {
    background: var(--white); border-left: 4px solid var(--red);
    padding: 20px 22px; border-radius: 12px; margin: 24px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.signup-meeting p { margin-bottom: 6px; }
.signup-meeting-title { font-size: 1.2rem; font-weight: 800; color: var(--dark); }
.local-time { color: var(--muted); font-size: 0.9rem; }
.signup-small { font-size: 0.9rem; color: var(--muted); }
.signup-small a, .privacy a { color: var(--red); font-weight: 600; }

.signup-form, .signup-done {
    background: var(--white); border-radius: var(--radius);
    padding: 36px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.signup-form fieldset { border: none; padding: 0; margin: 0 0 32px; }
.signup-form legend {
    font-size: 1.15rem; font-weight: 800; color: var(--dark);
    margin-bottom: 16px; padding: 0;
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; flex: 1; min-width: 0; }
.field-row { display: flex; gap: 18px; }
.field label { font-weight: 600; color: var(--dark); font-size: 0.95rem; }
.optional { color: var(--muted); font-weight: 400; }
.hint { font-size: 0.85rem; color: var(--muted); }
.signup-form input[type="text"], .signup-form input[type="email"], .signup-form input[type="tel"],
.signup-form input[type="number"], .signup-form select {
    font: inherit; font-size: 1rem; color: var(--dark);
    padding: 12px 14px; border: 1.5px solid #cfd6e0; border-radius: 10px;
    background: var(--white); width: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.signup-form input:focus, .signup-form select:focus {
    outline: none; border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(212, 37, 63, 0.15);
}
.signup-form input.invalid, .signup-form select.invalid { border-color: var(--red); background: #fff6f7; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0 18px; }
.check {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 14px; border: 1.5px solid #e2e7ee; border-radius: 10px;
    cursor: pointer; font-weight: 500; color: var(--dark);
}
.check:has(input:checked) { border-color: var(--red); background: #fff6f7; }
.check input { width: 18px; height: 18px; accent-color: var(--red); flex-shrink: 0; }
.consent { align-items: flex-start; font-weight: 500; line-height: 1.5; }
.consent input { margin-top: 3px; }
.consent:has(input.invalid) { border-color: var(--red); background: #fff6f7; }
.privacy { font-size: 0.85rem; color: var(--muted); margin: 12px 0 20px; }
.error-text { color: var(--red); font-weight: 600; margin: 4px 0 12px; }
.signup-submit { width: 100%; font-size: 1.05rem; }
.signup-submit:disabled { opacity: 0.6; cursor: wait; transform: none; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup-done { text-align: center; grid-column: 2; }
.signup-done h2 { margin-bottom: 12px; }
.signup-done p { margin-bottom: 24px; }
.signup-done:focus { outline: none; }

/* Join section: two sign-up choices */
.signup-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 720px; margin: 0 auto 32px; }
.signup-choice {
    background: rgba(255, 255, 255, 0.12); border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius); padding: 24px; text-align: center;
}
.join .signup-choice h3 { color: var(--white); margin-bottom: 6px; }
.join .signup-choice p { font-size: 0.95rem; margin-bottom: 16px; }
.join-contact { justify-content: center; }

@media (max-width: 900px) {
    .signup-wrap { grid-template-columns: 1fr; gap: 28px; }
    .signup-intro { position: static; }
    .signup-done { grid-column: 1; }
}
@media (max-width: 560px) {
    .field-row { flex-direction: column; gap: 0; }
    .checks { grid-template-columns: 1fr; }
    .signup-form, .signup-done { padding: 24px 18px; }
    .signup-intro h1 { font-size: 1.9rem; }
    .signup-choices { grid-template-columns: 1fr; }
}
.note-ext { background: #fff9c4; transform: rotate(-1deg); }

/* Projects started callout */
.projects-started { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: 40px; padding: 24px 28px; border: 2px solid var(--red); border-radius: 16px; background: var(--white); }
.projects-started h3 { margin: 0 0 6px; }
.projects-started p { margin: 0; max-width: 620px; }

/* ===== Design system touches ===== */
h1, h2, h3 { letter-spacing: -0.02em; }
.hero h1 { font-family: Zarathustra, "Iowan Old Style", Georgia, serif; font-weight: 400; font-size: clamp(2.6rem, 7vw, 4.4rem); line-height: 1.05; }
.section-label, .tag { letter-spacing: 0.26em; font-weight: 600; }
.btn { transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s; }
.btn:hover { transform: translateY(-2px) rotate(-1deg); }
.card:hover, .note:hover { transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1); }
.brand, .stat-num { font-weight: 700; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid rgba(236, 55, 80, 0.45); outline-offset: 3px; border-radius: 6px; }

/* ===== THE TEAM (grouped by role, under the co-presidents) ===== */
.crew-title { margin-top: 80px; }
.crew-group { margin-top: 40px; }
.crew-label {
    font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.2em;
    color: var(--red); margin-bottom: 16px; padding-bottom: 10px;
    border-bottom: 2px solid rgba(212, 37, 63, 0.15);
}
.crew { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.crew-card {
    display: flex; gap: 18px; align-items: center;
    background: var(--white); border-radius: var(--radius);
    padding: 20px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}
.crew-card:hover { transform: translateY(-4px); }
.crew-photo {
    width: 96px; height: 96px; flex-shrink: 0;
    border-radius: 50%; object-fit: cover;
    border: 3px solid var(--white); box-shadow: 0 0 0 3px var(--red);
}
.crew-card h4 { color: var(--dark); font-size: 1.1rem; line-height: 1.25; }
.crew-card .role { margin: 2px 0 6px; font-size: 0.9rem; }
.crew-bio { font-size: 0.9rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 560px) {
    .crew { grid-template-columns: 1fr; }
    .crew-photo { width: 80px; height: 80px; }
}
