:root {
    --updates-primary: #b4232d;
    --updates-secondary: #d9a441;
    --updates-ink: #172033;
    --updates-muted: #637083;
    --updates-bg: #f4f6f8;
    --updates-line: #dde2e8;
    --updates-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 10px 28px rgba(16, 24, 40, 0.06);
}

body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--updates-bg);
}

.updates-header {
    width: 100%;
    max-width: none;
    min-height: 210px;
    margin: 0;
    padding: 42px max(24px, calc((100vw - 1380px) / 2));
    align-items: center;
    background:
        radial-gradient(circle at 88% -10%, rgba(217, 164, 65, 0.22), transparent 36%),
        radial-gradient(circle at 5% 0%, rgba(59, 130, 246, 0.16), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #eef5fd 62%, #faf5eb 100%);
    border-bottom: 1px solid var(--updates-line);
    color: var(--updates-ink);
}

.family-hero-kicker {
    margin: 0 0 6px;
    color: var(--updates-primary);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.updates-brand-shell {
    align-items: center;
    gap: 20px;
}

.updates-brand-mark {
    width: 76px;
    height: 76px;
    flex-basis: 76px;
}

.updates-header h1 {
    margin: 0 0 8px;
    color: var(--updates-ink);
    font-family: inherit;
    font-size: clamp(2rem, 4vw, 3.35rem);
    font-weight: 760;
    letter-spacing: -0.045em;
}

.updates-header .header-copy {
    color: #526176;
    line-height: 1.55;
}

.header-meta span {
    border: 1px solid #d4deea;
    background: rgba(255, 255, 255, 0.78);
    color: #7f1d27;
}

.header-actions {
    position: relative;
    align-self: stretch;
    min-width: 240px;
    align-items: flex-end;
    justify-content: flex-end;
}

.family-hero-mascot {
    position: absolute;
    right: 180px;
    bottom: -52px;
    width: 230px;
    max-height: 230px;
    object-fit: contain;
    opacity: 0.18;
    filter: saturate(0.9) contrast(1.06);
    pointer-events: none;
}

.family-download {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid #cbd6e2;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--updates-primary);
    font-size: 0.86rem;
    font-weight: 650;
    text-decoration: none;
}

.family-download:hover {
    border-color: var(--updates-primary);
    background: var(--updates-primary);
    color: #fff;
}

.family-shell {
    display: grid;
    width: calc(100% - 32px);
    max-width: 1380px;
    grid-template-columns: 230px minmax(0, 1fr);
    align-items: start;
    gap: 20px;
    margin: -22px auto 0;
}

.family-menu {
    position: sticky;
    top: 16px;
    z-index: 5;
    overflow: hidden;
    border: 1px solid var(--updates-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--updates-shadow);
}

.family-menu-heading {
    display: grid;
    gap: 2px;
    padding: 18px;
    border-bottom: 1px solid var(--updates-line);
    background: #f8f9fb;
}

.family-menu-heading span {
    color: var(--updates-primary);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.family-menu-heading strong {
    font-size: 1rem;
}

.family-menu nav {
    display: grid;
    padding: 8px;
}

.family-menu nav a {
    display: grid;
    grid-template-columns: 25px minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    padding: 10px;
    border-radius: 7px;
    color: #344054;
    font-size: 0.82rem;
    font-weight: 650;
    text-decoration: none;
}

.family-menu nav a:hover {
    background: #f9e8ea;
    color: var(--updates-primary);
}

.family-menu nav span {
    color: #98a2b3;
    font-size: 0.65rem;
    font-variant-numeric: tabular-nums;
}

.family-menu-download {
    display: block;
    margin: 0 8px 8px;
    padding: 11px;
    border-radius: 7px;
    background: var(--updates-primary);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 750;
    text-align: center;
    text-decoration: none;
}

.family-menu-download:hover {
    background: #8f1821;
    color: #fff;
}

.updates-main {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-bottom: 64px;
    gap: 18px;
}

.family-overview {
    border-top: 4px solid var(--updates-primary);
}

.content-section,
.hero-card,
.info-card,
.date-card,
.schedule-day {
    border-color: var(--updates-line);
    border-radius: 12px;
    box-shadow: var(--updates-shadow);
}

.content-section {
    scroll-margin-top: 24px;
}

.section-heading h2,
.info-card h3,
.date-copy h3,
.schedule-day h3,
.hero-panel h3 {
    font-family: inherit;
    font-weight: 720;
    letter-spacing: -0.02em;
}

.eyebrow {
    color: var(--updates-primary);
    font-weight: 800;
    letter-spacing: 0.13em;
}

.button-primary,
.button-secondary {
    border-radius: 8px;
}

.button-primary {
    background: var(--updates-primary);
    box-shadow: none;
}

.button-secondary {
    background: #f4e7c9;
    color: #715316;
}

.date-box {
    border-color: #8f1821;
    border-radius: 9px;
    background: var(--updates-primary);
    color: #fff;
}

.date-box .date-month {
    color: #fff;
    font-weight: 800;
}

.schedule-day.today {
    border-color: rgba(180, 35, 45, 0.45);
    box-shadow: inset 0 3px 0 var(--updates-primary), var(--updates-shadow);
}

.tag,
.session-groups span {
    border-radius: 6px;
}

@media (max-width: 980px) {
    .family-shell {
        display: block;
        width: calc(100% - 24px);
    }

    .family-menu {
        position: sticky;
        top: 0;
        margin-bottom: 14px;
        border-radius: 10px;
    }

    .family-menu-heading,
    .family-menu-download {
        display: none;
    }

    .family-menu nav {
        display: flex;
        overflow-x: auto;
        padding: 6px;
    }

    .family-menu nav a {
        display: block;
        flex: 0 0 auto;
        padding: 9px 11px;
        white-space: nowrap;
    }

    .family-menu nav span {
        display: none;
    }
}

@media (max-width: 800px) {
    .updates-header {
        min-height: 0;
        padding: 28px 18px 42px;
        align-items: stretch;
    }

    .updates-brand-shell {
        align-items: flex-start;
    }

    .updates-brand-mark {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
    }

    .header-actions {
        display: none;
    }

    .updates-main {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .updates-brand-shell {
        display: grid;
    }

}
