body {
    background-image: none;;
}
main {
    padding: 0;
    margin: 0;
    max-width: unset;
    width: unset;
}
hgroup {
    grid-column: 2;
    grid-row: 1;
    padding: 1rem var(--text-margin) 0;
    align-self: end;
    background-color: var(--color-white);
}
header h1 {
    font-family: var(--font-trebuchet);
    font-size: 1.485rem;
    font-weight: bold;
    letter-spacing: var(--letter-spacing-tight);
}
header h4 {
    font-family: var(--font-trebuchet);
    font-size: 0.875rem; /* 14px */
    font-weight: normal;
    letter-spacing: var(--letter-spacing-tight);
}
p {
    margin-bottom: 1.21rem;
}


/* Header styles */
header:has(nav) {
    align-items: normal;
}
#landing-header {
    background-color: var(--color-top-bar);
    display: grid;
    grid-template-columns: var(--width-logo) 1fr var(--width-aside-right);
    grid-template-rows: auto;
    position: relative;

    gap: unset;
}
#logo {
    margin: 0;
    grid-column: 1;
    grid-row: 1;
}
#logo img {
    display: block;
}



/* Menu toggle */
#aside-menu {
    grid-column: 3;
    grid-row: 1;
    display: flex;
    align-items: start;
    justify-content: center;
    position: relative;
}
#menu-toggle {
    display: flex;
    align-items: start;
    justify-content: center;
    transition: transform 0.3s ease;

    margin: 0;
}
#menu-toggle img {
    width: 50px;
    height: 50px;
}

/* Mobile navigation */
#mobile-menu {
    top: var(--height-top-bar);
    right: var(--width-aside-right);
}

#jump-links {
    width: var(--width-logo);
    background-color: var(--color-left-aside);
    padding: 2rem 1rem;
    flex-shrink: 0;
}
#jump-links ul {
    list-style: none;
}
#jump-links a {
    display: block;
    font-size: 0.9165rem;
    letter-spacing: var(--letter-spacing-tight);
    color: var(--color-black);
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.2s;
}
#jump-links a:hover {
    color: var(--color-link);
}


/* Main content sections */
section#intro-section {
    display: flex;
    min-height: calc(100vh - var(--height-top-bar) - 15rem);
}
#intro-content {
    flex-grow: 1;
    padding: 2rem var(--text-margin);
    display: flex;
    gap: var(--text-margin);
    flex-wrap: wrap;
}
#intro-content section {
    flex: 1 1 25rem; /* 400px minimum width before wrapping */
    font-size: 1.125rem;
    font-family: var(--font-trebuchet);
}
section#inventory {
    font-size: 0.875rem; /* 14px */
    font-family: var(--font-trebuchet);
}
#inventory strong {
    font-family: var(--font-arial-black);
    font-size: 0.9165rem;
    font-weight: bold;
}

#right-accent {
    width: var(--width-aside-right);
    background-color: var(--color-top-bar);
    flex-shrink: 0;
}

main > section {
    min-height: 30rem;
    display: flex;
    justify-content: center;
}
section#slideshow {
    background-color: var(--color-black);
    color: var(--color-white);
    align-items: center;
}
section#chat{
    background-color: var(--color-white);
}
section#recipes{
    background-color: var(--color-left-aside);
}
section#decision-tree{
    background-color: var(--color-top-bar);
}
section#zebra{
    background-color: var(--color-white);
}

#zebra figure {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}
#zebra figure > a {
    flex-shrink: 0;
    display: block;
}
#zebra figure figcaption {
    flex: 1 1 0;
    max-width: 400px;
}

/* Responsive adjustments */
@media (max-width: 48rem) { /* 768px */
    #landing-header {
        grid-template-columns: 1fr var(--width-aside-right);
        grid-template-rows: auto auto;
    }
    #logo {
        grid-column: 1 / -1; /* Span full width */
        grid-row: 1;
        background-color: var(--color-top-bar);
        display: flex;
        justify-content: center;
    }
    #landing-header hgroup {
        grid-column: 1;
        grid-row: 2;
    }
    #aside-menu {
        grid-column: 2;
        grid-row: 2;
        background-color: var(--color-white);
    }

    header h1 {
        font-size: 1.75rem;
    }
    header h4 {
        font-size: 1rem;
    }

    #intro-section {
        flex-direction: column;
    }

    #jump-links {
        width: 100%;
        order: 2;
    }

    #intro-content {
        padding: 2rem 1rem;
    }
    #intro-main {
        font-size: 1.375rem;
    }
    #inventory {
        font-size: 1.125rem;
    }

    #right-accent {
        display: none;
    }

    #zebra figure {
        display: block;
        text-align: center;
    }
}

@media (max-width: 30rem) { /* 480px */
    #logo img {
        width: 100px;
        height: 100px;
    }

    hgroup {
        padding: 1rem 1rem;
        padding-right: calc(var(--width-aside-right) + 0.5rem);
    }
    header h1 {
        font-size: 1.5rem;
    }
    header h4 {
        font-size: 0.875rem;
    }

    #menu-toggle img {
        width: 40px;
    }
}
