/* ==========================================================================
   Home page
   ========================================================================== */

.status-bar {
    background-color: var(--color-grass);
    color: var(--color-paper);
    padding: var(--space-2) var(--space-4);
    text-align: center;
    font-size: var(--fs-sm);
    font-weight: 500;
}

.status-bar__indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background-color: var(--color-paper);
    margin-right: var(--space-2);
    position: relative;
    top: -1px;
}

.hero {
    position: relative;
    padding-block: var(--space-20) var(--space-24);
    overflow: hidden;
    /* No global text-align — the split layout has its own alignment rules. */
}

.hero__decorative {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    user-select: none;
    opacity: 0.05;
    font-family: var(--font-display);
    font-size: 40rem;
    line-height: 1;
}

.hero__inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin-inline: auto;
    padding-inline: var(--space-6);
}

/* ----- Top heading row: logo + brand name, side-by-side and centered.
   Below 700px, stacks vertically (logo above title) so the brand name
   isn't squeezed on narrow screens. ----- */

.hero__heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-6);
    margin-bottom: var(--space-16);
    text-align: center;
}

@media (min-width: 700px) {
    .hero__heading {
        flex-direction: row;
        gap: var(--space-10);
        text-align: left;
    }

    /* Each child takes exactly half of the row. flex-basis: 0 + flex-grow: 1
       distributes width equally regardless of intrinsic content size; min-width: 0
       lets the title shrink instead of pushing the layout wider. */
    .hero__heading > * {
        flex: 1 1 0;
        min-width: 0;
    }
}

.hero__logo {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(38, 24, 18, 0.12));
    /* When the row is 50/50, let the logo fill its half (capped sensibly).
       max-width still constrains it on very wide screens. */
    margin-inline: auto;
}

@media (min-width: 700px) {
    .hero__logo {
        max-width: 100%;
        margin-inline: 0;
        margin-left: auto;   /* hug the center gap on the logo side */
    }
}

@media (min-width: 900px) {
    .hero__logo {
        max-width: 420px;
    }
}

.hero__brand {
    font-family: var(--font-display);
    font-size: var(--fs-5xl);
    line-height: 0.9;
    margin: 0;
}

@media (min-width: 900px) {
    .hero__brand {
        font-size: var(--fs-display);
    }
}

/* ----- Centered lockup: tagline + CTAs sit centered on the page,
   independent of the heading row above. ----- */

.hero__lockup {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero__tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: var(--fs-2xl);
    color: var(--color-muted);
    margin-bottom: var(--space-16);
}

.hero__tagline-mark {
    background-image:
            linear-gradient(
                    180deg,
                    transparent 0,
                    transparent 60%,
                    var(--color-gold-dark) 60%,
                    var(--color-gold-light) 100%
            );
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 100% 0.4em;
}

.hero__ctas {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: var(--space-16);
}

/* ----- Info cards (Today's spot / Hours / Delivery) ----- */

.info-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
}

@media (min-width: 700px) {
    .info-cards { grid-template-columns: repeat(3, 1fr); }
}

.info-card {
    background-color: var(--color-white);
    border: 2px solid var(--color-brown-dark);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    text-align: center;
    transition: transform var(--duration-base) var(--ease-out);
}

.info-card:hover {
    transform: rotate(-1deg);
}

.info-card__icon {
    color: var(--color-green-dark);
    margin-bottom: var(--space-2);
    font-size: var(--fs-xl);
}

.info-card__label {
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-muted);
    margin-bottom: var(--space-1);
}

.info-card__value {
    font-family: var(--font-display);
    font-size: var(--fs-xl);
}

/* ----- Featured items section on home ----- */

.featured {
    padding-block: var(--space-20);
    background-color: var(--color-paper-2);
    border-block: 2px solid var(--color-gold-dark);
}

.featured__header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.featured__title {
    font-size: var(--fs-4xl);
    margin-block: var(--space-4);
}

.featured__title em {
    color: var(--color-green-dark);
}

.featured__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
}

@media (min-width: 700px) {
    .featured__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}