/* ============================================================
   QUIET LUXURY RESTYLE LAYER · July 2026
   Loaded after styles.css on every public page.
   Remaps the palette + typography to match the new homepage
   (style-preview): ivory, ink, deep green, muted gold hairlines,
   Cormorant Garamond + Public Sans.
   Layout, URLs, and funnels untouched.
   ============================================================ */

:root {
  --brand-dark: #0F0E0C;        /* ink (old deep green sections go editorial black) */
  --brand-green: #0E3B2C;       /* the signature green, used sparingly */
  --brand-gold: #C29A45;        /* muted gold, hairlines + accents */
  --brand-gold-hover: #A98436;
  --brand-cream: #F7F5F1;       /* ivory */
}

/* ---------- Typography ---------- */
body,
p, li, blockquote, figcaption, label, small,
button, input, select, textarea,
.nav-links a, .nav-cta, .nav-member, .btn, .cta-button {
  font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

h1, h2, h3, h4, h5, h6,
.nav-brand,
.page-header h1,
.section-title,
.blog-card h3, .blog-card-content h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.3px;
}

h1 { font-weight: 400; }

/* ---------- Nav: match the opening page ---------- */
.nav, .nav-sticky {
  background: var(--brand-cream);
  border-bottom: 1px solid rgba(15, 14, 12, 0.08);
  box-shadow: none;
}
.nav-brand,
.nav-brand .accent {
  color: #0F0E0C;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.nav-links a {
  color: #0F0E0C;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2.5px;
}
.nav-links a:hover { color: var(--brand-green); }
.nav-member,
.nav-links a.nav-member {
  color: rgba(15, 14, 12, 0.55);
}
.nav-cta,
.nav-links a.nav-cta {
  background: transparent !important;
  border: 1px solid #0F0E0C;
  border-radius: 0;
  color: #0F0E0C !important;
  padding: 10px 22px;
}
.nav-cta:hover,
.nav-links a.nav-cta:hover {
  background: #0F0E0C !important;
  color: var(--brand-cream) !important;
}
.nav-toggle span { background: #0F0E0C; }

/* ---------- Page headers: black editorial rooms ---------- */
.page-header {
  background: #0F0E0C;
  color: var(--brand-cream);
  padding: 96px 24px;
  text-align: center;
}
.page-header h1 {
  color: var(--brand-cream);
  font-size: clamp(44px, 7vw, 88px);
  line-height: 1.05;
}
.page-header p {
  color: rgba(247, 245, 241, 0.72);
  font-size: clamp(16px, 1.5vw, 19px);
  letter-spacing: 0.3px;
}

/* ---------- Buttons: squared, editorial ---------- */
.btn, .cta-button, .nav-cta, button[type="submit"], input[type="submit"] {
  border-radius: 0 !important;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 13px;
  font-weight: 500;
}

/* ---------- Cards + imagery: calm the corners ---------- */
.blog-card, .card, .program-card, .testimonial-card {
  border-radius: 0;
  box-shadow: none;
  border: 1px solid rgba(15, 14, 12, 0.08);
}
.blog-card img, .blog-card-image { border-radius: 0; }

/* ---------- Links + accents ---------- */
a { color: var(--brand-green); }
.nav-links a, .btn, .cta-button { text-decoration: none; }
hr { border: none; border-top: 1px solid var(--brand-gold); opacity: 0.5; }

/* ---------- Journal filter buttons ---------- */
.filter-btn {
  background: transparent;
  border: 1px solid rgba(15, 14, 12, 0.25);
  padding: 8px 18px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  color: #0F0E0C;
  cursor: pointer;
  border-radius: 0;
  transition: all .2s;
}
.filter-btn.active, .filter-btn:hover {
  background: #0F0E0C;
  color: #F7F5F1;
  border-color: #0F0E0C;
}

/* ---------- Nav: never wrap, at any width ---------- */
.nav-brand { white-space: nowrap; }
.nav-inner { flex-wrap: nowrap; gap: 1rem; }
.nav-links { flex-wrap: nowrap; gap: 1.6rem; }
.nav-links a { white-space: nowrap; }
.nav-cta, .nav-links a.nav-cta { padding: 9px 16px; }
@media (min-width: 769px) and (max-width: 1150px) {
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 10.5px; letter-spacing: 1.2px; }
  .nav-cta, .nav-links a.nav-cta { padding: 8px 12px; }
  .nav-brand { font-size: 1.15rem; }
}
@media (min-width: 769px) and (max-width: 900px) {
  .nav { padding: 1.1rem 1.1rem; }
  .nav-links { gap: 0.7rem; }
  .nav-links a { font-size: 9.5px; letter-spacing: 0.8px; }
  .nav-cta, .nav-links a.nav-cta { padding: 7px 10px; }
  .nav-brand { font-size: 1rem; }
}
@media (min-width: 769px) and (max-width: 820px) {
  .nav-cta, .nav-links a.nav-cta { font-size: 10px !important; padding: 7px 8px; }
  .nav-member, .nav-links a.nav-member { font-size: 9px; }
}

