/* ============================================================
   Speed Date Philadelphia -- HOMEPAGE compositions (Lane C, 2026-11-20). Midnight & Champagne.
   Loaded by Pages/Index.cshtml only (body class "sdp-home"); tokens, buttons, steps, FAQ and quote
   cards come from sdp.css. This file adds: the split hero (copy left, the photo on its own with a thin
   gold frame and NOTHING over it), the facts strip, how-it-works (photo + three steps), the online
   events section, the why-it-works band with the DB figures, the event cards and their empty state,
   the crowd pills, where-we-meet tiles + region cards, the finale and the reviews/FAQ tweaks.
   Image slots are the sdp-*.svg placeholders until the owner's photos arrive (see
   PHILADELPHIA-IMAGE-MANIFEST.md); every slot is sized by CSS so the swap changes nothing here.
   ============================================================ */
.sdp-home { font-size: 17px; line-height: 1.65; overflow-x: hidden; }
.sdp-home h1, .sdp-home h2, .sdp-home h3 { text-wrap: balance; margin: 0; }
.sdp-home p { margin: 0; }
.sdp-home img { max-width: 100%; }
.sdp-home .sdp-head { margin-bottom: clamp(32px, 4.5vw, 56px); }

/* a framed photo: thin gold hairline, 14px radius, midnight behind while it loads */
.sdp-frame { position: relative; border-radius: 14px; overflow: hidden; background: var(--sdp-ink-2);
    border: 1px solid rgba(214,179,106,.42); box-shadow: 0 30px 70px -40px rgba(0,0,0,.9); }
.sdp-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- HERO: copy left, the photo right and uncovered ---------- */
.sdp-hero { position: relative; background: var(--sdp-ink); color: var(--sdp-ivory); padding: 136px 24px 56px; overflow: hidden; }
.sdp-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(900px 520px at 8% 0%, var(--sdp-gold-soft), transparent 60%),
                radial-gradient(700px 460px at 100% 100%, var(--sdp-rose-soft), transparent 62%); opacity: .9; }
