/*
 * Bloom and Breakfast: hero with a photo collage, the breakfasts as cards
 * (date panel beside the details, alternating sides), what's included
 * (.benefits, in components.css), the FAQ (faq.css) and the next evening.
 */

.breakfasts {
    position: relative;
    isolation: isolate;
    overflow-x: clip;
    padding-bottom: clamp(90px, 9vw, 150px);
    background: var(--c-sand);
}

.breakfasts__inner {
    position: relative;
    z-index: 2;
    max-width: calc(1180px + 2 * var(--gutter));
    margin: 0 auto;
    padding: 0 var(--gutter);
}

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

.breakfasts-section { margin-top: clamp(80px, 9vw, 130px); }

.breakfasts-section__title {
    margin: .35em 0 0;
    font-family: var(--font-script);
    font-weight: 400;
    font-size: clamp(2.75rem, 4.4vw, 4.1875rem);
    line-height: 1.05;
    color: var(--c-accent);
    text-wrap: balance;
}

/* ---------- hero ---------- */

.breakfasts-hero {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: clamp(36px, 5vw, 80px);
    padding-top: clamp(24px, 4vw, 56px);
}

.breakfasts-hero__title {
    margin: .28em 0 0;
    font-family: var(--font-script);
    font-weight: 400;
    font-size: clamp(3.75rem, 7.4vw, 7.5rem);
    line-height: 1;
    color: var(--c-accent);
}

.breakfasts-hero__lead { max-width: 30em; margin: 1em 0 0; font-size: clamp(1.0625rem, 1.35vw, 1.25rem); text-wrap: pretty; }

.breakfasts-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 2.6vw, 34px); }

/* the big photo, a smaller one overlapping its corner, and the price seal */
.breakfasts-collage { position: relative; padding: 0 0 clamp(40px, 5vw, 70px) clamp(40px, 5vw, 70px); }

.breakfasts-collage figure { margin: 0; overflow: hidden; border-radius: 22px; background: #E3D6C6; }
.breakfasts-collage img { display: block; width: 100%; height: 100%; object-fit: cover; }

.breakfasts-collage__main { --frame-shadow: 0 24px 40px -26px rgba(80, 30, 25, .45); margin: 0 14px 14px 0 !important; aspect-ratio: 1.02; }
.breakfasts-collage__main img { object-position: 50% 55%; }

.breakfasts-collage__small {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 44%;
    aspect-ratio: 1;
    border: 6px solid var(--c-sand);
    box-shadow: 0 26px 40px -22px rgba(80, 30, 25, .6);
}

.breakfasts-seal {
    position: absolute;
    top: -22px;
    right: -8px;
    display: grid;
    place-items: center;
    width: clamp(112px, 10vw, 138px);
    aspect-ratio: 1;
    margin: 0;
    border-radius: 50%;
    text-align: center;
    color: var(--c-cream);
    background: radial-gradient(circle at 30% 25%, #8A2236 0, var(--c-accent) 55%, var(--c-accent-hover) 100%);
    box-shadow: 0 18px 30px -14px rgba(60, 10, 20, .7), inset 0 0 0 5px rgba(244, 233, 220, .12);
}

.breakfasts-seal::before { content: ""; position: absolute; inset: 8px; border: 1px dashed rgba(217, 184, 143, .7); border-radius: 50%; }
.breakfasts-seal small { display: block; font-size: 0.75rem; letter-spacing: .24em; text-transform: uppercase; color: var(--c-cream-2); }
.breakfasts-seal strong { display: block; margin-top: 4px; font-family: var(--font-serif); font-weight: 500; font-size: clamp(2.125rem, 3vw, 2.625rem); line-height: 1; }

/* ---------- no breakfasts yet ---------- */

.breakfasts-empty {
    max-width: 620px;
    margin: clamp(40px, 5vw, 64px) auto 0;
    padding: clamp(28px, 4vw, 48px);
    border-radius: 22px;
    background: var(--c-ivory);
    text-align: center;
    box-shadow: inset 0 0 0 1px rgba(110, 20, 35, .12);
}

.breakfasts-empty__icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin: 0 auto;
    border-radius: 50%;
    background: var(--c-white);
    color: var(--c-accent);
    box-shadow: inset 0 0 0 1px rgba(110, 20, 35, .15);
}

.breakfasts-empty__icon svg { width: 32px; height: 32px; }
.breakfasts-empty__title { margin: 18px 0 0; font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.75rem, 2.4vw, 2.25rem); color: var(--c-accent); }
.breakfasts-empty p { margin: 10px 0 24px; font-size: 1.0625rem; text-wrap: pretty; }

