/* ============================================================
   NJ First Dates — SITE-WIDE design system ("modern romantic editorial").
   Loaded on every PUBLIC page (via _Layout, after site.css). Admin uses a
   separate layout and is unaffected. Fraunces (display) + Instrument Sans (body).
   Reusable components (njfd-*) for interior pages; homepage-only bits live in
   njfd-home.css. 2026-07-28.
   ============================================================ */
:root {
    --njfd-ink: #150a10;
    --njfd-ink2: #1f0f16;
    --njfd-rose: #e8356d;
    --njfd-rose-deep: #b0224f;
    --njfd-rose-soft: #ff86ab;
    --njfd-blush: #fbe6ee;
    --njfd-cream: #fdf5ef;
    --njfd-paper: #fffaf6;
    --njfd-gold: #c69b57;
    --njfd-muted: #7c6b72;
    --njfd-line: rgba(21,10,16,.12);
    --njfd-display: "Fraunces", Georgia, "Times New Roman", serif;
    --njfd-body: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---- global public-page base ---- */
body { font-family: var(--njfd-body); background-color: var(--njfd-paper); }  /* public site rides a warm light canvas (overrides site.css's dark #0f0f0f body). njfd.css is loaded ONLY by the public _Layout, so host/admin/matching layouts keep their own themes. */
h1, h2, h3, h4 { font-family: var(--njfd-display); letter-spacing: -.015em; }

/* designed text wordmark (nav + footer) — Option D: unified Fraunces in white with a rose heart.
   font-family is set explicitly on the spans so no nav rule can override it (fixes nav/footer mismatch). */
.njfd-wordmark { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; line-height: 1; padding: 0; white-space: nowrap; }
.njfd-wordmark .njfd-wm-nj,
.njfd-wordmark .njfd-wm-fd { font-family: var(--njfd-display); font-weight: 600; color: #fff; letter-spacing: -.005em; font-style: normal; }
.njfd-wordmark .njfd-wm-heart { color: var(--njfd-rose); }
nav .logo.njfd-wordmark { height: auto; }
nav .logo.njfd-wordmark .njfd-wm-nj,
nav .logo.njfd-wordmark .njfd-wm-fd { font-size: 1.75rem; }
nav .logo.njfd-wordmark .njfd-wm-heart { font-size: 1.15rem; }
.njfd-footer-brand { margin-bottom: 14px; }
.njfd-footer-brand .njfd-wm-nj,
.njfd-footer-brand .njfd-wm-fd { font-size: 1.7rem; }
.njfd-footer-brand .njfd-wm-heart { font-size: 1.15rem; }
@media (max-width: 620px) {
    nav .logo.njfd-wordmark .njfd-wm-nj,
    nav .logo.njfd-wordmark .njfd-wm-fd { font-size: 1.4rem; }
}

/* refined nav (keeps site.css structure; upgrades type + accent) */
nav .nav-links a { font-family: var(--njfd-body); letter-spacing: .12em; font-weight: 600; }

/* refined footer type */
footer h3 { font-family: var(--njfd-body); letter-spacing: .04em; }
footer .company-info h3 { letter-spacing: .08em; }

/* ---- layout primitives ---- */
.njfd-sec { padding: clamp(60px, 8.5vw, 124px) 24px; background: var(--njfd-paper); color: #3c3036; }  /* light paper canvas + dark text. site.css sets body #0f0f0f (dark), so a plain section MUST paint its own light bg or dark text is invisible. --cream/--blush/--dark and .njfd-cta (all later) override this bg for their dark variants. */
.njfd-sec--cream { background: var(--njfd-cream); }
.njfd-sec--blush { background: linear-gradient(180deg, var(--njfd-blush), var(--njfd-cream)); }
.njfd-sec--dark { background: var(--njfd-ink); color: #fff; }
.njfd-wrap { max-width: 1120px; margin: 0 auto; }
.njfd-narrow { max-width: 760px; margin: 0 auto; }

.njfd-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--njfd-body);
    font-size: 12.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--njfd-rose-deep); }
.njfd-eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--njfd-gold); display: inline-block; }
.njfd-sec--dark .njfd-eyebrow { color: var(--njfd-gold); }

.njfd-head { max-width: 660px; margin-bottom: clamp(38px, 5vw, 62px); }
.njfd-head h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); margin-top: 16px; line-height: 1.06; color: var(--njfd-ink); }
.njfd-sec--dark .njfd-head h2 { color: #fff; }
.njfd-head p { color: var(--njfd-muted); margin-top: 14px; font-size: 1.08rem; }
.njfd-sec--dark .njfd-head p { color: rgba(255,255,255,.62); }

/* buttons */
.njfd-btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--njfd-body); font-weight: 600;
    font-size: 15.5px; padding: 15px 30px; border-radius: 999px; cursor: pointer; text-decoration: none;
    border: 1.5px solid transparent; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, color .25s; }