.sdp-hero__inner { position: relative; z-index: 1; width: 100%; max-width: 1180px; margin: 0 auto;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.sdp-hero__copy { min-width: 0; }
.sdp-hero__copy > * { opacity: 0; animation: sdpUp .9s cubic-bezier(.2,.8,.2,1) forwards; }
.sdp-hero__copy > *:nth-child(1) { animation-delay: .06s; }
.sdp-hero__copy > *:nth-child(2) { animation-delay: .18s; }
.sdp-hero__copy > *:nth-child(3) { animation-delay: .3s; }
.sdp-hero__copy > *:nth-child(4) { animation-delay: .42s; }
@keyframes sdpUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.sdp-hero h1 { font-family: var(--sdp-display); font-weight: 400; font-size: clamp(2.5rem, 5.2vw, 4.4rem); letter-spacing: -.01em; line-height: 1.03; margin: 1.1rem 0 1.2rem; color: var(--sdp-ivory); }
.sdp-hero h1 em { font-style: italic; color: var(--sdp-rose); }
.sdp-hero__lead { font-size: clamp(1.05rem, 1.55vw, 1.2rem); color: var(--sdp-dim); max-width: 50ch; line-height: 1.6; }
.sdp-hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.sdp-hero__media { aspect-ratio: 4 / 3.4; opacity: 0; animation: sdpUp 1s cubic-bezier(.2,.8,.2,1) .25s forwards; }
.sdp-hero__media img { object-position: 50% 45%; }

/* ---------- FACTS STRIP ---------- */
.sdp-facts { border-block: 1px solid var(--sdp-line); background: var(--sdp-ink-2); padding: 22px 24px; }
.sdp-facts ul { list-style: none; margin: 0 auto; padding: 0; max-width: 1180px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sdp-facts li { display: flex; align-items: center; gap: 12px; font-size: .95rem; font-weight: 600; color: var(--sdp-ivory); padding: 4px 0; }
.sdp-facts li + li { border-left: 1px solid var(--sdp-line); padding-left: 18px; }
.sdp-facts i, .sdp-facts svg { width: 20px; height: 20px; color: var(--sdp-gold); flex: none; }

/* ---------- HOW IT WORKS: the photo beside three stacked steps ---------- */
.sdp-how { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.sdp-how__media { aspect-ratio: 4 / 5; }
.sdp-how .sdp-head { margin-bottom: 1.6rem; }
.sdp-how .sdp-steps { grid-template-columns: 1fr; gap: 12px; }
.sdp-how .sdp-step { display: grid; grid-template-columns: 54px 1fr; column-gap: 18px; align-items: start; padding: 22px 24px; }
.sdp-how .sdp-step:hover { transform: none; }
.sdp-how .sdp-step__n { font-size: 2.3rem; grid-row: 1 / span 2; padding-top: 2px; }
.sdp-how .sdp-step h3 { margin: 0 0 4px; font-size: 1.25rem; }
.sdp-how .sdp-step p { font-size: .95rem; }

/* ---------- ONLINE EVENTS: a real section, photo left, copy right ---------- */
.sdp-online { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.sdp-online__media { aspect-ratio: 4 / 3; }
.sdp-online__badge { position: absolute; left: 1.1rem; top: 1.1rem; z-index: 2; display: inline-flex; align-items: center; gap: .5rem;
    background: var(--sdp-gold); color: var(--sdp-ink); border-radius: 999px; padding: .5rem .9rem; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.sdp-online__badge i, .sdp-online__badge svg { width: 14px; height: 14px; }
.sdp-online .sdp-head { margin-bottom: 0; }
.sdp-online__list { list-style: none; margin: 1.4rem 0 1.8rem; padding: 0; display: grid; gap: .8rem; }
.sdp-online__list li { display: flex; align-items: flex-start; gap: .75rem; color: var(--sdp-dim); font-size: 1rem; line-height: 1.5; }
.sdp-online__list i, .sdp-online__list svg { width: 18px; height: 18px; color: var(--sdp-gold); flex: none; margin-top: .2rem; }
.sdp-online__list strong { color: var(--sdp-ivory); font-weight: 700; }

/* ---------- WHY IT WORKS: photo + the DB figures + three facts, on the deep band ---------- */
.sdp-split { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.sdp-split__media { aspect-ratio: 4 / 5; }
.sdp-split .sdp-head { margin-bottom: 0; }
.sdp-since { margin-top: 1.1rem; font-family: var(--sdp-display); font-style: italic; font-size: 1.08rem; color: var(--sdp-gold); }
.sdp-stats { list-style: none; margin: 1.8rem 0 0; padding: 1.4rem 0 0; border-top: 1px solid var(--sdp-line); display: grid; grid-template-columns: repeat(3, auto); gap: 1.4rem 2.4rem; justify-content: start; }
.sdp-stats b { display: block; font-family: var(--sdp-display); font-weight: 400; font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1; color: var(--sdp-gold); }
.sdp-stats span { display: block; margin-top: .4rem; font-size: .84rem; color: var(--sdp-dim); letter-spacing: .02em; }
.sdp-why__list { list-style: none; margin: 1.6rem 0 0; padding: 0; }
.sdp-why__list li { display: flex; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--sdp-line); }
.sdp-why__list i, .sdp-why__list svg { width: 20px; height: 20px; color: var(--sdp-gold); flex: none; margin-top: .2rem; }
.sdp-why__list strong { display: block; font-weight: 700; margin-bottom: .1rem; font-size: 1rem; color: var(--sdp-ivory); }
.sdp-why__list span { color: var(--sdp-dim); font-size: .94rem; }

/* ---------- UPCOMING EVENTS (cards from the database) ---------- */
.sdp-evs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.sdp-ev { background: var(--sdp-panel); border: 1px solid var(--sdp-line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column;
    text-decoration: none; color: var(--sdp-ivory); transition: transform .2s, border-color .2s; }
.sdp-ev:hover { transform: translateY(-4px); border-color: rgba(214,179,106,.5); }
.sdp-ev__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sdp-ink-2); }
.sdp-ev__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.sdp-ev:hover .sdp-ev__img img { transform: scale(1.04); }
.sdp-ev__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,19,28,0) 55%, rgba(16,19,28,.55)); pointer-events: none; }
.sdp-ev__date { position: absolute; top: .9rem; left: .9rem; z-index: 2; background: rgba(16,19,28,.86); backdrop-filter: blur(8px);
    border: 1px solid rgba(214,179,106,.45); border-radius: 10px; padding: .45rem .7rem; text-align: center; line-height: 1.1; }
.sdp-ev__date b { display: block; font-family: var(--sdp-display); font-weight: 400; font-size: 1.35rem; color: var(--sdp-gold); }
.sdp-ev__date small { display: block; font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sdp-dim); margin-top: 2px; }
.sdp-ev__flag { position: absolute; top: .9rem; right: .9rem; z-index: 2; background: var(--sdp-gold); color: var(--sdp-ink);
    font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .34rem .66rem; border-radius: 999px; }
