:root {
    --bg: #fff8d6;
    --paper: #fffdf4;
    --paper-strong: #ffffff;
    --ink: #2f2430;
    --muted: #63565f;
    --orange: #ff8a3d;
    --yellow: #ffe15a;
    --green: #74d27f;
    --red: #ff5f6d;
    --blue: #51b8ff;
    --line: #2f2430;
    --shadow: 0 9px 0 #2f2430;
    --radius-xl: 18px;
    --radius-lg: 14px;
    --radius-md: 12px;
    --radius-sm: 10px;
    --content-width: 1120px;
    --panel-cut: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
    --font-comic-display: "Arial Rounded MT Bold", "Trebuchet MS", "Verdana", "Avenir Next", "Comic Sans MS", sans-serif;
    --font-comic-body: "Chalkboard SE", "Marker Felt", "Comic Sans MS", "Trebuchet MS", "Avenir Next", sans-serif;
    --font-comic-ui: "Comic Sans MS", "Chalkboard SE", "Marker Felt", "Trebuchet MS", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    font-family: var(--font-comic-body);
    background:
        radial-gradient(circle at 10% 12%, rgba(255, 225, 90, 0.65), transparent 18%),
        radial-gradient(circle at 85% 10%, rgba(81, 184, 255, 0.25), transparent 20%),
        linear-gradient(180deg, #fff6ba 0%, #fffdf0 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(circle at 20px 20px, rgba(255, 95, 109, 0.12) 0 5px, transparent 6px),
        radial-gradient(circle at 90px 40px, rgba(81, 184, 255, 0.12) 0 4px, transparent 5px);
    background-size: 120px 120px;
    pointer-events: none;
    opacity: 0.9;
}

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

button {
    font: inherit;
}

.site-shell {
    position: relative;
    width: min(calc(100% - 28px), var(--content-width));
    margin: 0 auto;
    padding: 22px 0 40px;
}

.topbar,
.main-nav,
.hero,
.poster-card,
.page-heading,
.timeline-item,
.activity-card,
.contact-card,
.memory-strip,
.site-footer {
    position: relative;
    background: var(--paper);
    border: 3px solid var(--line);
    box-shadow: var(--shadow);
}

.topbar::before,
.main-nav::before,
.hero::before,
.poster-card::before,
.page-heading::before,
.timeline-item::before,
.contact-card::before,
.memory-strip::before,
.site-footer::before,
.section-frame::before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(47, 36, 48, 0.08);
    pointer-events: none;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 25px 35px;
    border-radius: 10px;
    box-shadow: 8px 8px 0 var(--line);
    clip-path: var(--panel-cut);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 252, 243, 0.96)),
        var(--paper);
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-badge {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 3px;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: var(--yellow);
    border: 4px solid var(--line);
    color: var(--line);
    font-weight: 800;
    letter-spacing: 0.01em;
    transform: rotate(-5deg);
    text-transform: uppercase;
    box-shadow: 4px 4px 0 var(--line);
}

.brand-badge strong,
.brand-badge small {
    font-family: var(--font-comic-display);
    line-height: 0.8;
}

.brand-badge strong {
    font-size: 1.15rem;
}

