/* ============================================================
   Cannabis Retail Buyer & Seller Advisory — dedicated page.

   Uses the site's shared design system (ec-styles.css: colors, type
   scale, .wrap, .eyebrow, .btn, .reveal/.reveal-stagger, .contact-line,
   .program-quote-style pull-quote) plus the full homepage nav/footer
   markup (cloned exactly, not the stripped-down legal/health-check
   nav). This file only adds the page-specific layout not already
   covered by ec-styles.css: the hero jump actions, the buyer/seller
   path-selection accordion (reuses progressive-disclosure.js's
   data-pd-* contract with data-pd-click-only, same engine as
   Services), the results panels, the deliverables grid, and the
   scope-clarification block.
   ============================================================ */

.bsa-app { padding-top: 0; }

/* ---- Hero ----
   Padding is intentionally modest (not viewport-scaled like the homepage's
   sticky-canvas hero) so the full hero — eyebrow through the jump-action
   buttons and support line — comfortably fits within a typical viewport
   without requiring a scroll on load. Only the top value needs to clear
   the fixed .nav bar; everything else is trimmed to just enough breathing
   room. */
.bsa-hero {
  padding: clamp(96px, 9vw, 128px) 0 clamp(36px, 4vw, 56px);
  background: linear-gradient(180deg, #050505 0%, #000 100%);
}
.bsa-hero-inner { max-width: 900px; }
.bsa-hero h1 {
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.08;
  margin: 16px 0 22px;
  letter-spacing: -0.015em;
}
.bsa-hero-copy p {
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.55;
  color: #c0c0c0;
  margin: 0 0 14px;
  max-width: 62ch;
}
.bsa-hero-copy p:last-child { margin-bottom: 0; }

.bsa-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}
@media (max-width: 560px) {
  .bsa-hero-actions { flex-direction: column; align-items: stretch; }
}

.bsa-hero-support {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
}

/* ---- Path selection ---- */
.bsa-paths {
  padding: clamp(60px, 8vw, 100px) 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.bsa-paths-head { max-width: 60ch; margin-bottom: 48px; }
.bsa-paths-head h2 { font-size: clamp(32px, 4vw, 52px); margin-top: 16px; }
.bsa-paths-head h2 em { color: var(--green); font-style: italic; }

.bsa-path-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  /* align-items stays "start" (not "stretch") on purpose: this is an
     accordion where only one card opens at a time, so stretching both
     cards to match whichever one is currently open would leave a large
     blank gap inside the closed card. Instead, only the trigger height
     is equalized (below) so the two cards read as the same size in
     their default/collapsed state, which is the state visitors compare
     side by side. */
  align-items: start;
}
@media (max-width: 900px) {
  .bsa-path-grid { grid-template-columns: 1fr; }
}
/* Equalize the collapsed trigger height across both cards regardless of
   whether one path's headline wraps to two lines and the other's does
   not (e.g. "I am preparing a cannabis business for sale" vs "I am
   evaluating a cannabis business"). The actual value is set by
   bsa-equalize-triggers.js at runtime (measured, not guessed) because a
   single fixed px number only matches one specific viewport width --
   at any other width one headline wraps differently than the other and
   the cards drift out of sync again. This fallback only covers the
   split second before that script runs / if JS is unavailable. */
.bsa-path-trigger { min-height: 132px; }

.bsa-path-card {
  background: linear-gradient(180deg, #101010 0%, #0a0a0a 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  overflow: hidden;
  transition: border-color .35s, box-shadow .5s;
}
.bsa-path-card.pd-open {
  border-color: rgba(90,185,54,0.5);
  box-shadow: 0 30px 80px -30px rgba(90,185,54,0.2);
}
.bsa-path-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 32px;
  text-align: left;
  cursor: pointer;
}
.bsa-path-trigger:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }
.bsa-path-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  display: block;
  margin-bottom: 10px;
}
/* #acquisition-assessment / #sale-readiness-assessment: stable anchor IDs
   for the homepage Assessments cards' (06/07) outbound CTAs. Placed on
   these headings rather than on the parent .bsa-path-card (which already
   owns #buyer-path/#seller-path, used elsewhere by the hero jump links and
   bsa-equalize-triggers.js) to avoid any duplicate/second ID on the same
   element. scroll-margin-top matches the site's existing 110px fixed-nav
   clearance value (see legal.css's .lp-anchor-target) so a direct hash
   link lands with the heading fully visible below .nav, not hidden under it. */
.bsa-path-trigger h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 6px;
  scroll-margin-top: 110px;
}
.bsa-path-sub {
  font-size: 14px;
  color: #999;
  max-width: none;
}
.bsa-path-icon {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 18px;
  color: var(--gray);
  transition: transform .35s, border-color .35s, color .35s;
}
.bsa-path-card.pd-open .bsa-path-icon {
  transform: rotate(45deg);
  border-color: var(--green);
  color: var(--green);
}

.bsa-path-panel {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .55s cubic-bezier(.2,.7,.2,1), opacity .4s ease;
}
.bsa-path-card.pd-open .bsa-path-panel {
  max-height: 4000px;
  opacity: 1;
}
.bsa-path-grid.pd-reduced-motion .bsa-path-panel,
.bsa-path-grid.pd-reduced-motion .bsa-path-icon { transition: opacity .15s linear; }

