/* Cedar Oven — site menu (all pages) + the About, Our Bread and Opening Hours pages
   Reuses the bakery's existing palette and type from styles.css. */

.site-nav {
    position: relative;
    z-index: 6;
    border-bottom: 1px solid var(--line, rgba(53, 37, 26, 0.14));
    background: rgba(251, 245, 234, 0.82);
    -webkit-backdrop-filter: saturate(140%) blur(6px);
    backdrop-filter: saturate(140%) blur(6px);
}

.site-nav-inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 22px;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.site-nav-brand {
    font-family: var(--serif, Georgia, serif);
    font-size: 19px;
    line-height: 1;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brown, #35251A);
    text-decoration: none;
    padding: 14px 0;
    white-space: nowrap;
}

.site-nav-brand:hover {
    color: var(--terracotta, #A0441F);
}

.site-nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: nowrap;
}

.site-nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 4px 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    color: var(--brown-soft, #5C4635);
    border-bottom: 1px solid transparent;
    transition: color 0.18s ease, border-color 0.18s ease;
}

.site-nav-links a:hover {
    color: var(--brown, #35251A);
}

.site-nav-links a[aria-current="page"] {
    color: var(--terracotta, #A0441F);
    border-bottom-color: var(--terracotta, #A0441F);
}

/* Long-document pages: keep the footer at the bottom on a short page */

html:has(body.page-about) {
    background-color: var(--brown-deep, #2A1C13);
}

body.page-about {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--cream, #FBF5EA);
}

body.page-about .about-main {
    flex: 1 0 auto;
}

body.page-about .site-nav,
body.page-about .site-footer {
    flex: 0 0 auto;
}


.about-main {
    padding: 68px 22px 78px;
}

.about-wrap {
    max-width: 640px;
    margin: 0 auto;
}

.about-eyebrow {
    display: block;
    margin: 0 0 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--terracotta, #A0441F);
}

.about-title {
    margin: 0 0 26px;
    font-family: var(--serif, Georgia, serif);
    font-weight: 600;
    font-size: clamp(30px, 6vw, 46px);
    line-height: 1.14;
    letter-spacing: -0.01em;
    color: var(--brown-deep, #2A1C13);
    text-wrap: balance;
}

.about-copy p {
    margin: 0 0 18px;
    font-size: 17.5px;
    line-height: 1.72;
    color: var(--brown-soft, #5C4635);
}

.about-copy p:last-child {
    margin-bottom: 0;
}

/* Opening Hours page: same shell as About, one shorter column */

body.page-hours .about-wrap {
    max-width: 620px;
}

@media (max-width: 620px) {
    .site-nav-inner {
        padding: 0 14px;
        min-height: 54px;
        gap: 10px;
    }

    .site-nav-brand {
        font-size: 14px;
        letter-spacing: 0.06em;
    }

    .site-nav-links {
        gap: 11px;
    }

    .site-nav-links a {
        font-size: 10px;
        letter-spacing: 0.06em;
    }

    .about-main {
        padding: 52px 18px 62px;
    }

    .about-copy p {
        font-size: 17px;
    }
}

@media (max-width: 430px) {
    .site-nav-inner {
        padding: 0 12px;
        gap: 8px;
    }

    .site-nav-brand {
        font-size: 12px;
        letter-spacing: 0.05em;
    }

    .site-nav-links {
        gap: 8px;
    }

    .site-nav-links a {
        font-size: 9.5px;
        letter-spacing: 0.04em;
    }
}

@media (max-width: 359px) {
    .site-nav-inner {
        flex-wrap: wrap;
        justify-content: center;
        padding: 8px 12px;
    }

    .site-nav-brand {
        padding: 4px 0 0;
    }
}

/* Home page only: one quiet line above the menu */
.site-topline {
    position: relative;
    z-index: 7;
    padding: 9px 18px 10px;
    text-align: center;
    background: var(--cream, #FBF5EA);
    color: var(--terracotta, #A0441F);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.2em;
    line-height: 1.45;
    text-transform: uppercase;
    border-bottom: 1px solid var(--line, rgba(53, 37, 26, 0.10));
}

@media (max-width: 430px) {
    .site-topline {
        font-size: 10.5px;
        letter-spacing: 0.16em;
        padding: 8px 14px;
    }
}

/* Keep the theme's skip link fully off-screen until it is focused
   (the new topline changed the offset it was positioned against) */
[app] .skip-link:not(:focus) {
    top: -200px;
}