.brand-badge small {
    font-size: 0.55rem;
    letter-spacing: 0.1em;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.brand-copy strong {
    font-family: var(--font-comic-display);
    font-size: 1.35rem;
    line-height: 0.95;
}

.brand-copy small {
    font-size: 0.88rem;
    line-height: 1.1;
}

.brand-copy small,
.lead,
.footer-note,
.detail-list,
.poster-card p,
.memory-item p,
.timeline-item p,
.activity-card p {
    color: var(--muted);
}

.nav-toggle {
    border: 3px solid var(--line);
    border-radius: 999px;
    background: var(--yellow);
    padding: 10px 15px;
    font-weight: 800;
    box-shadow: 3px 3px 0 var(--line);
}

.main-nav {
    display: grid;
    gap: 10px;
    margin-top: 12px;
    padding: 16px;
    border-radius: 10px;
    box-shadow: 8px 8px 0 var(--line);
    clip-path: var(--panel-cut);
    background:
        linear-gradient(180deg, rgba(255, 254, 247, 0.96), rgba(255, 250, 232, 0.92)),
        var(--paper);
}

.main-nav a {
    padding: 13px 16px;
    border-radius: 10px;
    font-weight: 700;
    transition: transform 120ms ease, background-color 120ms ease, color 120ms ease;
    border: 2px solid transparent;
}

.main-nav a.is-active,
.main-nav a:hover {
    background: #ffd84c;
    color: var(--red);
    transform: translate(-1px, -1px);
    border-color: var(--line);
    box-shadow: 3px 3px 0 var(--line);
}

main section {
    margin-top: 18px;
}

.comic-stage {
    position: relative;
}

.comic-stage::before {
    content: "";
    position: absolute;
    inset: 8px 0 auto;
    height: 8px;
    background: repeating-linear-gradient(90deg, var(--line) 0 22px, transparent 22px 34px);
    opacity: 0.18;
    pointer-events: none;
}

.hero {
    display: grid;
    gap: 20px;
    padding: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 8px 8px 0 var(--line);
    clip-path: var(--panel-cut);
    background:
        linear-gradient(180deg, rgba(255, 251, 242, 0.98), rgba(255, 255, 255, 0.94)),
        var(--paper);
}

.hero::after {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    right: -28px;
    top: -28px;
    border-radius: 50%;
    background: rgba(255, 225, 90, 0.55);
    border: 4px solid var(--line);
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--red);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-hero-panel {
    overflow: visible;
}

h1,
h2,
p {
    margin-top: 0;
}

h1,
h2,
.button,
.board-label,
.timeline-item span {
    font-family: var(--font-comic-display);
}

h1 {
    font-size: clamp(2.2rem, 7vw, 4.7rem);
    line-height: 0.8;
    letter-spacing: -0.05em;
    max-width: 80%;
    margin-bottom: 16px;
}

h2 {
    font-size: 1.18rem;
    line-height: 1;
    margin-bottom: 8px;
}

.lead {
    font-size: 1rem;
    line-height: 1;
    max-width: 52ch;
}

p,
li,
.footer-note,
.detail-list {
    line-height: 1;
}

.hero-ribbon {
    display: inline-flex;
    margin-top: 6px;
    padding: 10px 16px;
    border-radius: 999px;
    background: #ffffff;
    border: 2px solid var(--line);
    color: var(--red);
    font-family: var(--font-comic-ui);
    font-size: 0.9rem;
    font-weight: 700;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 800;
}

.button-primary {
    background: linear-gradient(135deg, var(--orange), var(--red));
    color: #fff;
    border: 3px solid var(--line);
    box-shadow: 3px 3px 0 var(--line);
}

.button-secondary {
    background: #fff;
    border: 3px solid var(--line);
    box-shadow: 3px 3px 0 var(--line);
}

.hero-board,
.poster-grid,
.section-grid,
.memory-list,
.contact-layout {
    display: grid;
    gap: 24px;
}

.comic-mosaic > * {
    min-height: 0;
    align-self: stretch;
}

.board-card,
.poster-card,
.activity-card,
.memory-item,
.contact-card {
    border-radius: var(--radius-lg);
    padding: 30px;
}

.comic-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    padding: 7px 12px;
    border: 3px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--red);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 4px 4px 0 var(--line);
}

.section-frame {
    position: relative;
    padding: 26px 20px 22px;
    border: 4px solid var(--line);
    box-shadow: 8px 8px 0 var(--line);
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
    background: #fffef9;
}

