/* =====================================================================
   Blissfull Yoga World — design refresh (v2)
   Loaded AFTER styles.css + gallery.css on every page.
   Palette: "Rishikesh dawn" — ivory, deep forest, saffron, soft sage.
   ===================================================================== */
:root {
  --bg: #FBF8F3;          /* ivory page */
  --fg: #2A2520;          /* warm charcoal text (14.3:1) */
  --muted: #6B635A;       /* secondary text (5.6:1) */
  --card: #FFFFFF;
  --cream: #FFFDF9;
  --sand: #F2EADF;        /* soft section band */
  --border: #E6DDCF;
  --deep: #1E3A2F;        /* forest — headings, dark bands */
  --ink: #15291F;
  --sage: #5E8068;        /* accents, large type only */
  --clay: #B85A24;        /* saffron — primary CTA bg (4.6:1 with cream) */
  --clay-ink: #9C4A1B;    /* saffron for small text */
  --gold: #D9A441;        /* tiny decorative details */
}

body { background: var(--bg); color: var(--fg); }
::selection { background: rgba(184, 90, 36, .18); }
.muted { color: var(--muted); }

/* Rhythm: tighter sections so the page reads faster */
.section { padding: 3.75rem 0; }
@media (min-width: 768px) { .section { padding: 5rem 0; } .hero { padding: 4.5rem 0 3rem; } }
.section-sand { background: var(--sand); }
.section-head { margin-bottom: 0; }
.section-head h2, .section h2 { letter-spacing: -.01em; }
.eyebrow { color: var(--clay-ink); letter-spacing: .24em; }
.section-deep .eyebrow { color: #E7C9A6; }
.link-cta, .contact-aside a { color: var(--clay-ink); }
h1 em { color: var(--clay); }

/* Buttons */
.btn { font-weight: 500; transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn:active { transform: translateY(1px); }
.btn-clay { background: var(--clay); color: var(--cream); box-shadow: 0 10px 24px -14px rgba(184, 90, 36, .8); }
.btn-clay:hover { background: #9E4B1C; color: var(--cream); }
.btn-dark { background: var(--deep); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid rgba(184, 90, 36, .45); outline-offset: 3px; }

/* ---------- Header + dropdown nav ---------- */
.site-header { background: rgba(251, 248, 243, .9); }
.nav-desktop { gap: 1.6rem; }
.nav-desktop a, .nav-dd-btn { color: rgba(42, 37, 32, .78); font-size: .875rem; }
.nav-desktop a:hover, .nav-dd-btn:hover, .nav-desktop a[aria-current="page"] { color: var(--clay-ink); }
.nav-dd { position: relative; }
.nav-dd-btn { display: inline-flex; align-items: center; gap: .3rem; background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--sans); }
.nav-dd-btn svg { width: .7rem; height: .7rem; transition: transform .2s; }
.nav-dd-menu { position: absolute; top: calc(100% + .9rem); left: -1rem; min-width: 13.5rem; padding: .5rem; border-radius: 1rem;
  background: var(--card); border: 1px solid var(--border); box-shadow: 0 24px 48px -24px rgba(30, 58, 47, .35);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 60; }
.nav-dd-menu::before { content: ""; position: absolute; top: -1rem; left: 0; right: 0; height: 1rem; } /* hover bridge */
.nav-dd-menu a { display: block; padding: .65rem .8rem; border-radius: .6rem; white-space: nowrap; color: var(--fg); }
.nav-dd-menu a small { display: block; font-size: .72rem; color: var(--muted); margin-top: .1rem; }
.nav-dd-menu a:hover { background: var(--sand); color: var(--deep); }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu, .nav-dd.is-open .nav-dd-menu { opacity: 1; visibility: visible; transform: none; }
.nav-dd:hover .nav-dd-btn svg, .nav-dd.is-open .nav-dd-btn svg { transform: rotate(180deg); }
.nav-mobile .nav-sub { padding-left: 1rem; border-left: 2px solid var(--border); margin: .1rem 0 .4rem; }
.nav-mobile .nav-sub a { padding: .55rem 0; font-size: .85rem; }
.nav-mobile .nav-group { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding-top: .75rem; }

/* ---------- Hero stats strip ---------- */
.stats { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 3rem;
  background: var(--border); border: 1px solid var(--border); border-radius: 1.25rem; overflow: hidden; }
.stats li { background: var(--cream); padding: 1.1rem 1.25rem; }
.stats strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.65rem; line-height: 1.1; color: var(--deep); }
.stats span { font-size: .78rem; color: var(--muted); }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Program tracks ---------- */
.tracks { display: grid; gap: 1rem; margin-top: 2.25rem; }
@media (min-width: 768px) { .tracks { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
.track { position: relative; display: flex; flex-direction: column; gap: .6rem; padding: 1.6rem 1.6rem 1.4rem; border-radius: 1.5rem;
  background: var(--card); border: 1px solid var(--border); transition: border-color .2s, box-shadow .2s, transform .2s; }
.track:hover { border-color: rgba(184, 90, 36, .35); box-shadow: 0 22px 40px -30px rgba(30, 58, 47, .45); transform: translateY(-2px); }
.track-num { font-family: var(--serif); font-size: .95rem; letter-spacing: .12em; color: var(--clay-ink); }
.track h3 { font-size: 1.45rem; }
.track p { font-size: .9rem; color: var(--muted); }
.track .link-cta { margin-top: auto; padding-top: .4rem; }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 2.25rem; align-items: start; margin-top: 0; }
@media (min-width: 900px) { .about-grid { grid-template-columns: .9fr 1.1fr; gap: 3.5rem; align-items: center; } }
.about-photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 1.75rem; box-shadow: 0 26px 50px -30px rgba(30, 58, 47, .6); }
.about-copy .intro { margin-top: 1rem; }
.cred-list { list-style: none; display: grid; gap: .75rem; margin-top: 1.5rem; }
.cred-list li { display: grid; grid-template-columns: 1.25rem 1fr; gap: .75rem; font-size: .9rem; color: var(--fg); }
.cred-list li::before { content: ""; width: .55rem; height: .55rem; margin-top: .45rem; border-radius: 999px; background: var(--clay); }
.about-copy .pill-list { margin-top: 1.25rem; }
.about-copy .journey { margin-top: 1.5rem; padding: 1.1rem 1.25rem; }
.about-copy .journey summary { font-size: 1.15rem; }

/* ---------- Why + How (dark band) ---------- */
.why-how { display: grid; gap: 3rem; }
@media (min-width: 900px) { .why-how { grid-template-columns: 1.05fr 1fr; gap: 4rem; } }
.check-list { list-style: none; display: grid; gap: .9rem; margin-top: 1.75rem; }
.check-list li { display: grid; grid-template-columns: 1.6rem 1fr; gap: .6rem; }
.check-list li::before { content: ""; width: 1.25rem; height: 1.25rem; margin-top: .15rem; border-radius: 999px;
  background: rgba(231, 201, 166, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23E7C9A6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / .85rem no-repeat; }
.check-list strong { display: block; color: var(--cream); font-weight: 500; }
.check-list span { font-size: .85rem; color: rgba(255, 253, 249, .68); }
.steps-v { list-style: none; display: grid; gap: 1rem; margin-top: 1.75rem; }
.steps-v li { display: grid; grid-template-columns: 2.75rem 1fr; gap: 1rem; padding: 1.1rem 1.2rem; border-radius: 1.1rem;
  background: rgba(255, 253, 249, .06); border: 1px solid rgba(255, 253, 249, .12); }
.steps-v b { font-family: var(--serif); font-weight: 500; font-size: 1.9rem; line-height: 1; color: #E7C9A6; }
.steps-v h3 { font-size: 1.2rem; color: var(--cream); }
.steps-v p { font-size: .85rem; color: rgba(255, 253, 249, .7); margin-top: .25rem; }

/* ---------- Sessions (compact) ---------- */
#sessions .grid-2 { margin-top: 2.25rem; }
#sessions .card { border-radius: 1.5rem; }

/* ---------- FAQ accordion ---------- */
.faq { margin-top: 2rem; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1.15rem 0;
  font-weight: 500; color: var(--deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 1.5rem; line-height: 1; color: var(--clay-ink); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.25rem; font-size: .9rem; color: var(--muted); max-width: 46rem; }
.faq-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 4rem; } .faq { margin-top: 0; } }

/* ---------- Contact / final CTA ---------- */
#contact .section-head h2 { font-size: 2rem; }
@media (min-width: 768px) { #contact .section-head h2 { font-size: 2.5rem; } }
.cta-inline { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); }

/* ---------- Retreat page ---------- */
.page-hero { padding: 3.5rem 0 1rem; }
.retreat-hero { display: grid; gap: 2.25rem; align-items: center; }
@media (min-width: 900px) { .retreat-hero { grid-template-columns: 1.1fr .9fr; gap: 3.5rem; } }
.retreat-hero img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 1.75rem; }
.facts { list-style: none; display: grid; gap: .6rem; margin-top: 1.5rem; }
.facts li { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--border); font-size: .9rem; }
.facts li span:first-child { color: var(--muted); }
.facts li span:last-child { color: var(--deep); font-weight: 500; text-align: right; }

