/* Homepage only. Shared ordering, account, and checkout styles stay independent. */
.home-page {
    --home-paper: #f7f3ea;
    --home-ink: #27261f;
    --home-muted: #68645b;
    --home-line: #d9d3c7;
    --home-orange: #b94316;
    margin: 0;
    background: var(--home-paper);
    color: var(--home-ink);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

.home-page *, .home-page *::before, .home-page *::after { box-sizing: border-box; }
.home-page ::selection { background: #eed2a9; color: var(--home-ink); }
.home-page :focus-visible { outline: 2px solid var(--home-orange); outline-offset: 5px; }
.home-page .font-oswald { font-family: 'Oswald', sans-serif; }
/* Match the menu pages' scrollbar width so the fixed header does not shift. */
.home-page::-webkit-scrollbar { width: 8px; }
.home-page::-webkit-scrollbar-track { background: #f1f1f1; }
.home-page::-webkit-scrollbar-thumb { background: #d4d4d8; border-radius: 4px; }
.home-page::-webkit-scrollbar-thumb:hover { background: #a1a1aa; }
.home-page .scrollbar-hide { scrollbar-width: none; }
.home-page .scrollbar-hide::-webkit-scrollbar { display: none; }
.home-page #cart-sidebar.translate-x-full { transform: translateX(100%) !important; }

.home-page .skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 110;
    transform: translateY(-160%);
    padding: 12px 20px;
    background: var(--home-ink);
    color: white;
}
.home-page .skip-link:focus { transform: translateY(0); }

/* Use the shared header's sizing and spacing with the homepage palette. */
.home-page #navbar-placeholder nav {
    background: var(--home-paper);
    border-color: var(--home-line);
    backdrop-filter: none;
}
.home-page #navbar-placeholder .nav-link { color: var(--home-ink); }
.home-page #navbar-placeholder .nav-order-cta { display: none; }
.home-page #navbar-placeholder .nav-location-summary { border-right: 0; padding-right: 0; margin-right: 0; }
.home-page #mobile-menu-overlay { background: var(--home-paper); }

.home-frame {
    max-width: 1280px;
    margin: 80px auto 0;
    border-inline: 1px solid var(--home-line);
}
.home-hero {
    padding: 48px 24px 24px;
    background: var(--home-paper);
    /* Extend the cream background to the viewport edges, like the catering panel. */
    box-shadow: 0 0 0 100vmax var(--home-paper);
    clip-path: inset(0 -100vmax);
    text-align: center;
}
.home-hero-art {
    display: block;
    width: min(100%, 620px);
    height: clamp(260px, calc(100svh - 370px), 460px);
    margin: 24px auto 0;
    object-fit: contain;
    /* Blend the photo's white background and soft shadow into the cream page. */
    mix-blend-mode: multiply;
}
.home-eyebrow {
    margin: 0 0 18px;
    color: var(--home-muted);
    font-size: 11px;
    line-height: 1.5;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.home-hero h1 {
    margin: 0;
    font-size: clamp(40px, 4.5vw, 64px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.045em;
}
.home-hero-copy {
    margin: 10px auto 0;
    color: var(--home-ink);
    font-size: 26px;
    line-height: 1.3;
}
.home-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.home-hero .home-actions { justify-content: center; margin-top: 24px; gap: 12px; }
.home-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    min-height: 48px;
    padding: 14px 22px;
    border: 1px solid transparent;
    border-radius: 2px;
    background: var(--home-orange);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 160ms ease;
}
.home-button:hover { background: #92320e; }
.home-link {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    min-height: 48px;
    color: var(--home-ink);
    font-size: 14px;
    text-decoration: underline;
    text-decoration-color: #a69d8d;
    text-underline-offset: 5px;
    transition: color 160ms ease;
}
.home-link:hover { color: var(--home-orange); }
.home-hero .home-button, .home-catering .home-button {
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 999px;
    font-size: 14px;
}
.home-hero .home-button-secondary { background: transparent; border-color: var(--home-orange); color: var(--home-orange); }
.home-hero .home-button-secondary:hover { background: #efe1d5; }
.home-section { border-bottom: 1px solid var(--home-line); }
.home-section h2 {
    margin: 0;
    font-size: clamp(32px, 3.8vw, 49px);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -.045em;
    text-wrap: balance;
}
.home-story-copy p {
    color: var(--home-muted);
    font-size: 16px;
    line-height: 1.75;
}
.home-catering {
    padding: 56px 32px 40px;
    background: #000;
    /* Extend only the background beyond the centered page frame. */
    box-shadow: 0 0 0 100vmax #000;
    clip-path: inset(0 -100vmax);
    color: #fff;
    text-align: center;
    border-bottom-color: #000;
}
.home-catering-copy { max-width: 680px; margin-inline: auto; }
.home-catering h2, .home-team h2 { font-size: clamp(40px, 4.5vw, 56px); font-weight: 600; line-height: 1.08; }
.home-catering-copy p { margin: 18px auto 0; color: #fff; font-size: 18px; line-height: 1.55; }
.home-catering-copy p + p { margin-top: 12px; font-size: 16px; }
.home-catering .home-button { margin-top: 24px; }
.home-catering-media { max-width: 800px; margin: 32px auto 0; }
.home-catering-media img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
.home-story { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 80px 64px; }
.home-story-copy p { margin: 0 0 16px; }
.home-story h2 { max-width: 420px; }
.home-team {
    padding: 56px 64px 64px;
    background: var(--home-paper);
    box-shadow: 0 0 0 100vmax var(--home-paper);
    clip-path: inset(0 -100vmax);
    text-align: center;
}
.home-section-heading { max-width: 680px; margin: 0 auto 40px; }
.home-team-intro { margin: 18px auto 0; color: var(--home-ink); font-size: 18px; line-height: 1.55; text-wrap: balance; }
.home-team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 24px; list-style: none; padding: 0; margin: 0; }
.home-team-grid figure { margin: 0; }
.home-team-grid img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 0%; background: #d2d0c9; }
.home-team-grid figcaption { margin-top: 12px; font-size: 20px; font-weight: 400; letter-spacing: -.03em; }
.home-invitation { padding: 80px 64px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.home-invitation .home-eyebrow { color: var(--home-orange); }
.home-page #footer-placeholder footer { background: var(--home-paper); border-top: 0; color: var(--home-ink); }

@media (min-width: 1024px) {
    /* Leave a subtle glimpse of the next headline without shrinking the hero image. */
    .home-hero { padding-top: 36px; padding-bottom: 8px; }
    .home-hero-art { margin-bottom: -24px; }
    .home-catering { padding-top: 32px; }
    .home-team-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: no-preference) {
    .home-hero-art { animation: home-arrive 650ms ease-out both; }
    @keyframes home-arrive {
        from { opacity: .6; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }
}
@media (prefers-reduced-motion: reduce) {
    .home-page *, .home-page *::before, .home-page *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
@media (max-width: 1100px) {
    .home-frame { margin-inline: 24px; }
    .home-story, .home-team, .home-invitation { padding: 56px 40px; }
}
@media (max-width: 767px) {
    .home-frame { margin: 80px 16px 0; }
    .home-hero { padding: 32px 16px 24px; }
    .home-hero-art { height: clamp(180px, calc(100svh - 340px), 360px); width: 100%; margin-top: 20px; }
    .home-hero h1 { font-size: clamp(28px, 7.5vw, 40px); }
    .home-hero-copy { font-size: 20px; margin-top: 8px; }
    .home-hero .home-actions { margin-top: 20px; }
    .home-button { gap: 24px; padding-inline: 20px; }
    .home-section h2 { font-size: 34px; }
    .home-catering { padding: 40px 20px 24px; }
    .home-catering h2, .home-team h2 { font-size: 34px; }
    .home-catering-copy p { font-size: 16px; }
    .home-catering-copy p + p { font-size: 15px; }
    .home-catering .home-button { margin-top: 20px; }
    .home-catering-media { margin-top: 28px; }
    .home-story-copy p { font-size: 15px; line-height: 1.7; }
    .home-story { grid-template-columns: 1fr; gap: 24px; padding: 44px 24px; }
    .home-team { padding: 44px 24px; }
    .home-section-heading { margin-bottom: 28px; }
    .home-team-intro { font-size: 16px; }
    .home-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
    .home-team-grid figcaption { font-size: 17px; margin-top: 10px; }
    .home-invitation { flex-direction: column; align-items: flex-start; gap: 24px; padding: 44px 24px; }
}
@media (max-width: 374px) {
    .home-frame { margin-inline: 10px; }
    .home-hero { padding-inline: 12px; }
    .home-hero .home-button { padding-inline: 16px; }
    .home-team { padding-inline: 16px; }
}