.section-frame-yellow {
    background: linear-gradient(180deg, #fff5bb, #fffef9 32%);
}

.section-frame-blue {
    background: linear-gradient(180deg, #dff5ff, #fffef9 32%);
}

.section-strip {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: fit-content;
    margin: -40px 0 18px;
    padding: 10px 14px;
    background: #fff;
    border: 4px solid var(--line);
    box-shadow: 5px 5px 0 var(--line);
    transform: rotate(-1deg);
}

.section-strip span {
    color: var(--red);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.section-strip strong {
    font-size: 1rem;
    line-height: 1.05;
    font-family: var(--font-comic-display);
}

.hero-board {
    position: relative;
    z-index: 1;
}

.board-card {
    background: var(--paper-strong);
    border: 4px solid var(--line);
    box-shadow: 8px 8px 0 var(--line);
    clip-path: var(--panel-cut);
}

.board-card-sun {
    background: linear-gradient(180deg, #fff17a, #ffe15a);
}

.board-card-leaf {
    background: linear-gradient(180deg, #95ea8f, #74d27f);
}

.board-card-note {
    background: linear-gradient(180deg, #8fd5ff, #51b8ff);
}

.board-label {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.board-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.2rem;
    line-height: 1.05;
}

.poster-card {
    background: #fffdf7;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 8px 8px 0 var(--line);
    clip-path: var(--panel-cut);
}

.poster-card-primary {
    background: linear-gradient(160deg, #ffd7dd, #fff3b5);
}

.poster-card-burst {
    transform: translateY(-2px);
}

.poster-card-burst::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 14px;
    width: 46px;
    height: 46px;
    background: var(--yellow);
    border: 2px solid var(--line);
    clip-path: polygon(50% 0%, 61% 27%, 91% 9%, 73% 39%, 100% 50%, 73% 61%, 91% 91%, 61% 73%, 50% 100%, 39% 73%, 9% 91%, 27% 61%, 0% 50%, 27% 39%, 9% 9%, 39% 27%);
}

.poster-card-tilt {
    transform: rotate(-1.1deg);
    background: linear-gradient(180deg, #d9f5ff, #ffffff);
}

.poster-card-bubble {
    background: linear-gradient(180deg, #e9ffd9, #ffffff);
}

.poster-card-bubble::after {
    content: "";
    position: absolute;
    left: 24px;
    bottom: -14px;
    width: 24px;
    height: 24px;
    background: #f4ffe9;
    border-right: 3px solid var(--line);
    border-bottom: 3px solid var(--line);
    transform: rotate(35deg);
}

.memory-strip {
    display: grid;
    gap: 18px;
    padding: 28px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255, 247, 228, 0.96), rgba(255, 255, 255, 0.9));
    box-shadow: 8px 8px 0 var(--line);
    clip-path: var(--panel-cut);
}

.memory-copy h2 {
    font-size: clamp(1.7rem, 4vw, 2.7rem);
    line-height: 0.95;
}

.memory-item {
    background: #fff;
    border: 4px solid var(--line);
    box-shadow: 8px 8px 0 var(--line);
    clip-path: var(--panel-cut);
}

.memory-item-yellow {
    background: linear-gradient(180deg, #fff3a9, #fffdf3);
}

.memory-item-blue {
    background: linear-gradient(180deg, #bfe9ff, #ffffff);
}

.memory-item-pink {
    background: linear-gradient(180deg, #ffd4dc, #fffdf7);
}

.page-heading,
.timeline-item,
.activity-card,
.contact-card {
    border-radius: 10px;
    padding: 26px;
}

.page-heading {
    background:
        linear-gradient(160deg, rgba(255, 232, 112, 0.55), rgba(255, 253, 248, 0.96));
    box-shadow: 8px 8px 0 var(--line);
    clip-path: var(--panel-cut);
}

.page-heading-compact {
    display: grid;
    gap: 20px;
    align-items: end;
    padding: 30px;
}

.page-heading-compact .page-heading-copy h1 {
    max-width: 16ch;
    margin-bottom: 0;
    font-size: clamp(2.5rem, 5vw, 4rem);
}

.page-heading-compact .page-facts {
    margin-top: 0;
}

.page-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.page-facts span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 12px;
    border: 3px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 3px 3px 0 var(--line);
    font-family: var(--font-comic-display);
    font-size: 0.84rem;
    font-weight: 900;
    line-height: 1;
}

.timeline {
    display: grid;
    gap: 16px;
    margin-top: 0;
}

.timeline-item {
    display: grid;
    gap: 14px;
    padding: 22px;
    background: #fffdf8;
    box-shadow: 8px 8px 0 var(--line);
    clip-path: var(--panel-cut);
}

.timeline-item:nth-child(3n + 1) {
    background: linear-gradient(90deg, #fff3a8, #fffdf8 32%);
}

.timeline-item:nth-child(3n + 2) {
    background: linear-gradient(90deg, #d5f2ff, #fffdf8 32%);
}

.timeline-item:nth-child(3n) {
    background: linear-gradient(90deg, #dcf6d6, #fffdf8 32%);
}

.timeline-item span {
    display: inline-flex;
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    background: #ffd84c;
    color: var(--ink);
    font-weight: 800;
    white-space: nowrap;
}

.activity-card {
    background: #fffefb;
    overflow: hidden;
    box-shadow: 8px 8px 0 var(--line);
    clip-path: var(--panel-cut);
    padding: 24px;
}

.activity-card-zap {
    background: linear-gradient(180deg, #fff0a4, #fffefb);
    border-radius: 16px 10px 14px 8px;
}

.activity-card-wave {
    background: linear-gradient(180deg, #d6f6ff, #fffefb);
    border-radius: 10px 16px 10px 16px;
}

.activity-card-pop {
    background: linear-gradient(180deg, #ffd7df, #fffefb);
    border-radius: 16px 10px 12px 12px;
}

.activity-card-swing {
    background: linear-gradient(180deg, #d8ffd6, #fffefb);
    border-radius: 8px 16px 10px 14px;
}

.activity-card-zigzag {
    background: linear-gradient(180deg, #fff2b8, #fffefb);
    border-radius: 14px 12px 8px 16px;
}

.activity-card-star {
    background: linear-gradient(180deg, #cfe0ff, #fffefb);
    border-radius: 14px;
}

.contact-card-highlight {
    background: linear-gradient(160deg, #c8f8c0, #fffaf1);
}

.contact-card {
    box-shadow: 8px 8px 0 var(--line);
    clip-path: var(--panel-cut);
}

.registration-panel {
    position: relative;
    margin-top: 18px;
    padding: 30px;
    border: 4px solid var(--line);
    border-radius: 10px;
    background: linear-gradient(135deg, #fffdf7, #e8f8ef);
    box-shadow: 8px 8px 0 var(--line);
    clip-path: var(--panel-cut);
}

.registration-heading {
    display: grid;
    gap: 12px;
    align-items: end;
    margin-bottom: 22px;
}

.registration-heading h2 {
    margin-bottom: 0;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 0.95;
}

.registration-heading > p {
    max-width: 42ch;
    margin: 0;
    color: var(--muted);
    line-height: 1.15;
}

.registration-steps {
    display: grid;
    gap: 16px;
}

.registration-steps article {
    padding: 22px;
    border: 3px solid var(--line);
    border-radius: 10px;
    box-shadow: 5px 5px 0 var(--line);
}

.registration-steps article:nth-child(1) {
    background: #fff1a8;
}

.registration-steps article:nth-child(2) {
    background: #d5f2ff;
}

.registration-steps article:nth-child(3) {
    background: #dcf6d6;
}

.registration-steps article > span {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 6px 9px;
    border: 2px solid var(--line);
    border-radius: 7px;
    background: #fff;
    font-family: var(--font-comic-display);
    font-size: 0.78rem;
    font-weight: 900;
    box-shadow: 3px 3px 0 var(--line);
}

.registration-steps h2 {
    margin-bottom: 8px;
    font-size: 1.15rem;
}

.registration-steps p {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.15;
}

.registration-note {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 22px;
    padding: 18px 0 0;
    border-top: 3px dashed var(--line);
}

.registration-note strong {
    font-family: var(--font-comic-display);
}

.registration-note span {
    color: var(--muted);
}

.detail-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 18px;
    line-height: 1.2;
}

.detail-list li::marker {
    color: var(--red);
}

.site-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 22px;
    padding: 31px 35px;
    border-radius: 10px;
    box-shadow: 8px 8px 0 var(--line);
    clip-path: var(--panel-cut);
    background:
        linear-gradient(180deg, rgba(255, 253, 246, 0.98), rgba(255, 247, 224, 0.92)),
        var(--paper);
}

.footer-link {
    font-family: var(--font-comic-display);
    font-weight: 800;
    color: var(--red);
}

[data-nav-panel] {
    overflow: hidden;
    transition: max-height 220ms ease, opacity 220ms ease, transform 220ms ease;
}

[data-nav-panel].is-collapsed {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-width: 0;
    margin-top: 0;
    transform: translateY(-8px);
}

[data-nav-panel]:not(.is-collapsed) {
    max-height: 400px;
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 768px) {
    .site-shell {
        width: min(calc(100% - 52px), var(--content-width));
        padding-top: 30px;
    }

    .nav-toggle {
        display: none;
    }

    .main-nav {
        display: flex;
        justify-content: flex-end;
        flex-wrap: wrap;
    }

    .hero {
        grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
        align-items: center;
        padding: 40px;
    }

    .section-frame {
        padding: 30px 26px 26px;
    }

    .section-strip {
        margin: -46px 0 22px;
    }

    .hero-board,
    .poster-grid,
    .section-grid,
    .memory-list {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }

    .memory-strip,
    .contact-layout {
        grid-template-columns: 0.95fr 1.05fr;
        align-items: start;
    }

    .registration-heading {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 0.75fr);
    }

    .registration-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .timeline-item {
        grid-template-columns: 145px 1fr;
        align-items: start;
    }

    .board-card-wide,
    .poster-card-wide,
    .memory-item-wide,
    .activity-card-wide {
        grid-column: span 7;
        min-height: 210px;
    }

    .board-card-tall,
    .poster-card-tall,
    .memory-item-tall,
    .activity-card-tall {
        grid-column: span 5;
        min-height: 210px;
    }

    .board-card-offset,
    .poster-card-offset,
    .memory-item-offset,
    .activity-card-offset {
        grid-column: span 5;
        min-height: 210px;
    }

    .hero-board .board-card-offset,
    .memory-list .memory-item-offset {
        grid-column: 4 / span 5;
    }

    .board-card:not(.board-card-wide):not(.board-card-tall):not(.board-card-offset),
    .poster-card:not(.poster-card-wide):not(.poster-card-tall):not(.poster-card-offset),
    .memory-item:not(.memory-item-wide):not(.memory-item-tall):not(.memory-item-offset),
    .activity-card:not(.activity-card-wide):not(.activity-card-tall):not(.activity-card-offset) {
        grid-column: span 4;
    }

    .hero-board .board-card,
    .poster-grid .poster-card,
    .memory-list .memory-item,
    .section-grid .activity-card {
        width: 100%;
        max-width: none;
    }

    .section-grid .activity-card {
        min-height: 162px;
    }

    .site-footer {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-board,
    .poster-grid,
    .section-grid,
    .memory-list {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }

    .hero-board .board-card-wide,
    .poster-grid .poster-card-wide,
    .memory-list .memory-item-wide,
    .section-grid .activity-card-wide {
        grid-column: span 5;
    }

    .hero-board .board-card-tall,
    .poster-grid .poster-card-tall,
    .memory-list .memory-item-tall,
    .section-grid .activity-card-tall {
        grid-column: span 3;
        min-height: 190px;
    }

    .hero-board .board-card-offset,
    .poster-grid .poster-card-offset,
    .memory-list .memory-item-offset {
        grid-column: span 4;
        min-height: 190px;
    }

    .section-grid .activity-card-offset {
        grid-column: span 3;
        min-height: 162px;
    }

    .section-grid .activity-card-wide,
    .section-grid .activity-card-tall,
    .section-grid .activity-card-offset {
        grid-column: span 4;
        min-height: 0;
    }

    .hero-board .board-card-offset,
    .memory-list .memory-item-offset {
        grid-column: 3 / span 4;
    }
}

@media (min-width: 1024px) {
    .site-header {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 20px;
        padding: 14px 18px;
        border: 3px solid var(--line);
        border-radius: 10px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 232, 0.94));
        box-shadow: 8px 8px 0 var(--line);
        clip-path: var(--panel-cut);
    }

    .site-header::before {
        content: "";
        position: absolute;
        inset: 8px;
        border: 1px solid rgba(47, 36, 48, 0.08);
        pointer-events: none;
    }

    .site-header .topbar,
    .site-header .main-nav {
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        clip-path: none;
    }

    .site-header .topbar::before,
    .site-header .main-nav::before {
        display: none;
    }

    .site-header .brand-badge {
        width: 58px;
        height: 58px;
    }

    .site-header .main-nav {
        gap: 3px;
    }

    .site-header .main-nav a {
        padding: 10px 12px;
    }
}

/* Homepage */
.home-hero,
.home-story,
.home-experience,
.home-readiness,
.home-closing {
    position: relative;
    border: 4px solid var(--line);
    border-radius: 10px;
    box-shadow: 8px 8px 0 var(--line);
    clip-path: var(--panel-cut);
}

.home-hero {
    display: grid;
    gap: 28px;
    min-height: 0;
    padding: clamp(28px, 4vw, 46px);
    overflow: hidden;
    background:
        linear-gradient(125deg, rgba(255, 255, 255, 0.97), rgba(255, 248, 214, 0.92)),
        var(--paper);
}

.home-hero::before {
    content: "";
    position: absolute;
    top: -90px;
    right: 20%;
    width: 190px;
    height: 190px;
    border: 4px solid var(--line);
    border-radius: 50%;
    background: var(--yellow);
}

.home-hero::after {
    content: "";
    position: absolute;
    right: -78px;
    bottom: -88px;
    width: 180px;
    height: 180px;
    border: 4px solid var(--line);
    background: var(--blue);
    transform: rotate(28deg);
}

.home-hero-copy,
.home-event-poster {
    position: relative;
    z-index: 1;
}

.home-hero-copy {
    align-self: center;
}

.home-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    margin-bottom: 18px;
    padding: 8px 13px;
    border: 3px solid var(--line);
    border-radius: 999px;
    background: var(--yellow);
    box-shadow: 4px 4px 0 var(--line);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    line-height: 1;
    text-transform: uppercase;
}

.home-kicker span {
    width: 10px;
    height: 10px;
    border: 2px solid var(--line);
    border-radius: 50%;
    background: var(--red);
}

.home-hero h1 {
    max-width: 14ch;
    margin-bottom: 20px;
    font-size: clamp(3rem, 5.4vw, 4.5rem);
    line-height: 0.86;
    letter-spacing: -0.055em;
}

.home-lead,
.home-section-copy > p,
.home-section-heading > p,
.home-experience-list p {
    line-height: 1.22;
}

.home-lead {
    max-width: 52ch;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.family-message {
    max-width: 48ch;
    margin: 16px 0 0;
    padding-left: 14px;
    border-left: 4px solid var(--red);
    color: var(--ink);
    font-family: var(--font-comic-display);
    font-size: 0.96rem;
    font-weight: 800;
    line-height: 1.08;
}

.page-heading-copy .family-message {
    max-width: 44ch;
    font-size: 0.9rem;
}

.home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.home-actions .button,
.home-closing .button {
    border-radius: 10px;
    transition: transform 140ms ease, box-shadow 140ms ease;
}

.home-actions .button:hover,
.home-closing .button:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--line);
}

.home-helper {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.15;
}

.home-event-poster {
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 350px;
    padding: 20px;
    border: 4px solid var(--line);
    border-radius: 12px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.06) 2px, transparent 2px) 0 0 / 100% 30px,
        #216b60;
    box-shadow: 9px 9px 0 var(--line);
    color: #fff;
    overflow: hidden;
    transform: rotate(1.2deg);
}

.home-event-poster::before {
    content: "";
    position: absolute;
    top: 29%;
    right: -52px;
    width: 82px;
    height: 82px;
    border: 4px solid var(--line);
    border-radius: 50%;
    background: var(--orange);
}

.home-event-poster::after {
    content: "";
    position: absolute;
    left: -28px;
    bottom: 18%;
    width: 64px;
    height: 64px;
    border: 4px solid var(--line);
    background: var(--blue);
    transform: rotate(16deg);
}

.home-event-poster::before,
.home-event-poster::after {
    z-index: 0;
    pointer-events: none;
}

.home-event-poster > * {
    position: relative;
    z-index: 1;
}

.home-poster-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 15px;
    border-bottom: 2px dashed rgba(255, 255, 255, 0.5);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    line-height: 1;
    text-transform: uppercase;
}

.home-poster-topline strong {
    padding: 7px 9px;
    border: 2px solid var(--line);
    border-radius: 7px;
    background: var(--yellow);
    color: var(--line);
    box-shadow: 3px 3px 0 var(--line);
}

.home-attendance {
    display: flex;
    align-items: center;
    align-self: center;
    gap: 14px;
}

.home-attendance strong {
    color: var(--yellow);
    font-family: var(--font-comic-display);
    font-size: clamp(4.6rem, 8vw, 6.5rem);
    line-height: 0.7;
    letter-spacing: -0.07em;
}

.home-attendance span {
    position: relative;
    z-index: 1;
    max-width: 9ch;
    font-size: 1rem;
    font-weight: 900;
    line-height: 0.92;
    text-transform: uppercase;
}

.home-poster-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.home-poster-meta div:last-child {
    grid-column: 1 / -1;
}

.home-poster-meta div {
    padding: 12px;
    border: 3px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    color: var(--line);
    box-shadow: 4px 4px 0 var(--line);
}

.home-poster-meta small,
.home-fact small,
.home-experience-list small {
    display: block;
    margin-bottom: 5px;
    color: var(--red);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    line-height: 1;
    text-transform: uppercase;
}

.home-poster-meta strong {
    display: block;
    font-size: 0.88rem;
    line-height: 1.05;
}

.home-facts {
    display: grid;
    gap: 18px;
    margin-top: 26px;
}

.home-fact {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 13px;
    min-height: 104px;
    padding: 18px;
    border: 3px solid var(--line);
    border-radius: 10px;
    box-shadow: 6px 6px 0 var(--line);
}

.home-fact > span {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 3px solid var(--line);
    border-radius: 50%;
    background: #fff;
    font-family: var(--font-comic-display);
    font-weight: 900;
}

.home-fact strong {
    display: block;
    font-family: var(--font-comic-display);
    font-size: 1rem;
    line-height: 1.05;
}

.home-fact-yellow {
    background: #ffed83;
}

.home-fact-blue {
    background: #cdeeff;
}

.home-fact-green {
    background: #d8f4ce;
}

.home-story {
    display: grid;
    gap: 34px;
    padding: clamp(28px, 5vw, 52px);
    background: linear-gradient(135deg, #fffdf7, #fff1d2);
}

.home-section-copy {
    align-self: center;
}

.home-section-copy h2,
.home-section-heading h2,
.home-closing h2 {
    margin-bottom: 16px;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 0.9;
    letter-spacing: -0.035em;
}

.home-section-copy > p:not(.eyebrow) {
    max-width: 47ch;
    color: var(--muted);
}

.home-text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding-bottom: 4px;
    border-bottom: 3px solid var(--red);
    color: var(--red);
    font-family: var(--font-comic-display);
    font-weight: 900;
}

.home-values {
    display: grid;
    gap: 16px;
}

.home-value {
    position: relative;
    min-height: 170px;
    padding: 24px;
    border: 4px solid var(--line);
    border-radius: 10px;
    box-shadow: 7px 7px 0 var(--line);
    overflow: hidden;
}

.home-value-main {
    min-height: 210px;
    background: var(--yellow);
}

.home-value-coral {
    background: #ffc2b8;
}

.home-value-sky {
    background: #bde9ff;
}

.home-value-number {
    position: absolute;
    top: 15px;
    right: 18px;
    color: rgba(47, 36, 48, 0.14);
    font-family: var(--font-comic-display);
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1;
}

.home-value .eyebrow {
    position: relative;
    margin-bottom: 28px;
}

.home-value h3,
.home-experience-list h3 {
    margin: 0;
    font-family: var(--font-comic-display);
}

.home-value h3 {
    position: relative;
    max-width: 24ch;
    font-size: 1.3rem;
    line-height: 1;
}

.home-experience {
    padding: clamp(26px, 4vw, 40px);
    background:
        radial-gradient(circle at 85% 15%, rgba(81, 184, 255, 0.18), transparent 22%),
        var(--paper);
}

.home-readiness {
    padding: clamp(26px, 4vw, 40px);
    background: linear-gradient(135deg, #fffdf7, #e8f8ef);
}

.home-readiness-grid {
    display: grid;
    gap: 20px;
    align-items: start;
}

.home-readiness-card {
    padding: 22px;
    border: 3px solid var(--line);
    border-radius: 10px;
    box-shadow: 6px 6px 0 var(--line);
}

.home-readiness-family {
    background: #fff4b8;
}

.home-readiness-committee {
    background: #dff5ff;
}

.readiness-list {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
}

.readiness-list li {
    display: grid;
    gap: 5px;
    padding: 13px 0;
    border-top: 2px dashed rgba(47, 36, 48, 0.45);
}

.readiness-list strong {
    font-family: var(--font-comic-display);
    font-size: 0.96rem;
    line-height: 1;
}

.readiness-list span {
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.15;
}

.home-section-heading {
    display: grid;
    gap: 18px;
    align-items: end;
    margin-bottom: 24px;
}

.home-section-heading h2 {
    max-width: 18ch;
    margin-bottom: 0;
}

.home-section-heading > p {
    max-width: 44ch;
    margin: 0;
    color: var(--muted);
}

.home-experience-list {
    display: grid;
    border-top: 4px solid var(--line);
    border-bottom: 4px solid var(--line);
}

.home-experience-list article {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    padding: 20px 16px;
}

.home-experience-list article + article {
    border-top: 3px dashed var(--line);
}

.home-experience-list article > span {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 3px solid var(--line);
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 3px 3px 0 var(--line);
    font-family: var(--font-comic-display);
    font-weight: 900;
}

.home-experience-list h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
    line-height: 1;
}

.home-experience-list p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.home-closing {
    display: grid;
    gap: 24px;
    align-items: center;
    padding: clamp(24px, 4vw, 34px);
    background: #216b60;
    color: #fff;
    overflow: hidden;
}

.home-closing::after {
    content: "";
    position: absolute;
    right: -55px;
    bottom: -60px;
    width: 150px;
    height: 150px;
    border: 4px solid var(--line);
    border-radius: 50%;
    background: var(--yellow);
}

.home-closing > * {
    position: relative;
    z-index: 1;
}

.home-closing .eyebrow {
    color: var(--yellow);
}

.home-closing h2 {
    max-width: 22ch;
    margin-bottom: 0;
    font-size: clamp(1.8rem, 3.4vw, 2.7rem);
}

.home-closing .button {
    justify-self: start;
    background: var(--yellow);
    color: var(--line);
}

.home-closing-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.home-closing-actions .button-secondary {
    background: #fff;
}

@media (min-width: 640px) {
    .home-facts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-values {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-value-main {
        grid-column: 1 / -1;
    }
}

@media (min-width: 900px) {
    .page-heading-compact {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
    }

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

    .timeline-item {
        grid-template-columns: 1fr;
        align-content: start;
        min-height: 154px;
    }

    .timeline-item:last-child {
        grid-column: 1 / -1;
        grid-template-columns: 145px minmax(0, 1fr);
        min-height: 0;
    }

    .home-hero {
        grid-template-columns: minmax(0, 1.08fr) minmax(370px, 0.92fr);
        align-items: center;
    }

    .home-story {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
        align-items: center;
    }

    .home-section-heading {
        grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    }

    .home-experience-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-readiness-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-experience-list article + article {
        border-top: 0;
        border-left: 3px dashed var(--line);
    }

    .home-closing {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .home-closing .button {
        justify-self: end;
    }
}

@media (max-width: 639px) {
    .topbar {
        padding: 18px;
    }

    .brand {
        gap: 10px;
    }

    .brand-badge {
        width: 52px;
        height: 52px;
        border-width: 3px;
    }

    .brand-badge strong {
        font-size: 1rem;
    }

    .brand-badge small {
        font-size: 0.48rem;
    }

    .brand-copy strong {
        font-size: 1.08rem;
        line-height: 1;
    }

    .brand-copy small {
        display: none;
    }

    .nav-toggle {
        padding: 9px 13px;
    }

    .home-hero {
        min-height: 0;
        padding: 24px 20px 30px;
    }

    .home-hero::before {
        top: -62px;
        right: -48px;
        width: 145px;
        height: 145px;
    }

    .home-hero h1 {
        max-width: none;
        font-size: 2.75rem;
    }

    .home-actions {
        display: grid;
    }

    .home-actions .button {
        width: 100%;
    }

    .home-closing-actions {
        display: grid;
    }

    .home-closing-actions .button {
        width: 100%;
    }

    .home-event-poster {
        min-height: 310px;
        padding: 20px;
        transform: none;
    }

    .home-attendance strong {
        font-size: 4.8rem;
    }

    .home-poster-meta {
        grid-template-columns: 1fr;
    }

    .home-fact {
        min-height: 90px;
    }

    .home-story,
    .home-experience,
    .home-readiness,
    .home-closing {
        padding: 26px 20px;
    }

    .home-value-main,
    .home-value {
        min-height: 160px;
    }

    .home-section-copy h2,
    .home-section-heading h2,
    .home-closing h2 {
        font-size: 2rem;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .home-hero-copy,
    .home-event-poster,
    .home-fact,
    .home-story,
    .home-experience,
    .home-readiness,
    .home-closing {
        animation: home-rise 480ms ease both;
    }

    .home-event-poster,
    .home-fact:nth-child(2) {
        animation-delay: 80ms;
    }

    .home-fact:nth-child(3) {
        animation-delay: 140ms;
    }
}

@keyframes home-rise {
    from {
        opacity: 0;
        translate: 0 12px;
    }

    to {
        opacity: 1;
        translate: 0 0;
    }
}

/* Compact activity catalog */
.activity-catalog {
    grid-template-columns: 1fr;
    gap: 16px;
}

.activity-catalog .activity-card {
    grid-column: auto !important;
    min-height: 0 !important;
    padding: 18px;
}

.activity-catalog .comic-chip {
    margin-bottom: 14px;
    padding: 6px 9px;
    font-size: 0.66rem;
    box-shadow: 3px 3px 0 var(--line);
}

.activity-catalog h2 {
    margin-bottom: 7px;
    font-size: 1.08rem;
}

.activity-catalog p {
    margin-bottom: 0;
    font-size: 0.82rem;
    line-height: 1.12;
}

@media (min-width: 600px) {
    .activity-catalog {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 900px) {
    .activity-catalog {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
