/* ============================================================
   JayMatchmaker design system
   Palette: wine #5A1A2A · cream #FFFBF5 · gold #C9A87A
   Fonts: Playfair Display (display) · Inter (body)
   ============================================================ */

:root {
    --wine: #5A1A2A;
    --wine-dark: #4A1523;
    --wine-deep: #3A0F1C;
    --wine-soft: #8A6A72;
    --cream: #FFFBF5;
    --cream-2: #FFF1E6;
    --beige: #F8E8D0;
    --beige-2: #EADDCB;
    --gold: #C9A87A;
    --ink: #6B5E52;
    --ink-soft: #9A8A7A;
    --line: #E8DDD0;
    --red: #FF4D4D;
    --green: #2fa36b;
    --danger: #d64550;
    --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --shadow-soft: 0 20px 50px rgba(0, 0, 0, 0.10);
    --shadow-hero: 0 32px 80px rgba(90, 26, 42, 0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--cream);
    font-size: 14.5px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--wine); text-decoration: none; }
a:hover { opacity: .8; }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--wine); line-height: 1.1; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section.alt { background: #fff; }
.center { text-align: center; }

.muted { color: var(--ink-soft); }
.small { font-size: .85rem; }
.warn { color: var(--gold); }
.serif { font-family: var(--serif); }

/* ---------- Announcement bar ---------- */
.announcement {
    background: var(--wine);
    color: #FFD8A8;
    text-align: center;
    padding: 9px 16px;
    font-size: 12px;
    letter-spacing: .14em;
    font-weight: 600;
    text-transform: uppercase;
}
.announcement .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: pulse 1.6s infinite; margin-right: 8px; }
.announcement a { color: #FFD8A8; text-decoration: underline; text-underline-offset: 4px; }
.announcement a:hover { color: #fff; opacity: 1; }
.announcement.is-live { background: var(--red); color: #fff; animation: liveGlow 2s infinite; }
.announcement.is-live .dot { background: #fff; }
.announcement.is-live a { color: #fff; }
@keyframes liveGlow { 0%,100% { box-shadow: inset 0 0 0 rgba(255,255,255,0) } 50% { box-shadow: inset 0 0 26px rgba(255,255,255,.18) } }
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .35 } }

/* ---------- Stream timezone ticker ---------- */
.announcement { overflow: hidden; }
.ticker-track { display: flex; align-items: center; width: max-content; white-space: nowrap; animation: tickerScroll 80s linear infinite; }
@keyframes tickerScroll { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.ticker-item { font-size: 12px; letter-spacing: .03em; font-weight: 500; margin-left: 26px; }
.ticker-item strong { color: #fff; font-weight: 700; }
.ticker-sep { color: var(--gold); margin-left: 26px; }

/* ---------- Header ---------- */
.site-nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 251, 245, .82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 24px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--wine); }
.brand-logo { width: 40px; height: 40px; border-radius: 50%; background: var(--wine); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 19px; object-fit: cover; }
.brand-name { font-weight: 600; letter-spacing: .18em; font-size: 14px; text-transform: uppercase; line-height: 1.1; }
.brand-tag { font-size: 10px; letter-spacing: .18em; color: var(--ink-soft); font-weight: 500; }
.site-nav nav { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.site-nav nav a { font-size: 13.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--wine); }
.site-nav nav a:hover { opacity: .6; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.hamburger { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; }
.hamburger span { display: block; width: 18px; height: 2px; background: var(--wine); margin: 4px auto; }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: var(--cream); padding: 18px 24px 24px; }
.mobile-menu.open { display: block; }
.mobile-menu a, .mobile-menu button { display: block; width: 100%; text-align: left; padding: 12px 0; background: none; border: none; font-family: var(--sans); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 14px; color: var(--wine); cursor: pointer; }
@media (max-width: 960px) {
    .site-nav nav { display: none; }
    .hamburger { display: block; }
    .nav-cta .btn { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 24px; border-radius: 999px; font-family: var(--sans);
    font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer;
    border: 1px solid transparent; transition: all .15s ease; line-height: 1;
}
.btn:hover { transform: translateY(-1px); opacity: .92; }
.btn-primary { background: var(--wine); color: #fff; }
.btn-primary:hover { background: var(--wine-dark); }
.btn-google { background: #fff; color: #444; border-color: #d5d7dc; }
.btn-google:hover { border-color: var(--gold); background: var(--cream-2); }
.btn-google .google-g {
    width: 20px; height: 20px; flex: none;
}
.btn-gold { background: var(--gold); color: var(--wine); }
.btn-dark { background: var(--wine); color: #fff; }
.btn-outline { background: #fff; color: var(--wine); border-color: var(--line); }
.btn-outline:hover { background: var(--cream-2); border-color: var(--gold); }
.btn-ghost { background: transparent; color: var(--wine); border: 1px solid var(--line); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-paypal { background: #0070ba; color: #fff; }
.btn-paypal:hover { background: #005ea6; }
.btn-lg { padding: 15px 32px; font-size: 15px; }
.btn-sm { padding: 7px 14px; font-size: 12.5px; }
.btn-block { width: 100%; }
.btn-play { width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 11px; flex: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 32px; align-items: center; padding: 48px 24px; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; padding: 28px 24px; } }
.hero-kicker {
    display: inline-flex; align-items: center; gap: 8px;
    border: 1px solid var(--line); background: #fff; border-radius: 999px;
    padding: 8px 16px; font-size: 11px; letter-spacing: .14em; font-weight: 700;
    text-transform: uppercase; color: var(--wine);
}
.hero-kicker .star { color: var(--gold); }
.hero h1 { font-size: 84px; line-height: .9; letter-spacing: -.04em; margin-top: 26px; }
.hero h1 .line2 { font-style: italic; font-weight: 700; margin-top: -6px; }
.hero h1 .line3 { color: var(--gold); margin-top: -6px; }
@media (max-width: 960px) { .hero h1 { font-size: 56px; } }
@media (max-width: 480px) { .hero h1 { font-size: 44px; } }
.hero-copy { margin-top: 22px; max-width: 520px; font-size: 16px; line-height: 1.6; font-weight: 500; }
.hero-copy strong { color: var(--wine); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-alt { margin-top: 14px; font-size: 14px; color: var(--wine-soft); }
.hero-alt a { color: var(--gold); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.hero-alt a:hover { color: var(--wine); }
.hero-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 26px; }
.avatar-stack { display: flex; }
.avatar { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; margin-left: -8px; }
.avatar:first-child { margin-left: 0; }
.avatar-more { background: var(--wine); }
.avatar.a1 { background: #C97A5A; } .avatar.a2 { background: #7A9E7E; } .avatar.a3 { background: #6B7FA6; }
.proof-text { font-size: 13px; line-height: 1.35; }
.proof-text .strong { font-weight: 700; color: var(--wine); }
.proof-text .stars { color: var(--gold); }
.proof-divider { width: 1px; height: 36px; background: var(--line); }
.proof-block .next { font-weight: 700; color: var(--wine); }
.proof-block .sub { color: var(--ink-soft); font-size: 13px; }

/* Hero photo */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; gap: 14px; flex-direction: row-reverse; }
.hero-blob { position: relative; flex: none; width: 55%; aspect-ratio: 4 / 5; }
.hero-blob .blob1 {
    position: absolute; inset: 0; border-radius: 40px;
    background: url('hero.jpg') center 47% / cover no-repeat;
    box-shadow: var(--shadow-soft);
}
.hero-blob .blob2 { display: none; }
.hero-photo {
    position: relative; width: 42%; max-width: none; border-radius: 36px; overflow: hidden;
    aspect-ratio: 4 / 5; box-shadow: var(--shadow-hero);
    background: linear-gradient(160deg, #F8E8D0, #EADDCB 55%, var(--gold));
    display: flex; align-items: center; justify-content: center;
    cursor: grab; touch-action: none; will-change: transform;
}
.hero-photo.dragging { cursor: grabbing; }
.hero-photo .ph-drag {
    position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border-radius: 50%;
    background: rgba(90,26,42,.72); color: #fff; display: grid; place-items: center;
    font-size: 13px; cursor: grab; z-index: 3; pointer-events: none; opacity: .9;
    box-shadow: 0 4px 12px rgba(0,0,0,.18);
}
.hero-photo .ph-drag::after {
    content: 'Drag me'; position: absolute; top: 50%; right: calc(100% + 8px); transform: translateY(-50%);
    background: var(--wine); color: #fff; font-family: var(--sans); font-size: 10px; font-weight: 600;
    letter-spacing: .06em; padding: 4px 8px; border-radius: 8px; white-space: nowrap; opacity: 0;
    transition: opacity .15s ease; pointer-events: none;
}
.hero-photo:hover .ph-drag::after { opacity: 1; }
.hero-photo .ph-bg {
    position: absolute; inset: 0;
    background: url('hero.jpg') center top / cover no-repeat;
}
.hero-photo .ph-video {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center top;
}
.hero-photo .ph-fallback { font-family: var(--serif); font-size: 120px; color: rgba(90,26,42,.14); }
.hero-photo .ph-gradient { position: absolute; inset: 0; background: linear-gradient(to top, rgba(90,26,42,.28), transparent 42%); }
.hero-photo .ph-live {
    position: absolute; top: 20px; left: 20px; background: #fff; border-radius: 999px;
    padding: 6px 16px 6px 6px; display: flex; align-items: center; gap: 8px; box-shadow: 0 6px 20px rgba(0,0,0,.14);
}
.hero-photo .ph-live .rec { width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: #fff; font-size: 9px; font-weight: 700; display: grid; place-items: center; }
.hero-photo .ph-live .label { font-size: 10px; font-weight: 800; letter-spacing: .14em; color: var(--wine); }
.hero-photo .ph-stat {
    position: absolute; left: 20px; right: 20px; bottom: 20px; background: rgba(255,255,255,.95);
    border-radius: 18px; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between;
    box-shadow: 0 18px 40px rgba(0,0,0,.14); backdrop-filter: blur(6px);
}
.hero-photo .ph-stat .kicker { font-size: 10px; letter-spacing: .16em; font-weight: 800; color: var(--ink-soft); text-transform: uppercase; }
.hero-photo .ph-stat .num { font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--wine); line-height: 1.05; }
.hero-photo .ph-stat .cap { font-size: 11px; color: var(--ink-soft); }
.hero-photo .ph-stat .heart { width: 50px; height: 50px; border-radius: 50%; background: var(--wine); color: #fff; display: grid; place-items: center; font-size: 20px; flex: none; }
.hero-quote {
    position: absolute; bottom: 64px; left: -12px; background: #fff; border-radius: 18px;
    padding: 16px 20px; max-width: 250px; box-shadow: var(--shadow-soft); border: 1px solid var(--line);
}

/* Fullscreen video modal */
.video-modal {
    position: fixed; inset: 0; z-index: 999; background: rgba(20,5,10,.92);
    display: none; align-items: center; justify-content: center; padding: 24px;
}
.video-modal.open { display: flex; }
.video-modal video {
    max-width: 100%; max-height: 92vh; width: auto; height: auto; border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0,0,0,.6); background: #000;
}
.video-modal-close {
    position: absolute; top: 18px; right: 22px; font-size: 36px; color: #fff; background: none;
    border: none; cursor: pointer; line-height: 1; opacity: .85;
}
.video-modal-close:hover { opacity: 1; }
.hero-quote .qmark { color: var(--gold); font-size: 20px; line-height: 1; }
.hero-quote .qtext { font-size: 13px; font-weight: 500; color: var(--wine); margin-top: 2px; }
.hero-quote .qwho { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.hero-quote .qwho .avatar { width: 26px; height: 26px; font-size: 11px; }
.hero-quote .qwho .nm { font-size: 11px; }
.hero-quote .qwho .nm b { color: var(--wine); }
.hero-badge-feature {
    position: absolute; top: 64px; right: -10px; background: var(--wine); color: #fff; border-radius: 16px;
    padding: 10px 16px; box-shadow: 0 14px 30px rgba(90,26,42,.35); transform: rotate(2deg); text-align: center;
}
.hero-badge-feature .k { font-size: 9px; letter-spacing: .18em; opacity: .7; text-transform: uppercase; }
.hero-badge-feature .v { font-weight: 700; font-size: 13px; letter-spacing: .04em; }
@media (max-width: 1100px) { .hero-quote { left: -4px; } .hero-badge-feature { right: -4px; } }
@media (max-width: 480px) { .hero-quote { display: none; } }

/* ---------- Press / quote strip ---------- */
.press-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.6); }
.press-inner { padding: 20px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 26px; }
.press-inner .plabel { font-size: 11px; letter-spacing: .18em; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; }
.press-inner .plogo { font-family: var(--serif); font-weight: 700; letter-spacing: .12em; font-size: 15px; color: var(--wine); opacity: .7; }
.press-inner .pquote { font-size: 13px; color: var(--ink-soft); }
.press-inner .sep { color: var(--gold); }

/* ---------- Section headers ---------- */
.sec-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 40px; }
.sec-head.row { flex-direction: row; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .18em; font-weight: 800; text-transform: uppercase; color: var(--gold); }
.kicker::before { content: ''; width: 30px; height: 1px; background: var(--gold); }
.sec-head h2 { font-size: 52px; letter-spacing: -.03em; line-height: .95; }
@media (max-width: 720px) { .sec-head h2 { font-size: 40px; } }
.sec-head .lead { max-width: 430px; font-size: 15px; line-height: 1.6; }
.sec-head.center .kicker::after { content: ''; width: 30px; height: 1px; background: var(--gold); }

/* ---------- Service cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1080px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } }
.svc {
    border-radius: 28px; padding: 28px; min-height: 500px; display: flex; flex-direction: column;
    position: relative; overflow: hidden; border: 1px solid var(--line);
}
.svc.dark { background: var(--wine); color: #fff; border: none; }
.svc.dark h3, .svc.dark .pkg-price { color: #fff; }
.svc.tint { background: var(--cream-2); border-color: var(--line); }
.svc.white { background: #fff; }
.svc .deco { position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,.10); }
.svc .icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; margin-bottom: 22px; }
.svc.dark .icon { background: rgba(255,255,255,.15); }
.svc.white .icon, .svc.tint .icon { background: var(--cream-2); color: var(--gold); }
.svc .tag {
    align-self: flex-start; background: var(--gold); color: var(--wine); font-size: 10px; letter-spacing: .16em;
    font-weight: 800; padding: 6px 12px; border-radius: 999px; text-transform: uppercase;
}
.svc h3 { font-size: 24px; margin-top: 14px; }
.svc .desc { font-size: 13px; line-height: 1.6; margin-top: 8px; }
.svc.dark .desc { color: rgba(255,255,255,.7); }
.svc ul { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.svc li { display: flex; gap: 8px; }
.svc li::before { content: '✓'; color: var(--gold); font-weight: 700; }
.svc.dark li { color: rgba(255,255,255,.9); }
.svc .pkg-foot { margin-top: auto; padding-top: 26px; }
.svc .pkg-price { font-size: 32px; font-weight: 300; letter-spacing: -.02em; color: var(--wine); }
.svc .pkg-price span { font-size: 14px; font-weight: 500; opacity: .7; }
.svc .btn { width: 100%; margin-top: 14px; height: 44px; }
.svc .btn.white { background: #fff; color: var(--wine); }
.svc .btn.goldbtn { background: var(--gold); color: var(--wine); }
.svc .pkg-note { text-align: center; font-size: 11px; letter-spacing: .06em; opacity: .6; margin-top: 10px; }

/* ---------- Promote / rate cards ---------- */
.rate-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 8px; }
@media (max-width: 720px) { .rate-grid { grid-template-columns: 1fr; } }
.rate-grid.wide { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.rate-card {
    background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px;
    display: flex; flex-direction: column; gap: 10px;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.rate-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: var(--gold); }
.rate-card .r-cat { font-size: 11px; letter-spacing: .14em; font-weight: 800; text-transform: uppercase; color: var(--gold); }
.rate-card .r-name { font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.25; color: var(--wine); }
.rate-card .pkg-price { margin-top: auto; font-size: 30px; font-weight: 300; letter-spacing: -.02em; color: var(--wine); }
.rate-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: var(--gold); }
.rate-card.dark { background: var(--wine); border: none; color: #fff; }
.rate-card.dark .rate-row .r-price, .rate-card.dark h3, .rate-card.dark .r-sub { color: #fff; }
.rate-card.dark .rate-row { border-color: rgba(255,255,255,.15); }
.rate-card .r-head { display: flex; align-items: center; gap: 12px; }
.rate-card .r-num {
    width: 34px; height: 34px; border-radius: 50%; flex: none;
    background: var(--gold); color: var(--wine); display: grid; place-items: center;
    font-family: var(--serif); font-weight: 700; font-size: 16px;
}
.rate-card.dark .r-num { background: #fff; }
.rate-card h3 { font-size: 20px; }
.rate-card .r-sub { font-size: 12.5px; color: var(--ink-soft); margin-top: -4px; }
.rate-row {
    display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
    padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px;
}
.rate-row:last-of-type { border-bottom: none; }
.rate-row .r-price { font-weight: 700; color: var(--wine); white-space: nowrap; }
.rate-row small { display: block; color: var(--ink-soft); font-size: 12px; }
.rate-card .pkg-foot { margin-top: auto; padding-top: 14px; }
.rate-card .pkg-price { font-size: 30px; font-weight: 300; letter-spacing: -.02em; color: var(--wine); }
.rate-card.dark .pkg-price { color: #fff; }
.rate-card .pkg-price span { font-size: 14px; font-weight: 500; opacity: .7; }

/* Promote profile strip */
.promo-strip {
    margin-top: 8px; border-radius: 28px; background: var(--wine); color: #fff;
    padding: 34px 38px; display: flex; flex-wrap: wrap; gap: 28px;
    align-items: center; justify-content: space-between;
}
.promo-strip .p-title { font-family: var(--serif); font-size: 34px; font-weight: 700; line-height: 1.05; }
.promo-strip .p-title small { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 800; color: var(--gold); margin-top: 6px; }
.promo-strip .p-stats { display: flex; flex-wrap: wrap; gap: 26px; }
.promo-strip .p-stat strong { display: block; font-family: var(--serif); font-size: 30px; line-height: 1; }
.promo-strip .p-stat span { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.promo-contact { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 22px; font-size: 14px; }
.promo-contact a { color: var(--wine); font-weight: 600; }

/* ---------- Testimonial strip ---------- */
.testi-strip {
    margin-top: 38px; border-radius: 24px; background: #1A1A1A; color: #fff; padding: 26px 30px;
    display: flex; flex-direction: column; gap: 16px;
}
@media (min-width: 900px) { .testi-strip { flex-direction: row; align-items: center; justify-content: space-between; } }
.testi-left { display: flex; gap: 14px; align-items: center; }
.testi-left .avatar { width: 44px; height: 44px; font-size: 15px; background: var(--gold); color: var(--wine); flex: none; }
.testi-left .tq { font-weight: 600; font-size: 14px; }
.testi-left .tw { font-size: 12px; color: rgba(255,255,255,.6); }
.testi-strip .trating { color: var(--gold); font-weight: 800; letter-spacing: .1em; font-size: 12px; white-space: nowrap; }
.testi-strip .trating span { color: rgba(255,255,255,.8); font-weight: 600; }

/* ---------- Donate ---------- */
.donate-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .donate-wrap { grid-template-columns: 1fr; } }
.donate-copy .dgoal { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; }
.donate-copy .dgoal .amt { font-family: var(--serif); font-size: 46px; font-weight: 700; color: var(--wine); }
.donate-copy .dgoal .of { color: var(--ink-soft); font-size: 15px; }
.progress-track { height: 12px; border-radius: 999px; background: var(--beige); overflow: hidden; margin-top: 14px; }
.progress-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gold), var(--wine)); transition: width .8s ease; }
.donate-note { font-size: 12.5px; color: var(--ink-soft); margin-top: 10px; }
.donate-card { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 30px; box-shadow: var(--shadow-soft); }
.amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; }
.amount-pill {
    padding: 14px 0; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; color: var(--wine);
    font-weight: 700; font-size: 16px; cursor: pointer; font-family: var(--sans); transition: all .12s ease;
}
.amount-pill:hover { border-color: var(--gold); }
.amount-pill.active { background: var(--wine); color: #fff; border-color: var(--wine); }
.donate-card label { margin-top: 14px; }
.donate-card .btn { margin-top: 18px; }
.toast {
    position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
    background: var(--wine); color: #fff; padding: 14px 22px; border-radius: 999px; font-size: 14px; font-weight: 600;
    opacity: 0; pointer-events: none; transition: all .3s ease; z-index: 100; box-shadow: var(--shadow-soft);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Livestream / chat ---------- */
.live-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
@media (max-width: 900px) { .live-wrap { grid-template-columns: 1fr; } }
.live-copy .lbtn { margin-top: 24px; }
.live-copy ul { list-style: none; margin-top: 20px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.live-copy li { display: flex; gap: 10px; }
.live-copy li::before { content: '♥'; color: var(--wine); font-size: 13px; margin-top: 1px; }
.chat-window {
    background: #fff; border: 1px solid var(--line); border-radius: 28px; overflow: hidden;
    display: flex; flex-direction: column; min-height: 480px; box-shadow: var(--shadow-soft);
}
.chat-head { background: var(--wine); color: #fff; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; }
.chat-head .live-tag { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.chat-head .live-tag .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); animation: pulse 1.6s infinite; }
.chat-head .viewers { font-size: 12px; opacity: .85; }
.chat-body { flex: 1; overflow-y: auto; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; max-height: 420px; }
.chat-msg { display: flex; flex-direction: column; gap: 2px; }
.chat-msg .cname { font-size: 12.5px; font-weight: 700; color: var(--wine); }
.chat-msg .ctext { font-size: 13.5px; background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 8px 12px; align-self: flex-start; max-width: 85%; }
.chat-msg.mine .ctext { align-self: flex-end; background: var(--wine); color: #fff; }
.chat-msg.mine .cname { text-align: right; }
.chat-input { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--line); }
.chat-input input { flex: 1; }
.chat-input button { flex: none; }

/* ---------- Bulletin board ---------- */
.bulletin-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .bulletin-wrap { grid-template-columns: 1fr; } }
.bulletin-side { position: sticky; top: 96px; }
.bulletin-side p { margin-top: 14px; font-size: 14.5px; }
.bulletin-side .btn { margin-top: 20px; }
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filter-pill {
    border: 1px solid var(--line); background: #fff; color: var(--ink-soft); font-family: var(--sans);
    padding: 8px 16px; border-radius: 999px; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: all .12s ease;
}
.filter-pill:hover { border-color: var(--gold); color: var(--wine); }
.filter-pill.active { background: var(--wine); color: #fff; border-color: var(--wine); }
.posts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 700px) { .posts-grid { grid-template-columns: 1fr; } }
.post-card {
    background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px;
    display: flex; flex-direction: column; gap: 10px; transition: transform .15s ease, box-shadow .15s ease;
}
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.post-top { display: flex; align-items: center; gap: 10px; }
.post-top .avatar { width: 34px; height: 34px; font-size: 13px; margin: 0; }
.post-top .author { font-weight: 700; font-size: 13px; color: var(--wine); }
.post-top .time { font-size: 11px; color: var(--ink-soft); }
.post-cat { align-self: flex-start; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.post-cat.looking { background: #FDF1E3; color: #C77B2F; }
.post-cat.success { background: #E6F7EE; color: var(--green); }
.post-cat.advice { background: #F4EefB; color: #7B4FD0; }
.post-card .ptitle { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--wine); line-height: 1.2; }
.post-card .pcontent { font-size: 13.5px; color: var(--ink); line-height: 1.55; }
.post-foot { display: flex; gap: 16px; font-size: 12px; color: var(--ink-soft); margin-top: auto; }

/* ---------- Modal ---------- */
.modal { display: none; position: fixed; inset: 0; background: rgba(58, 15, 28, .55); z-index: 90; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-box { background: #fff; border-radius: 24px; padding: 28px; max-width: 520px; width: 100%; max-height: 90vh; overflow-y: auto; }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.modal-head h3 { font-size: 26px; }
.modal-close { border: none; background: none; font-size: 26px; cursor: pointer; color: var(--ink-soft); line-height: 1; }
.modal-close:hover { color: var(--wine); }
.read-card { white-space: pre-wrap; background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 14px; font-size: 14px; margin-bottom: 16px; color: var(--wine); }

/* ---------- Match wall ---------- */
.match-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.match-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.match-names { font-family: var(--serif); font-size: 21px; font-weight: 700; color: var(--wine); }
.match-story { font-size: 13.5px; color: var(--ink); line-height: 1.55; }
.match-date { font-size: 11px; color: var(--ink-soft); }

/* ---------- Forms ---------- */
label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--wine); }
input, select, textarea {
    font-family: var(--sans); font-size: 15px; padding: 12px 14px;
    border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.form-card { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.form-card.narrow { max-width: 400px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Portal profile / browse ---------- */
.profile-card { max-width: 760px; }
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-bottom: 18px; }
@media (max-width: 640px) { .profile-grid { grid-template-columns: 1fr; } }
.profile-grid > div { display: flex; flex-direction: column; gap: 2px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.profile-grid strong { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.profile-grid span { font-size: 15px; color: var(--wine); }

/* ---------- Dashboard shell (sidebar + stats) ---------- */
.dash { display: flex; min-height: 100vh; }
.dash-side {
    width: 272px; flex: none; position: sticky; top: 0; height: 100vh;
    background: linear-gradient(180deg, var(--wine-deep) 0%, var(--wine) 100%);
    color: #fff; display: flex; flex-direction: column; padding: 22px 18px;
    overflow-y: auto;
}
.dash-side .brand { color: #fff; }
.dash-side .brand-tag { color: rgba(255, 255, 255, .55); }
.dash-user {
    display: flex; align-items: center; gap: 12px; margin: 26px 0 18px;
    padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.dash-user .avatar { width: 46px; height: 46px; font-size: 18px; margin: 0; border: 2px solid rgba(255, 255, 255, .25); }
.dash-user-meta { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.dash-user-meta strong { color: #fff; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-user-meta .badge { align-self: flex-start; }
.dash-nav { display: flex; flex-direction: column; gap: 3px; }
.dash-nav .dash-group {
    font-size: 10px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700;
    color: rgba(255, 255, 255, .42); padding: 16px 14px 6px;
}
.dash-nav a .dash-soon {
    font-size: 9px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700;
    color: var(--gold); background: rgba(255, 255, 255, .1);
    border-radius: 6px; padding: 2px 6px; margin-left: 8px; vertical-align: middle;
}
.dash-nav a {
    color: rgba(255, 255, 255, .72); font-size: 13px; font-weight: 600;
    letter-spacing: .1em; text-transform: uppercase; padding: 12px 14px;
    border-radius: 12px; border: 1px solid transparent;
}
.dash-nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); opacity: 1; }
.dash-nav a.active { color: var(--wine); background: var(--gold); }
.dash-side-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-direction: column; gap: 2px; }
.dash-side-foot a { color: rgba(255, 255, 255, .7); font-size: 13px; padding: 10px 14px; border-radius: 10px; }
.dash-side-foot a:hover { color: #fff; background: rgba(255, 255, 255, .08); opacity: 1; }

.dash-main { flex: 1; padding: 40px 48px 80px; max-width: 1160px; }
.dash-section { margin-bottom: 60px; scroll-margin-top: 24px; }
.dash-section-title { font-size: 28px; margin-bottom: 18px; }
.dash-head h1 { font-size: 40px; margin: 4px 0 0; font-weight: 700; letter-spacing: -0.01em; }
.dash-head .kicker { letter-spacing: .18em; text-transform: uppercase; font-size: 11px; color: var(--gold); font-weight: 700; }
.dash-head { margin-bottom: 8px; }

.dash-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 26px 0 20px; }
.stat-card {
    background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px;
    display: flex; flex-direction: column; gap: 3px;
}
.stat-card strong { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.stat-card span { font-family: var(--serif); font-size: 28px; color: var(--wine); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
.stat-card small { font-family: var(--sans); font-size: 15px; color: var(--ink-soft); font-weight: 500; }
.stat-card .stat-note { font-family: var(--sans); font-size: 12px; color: var(--ink-soft); margin-top: 4px; }

.dash-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
    background: linear-gradient(135deg, var(--wine) 0%, var(--wine-deep) 100%);
    color: #fff; border: 0;
}
.dash-cta strong { color: #fff; font-size: 18px; }
.dash-cta .muted { color: rgba(255, 255, 255, .72); margin-top: 4px; }

@media (max-width: 860px) {
    .dash { flex-direction: column; }
    .dash-side { position: static; height: auto; width: 100%; }
    .dash-main { padding: 28px 18px 60px; }
}

.dash-main .container { max-width: none; padding: 0; }
.dash-main .section { padding: 8px 0 40px; }
/* ---------- End dashboard shell ---------- */

.profile-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.profile-cta-copy { flex: 1; min-width: 260px; }
.profile-cta-copy p { margin: 6px 0 0; }
.profile-cta .edit-details { margin-top: 0; }
.profile-cta .edit-details summary { border: 0; text-align: center; }
.profile-cta .edit-details[open] { flex-basis: 100%; }
.edit-details { margin-top: 8px; }
.edit-details summary { cursor: pointer; font-weight: 600; color: var(--wine); font-size: 14px; }
.edit-details form { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.mini-list { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.mini-list li { font-size: 13.5px; color: var(--text); padding-left: 18px; position: relative; }
.mini-list li::before { content: "♥"; position: absolute; left: 0; color: var(--gold); font-size: 11px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.card.pad { padding: 48px; }
.card.narrow { max-width: 400px; margin: 0 auto; }
.checkline { flex-direction: row; align-items: center; gap: 10px; }
.checkline input { width: auto; }

/* ---------- Flash ---------- */
.flash { padding: 13px 18px; border-radius: 14px; margin: 14px auto; max-width: 940px; font-size: 14px; font-weight: 500; }
.flash-success { background: #E6F7EE; color: var(--green); }
.flash-error { background: #FDEAEA; color: var(--danger); }
.flash-info { background: #F4EefB; color: #7B4FD0; }

/* ---------- Admin / shared dashboard ---------- */
.admin-nav { background: var(--wine); }
.admin-nav .brand, .admin-nav .brand-name { color: #fff; }
.admin-nav nav a { color: rgba(255,255,255,.75); }
.admin-nav nav a:hover { color: #fff; opacity: 1; }
.page-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.page-head h1 { font-size: 42px; }
.filter { display: flex; gap: 8px; flex-wrap: wrap; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 22px 0; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.stat-card strong { display: block; font-family: var(--serif); font-size: 34px; color: var(--wine); line-height: 1; }
.stat-card.small strong { font-size: 26px; }
.stat-card span { color: var(--ink-soft); font-size: 13px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* ---------- Admin dashboard ---------- */
.chart-card h3 { font-size: 17px; margin-bottom: 14px; }
.region-bars { display: flex; flex-direction: column; gap: 10px; }
.region-bar { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.region-bar-name { width: 90px; flex: none; font-weight: 600; color: var(--wine); }
.region-bar-track { flex: 1; height: 12px; border-radius: 99px; background: var(--beige-2); overflow: hidden; }
.region-bar-fill { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--wine) 0%, var(--gold) 100%); }
.region-bar-count { width: 34px; flex: none; text-align: right; font-weight: 700; color: var(--ink); }

/* ---------- Admin settings ---------- */
.settings-layout { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: start; }
@media (max-width: 860px) { .settings-layout { grid-template-columns: 1fr; } }
.settings-nav { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 20px; }
.settings-nav a { padding: 10px 14px; border-radius: 10px; font-size: 13px; font-weight: 600; color: var(--ink); }
.settings-nav a:hover { background: var(--cream-2); opacity: 1; }
.settings-nav a:active { background: var(--beige); }
.settings-sections { display: flex; flex-direction: column; gap: 20px; }
.settings-sec h3 { font-size: 19px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th { text-align: left; color: var(--ink-soft); font-weight: 700; padding: 10px; border-bottom: 1px solid var(--line); text-transform: uppercase; letter-spacing: .06em; font-size: 11px; }
.table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }
.looking { max-width: 300px; }
.badge { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: capitalize; }
.badge-pending { background: #FDF1E3; color: #C77B2F; }
.badge-approved, .badge-streamed, .badge-success { background: #E6F7EE; color: var(--green); }
.badge-matched { background: #FDE9F1; color: var(--wine); }
.badge-rejected, .badge-dropped { background: #FDEAEA; color: var(--danger); }
.badge-inquiry, .badge-signed, .badge-matching { background: #F4EefB; color: #7B4FD0; }
.badge-package { background: var(--gold); color: var(--wine); }
.queue-pos { display: flex; align-items: center; gap: 10px; }
.queue-pos strong { font-family: var(--serif); font-size: 20px; color: var(--wine); }
.queue-arrows { display: flex; flex-direction: column; gap: 2px; }
.queue-arrows .arrow { border: none; background: none; color: var(--ink-soft); cursor: pointer; font-size: 11px; padding: 0 3px; line-height: 1; }
.queue-arrows .arrow:hover { color: var(--wine); }
.inline-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.client-card h4 { margin: 16px 0 8px; }
.client-head { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 10px; }
.client-head h3 { font-size: 24px; }
.meta { font-size: 12.5px; margin-top: 4px; }
.client-edit { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; margin: 14px 0; padding-top: 14px; border-top: 1px dashed var(--line); }
.client-edit label { min-width: 140px; }
.client-edit .notes-field { flex: 1; min-width: 200px; }
.scores { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-soft); }
.scores strong { color: var(--wine); }
.scores .total strong { color: var(--wine); }
.add-match { margin-top: 10px; }
.add-match summary { cursor: pointer; color: var(--wine); font-weight: 700; font-size: 13.5px; }
.match-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; margin-top: 12px; }
.match-form label { min-width: 130px; }
.client-delete { text-align: right; margin-top: 12px; }
.add-form { display: none; }

/* ---------- Portal / scorecards ---------- */
.status-block { text-align: right; }
@media (max-width: 640px) { .status-block { text-align: left; } }
.note-card p { margin: 0; font-size: 14.5px; }
.scorecard { gap: 6px; }
.score-bars { display: flex; flex-direction: column; gap: 9px; margin: 12px 0; }
.score-row { display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
.score-row > span { width: 76px; color: var(--ink-soft); }
.score-row strong { width: 32px; text-align: right; font-family: var(--sans); }
.bar { flex: 1; height: 9px; background: var(--beige); border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--wine)); border-radius: 999px; }
.score-total { font-weight: 700; font-size: 15px; margin: 6px 0 10px; }
.score-total strong { font-family: var(--serif); color: var(--wine); font-size: 24px; margin-left: 6px; }

/* ---------- Queue number (success page) ---------- */
.queue-number {
    font-family: var(--serif); font-size: 88px; font-weight: 700; color: var(--wine); margin: 10px 0; line-height: 1;
}
.hero-actions.center { justify-content: center; }

/* ---------- Packages (legacy) ---------- */
.packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 20px 0; }
.package-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.package-card h3 { color: var(--wine); }

/* ---------- Footer ---------- */
.site-footer { background: var(--wine-deep); color: rgba(255,255,255,.88); padding: 40px 0 30px; margin-top: 20px; }
.site-footer .f-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
@media (max-width: 760px) { .site-footer .f-grid { grid-template-columns: 1fr; } }
.site-footer .brand-name, .site-footer .brand-tag { color: #fff; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer a { color: rgba(255,255,255,.85); display: block; margin-bottom: 8px; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.site-footer .f-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 26px; padding-top: 18px; font-size: 12.5px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Utilities ---------- */
.hidden { display: none !important; }

/* ---------- Feature cards (landing) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1080px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-card {
    display: flex; flex-direction: column; gap: 10px;
    background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: var(--gold); }
.animate-float { animation: floaty 5s ease-in-out infinite; }
.animate-float:nth-child(1) { animation-delay: 0s; }
.animate-float:nth-child(2) { animation-delay: .45s; }
.animate-float:nth-child(3) { animation-delay: .9s; }
.animate-float:nth-child(4) { animation-delay: 1.35s; }
@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}
@media (prefers-reduced-motion: reduce) {
    .animate-float { animation: none; }
}
.feature-icon {
    width: 44px; height: 44px; border-radius: 50%; background: var(--cream-2); color: var(--wine);
    display: grid; place-items: center; font-size: 18px;
}
.feature-card h3 { font-size: 24px; margin-top: 4px; }
.feature-card p { font-size: 13.5px; line-height: 1.55; }
.feature-link { margin-top: auto; font-weight: 700; font-size: 13.5px; color: var(--wine); }

/* Stats band (services page) */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 38px; }
@media (max-width: 900px) { .stats-band { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats-band { grid-template-columns: 1fr; } }
.stats-band .stat-card { text-align: center; }
.stats-band .stat-card strong { display: block; font-family: var(--serif); font-size: 40px; color: var(--wine); line-height: 1; }
.stats-band .stat-card span { color: var(--ink-soft); font-size: 13px; }

/* Live copy buttons row */
.lbtn { display: flex; flex-wrap: wrap; gap: 12px; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 12px; }
.blog-card {
    display: flex; flex-direction: column; gap: 8px;
    background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: var(--gold); }
.blog-date { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.blog-card h3 { font-size: 23px; line-height: 1.15; }
.blog-excerpt { font-size: 13.5px; line-height: 1.55; color: var(--ink); }
.blog-link { margin-top: auto; font-weight: 700; font-size: 13.5px; color: var(--wine); }
.blog-cta { text-align: center; margin-top: 46px; padding-top: 34px; border-top: 1px solid var(--line); }
.blog-cta .lbtn { justify-content: center; }
.blog-back { display: inline-block; margin-top: 34px; font-weight: 600; font-size: 14px; color: var(--wine); }
.blog-back:hover { color: var(--gold); }
.post-single { max-width: 780px; margin: 0 auto; }
.post-body { margin-top: 26px; font-size: 16px; line-height: 1.75; color: var(--ink); }
.post-body p { margin-bottom: 16px; }
.post-single-cta { margin-top: 40px; padding: 26px; border-radius: 18px; background: var(--cream-2); text-align: center; }
.post-single-cta .lead { margin-bottom: 16px; }
.post-single-cta .btn { margin: 0 4px; }

/* ---------- VIP signup ---------- */
.price-card { text-align: center; padding: 30px; }
.price-amount { font-family: var(--serif); font-size: 56px; font-weight: 800; color: var(--wine); line-height: 1; }
.pay-options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .pay-options { grid-template-columns: 1fr; } }
.pay-option { border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: #fff; }
.pay-option-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 12px; }
.pay-option .btn { width: 100%; }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.checkbox-row input { width: 18px; height: 18px; margin-top: 1px; flex: none; }

/* ---------- Portal browse filters ---------- */
.filter-bar {
    display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end;
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    padding: 16px 18px; margin: 0 0 20px;
}
.filter-bar label { display: flex; flex-direction: column; gap: 4px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.filter-bar input, .filter-bar select { min-width: 170px; }
.filter-bar .btn { margin-bottom: 1px; }
@media (max-width: 640px) { .filter-bar label { width: 100%; } .filter-bar input, .filter-bar select { min-width: 0; } }

/* ---------- Portal media ---------- */
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-bottom: 20px; }
.media-item {
    display: flex; flex-direction: column; gap: 8px;
    background: var(--cream-2); border: 1px solid var(--line); border-radius: 14px; padding: 8px;
}
.media-item img, .media-item video { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; display: block; }
.media-item video { object-fit: contain; aspect-ratio: 16 / 10; background: #000; }
.media-item .btn { width: 100%; }
.media-upload { background: var(--cream-2); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.browse-media { display: flex; gap: 8px; margin: 0 0 6px; }
.browse-media img, .browse-media video { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.browse-media video { object-fit: contain; background: #000; }

/* ---------- Portal messages ---------- */
.nav-badge {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 20px; height: 20px; padding: 0 6px; margin-left: 6px;
    border-radius: 999px; background: var(--gold); color: var(--wine);
    font-size: 11px; font-weight: 800; vertical-align: middle;
}
.dash-nav a.active .nav-badge { background: var(--wine); color: var(--gold); }
.msg-list { display: flex; flex-direction: column; }
.msg-item {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 10px; border-bottom: 1px solid var(--line); border-radius: 12px;
}
.msg-item:hover { background: var(--cream-2); }
.msg-item:last-child { border-bottom: 0; }
.msg-item .avatar { flex: none; }
.msg-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.msg-name { font-weight: 700; font-size: 14px; color: var(--wine); }
.msg-preview { font-size: 13px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-preview.strong { color: var(--ink); font-weight: 600; }
.msg-time { font-size: 11.5px; color: var(--ink-soft); flex: none; }

.alert-list { display: flex; flex-direction: column; }
.alert-item {
    display: flex; align-items: center; gap: 12px;
    padding: 13px 10px; border-bottom: 1px solid var(--line); border-radius: 12px;
}
.alert-item:hover { background: var(--cream-2); }
.alert-item:last-child { border-bottom: 0; }
.alert-icon {
    flex: none; width: 36px; height: 36px; border-radius: 50%;
    background: var(--cream-2); border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 15px;
}
.alert-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.alert-title { font-weight: 700; font-size: 14px; color: var(--wine); }
.alert-text { font-size: 13px; color: var(--ink-soft); }
.alert-cta { flex: none; font-weight: 700; font-size: 13px; color: var(--gold); }

.chat-card { padding: 20px; }
.chat { display: flex; flex-direction: column; gap: 12px; max-height: 52vh; overflow-y: auto; padding: 4px 2px 16px; }
.chat-row { display: flex; }
.chat-row.mine { justify-content: flex-end; }
.chat-row.theirs { justify-content: flex-start; }
.chat-bubble {
    max-width: 72%; padding: 10px 14px; border-radius: 16px;
    font-size: 14px; line-height: 1.5; box-shadow: var(--shadow-soft);
}
.chat-row.theirs .chat-bubble { background: var(--cream-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; color: var(--ink); }
.chat-row.mine .chat-bubble { background: var(--wine); color: #fff; border-bottom-right-radius: 4px; }
.chat-time { font-size: 11px; opacity: .65; margin-top: 4px; }
.chat-row.mine .chat-time { text-align: right; }
.chat-form { display: flex; gap: 10px; align-items: flex-end; padding-top: 14px; border-top: 1px solid var(--line); }
.chat-form textarea { flex: 1; resize: vertical; min-height: 52px; }
@media (max-width: 560px) { .chat-bubble { max-width: 88%; } .msg-time { display: none; } }