/* ---------- a breakfast: date panel and details, alternating sides ---------- */

.breakfast-list { display: grid; gap: clamp(40px, 5vw, 64px); margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; list-style: none; }

.breakfast { scroll-margin-top: 24px; }

.breakfast__card {
    display: grid;
    grid-template-columns: clamp(190px, 21vw, 280px) minmax(0, 1fr);
    margin: 0 14px 14px 0;
    overflow: hidden;
    border-radius: 24px;
    background: var(--c-white);
    box-shadow:
        14px 14px 0 -1px var(--c-sand),
        14px 14px 0 0 var(--c-frame),
        0 34px 60px -34px rgba(80, 30, 25, .5),
        0 2px 8px rgba(80, 30, 25, .05);
}

.breakfast:nth-child(even) .breakfast__card {
    grid-template-columns: minmax(0, 1fr) clamp(190px, 21vw, 280px);
    margin: 0 0 14px 14px;
    box-shadow:
        -14px 14px 0 -1px var(--c-sand),
        -14px 14px 0 0 var(--c-frame),
        0 34px 60px -34px rgba(80, 30, 25, .5),
        0 2px 8px rgba(80, 30, 25, .05);
}

.breakfast:nth-child(even) .breakfast__date { order: 2; }

.breakfast__date {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    overflow: hidden;
    padding: clamp(30px, 3vw, 44px) 18px;
    text-align: center;
    color: var(--c-cream);
    background:
        radial-gradient(ellipse 90% 70% at 20% 10%, #842034 0, transparent 70%),
        radial-gradient(ellipse 80% 60% at 90% 100%, #4F0D19 0, transparent 70%),
        var(--c-accent);
}

.breakfast__date::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(217, 184, 143, .35); border-radius: 14px; pointer-events: none; }

.breakfast__kicker { margin: 0 0 6px; font-size: 0.75rem; letter-spacing: .24em; text-transform: uppercase; color: var(--c-gold); }
.breakfast__day { font-family: var(--font-serif); font-weight: 500; font-size: clamp(5.25rem, 8vw, 7.375rem); line-height: .85; font-variant-numeric: lining-nums; }
.breakfast__stack { display: flex; flex-direction: column; align-items: center; }
.breakfast__month { margin-top: 10px; font-size: 1rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; }
.breakfast__time { margin-top: 10px; font-size: 1rem; color: var(--c-cream-2); }

.breakfast__countdown {
    margin-top: 16px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(244, 233, 220, .12);
    font-size: 0.8125rem;
    box-shadow: inset 0 0 0 1px rgba(244, 233, 220, .25);
}

.breakfast__body { padding: clamp(28px, 3.4vw, 52px) clamp(24px, 3.4vw, 56px); }

.breakfast__name {
    margin: 0;
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: clamp(2.125rem, 3.4vw, 3.25rem);
    line-height: 1.02;
    color: var(--c-accent);
    text-wrap: balance;
}

.breakfast__facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 16px 0 0; padding: 0; list-style: none; font-size: clamp(1rem, 1.2vw, 1.125rem); }
.breakfast__facts li { display: flex; align-items: center; gap: 10px; }
.breakfast__facts svg { flex: none; width: 20px; height: 20px; color: var(--c-accent); }

.breakfast__host { display: flex; align-items: center; gap: 18px; margin-top: 24px; }

.breakfast__avatar {
    flex: none;
    width: 84px;
    height: 84px;
    padding: 4px;
    border-radius: 50%;
    background: var(--c-ivory);
    box-shadow: inset 0 0 0 1px rgba(110, 20, 35, .25), 0 10px 20px -12px rgba(80, 30, 25, .5);
}

.breakfast__avatar img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

.breakfast__host-label { margin: 0; font-size: 0.7812rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--c-ink-2); }
.breakfast__host-name { margin: 2px 0 0; font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.625rem, 2.2vw, 2rem); line-height: 1.05; }
.breakfast__host-role { margin: 2px 0 0; font-size: 0.9688rem; color: var(--c-ink-2); }

.breakfast__description { max-width: 46em; margin-top: 22px; font-size: clamp(1rem, 1.25vw, 1.1562rem); color: var(--c-ink-soft); text-wrap: pretty; }
.breakfast__description > * { margin: 0; }
.breakfast__description > * + * { margin-top: .6em; }
.breakfast__description a { color: var(--c-accent); }

.breakfast__soon { margin: 22px 0 0; font-weight: 500; color: var(--c-accent); }

.breakfast__limited { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-size: 0.875rem; color: var(--c-ink-2); }
.breakfast__limited svg { flex: none; width: 16px; height: 16px; color: var(--c-accent); }