.bsa-path-panel-inner {
  padding: 0 32px 34px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 26px;
}
.bsa-path-panel-inner p {
  font-size: 16px;
  line-height: 1.6;
  color: #c0c0c0;
  margin: 0 0 16px;
  max-width: none;
}
.bsa-path-panel-inner p:last-of-type { margin-bottom: 0; }

.bsa-results {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.bsa-results-head {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 16px;
}
.bsa-results-list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bsa-results-list li {
  font-size: 15px;
  line-height: 1.45;
  color: #d0d0d0;
  padding-left: 22px;
  position: relative;
}
.bsa-results-list li::before {
  content: '→';
  position: absolute;
  left: 0; top: 0;
  color: var(--green);
  font-family: var(--mono);
  font-size: 14px;
}

.bsa-path-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.bsa-path-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}
.bsa-path-cta .arrow { display: inline-block; transition: transform .25s; }
.bsa-path-cta:hover, .bsa-path-cta:focus-visible { color: var(--white); }
.bsa-path-cta:hover .arrow, .bsa-path-cta:focus-visible .arrow { transform: translateX(4px); }
.bsa-path-cta-fallback {
  font-size: 13px;
  color: #808180;
}
.bsa-path-cta-fallback a { color: var(--gray); text-decoration: underline; text-underline-offset: 2px; }
.bsa-path-cta-fallback a:hover, .bsa-path-cta-fallback a:focus-visible { color: var(--white); }

/* ---- Shared philosophy quote ----
   Restyled to match the site's established pull-quote convention used
   throughout the homepage (.program-quote / .exp-closing-quote / .tl-quote):
   a large decorative quote mark, a thin green accent rule, serif italic
   type, with the key phrase picked out in green italic — rather than a
   plain bordered/boxed paragraph. */
.bsa-philosophy {
  padding: clamp(50px, 7vw, 90px) 0;
}
.bsa-philosophy-panel {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 10px 0 4px 46px;
}
.bsa-philosophy-quote-mark {
  position: absolute;
  top: -20px;
  left: 0;
  font-family: var(--serif);
  font-style: normal;
  color: var(--green);
  font-size: 76px;
  line-height: 1;
}
.bsa-philosophy-quote-rule {
  position: absolute;
  top: 10px;
  bottom: 8px;
  left: 0;
  width: 1px;
  background: rgba(90,185,54,0.5);
}
.bsa-philosophy-panel p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.4;
  color: var(--white);
  font-weight: 400;
  margin: 0 0 14px;
  max-width: none;
}
.bsa-philosophy-panel p:last-child { margin-bottom: 0; }
.bsa-philosophy-panel p em { font-style: italic; color: var(--green); }
@media (max-width: 640px) {
  .bsa-philosophy-panel { padding-left: 34px; }
  .bsa-philosophy-quote-mark { font-size: 56px; top: -12px; }
}

/* ---- What the engagement produces ---- */
.bsa-produces {
  padding: clamp(60px, 8vw, 100px) 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.bsa-produces-head { max-width: 62ch; margin-bottom: 20px; }
.bsa-produces-head h2 { font-size: clamp(32px, 4vw, 52px); margin-top: 16px; }
.bsa-produces-lead {
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.4;
  color: #e4e4e4;
  margin: 20px 0 8px;
  max-width: 58ch;
}
.bsa-produces-support {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 36px;
}

.bsa-produces-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 900px) {
  .bsa-produces-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .bsa-produces-grid { grid-template-columns: 1fr; }
}
.bsa-produces-item {
  background: #0d0d0d;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 28px 24px;
  transition: border-color .35s, background .35s;
}
.bsa-produces-item:hover { border-color: rgba(90,185,54,0.3); background: #101410; }
.bsa-produces-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--green);
  letter-spacing: 0.15em;
  margin-bottom: 14px;
  display: block;
}
.bsa-produces-item p {
  font-size: 15px;
  line-height: 1.55;
  color: #c0c0c0;
  margin: 0;
  max-width: none;
}

/* ---- Transaction scope clarification ---- */
.bsa-scope {
  padding: clamp(50px, 7vw, 90px) 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.bsa-scope-inner { max-width: 760px; }
.bsa-scope-inner h2 { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 20px; }
.bsa-scope-inner p {
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.6;
  color: #c0c0c0;
  margin: 0 0 16px;
  max-width: none;
}
.bsa-scope-inner p:last-child { margin-bottom: 0; }

/* ---- Final transaction-inquiry section ---- */
.bsa-inquiry {
  padding: clamp(70px, 9vw, 120px) 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, #000 0%, #060606 100%);
}
.bsa-inquiry-inner { max-width: 780px; }
.bsa-inquiry-inner h2 {
  font-size: clamp(32px, 4.2vw, 56px);
  margin: 16px 0 20px;
}
.bsa-inquiry-inner > p {
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.6;
  color: #c0c0c0;
  margin: 0 0 40px;
  max-width: 58ch;
}

.bsa-inquiry-options {
  border-top: 1px solid rgba(255,255,255,0.08);
}

.bsa-inquiry-note {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--gray);
  max-width: 56ch;
}

/* ---- Reduced motion: drop the hover-lift/box-shadow easing on the
   accordion-driven pieces above; content itself is never hidden
   permanently either way. ---- */
@media (prefers-reduced-motion: reduce) {
  .bsa-path-card, .bsa-path-icon, .bsa-path-panel, .bsa-produces-item {
    transition: none !important;
  }
}