@media (prefers-reduced-motion: reduce) { .track, .btn, .nav-dd-menu { transition: none; } }

/* v2.1 fixes */
.section h2 { font-size: 1.875rem; }
@media (min-width: 768px) { .section h2 { font-size: 2.35rem; } }
h1, h2, h3, .stats strong, .track-num, .steps-v b, .trust-num, .step-num { font-variant-numeric: lining-nums; }
.contact-aside { align-content: start; gap: 1.1rem; }
.about-copy h2 { margin-top: 0; }

/* ---- Legal pages (privacy / terms / disclaimer) ---- */
.legal { max-width: 46rem; margin: 0 auto; }
.legal-head h1 { margin: .25rem 0 .5rem; }
.legal-meta { color: var(--fg); opacity: .7; font-size: .9rem; margin: 0 0 1.5rem; }
.legal-summary { background: var(--cream); border: 1px solid var(--border); border-left: 3px solid var(--sage); border-radius: 12px; padding: 1rem 1.25rem; margin: 0 0 2rem; line-height: 1.65; }
.legal-toc { border: 1px solid var(--border); border-radius: 12px; padding: 1rem 1.25rem; margin: 0 0 2.5rem; background: var(--card); }
.legal-toc strong { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .5rem; color: var(--deep); }
.legal-toc ol { margin: 0; padding-left: 1.2rem; columns: 2 14rem; column-gap: 2rem; }
.legal-toc li { margin: .2rem 0; break-inside: avoid; }
.legal-body h2 { font-family: var(--serif); font-size: clamp(1.45rem, 1.2rem + 1vw, 1.8rem); color: var(--ink); margin: 2.5rem 0 .75rem; scroll-margin-top: 6rem; }
.legal-body h3 { font-family: var(--sans); font-size: 1rem; letter-spacing: 0; font-weight: 600; color: var(--deep); margin: 1.5rem 0 .5rem; }
.legal-body p, .legal-body li { line-height: 1.75; }
.legal-body ul { padding-left: 1.2rem; }
.legal-body li { margin: .4rem 0; }
.legal-body a, .legal-toc a { color: var(--deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--sage); }
.legal-body a:hover, .legal-toc a:hover { color: var(--clay); }
.legal-related { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: .75rem; }
.footer-legal { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; font-size: .8rem; }
.footer-legal a { color: inherit; opacity: .8; text-decoration: none; }
.footer-legal a:hover { opacity: 1; text-decoration: underline; }
.form-consent { font-size: .78rem; opacity: .75; margin: .75rem 0 0; line-height: 1.5; }
.form-consent a { color: inherit; text-decoration: underline; }