.njfd-btn i, .njfd-btn svg { width: 18px; height: 18px; }
.njfd-btn--primary { background: var(--njfd-rose); color: #fff; box-shadow: 0 12px 30px -10px rgba(232,53,109,.6); }
.njfd-btn--primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -12px rgba(232,53,109,.7); color: #fff; }
.njfd-btn--dark { background: var(--njfd-ink); color: #fff; }
.njfd-btn--dark:hover { background: var(--njfd-rose); transform: translateY(-3px); color: #fff; }
.njfd-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.njfd-btn--ghost:hover { border-color: #fff; transform: translateY(-3px); color: #fff; }
.njfd-btn--outline { background: transparent; color: var(--njfd-ink); border-color: var(--njfd-line); }
.njfd-btn--outline:hover { border-color: var(--njfd-ink); transform: translateY(-3px); color: var(--njfd-ink); }

/* ---- interior PAGE HERO (About, niche pages, etc.) ---- */
.njfd-phero { position: relative; background: var(--njfd-ink); color: #fff; overflow: hidden;
    padding: clamp(88px, 12vw, 150px) 24px clamp(60px, 8vw, 96px); text-align: center; }
.njfd-phero::before { content: ""; position: absolute; inset: -30% -10% auto -10%; height: 150%;
    background: radial-gradient(60% 60% at 50% 8%, rgba(232,53,109,.4), transparent 60%),
                radial-gradient(50% 55% at 85% 100%, rgba(198,155,87,.18), transparent 60%);
    pointer-events: none; }
.njfd-phero__in { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.njfd-phero .njfd-eyebrow { color: var(--njfd-gold); justify-content: center; }
.njfd-phero h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); font-weight: 600; margin: 22px 0 18px; line-height: 1.05; }
.njfd-phero h1 em { font-style: italic; color: var(--njfd-rose-soft); }
.njfd-phero p { font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: rgba(255,255,255,.76); max-width: 60ch; margin: 0 auto; line-height: 1.55; }
.njfd-phero__cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---- prose (article content) ---- */
.njfd-prose { color: #3c3036; font-size: 1.08rem; line-height: 1.72; }
.njfd-prose > * + * { margin-top: 1.1em; }
.njfd-prose h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); color: var(--njfd-ink); margin-top: 1.5em; line-height: 1.1; }
.njfd-prose h3 { font-size: 1.4rem; color: var(--njfd-ink); margin-top: 1.3em; }
.njfd-prose a { color: var(--njfd-rose-deep); text-decoration: underline; text-underline-offset: 3px; }
.njfd-prose strong { color: var(--njfd-ink); }
.njfd-prose ul, .njfd-prose ol { padding-left: 1.3em; }
.njfd-prose li { margin-top: .5em; }
/* DB-driven legal text (Terms) can carry legacy inline light-gray colors meant for the old dark
   theme; force it to inherit the readable prose color so it never renders near-invisible on light. */
.njfd-prose [style*="color"] { color: inherit !important; }

/* two-column article + sidebar */
.njfd-two { display: grid; grid-template-columns: 1fr 320px; gap: clamp(36px, 5vw, 72px); align-items: start; }
.njfd-aside { position: sticky; top: 24px; display: grid; gap: 18px; }
.njfd-card { background: var(--njfd-paper); border: 1px solid var(--njfd-line); border-radius: 18px; padding: 26px 26px; color: #57484e; }
.njfd-card--rose { background: linear-gradient(160deg, var(--njfd-blush), var(--njfd-paper)); }
.njfd-card h3 { font-size: 1.3rem; margin-bottom: 12px; color: var(--njfd-ink); }
.njfd-card p { color: #57484e; font-size: .98rem; }
.njfd-card ul { list-style: none; padding: 0; margin: 0; }
.njfd-card li { padding: 7px 0; border-bottom: 1px solid var(--njfd-line); font-size: .96rem; }
.njfd-card li:last-child { border-bottom: 0; }
.njfd-card a { color: var(--njfd-rose-deep); text-decoration: none; }
.njfd-card a:hover { text-decoration: underline; }

/* icon feature cards (generic) */
.njfd-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.njfd-fc { background: var(--njfd-paper); border: 1px solid var(--njfd-line); border-radius: 18px; padding: 32px 28px;
    transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
.njfd-fc:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(176,34,79,.3); }
.njfd-fc__i { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px;
    background: rgba(232,53,109,.12); color: var(--njfd-rose-deep); margin-bottom: 18px; }
.njfd-fc__i i, .njfd-fc__i svg { width: 22px; height: 22px; }
.njfd-fc h3 { font-size: 1.35rem; margin-bottom: 10px; color: var(--njfd-ink); }
.njfd-fc p { color: #57484e; font-size: .98rem; line-height: 1.55; }

/* steps */
.njfd-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.njfd-step { padding: 32px 28px; background: var(--njfd-paper); border: 1px solid var(--njfd-line); border-radius: 18px;
    transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
.njfd-step:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(176,34,79,.3); }
.njfd-step__n { font-family: var(--njfd-display); font-style: italic; font-size: 3.2rem; line-height: 1; color: var(--njfd-rose); }
.njfd-step h3 { font-size: 1.35rem; margin: 12px 0 8px; color: var(--njfd-ink); }
.njfd-step p { color: #57484e; font-size: .96rem; }

/* faq list */
.njfd-faq { display: grid; gap: 14px; max-width: 820px; margin: 0 auto; }
.njfd-faq details { background: var(--njfd-paper); border: 1px solid var(--njfd-line); border-radius: 14px; padding: 4px 22px; }
.njfd-faq summary { font-family: var(--njfd-display); font-size: 1.22rem; color: var(--njfd-ink); padding: 18px 0; cursor: pointer;
    list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.njfd-faq summary::-webkit-details-marker { display: none; }
.njfd-faq summary::after { content: "+"; font-family: var(--njfd-body); color: var(--njfd-rose); font-size: 1.5rem; transition: transform .25s; }
.njfd-faq details[open] summary::after { transform: rotate(45deg); }
.njfd-faq details > p { padding: 0 0 20px; color: #57484e; line-height: 1.65; margin: 0; }

/* location chips */
.njfd-locs { display: flex; flex-wrap: wrap; gap: 12px; }
.njfd-chip { font-family: var(--njfd-body); font-size: 14.5px; font-weight: 500; padding: 11px 20px; border-radius: 999px;
    background: var(--njfd-paper); border: 1px solid var(--njfd-line); color: var(--njfd-ink); text-decoration: none;
    transition: all .25s cubic-bezier(.2,.8,.2,1); }
.njfd-chip:hover { background: var(--njfd-ink); color: #fff; border-color: var(--njfd-ink); transform: translateY(-2px); }
.njfd-chip--all { background: var(--njfd-rose); color: #fff; border-color: var(--njfd-rose); }
.njfd-chip--all:hover { background: var(--njfd-rose-deep); border-color: var(--njfd-rose-deep); }

/* testimonials */
.njfd-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.njfd-quote { background: var(--njfd-paper); border-radius: 18px; padding: 34px 30px; border: 1px solid var(--njfd-line); position: relative; }
.njfd-quote::before { content: "\201C"; font-family: var(--njfd-display); font-size: 5rem; line-height: 1; color: var(--njfd-rose);
    opacity: .28; position: absolute; top: 6px; right: 22px; }
.njfd-quote p { font-size: 1.05rem; color: #3c3036; line-height: 1.55; }
.njfd-quote__by { margin-top: 20px; display: flex; align-items: center; gap: 12px; }
.njfd-quote__av { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--njfd-rose), var(--njfd-gold));
    display: grid; place-items: center; color: #fff; font-family: var(--njfd-display); font-weight: 600; flex: none; }
.njfd-quote__by strong { display: block; font-size: .98rem; color: var(--njfd-ink); }
.njfd-quote__by span span { font-size: .82rem; color: var(--njfd-muted); }

/* final CTA band */
.njfd-sec.njfd-cta { color: #fff; }
.njfd-cta { background: var(--njfd-ink); color: #fff; text-align: center; position: relative; overflow: hidden; }
.njfd-cta::before { content: ""; position: absolute; inset: -40% -10% auto -10%; height: 160%;
    background: radial-gradient(50% 60% at 50% 0%, rgba(232,53,109,.4), transparent 62%); pointer-events: none; }
.njfd-cta__in { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.njfd-cta .njfd-eyebrow { justify-content: center; color: var(--njfd-gold); }
.njfd-cta h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); color: #fff; margin-top: 16px; }
.njfd-cta h2 em { font-style: italic; color: var(--njfd-rose-soft); }
.njfd-cta p { color: rgba(255,255,255,.72); font-size: 1.1rem; margin: 16px 0 32px; }

@media (max-width: 900px) {
    .njfd-two { grid-template-columns: 1fr; }
    .njfd-aside { position: static; }
    .njfd-cards, .njfd-steps, .njfd-quotes { grid-template-columns: 1fr; }
}

/* Native <select> dropdowns on the dark public forms (Contact, Register, Gift, etc.): render the
   popup in DARK mode (dark bg + light text) instead of the OS's light-gray popup, which left the
   white option text unreadable. Global (not scoped) so it matches tag-helper <select>s too. */
.form-select { color-scheme: dark; }
.form-select option { background-color: #1f0f16; color: #ffffff; }
