/* ═══════════════════════════════════════════════════════════════════════════
   landing-bulletin.css — the home page's own sheet (feature 020, direction E)

   Scoped to `.bf-*` on purpose: landing.css is shared by every public page, and
   this page's composition must not reach /support or the legal documents.

   One radius language: tiles 16, cards 22–30, band corners 120, buttons round.
   ═══════════════════════════════════════════════════════════════════════════ */

/* The tokens live on the page container, not on each band: the welcome-video section is
   `.lp-*` (it predates this design) and a band-scoped token set left its heading with an
   invalid `font-size`, which fell back to 16px body text. */
#main-content {
    --bf-paper: #f2f0eb;
    --bf-ink: #241413;
    --bf-ink-deep: #14100f;
    --bf-red: #7d0c14;
    --bf-red-deep: #5d0910;
    --bf-muted: #5d4440;
    --bf-sand: #e9e1d4;
    --bf-white: #fffdf8;

    --bf-display: clamp(2.7rem, 4.9vw, 4.6rem);
    --bf-head: clamp(1.85rem, 3.3vw, 2.9rem);
    --bf-lead: clamp(1.08rem, 1.5vw, 1.3rem);
    --bf-body: 1.0625rem;
    --bf-small: 0.875rem;
    --bf-pad: clamp(1.25rem, 4vw, 2.75rem);
    --bf-gap: clamp(3.5rem, 8vw, 8rem);
    --bf-radius: clamp(28px, 5vw, 64px);
}

#main-content { background: #f2f0eb; }

.bf-wrap {
    width: 100%;
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: var(--bf-pad);
}

.bf-h1,
.bf-h2,
.bf-h3 {
    font-family: "Fraunces", Georgia, serif;
    font-weight: 600;
    letter-spacing: -0.025em;
    margin: 0;
    color: var(--bf-ink);
}

.bf-h1 { font-size: var(--bf-display); line-height: 0.96; letter-spacing: -0.03em; }
.bf-h1 span { display: block; }
.bf-h2 { font-size: var(--bf-head); line-height: 1.05; }
.bf-h3 { font-size: clamp(1.45rem, 2.3vw, 2rem); line-height: 1.12; }

.bf-lede {
    margin: 1.4rem 0 0;
    max-width: 32rem;
    font-size: var(--bf-lead);
    line-height: 1.45;
    color: var(--bf-muted);
}

.bf-sub {
    margin: 1rem 0 0;
    color: var(--bf-muted);
    max-width: 40ch;
}

.bf-kicker {
    margin: 0 0 0.55rem;
    font-size: var(--bf-small);
    color: var(--bf-red);
}
/* the copy rule sets every paragraph to muted, so the kicker needs the same depth to stay red */
.bf-feat .bf-copy p.bf-kicker { color: var(--bf-red); }

/* ── buttons: pills, one shape ─────────────────────────────────────────────── */
.bf-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bf-red);
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 0.95rem 1.5rem;
    border-radius: 999px;
    transition: transform 0.18s ease, background 0.18s ease;
}
.bf-btn:hover { background: var(--bf-red-deep); transform: translateY(-2px); }
.bf-btn:active { transform: translateY(0) scale(0.99); }
.bf-btn-paper { background: var(--bf-paper); color: var(--bf-ink); }
.bf-btn-paper:hover { background: #fff; }

/* ── hero ──────────────────────────────────────────────────────────────────── */
.bf-hero { padding-top: clamp(7rem, 12vw, 10rem); }

.bf-hero-top {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: end;
}

.bf-hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.9rem; align-items: center; }

.bf-hero-aside {
    color: var(--bf-muted);
    font-size: var(--bf-small);
    max-width: 26ch;
    justify-self: end;
    text-align: right;
}

/* the wall: five real pictures, not one cropped hero image */
.bf-wall {
    margin-top: clamp(2rem, 5vw, 4rem);
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: clamp(0.7rem, 1.6vw, 1.2rem);
    align-items: start;
}

.bf-print {
    position: relative;
    margin: 0;
    border-radius: 22px;
    overflow: hidden;
    background: var(--bf-sand);
}
.bf-print img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.bf-print:hover img { transform: scale(1.05); }

/* captions are chips: white text alone vanished over white app screens */
.bf-print figcaption {
    position: absolute;
    left: 0.75rem;
    bottom: 0.75rem;
    display: inline-block;
    width: auto;
    background: rgba(20, 16, 15, 0.86);
    color: #fff;
    font-size: var(--bf-small);
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
}