.sdp-ev__body { padding: 1.3rem 1.4rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.sdp-ev__t { font-family: var(--sdp-display); font-size: 1.22rem; font-weight: 400; line-height: 1.22; margin: 0 0 .75rem; color: var(--sdp-ivory); }
.sdp-ev__meta { list-style: none; margin: 0 0 1.2rem; padding: 0; font-size: .9rem; color: var(--sdp-dim); }
.sdp-ev__meta li { display: flex; gap: .55rem; align-items: center; margin-bottom: .4rem; }
.sdp-ev__meta i, .sdp-ev__meta svg { width: 14px; height: 14px; color: var(--sdp-gold); flex: none; }
.sdp-ev__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--sdp-line); }
.sdp-ev__price { font-family: var(--sdp-display); font-size: 1.4rem; color: var(--sdp-gold); line-height: 1; }
.sdp-ev__price small { font-family: var(--sdp-body); font-size: .7rem; color: var(--sdp-faint); display: block; letter-spacing: .04em; margin-top: 4px; }
.sdp-ev__go { margin-left: auto; font-size: .9rem; font-weight: 700; color: var(--sdp-ivory); display: inline-flex; align-items: center; gap: .35rem; transition: gap .18s, color .18s; }
.sdp-ev:hover .sdp-ev__go { gap: .6rem; color: var(--sdp-gold); }
.sdp-ev__go i, .sdp-ev__go svg { width: 15px; height: 15px; }
.sdp-evs__more { text-align: center; margin-top: 2.4rem; }

/* empty state: nothing scheduled yet */
.sdp-empty { display: grid; grid-template-columns: 1.1fr .9fr; background: var(--sdp-panel); border: 1px solid var(--sdp-line); border-radius: 14px; overflow: hidden; }
.sdp-empty__body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.sdp-empty h3 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin: .4rem 0 .8rem; color: var(--sdp-ivory); }
.sdp-empty p { color: var(--sdp-dim); max-width: 48ch; margin-bottom: 1.4rem; }
.sdp-empty__img { position: relative; min-height: 280px; }
.sdp-empty__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sdp-empty__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--sdp-panel), transparent 24%); }
.sdp-tag { display: inline-flex; align-items: center; gap: .45rem; font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--sdp-gold); }
.sdp-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--sdp-gold); box-shadow: 0 0 0 0 rgba(214,179,106,.6); animation: sdpPulse 2.4s infinite; }
@keyframes sdpPulse { 70% { box-shadow: 0 0 0 9px rgba(214,179,106,0); } 100% { box-shadow: 0 0 0 0 rgba(214,179,106,0); } }

/* ---------- FIND YOUR CROWD: pills, not cards ---------- */
.sdp-crowd { background: radial-gradient(60% 70% at 100% 0%, var(--sdp-rose-soft), transparent 60%), var(--sdp-ink-2); }
.sdp-crowd__label { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--sdp-faint); margin: 1.8rem 0 .8rem; font-weight: 700; }
.sdp-crowd .sdp-head + .sdp-crowd__label { margin-top: 0; }
.sdp-pills { display: flex; flex-wrap: wrap; gap: .6rem; }
.sdp-pill { display: inline-flex; align-items: center; gap: .45rem; padding: .62rem 1.1rem; border-radius: 999px; text-decoration: none;
    background: transparent; border: 1px solid rgba(243,238,228,.3); color: var(--sdp-ivory); font-size: .95rem; font-weight: 600;
    transition: background .18s, border-color .18s, transform .18s, color .18s; }
.sdp-pill:hover { background: var(--sdp-ivory); color: var(--sdp-ink); border-color: var(--sdp-ivory); transform: translateY(-2px); }
.sdp-pill--strong { background: var(--sdp-gold); color: var(--sdp-ink); border-color: var(--sdp-gold); }
.sdp-pill--strong:hover { background: var(--sdp-gold-lo); border-color: var(--sdp-gold-lo); color: var(--sdp-ink); }
.sdp-pill i, .sdp-pill svg { width: 15px; height: 15px; }
.sdp-home .sdp-crowd__foot { margin-top: 1.8rem; color: var(--sdp-dim); font-size: .95rem; }
.sdp-crowd__foot a { color: var(--sdp-rose); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- WHERE WE MEET: three photo tiles, then the region directory ---------- */
.sdp-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; }
.sdp-tile { margin: 0; aspect-ratio: 16 / 10; }
.sdp-tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.4rem 1.1rem .95rem; font-family: var(--sdp-display); font-size: 1.05rem; color: var(--sdp-ivory);
    background: linear-gradient(180deg, rgba(16,19,28,0), rgba(16,19,28,.85)); }
