/* Survey Defense Hackathon — Compact */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600&display=swap');

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

:root {
    --ink: #1a1a1a;
    --ink-light: #555;
    --ink-muted: #888;
    --bg: #f8f7f5;
    --bg-alt: #edeae5;
    --white: #fff;
    --border: #ddd;
    --michigan: #00274c;
    --michigan-gold: #ffcb05;
    --princeton: #e77500;
    --offense: #a31621;
    --defense: #1a5f2a;
    --max-w: 860px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--bg);
}

h1, h2, h3, h4 { font-weight: 600; line-height: 1.25; }
h1 { font-size: 1.5rem; }
h2 { font-size: 1.125rem; margin-bottom: 0.5rem; }
h3 { font-size: 0.9375rem; margin-bottom: 0.375rem; color: var(--ink); }
h4 { font-size: 0.875rem; margin-bottom: 0.25rem; }

p { margin-bottom: 0.5rem; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; }
em { font-style: italic; }

a { color: var(--ink); }
ul { list-style: none; }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }

.small { font-size: 0.8125rem; }
.muted { color: var(--ink-muted); }

/* Header */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.event-date {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1rem;
    color: var(--ink-light);
    margin-bottom: 0.375rem;
}

.event-format {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 0.625rem;
    letter-spacing: 0.02em;
}

.hosts {
    font-size: 0.8125rem;
    color: var(--ink-muted);
}

.hosts-block {
    margin-top: 0.75rem;
}

.hosted-by {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink-muted);
    display: block;
    margin-bottom: 0.5rem;
}

.host-logos {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.host {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.host-logo {
    height: 28px;
    width: auto;
}

.host-name {
    font-size: 0.9375rem;
    font-weight: 600;
}

.host-name.michigan {
    color: var(--michigan);
}

.host-name.princeton {
    color: var(--princeton);
}

.host-and {
    font-size: 0.875rem;
    color: var(--ink-muted);
}

.btn {
    display: inline-block;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.625rem 1.25rem;
    background: var(--ink);
    color: var(--white);
    border: none;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
}

.btn:hover { background: #333; }

.btn-dark {
    background: var(--michigan);
}

.btn-dark:hover { background: #001a33; }

/* Sections */
.section {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
}

.section:last-of-type {
    border-bottom: none;
}

/* Section text */
.section-text {
    max-width: 640px;
    font-size: 0.9375rem;
}

/* Two Column */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* Timeline */
.timeline {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
}

.timeline-phase {
    flex: 1;
    max-width: 200px;
    padding: 0.875rem 1rem;
    background: var(--bg-alt);
    border-radius: 6px;
    text-align: center;
}

.phase-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ink-muted);
    margin-bottom: 0.25rem;
}

.phase-title {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.125rem;
}

.phase-desc {
    display: block;
    font-size: 0.8125rem;
    color: var(--ink-light);
}

.timeline-arrow {
    font-size: 1.25rem;
    color: var(--ink-muted);
}

/* Roles */
.roles-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 0.75rem;
}
.role {
    padding: 0.625rem 0.75rem;
    margin-bottom: 0.5rem;
    border-left: 3px solid;
    background: var(--bg-alt);
    font-size: 0.875rem;
}

.role.offense { border-color: var(--offense); }
.role.defense { border-color: var(--defense); }
.role strong { display: inline; }

/* Dash List */
.dash-list li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.375rem;
    font-size: 0.9375rem;
}

.dash-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--ink-muted);
}

/* Awards */
.awards-list {
    display: flex;
    gap: 0.75rem;
    margin: 0.75rem 0;
}

.award-category {
    flex: 1;
    padding: 0.625rem 0.75rem;
    background: var(--bg-alt);
    border-left: 3px solid;
    font-size: 0.875rem;
}

.award-category strong {
    display: block;
    margin-bottom: 0.125rem;
}

.award-category span {
    color: var(--ink-light);
    font-size: 0.8125rem;
}

.offense-award { border-color: var(--offense); }
.defense-award { border-color: var(--defense); }

.awards-note {
    font-size: 0.8125rem;
    color: var(--ink-light);
    margin-top: 0.5rem;
}

/* Details Grid */
.details-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 0.75rem;
}

.details-grid h3 {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--ink-muted);
    margin-bottom: 0.5rem;
}

.details-grid ul {
    font-size: 0.8125rem;
    color: var(--ink-light);
}

.details-grid li {
    margin-bottom: 0.25rem;
    padding-left: 0.75rem;
    position: relative;
}

.details-grid li::before {
    content: '·';
    position: absolute;
    left: 0;
}

/* Apply */
.apply-section {
    background: var(--bg-alt);
    margin: 0 -1.25rem;
    padding: 1.25rem 1.25rem;
    border-radius: 0;
}

.apply-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.apply-inner p {
    font-size: 0.875rem;
    color: var(--ink-light);
    margin: 0;
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem 2rem;
    margin-top: 0.75rem;
}

.faq-grid h4 {
    font-size: 0.8125rem;
    font-weight: 600;
}

.faq-grid p {
    font-size: 0.8125rem;
    color: var(--ink-light);
    margin: 0;
}

/* Footer */
.footer {
    padding: 1.25rem 0;
    background: var(--white);
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logos img {
    height: 32px;
    width: auto;
}

.footer-text {
    font-size: 0.75rem;
    color: var(--ink-muted);
}

/* Responsive */
@media (max-width: 700px) {
    .two-col,
    .roles-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .roles-row {
        gap: 0.5rem;
    }
    
    .timeline {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .timeline-phase {
        max-width: none;
    }
    
    .timeline-arrow {
        transform: rotate(90deg);
        text-align: center;
    }
    
    .details-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .apply-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .host-logos {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .host-and {
        display: none;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
}