.bf-p1 { grid-column: 1 / 6; aspect-ratio: 4 / 3; }
.bf-p2 { grid-column: 6 / 9; aspect-ratio: 3 / 4; margin-top: clamp(1rem, 3vw, 2.5rem); }
.bf-p3 { grid-column: 9 / 13; aspect-ratio: 4 / 5; }
.bf-p4 { grid-column: 2 / 7; aspect-ratio: 16 / 9; margin-top: clamp(0.6rem, 2vw, 1.5rem); }
.bf-p5 { grid-column: 7 / 12; aspect-ratio: 5 / 3; }

/* a white app screen needs a mat, or it reads as a blank card on paper */
.bf-shot { padding: 8px; background: var(--bf-sand); }
.bf-shot img { border-radius: 14px; }

/* ── the ribbon ────────────────────────────────────────────────────────────── */
.bf-ribbon { margin-block: var(--bf-gap) 0; }

.bf-band {
    position: relative;
    overflow: hidden;
    background: var(--bf-red);
    color: #fff;
    border-radius: var(--bf-radius);
    padding: clamp(2rem, 4vw, 3.25rem) clamp(1.5rem, 4vw, 3rem);
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
}
.bf-band .bf-h2 { color: #fff; position: relative; z-index: 1; }
.bf-band p { margin: 0; color: #f7e6de; max-width: 38ch; position: relative; z-index: 1; }
.bf-curve {
    position: absolute;
    right: -6%;
    bottom: -40%;
    width: 46%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
}

/* ── the welcome video (landing.css owns the player; these align the band) ──── */
.lp-welcome-video {
    background: #f2f0eb;
    padding-block: var(--bf-gap, 6rem);
}
.lp-welcome-video .lp-wv-frame {
    box-shadow: none; /* taste-skill-ignore: removes the player's inherited shadow, adds none */
    border-radius: 26px;
    background: #241413;
    aspect-ratio: 16 / 9;
}
.bf-video-head { max-width: 46rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.bf-video-head .bf-sub { margin-top: 0.65rem; }

/* ── features ──────────────────────────────────────────────────────────────── */
.bf-features { padding-block: var(--bf-gap); background: #f2f0eb; }

.bf-feat {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: clamp(1rem, 3vw, 2.5rem);
    align-items: center;
    margin-top: clamp(2.5rem, 6vw, 5rem);
}
.bf-feat .bf-art { grid-column: 1 / 7; }
.bf-feat .bf-copy { grid-column: 7 / 12; }
.bf-feat.bf-flip .bf-art { grid-column: 7 / 13; order: 2; border-radius: 120px 30px 30px 30px; }
.bf-feat.bf-flip .bf-copy { grid-column: 1 / 6; order: 1; }

.bf-art {
    border-radius: 30px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--bf-sand);
}
.bf-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.bf-art:hover img { transform: scale(1.04); }

/* a 9:19 phone screen cropped into 4:3 shows a zoomed fragment — show it whole */
.bf-art.bf-shot-phone { position: relative; aspect-ratio: 4 / 5; }
.bf-art.bf-shot-phone img {
    position: absolute;
    inset: 14px;
    width: calc(100% - 28px);
    height: calc(100% - 28px);
    object-fit: cover;
    object-position: top;
    border-radius: 18px;
}

.bf-feat .bf-copy p { margin: 0.8rem 0 0; color: var(--bf-muted); max-width: 36ch; }

/* ── check-in ──────────────────────────────────────────────────────────────── */
.bf-attend {
    padding-block: var(--bf-gap);
    background: #fffdf8;
    border-radius: 120px 120px 0 0;
}
.bf-attend-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: center;
}

.bf-scan {
    margin: 0;
    background: transparent;
    border-radius: 28px;
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
    padding: clamp(1rem, 3vw, 2.25rem);
}
.bf-scan img {
    display: block;
    width: min(100%, 520px);
    height: auto;
    object-fit: contain;
}

/* ── the app ───────────────────────────────────────────────────────────────── */
.bf-mobile { padding-block: var(--bf-gap); background: #f2f0eb; }

.bf-mobile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: center;
}

.bf-pair { display: flex; gap: 1rem; justify-content: center; align-items: flex-end; }
.bf-pair img {
    width: 46%;
    height: auto;
    border-radius: 26px;
    background: var(--bf-sand);
    object-position: top;
    transition: transform 0.45s ease;
}
.bf-phone-a { transform: rotate(-4deg); }
.bf-phone-b { transform: rotate(3deg) translateY(14px); }
.bf-pair img:hover { transform: none; }

.bf-stores { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1.5rem; }
.bf-store {
    display: inline-flex;
    padding: 0.75rem 1.05rem;
    border-radius: 999px;
    background: var(--bf-ink);
    color: #fff;
    text-decoration: none;
    font-size: var(--bf-small);
    font-weight: 500;
    transition: transform 0.18s ease;
}
.bf-store:hover { transform: translateY(-2px); }
.bf-store-soon {
    background: transparent;
    color: var(--bf-muted);
    border: 1.5px dashed rgba(36, 20, 19, 0.28);
}
.bf-store-soon:hover { transform: none; }

/* ── support ───────────────────────────────────────────────────────────────── */
.bf-support { padding-block: var(--bf-gap); background: #f2f0eb; }

.bf-support-card {
    background: var(--bf-sand);
    border-radius: 120px 26px 26px 26px;
    padding: clamp(2rem, 5vw, 4rem);
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(1.75rem, 5vw, 4rem);
    align-items: center;
}
.bf-support-card p { margin: 1rem 0 0; color: var(--bf-muted); max-width: 40ch; }
.bf-support-note { font-weight: 500; }

.bf-qrs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.bf-qrs figure {
    margin: 0;
    background: #fffdf8;
    border-radius: 20px;
    padding: 0.85rem;
}
.bf-qrs img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.bf-qrs figcaption {
    margin-top: 0.5rem;
    font-size: var(--bf-small);
    font-weight: 500;
    text-align: center;
}

/* a missing QR file must look like a deliberate stub, not a broken image */
.bf-stub-pending {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    background: #fffdf8;
    border-radius: 20px;
    color: var(--bf-muted);
    font-size: var(--bf-small);
}

/* ── the ask ───────────────────────────────────────────────────────────────── */
.bf-reply {
    padding-block: clamp(3rem, 6vw, 5.5rem);
    background: #241413;
    color: #f2f0eb;
}
.bf-reply .bf-h2 { color: #f2f0eb; max-width: 18ch; }
.bf-reply-sub { margin: 1rem 0 1.75rem; color: #d9cfc7; max-width: 34ch; }

/* ── motion: hidden only when the reveal script is actually running ─────────────
   The gate used to be `.js`, which the head sets before any of this can know whether
   landing.js loaded. If the script failed or arrived late, every block stayed at
   opacity 0 and the page read as blank until a reload. `bf-anim` is added by
   initBoardReveal itself, so a page whose script never runs is simply visible. */
.js.bf-anim .bf-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js.bf-anim .bf-reveal.bf-in { opacity: 1; transform: none; }
.js.bf-anim .bf-reveal.bf-d1 { transition-delay: 0.07s; }
.js.bf-anim .bf-reveal.bf-d2 { transition-delay: 0.14s; }

@media (max-width: 900px) {
    .bf-hero-top,
    .bf-band,
    .bf-attend-grid,
    .bf-mobile-grid,
    .bf-support-card { grid-template-columns: 1fr; }

    .bf-hero-aside { justify-self: start; text-align: left; max-width: 34ch; }
    .bf-band p { max-width: 44ch; }
}

@media (max-width: 880px) {
    /* the wall becomes a strip you can swipe, and it drifts on its own */
    .bf-wall {
        display: flex;
        gap: 0.7rem;
        overflow-x: auto;
        scroll-snap-type: none;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }
    .bf-print {
        min-width: 84%;
        aspect-ratio: 4 / 5;
        margin-top: 0;
        scroll-snap-align: start;
    }
    .bf-print img { width: 100%; height: 100%; object-fit: cover; }

    /* words before the picture on a phone */
    .bf-feat,
    .bf-feat.bf-flip { grid-template-columns: 1fr; }
    .bf-feat .bf-copy,
    .bf-feat.bf-flip .bf-copy { grid-column: 1; order: 1; }
    .bf-feat .bf-art,
    .bf-feat.bf-flip .bf-art { grid-column: 1; order: 2; border-radius: 30px; }

    .bf-feat .bf-copy p { max-width: 44ch; }
}

@media (max-width: 700px) {
    .js.bf-anim .bf-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

@media (max-width: 560px) {
    .bf-hero { padding-top: clamp(6rem, 16vw, 7.5rem); }
    .bf-art.bf-shot-phone { aspect-ratio: 4 / 5; }
    .bf-qrs { gap: 0.7rem; }
}

@media (prefers-reduced-motion: reduce) {
    .bf-reveal { opacity: 1; transform: none; transition: none; }
    .bf-print img,
    .bf-art img,
    .bf-pair img,
    .bf-btn { transition: none; }
    .bf-pair img:hover,
    .bf-print:hover img,
    .bf-art:hover img { transform: none; }
}

/* focus ring on the paper ground */
.bf-wrap :focus-visible,
.bf-band :focus-visible,
.bf-reply :focus-visible {
    outline: 3px solid #7d0c14;
    outline-offset: 3px;
}
.bf-reply :focus-visible { outline-color: #f2f0eb; }