.sdp-areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.sdp-area { position: relative; display: block; border: 1px solid var(--sdp-line); border-radius: 14px; padding: 1.15rem 2.4rem 1.15rem 1.25rem;
    background: var(--sdp-panel); text-decoration: none; color: var(--sdp-ivory); transition: border-color .2s, transform .2s; }
.sdp-area:hover { border-color: rgba(214,179,106,.5); transform: translateY(-3px); }
.sdp-area strong { font-family: var(--sdp-display); font-weight: 400; font-size: 1.1rem; margin: 0 0 .25rem; display: block; color: var(--sdp-ivory); }
.sdp-area span { font-size: .86rem; color: var(--sdp-dim); margin: 0; display: block; line-height: 1.45; }
.sdp-area::after { content: "\2192"; position: absolute; right: 1.1rem; top: 1.15rem; color: var(--sdp-gold); opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; }
.sdp-area:hover::after { opacity: 1; transform: none; }
.sdp-area--hub { background: linear-gradient(160deg, var(--sdp-panel-2), var(--sdp-panel) 70%); border-color: rgba(214,179,106,.35); }
.sdp-area--hub strong { color: var(--sdp-gold); }
.sdp-areas__more { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- FINALE: the toast photo under a midnight veil ---------- */
.sdp-finale { position: relative; overflow: hidden; text-align: center; padding: clamp(96px, 13vw, 170px) 24px; background: var(--sdp-ink-2); color: var(--sdp-ivory); }
.sdp-finale__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.sdp-finale__veil { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(16,19,28,.62), rgba(16,19,28,.94)); }
.sdp-finale::before, .sdp-finale::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; z-index: 2; background: linear-gradient(90deg, transparent, var(--sdp-gold), transparent); opacity: .6; }
.sdp-finale::before { top: 0; }
.sdp-finale::after { bottom: 0; }
.sdp-finale__inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.sdp-finale .sdp-eyebrow { justify-content: center; }
.sdp-finale .sdp-eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--sdp-gold); display: inline-block; }
.sdp-finale h2 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); margin-top: 14px; color: var(--sdp-ivory); }
.sdp-finale h2 em { font-style: italic; color: var(--sdp-rose); }
.sdp-finale p { color: var(--sdp-dim); font-size: 1.1rem; margin: 18px auto 30px; max-width: 54ch; }

/* ---------- REVIEWS / FAQ homepage tweaks (reuse .sdp-quotes / .sdp-faq) ---------- */
.sdp-home .sdp-quotes { grid-template-columns: repeat(3, 1fr); }
.sdp-faq--home { margin: 0; max-width: 860px; }
.sdp-faq__more { margin-top: 24px; color: var(--sdp-dim); font-size: 1rem; }
.sdp-faq__more a { color: var(--sdp-rose); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
    .sdp-hero__inner { grid-template-columns: 1fr; }
    .sdp-hero__copy { max-width: 720px; }
    .sdp-hero__media { max-width: 720px; aspect-ratio: 16 / 10; }
    .sdp-facts ul { grid-template-columns: 1fr 1fr; }
    .sdp-facts li + li { border-left: 0; padding-left: 0; }
    .sdp-how, .sdp-online, .sdp-split { grid-template-columns: 1fr; gap: 2.4rem; }
    .sdp-how__media, .sdp-split__media { aspect-ratio: 16 / 10; max-width: 720px; }
    .sdp-online__media { max-width: 720px; }
    .sdp-evs { grid-template-columns: 1fr 1fr; }
    .sdp-areas, .sdp-tiles { grid-template-columns: 1fr 1fr; }
    .sdp-home .sdp-quotes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    .sdp-home { font-size: 16px; }
    .sdp-hero { padding: 104px 20px 44px; }
    .sdp-hero__cta .sdp-btn { width: 100%; justify-content: center; }
    .sdp-hero__media { aspect-ratio: 16 / 9; border-radius: 12px; }
    .sdp-facts ul { grid-template-columns: 1fr; gap: 10px; }
    .sdp-how .sdp-step { grid-template-columns: 44px 1fr; padding: 18px 18px; }
    .sdp-stats { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
    .sdp-evs, .sdp-areas, .sdp-tiles, .sdp-home .sdp-quotes { grid-template-columns: 1fr; }
    .sdp-empty { grid-template-columns: 1fr; }
    .sdp-empty__img { min-height: 200px; order: -1; }
    .sdp-empty__img::after { display: none; }
    .sdp-finale { padding-left: 20px; padding-right: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .sdp-hero__copy > *, .sdp-hero__media { animation: none; opacity: 1; }
    .sdp-pulse { animation: none; }
}