/* its tickets */
.breakfast-tickets { display: grid; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }

.breakfast-ticket {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 12px 22px;
    padding: 14px 14px 14px 26px;
    border-radius: 16px;
    background: var(--c-ivory);
    box-shadow: inset 0 0 0 1px rgba(110, 20, 35, .13);
}

.breakfast-ticket p { margin: 0; }
.breakfast-ticket__name { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.5rem, 2vw, 1.875rem); line-height: 1.1; color: var(--c-accent); }
.breakfast-ticket__note { margin-top: 2px !important; font-size: 0.9375rem; color: var(--c-ink-2); }
.breakfast-ticket__price { font-family: var(--font-serif); font-weight: 500; font-size: clamp(2rem, 2.8vw, 2.5rem); line-height: 1; font-variant-numeric: lining-nums; }
.breakfast-ticket__buy { min-width: 164px; }

.breakfast-ticket.is-off .breakfast-ticket__name,
.breakfast-ticket.is-off .breakfast-ticket__price { color: #8A7F7F; }

/* ---------- FAQ and the next evening ---------- */

.breakfasts .faq { margin-top: clamp(90px, 10vw, 140px); }

.breakfasts-evening {
    --eyebrow-color: var(--c-cream);
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    align-items: stretch;
    margin-top: clamp(90px, 10vw, 150px);
    overflow: hidden;
    border-radius: 24px;
    color: var(--c-cream);
    background:
        radial-gradient(ellipse 70% 80% at 15% 20%, #7D1A2C 0, transparent 70%),
        radial-gradient(ellipse 50% 60% at 85% 80%, var(--c-accent-hover) 0, transparent 70%),
        var(--c-accent);
    box-shadow: 0 30px 60px -30px rgba(60, 10, 20, .6);
}

.breakfasts-evening :focus-visible { outline-color: var(--c-cream); }
.breakfasts-evening__text { padding: clamp(34px, 4.4vw, 64px); }
.breakfasts-evening .breakfasts-section__title { color: var(--c-cream); }
.breakfasts-evening p:not(.eyebrow) { max-width: 30em; margin: .9em 0 clamp(22px, 2.4vw, 30px); font-size: clamp(1rem, 1.2vw, 1.125rem); color: var(--c-cream-2); }
.breakfasts-evening__photo { margin: 0; }
.breakfasts-evening__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }

/* ---------- responsive ---------- */

@media (max-width: 960px) {
    .breakfasts-hero { grid-template-columns: minmax(0, 1fr); }
    .breakfasts-collage { width: 100%; max-width: 600px; margin: 10px auto 0; }

    .breakfasts-evening { grid-template-columns: minmax(0, 1fr); }
    .breakfasts-evening__photo { order: -1; height: 260px; }
}

@media (max-width: 860px) {
    .breakfast__card,
    .breakfast:nth-child(even) .breakfast__card { grid-template-columns: minmax(0, 1fr); }

    .breakfast:nth-child(even) .breakfast__date { order: 0; }

    .breakfast:nth-child(even) .breakfast__card {
        margin: 0 14px 14px 0;
        box-shadow: 14px 14px 0 -1px var(--c-sand), 14px 14px 0 0 var(--c-frame), 0 34px 60px -34px rgba(80, 30, 25, .5);
    }

    .breakfast__date { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 4px 18px; padding: 26px 22px; }
    .breakfast__kicker { width: 100%; margin: 0; }
    .breakfast__day { font-size: 4.75rem; }
    .breakfast__stack { align-items: flex-start; gap: 4px; }
    .breakfast__month,
    .breakfast__time { margin-top: 0; }
    .breakfast__countdown { margin-top: 6px; }
}

@media (max-width: 640px) {
    .breakfasts-collage__main { --frame-x: 8px; --frame-y: 8px; margin: 0 8px 8px 0 !important; }

    .breakfast__card,
    .breakfast:nth-child(even) .breakfast__card {
        margin: 0 8px 8px 0;
        box-shadow: 8px 8px 0 -1px var(--c-sand), 8px 8px 0 0 var(--c-frame), 0 24px 40px -26px rgba(80, 30, 25, .45);
    }

    .breakfast-ticket { grid-template-columns: minmax(0, 1fr) auto; padding: 16px 16px 16px 20px; }
    .breakfast-ticket form,
    .breakfast-ticket > .breakfast-ticket__buy { grid-column: 1 / -1; }
    .breakfast-ticket .btn { width: 100%; }

    .breakfasts-hero__cta .btn { flex: 1 1 100%; }
    .breakfasts-seal { right: 0; }
}