/* ---------- Member Login: square, quiet, matches the quiz button ---------- */
.nav-links a.nav-member {
  border: 1px solid rgba(15, 14, 12, 0.35);
  border-radius: 0;
  padding: 9px 16px;
  color: rgba(15, 14, 12, 0.65);
  font-weight: 500;
}
.nav-links a.nav-member:hover {
  background: #0F0E0C;
  border-color: #0F0E0C;
  color: #F7F5F1;
}
@media (min-width: 769px) and (max-width: 1150px) {
  .nav-links a.nav-member { padding: 8px 12px; }
}
@media (min-width: 769px) and (max-width: 820px) {
  .nav-links a.nav-member { padding: 7px 8px; }
}

/* ---------- Journal in-post CTA panels (added 2026-07-23) ----------
   Replaces the old inline green-gradient rounded boxes inside posts.
   Default = signature green (Reset CTAs only, matching the homepage
   green room). --ink variant = editorial black (non-Reset offers). */
.journal-cta {
  margin: 2.5rem 0;
  padding: 3rem 2rem;
  background: var(--brand-green);
  text-align: center;
}
.journal-cta--ink { background: #0F0E0C; }
.journal-cta .cta-eyebrow {
  font-family: 'Public Sans', -apple-system, sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: rgba(243, 239, 230, 0.66);
  margin: 0 0 0.9rem;
}
.journal-cta h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 2rem;
  line-height: 1.15;
  color: #F3EFE6;
  margin: 0 0 0.75rem;
}
.journal-cta p:not(.cta-eyebrow) {
  color: rgba(243, 239, 230, 0.9);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0 auto 1.75rem;
  max-width: 560px;
}
.journal-cta .btn,
.journal-cta .btn-gold {
  background: #F3EFE6 !important;
  color: #0F0E0C !important;
  border: none;
  padding: 14px 28px;
}
.journal-cta .btn:hover,
.journal-cta .btn-gold:hover {
  background: #ffffff !important;
  color: #0F0E0C !important;
}

/* ---------- Mobile menu (added 2026-07-24) ----------
   styles.css paints the full-screen overlay with var(--brand-dark), which the
   restyle remapped to ink... and the restyle's nav links are ink too, so the
   menu opened as an invisible black-on-black screen. The overlay is now an
   ivory sheet with big ink links, matching the quiet-luxury bar. */
@media (max-width: 768px) {
  .nav-links {
    background: var(--brand-cream);
  }
  .nav-links a {
    color: #0F0E0C;
    font-size: 16px;
    letter-spacing: 3px;
  }
  .nav-links a:hover { color: var(--brand-green); }
  .nav-toggle.active span { background: #0F0E0C; }
}

/* ---------- "Most Popular" badge (2026-07-24) ----------
   Squared + letterspaced for the quiet-luxury system. On phones the absolute
   top-right pin collided with the card's first line... it now sits centered
   above the content as the card's first row. */
.program-card.featured::before {
  border-radius: 0;
  letter-spacing: 2px;
  font-weight: 500;
  padding: 0.35rem 0.9rem;
}
@media (max-width: 768px) {
  .program-card.featured::before {
    position: static;
    justify-self: center;
    margin-bottom: 0.4rem;
  }
}
