/* Bigger Dreams v5 shared components (2026-11-30)
   Jake: "packages should all be presented same way". One look per component type,
   mapped onto each page's EXISTING markup classes, so content, scripts and animations stay put.
   Canonical designs come from the newest v5 work (css/bd-site-v5.css: /marketing steps,
   /pricing FAQ, campaign-page stats, .sec-label/.sec-head section heads).

   Loaded on every shared-nav page by js/hub-nav.js; pages without it link it directly.
   Specificity: pages carry inline <style> blocks (some inside <body>, so later in the
   cascade than this file) with #id selectors. Every rule here is prefixed with
   `html body:not(#_):not(#_)` (two id-weights) so it wins without !important.
   Never set `transform` or `opacity` on these elements: the pages' reveal animations own them. */

/* ───────────────── 1. Package / price card ─────────────────
   name → price → meta line → includes (hairline rows) → foot label → CTA.
   Maps: Brands .pack, Headshots .pack-card, Corporate .pack-card, Decks .tier/.flag,
   Quick Services .sku, Pricing + service pages .plines li. */
html body:not(#_):not(#_) :is(.pack-grid, .packs-grid, .tiers, .sku-grid, ul.plines) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 14px;
  align-items: stretch;
  list-style: none;
  padding: 0;
  border: 0;
}
html body:not(#_):not(#_) ul.plines { margin: 28px 0 0; }

html body:not(#_):not(#_) :is(.pack-grid > .pack, .pack-grid > .pack-card, .packs-grid > .pack-card, .tiers > .tier, .sku-grid > .sku, ul.plines > li, .flag) {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--pure-white);
  background-image: none;
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  box-shadow: none;
  padding: 26px 24px 24px;
  color: var(--black);
  text-align: left;
  text-decoration: none;
  overflow: visible;
  min-height: 0;
  gap: 0;
}
html body:not(#_):not(#_) :is(.pack, .pack-card, .tier, .sku, .flag)::before,
html body:not(#_):not(#_) :is(.pack, .pack-card, .tier, .sku, .flag)::after { display: none; }
/* featured card: black hairline doubled, sky pill on top */
html body:not(#_):not(#_) :is(.pack.feature, .pack-card.feature, .tier.feat) { border: 2px solid var(--black); padding: 25px 23px 23px; }
html body:not(#_):not(#_) a.pack-card:hover { border-color: var(--black); }
/* headshots wraps its card content in two divs: let them stack and push the second down */
html body:not(#_):not(#_) .packs-grid > .pack-card { justify-content: space-between; }

html body:not(#_):not(#_) :is(.pack, .pack-card) .pack-ribbon {
  position: absolute; top: -12px; left: 22px; right: auto; transform: none; width: auto;
  font-family: var(--font-mono); font-weight: 600; font-size: 11px; letter-spacing: var(--label-tracking); text-transform: uppercase;
  padding: 5px 11px; border-radius: var(--radius-pill); background: var(--sky); color: var(--black); box-shadow: none; margin: 0;
}

/* small label above the name (Headshots session length) */
html body:not(#_):not(#_) .pack-card .pack-eyebrow {
  font-family: var(--font-mono); font-weight: 600; font-size: 11px; letter-spacing: var(--label-tracking); text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 12px;
}
/* name */
html body:not(#_):not(#_) :is(.pack .pack-name, .pack-card .pack-name, .tier .tn, .flag .tn, .sku .sku-name, ul.plines > li > h3) {
  order: 0;
  font-family: var(--font-display); font-weight: 900; letter-spacing: var(--display-tracking); line-height: 1.05;
  font-size: 26px; text-transform: none; color: var(--black); margin: 0 0 14px; padding: 0;
}
html body:not(#_):not(#_) :is(.pack-name, .tn, .sku-name) em { font-style: normal; color: inherit; font-weight: inherit; }
/* price */
html body:not(#_):not(#_) :is(.pack .pack-price, .pack-card .pack-price, .tier .tp, .flag .fp, .sku .sku-price, ul.plines > li > .amt) {
  order: 1;
  font-family: var(--font-display); font-weight: 900; letter-spacing: var(--display-tracking); line-height: 1;
  font-size: clamp(32px, 3vw, 44px); font-variant-numeric: tabular-nums; white-space: normal; text-wrap: balance;
  color: var(--black); background: none; -webkit-text-fill-color: currentColor; text-shadow: none; filter: none; animation: none; text-align: left;
  margin: 0 0 12px; padding: 0;
}
html body:not(#_):not(#_) :is(.pack-price, .tp, .sku-price, .amt) small {
  font-family: var(--font-text); font-weight: 500; font-size: 14px; letter-spacing: 0; color: var(--ink-3);
}
/* meta line(s) */
html body:not(#_):not(#_) :is(.pack .pack-meta, .pack-card .pack-for, .pack-card .pack-unit, .pack-card .pack-problem, .pack-card .pack-specs, .tier .tu, .flag h3, .flag .fu, .sku .sku-meta, ul.plines > li > p) {
  order: 2;
  font-family: var(--font-text); font-weight: 400; font-style: normal; font-size: 15px; line-height: 1.45; letter-spacing: 0;
  text-transform: none; color: var(--ink-2); margin: 0 0 6px; padding: 0; grid-column: auto; grid-row: auto;
}
html body:not(#_):not(#_) .flag h3 { font-weight: 500; color: var(--black); }
html body:not(#_):not(#_) :is(.pack-meta, .sku-meta) .pip {
  display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--ink-3); margin: 0 6px; vertical-align: middle; box-shadow: none;
}
/* includes: hairline rows, no ticks or dots */
html body:not(#_):not(#_) :is(.pack .pack-includes, .pack-card .pack-list, .tier ul, .flag ul, .sku .sku-includes) {
  order: 3;
  list-style: none; margin: 16px 0 22px; padding: 0; border-top: 1px solid var(--rule); display: block;
}
html body:not(#_):not(#_) :is(.pack-includes, .pack-list, .tier ul, .flag ul, .sku-includes) > li {
  display: block; position: static; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; background: none;
  padding: 9px 0; margin: 0; font-family: var(--font-text); font-weight: 400; font-size: 14px; line-height: 1.4; color: var(--black);
}
html body:not(#_):not(#_) :is(.pack-includes, .pack-list, .tier ul, .flag ul, .sku-includes) > li::before { display: none; }
html body:not(#_):not(#_) :is(.pack-includes, .sku-includes) .gv-tick { display: none; }
/* foot label */
html body:not(#_):not(#_) :is(.pack .pack-output, .pack-card .pack-output, .sku .sku-turn) {
  order: 4;
  margin: auto 0 0; padding: 14px 0 0; border: 0;
  font-family: var(--font-mono); font-weight: 600; font-size: 11px; line-height: 1.5; letter-spacing: var(--label-tracking);
  text-transform: uppercase; color: var(--ink-3);
}
/* CTA */
html body:not(#_):not(#_) :is(.pack-card .pack-cta, .sku .sku-buy) {
  order: 5;
  display: block; width: 100%; margin: auto 0 0; text-align: center;
  font-family: var(--font-text); font-weight: 500; font-size: 15px; letter-spacing: 0; text-transform: none;
  padding: 12px 22px; border: 0; border-radius: var(--radius-pill);
  background: var(--sky); color: var(--black); box-shadow: none; text-decoration: none;
}
html body:not(#_):not(#_) .sku .sku-turn + .sku-buy { margin-top: 16px; }
html body:not(#_):not(#_) :is(.pack-card .pack-cta, .sku .sku-buy):hover { background: #3A9FCE; }
/* Decks flagship: same card, laid out wide */
html body:not(#_):not(#_) .flag { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 14px; border: 2px solid var(--black); }
html body:not(#_):not(#_) .flag ul { margin: 0; }
@media (max-width: 760px) { html body:not(#_):not(#_) .flag { grid-template-columns: 1fr; } }

/* ───────────────── 2. FAQ ─────────────────
   Canonical: /pricing .faq details. Hairline rows, display question, sky "+" that turns to "×".
   Maps: .faq details (pricing, service pages), corporate details.faq-item, and the
   .faq-grid lists on Brands/Headshots/Music/Events/WYWH (converted to <details> 2026-11-30). */
html body:not(#_):not(#_) :is(.faq-grid, .faq-list) {
  display: block; margin-top: 40px; border-top: 1px solid var(--rule); max-width: none; columns: auto; gap: 0;
}
html body:not(#_):not(#_) :is(.faq-grid, .faq-list) > .faq-item,
html body:not(#_):not(#_) .faq > details {
  display: block; padding: 0; margin: 0; background: none; border: 0; border-bottom: 1px solid var(--rule);
  border-radius: 0; box-shadow: none; overflow: visible;
}
html body:not(#_):not(#_) :is(.faq-item > .faq-q, .faq > details > summary) {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; margin: 0; background: none;
  font-family: var(--font-display); font-weight: 900; letter-spacing: -.02em; line-height: 1.15;
  font-size: clamp(19px, 1.8vw, 24px); color: var(--black); text-align: left;
}
html body:not(#_):not(#_) :is(.faq-item > .faq-q, .faq > details > summary)::-webkit-details-marker { display: none; }
html body:not(#_):not(#_) :is(.faq-item > .faq-q, .faq > details > summary)::after {
  content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--sky); color: var(--black);
  display: grid; place-items: center; font-family: var(--font-text); font-weight: 500; font-size: 20px; line-height: 1;
  transition: transform .3s var(--ease-float);
}
html body:not(#_):not(#_) :is(.faq-item[open] > .faq-q, .faq > details[open] > summary)::after { content: "+"; transform: rotate(45deg); }
html body:not(#_):not(#_) .faq-item > .faq-q .tick { display: none; }
html body:not(#_):not(#_) :is(.faq-item > .faq-a, .faq > details > p) {
  margin: 0 0 22px; padding: 0; max-width: 62ch; font-family: var(--font-text); font-size: 17px; line-height: 1.5; color: var(--ink-2);
}
html body:not(#_):not(#_) .faq-item > .faq-a a { color: var(--black); border-bottom: 2px solid var(--sky); text-decoration: none; }

/* ───────────────── 3. Process steps ─────────────────
   Canonical: /marketing .steps. White card, mono number label, display title, one ink-2 line.
   Maps: .steps (marketing/decks/quick services), Brands .process-row, Music .process-flow,
   Headshots .steps-grid, Corporate .flow-grid. Connector lines and icon orbs are hidden. */
html body:not(#_):not(#_) :is(.steps, .process-row, .process-flow, .steps-grid, .flow-grid) {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px;
  list-style: none; margin: 48px 0 0; padding: 0; position: relative;
}
html body:not(#_):not(#_) :is(.steps, .process-row, .process-flow, .steps-grid, .flow-grid)::before,
html body:not(#_):not(#_) :is(.steps, .process-row, .process-flow, .steps-grid, .flow-grid)::after { display: none; }
html body:not(#_):not(#_) :is(.steps > li, .steps > .step, .process-row > .process-step, .process-flow > .process-step, .steps-grid > .step-card, .flow-grid > .flow-step) {
  position: relative; display: block; background: var(--pure-white); background-image: none;
  border: 1px solid var(--rule); border-radius: var(--radius-sm); box-shadow: none;
  padding: 22px 20px 24px; margin: 0; text-align: left; color: var(--black); min-height: 0;
}
html body:not(#_):not(#_) :is(.steps > .step, .process-step, .step-card, .flow-step)::before,
html body:not(#_):not(#_) :is(.steps > .step, .process-step, .step-card, .flow-step)::after { display: none; }
html body:not(#_):not(#_) :is(.process-step .process-icon, .flow-step .flow-orb) { display: none; }
/* number label */
html body:not(#_):not(#_) :is(.steps > li > .bd-label, .step .sn, .step .step-num, .process-step .process-num, .step-card .step-num, .flow-step .flow-num) {
  display: block; width: auto; height: auto; margin: 0 0 28px; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none;
  font-family: var(--font-mono); font-weight: 600; font-size: 11px; line-height: 1.4; letter-spacing: var(--label-tracking);
  text-transform: uppercase; color: var(--ink-3); -webkit-text-fill-color: currentColor; text-align: left;
}
html body:not(#_):not(#_) .step-card .step-num::before { display: inline; position: static; margin-right: .7em; background: none; border: 0; width: auto; height: auto; font: inherit; color: inherit; box-shadow: none; }
/* title */
html body:not(#_):not(#_) :is(.steps > li > h3, .step > h3, .step > h4, .process-step .process-h, .step-card .step-h, .flow-step .flow-name) {
  font-family: var(--font-display); font-weight: 900; letter-spacing: var(--display-tracking); line-height: 1.05;
  font-size: 24px; color: var(--black); margin: 0 0 10px; text-align: left;
}
/* one line */
html body:not(#_):not(#_) :is(.steps > li > p, .step > p, .process-step .process-body, .step-card .step-p, .flow-step .flow-cap) {
  font-family: var(--font-text); font-weight: 400; font-size: 15px; line-height: 1.45; color: var(--ink-2); margin: 0; text-align: left; max-width: none;
}

/* ───────────────── 4. Section heading ─────────────────
   Cherry mono label → big black Red Hat Display heading → optional ink-2 line.
   Maps: .sec-label/.sec-head/.sec-body (v5), .section-eyebrow/.section-title/.section-sub (legacy),
   .faq-head, Decks .eyb/.sh-t/.sh-s. Colour of headings/lines is left to the section (some are dark). */
html body:not(#_):not(#_) :is(.sec-label, .section-eyebrow, .faq-head .faq-eyebrow, .eyb) {
  display: block; font-family: var(--font-mono); font-weight: 600; font-size: 12px; line-height: 1.4; letter-spacing: var(--label-tracking);
  text-transform: uppercase; color: var(--cherry); background: none; border: 0; padding: 0; margin: 0 0 18px;
}
html body:not(#_):not(#_) :is(.section-eyebrow, .faq-eyebrow) .dot { display: none; }
html body:not(#_):not(#_) :is(.sec-head, .section-title, .faq-head h2, .sh-t) {
  font-family: var(--font-display); font-weight: 900; letter-spacing: var(--display-tracking); line-height: .98;
  font-size: clamp(32px, 4.5vw, 64px); text-wrap: balance; margin: 0 0 18px;
}
html body:not(#_):not(#_) :is(.sec-head, .section-title, .faq-head h2, .sh-t) em { font-style: normal; color: inherit; font-weight: inherit; -webkit-text-fill-color: currentColor; background: none; }
html body:not(#_):not(#_) :is(.sec-body, .section-sub, .faq-head > p, .sh-s) {
  font-family: var(--font-text); font-weight: 400; font-size: 18px; line-height: 1.45; max-width: 62ch; margin-top: 0;
}

/* ───────────────── 5. Number / stat strip ─────────────────
   Canonical: campaign .stats (black top rule, hairline dividers, huge number, mono label).
   Maps: .stats-grid > .stat-card (events/service landing pages, headshots), Corporate .stat-grid,
   Brands .stats-row. Count-up scripts keep running; sparklines hidden. */
html body:not(#_):not(#_) :is(.stats-grid, .stat-grid, .stats-row) {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 0;
  border-top: 2px solid var(--black); background: none; padding: 0; box-shadow: none;
}
html body:not(#_):not(#_) :is(.stats-grid > .stat-card, .stat-grid > .stat, .stats-row > .stat) {
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start; text-align: left;
  padding: 26px 22px 8px; margin: 0; background: none; border: 0; border-right: 1px solid var(--rule); border-radius: 0; box-shadow: none; min-height: 0;
}
html body:not(#_):not(#_) :is(.stats-grid > .stat-card, .stat-grid > .stat, .stats-row > .stat):last-child { border-right: 0; }
html body:not(#_):not(#_) :is(.stat-card, .stat-grid > .stat, .stats-row > .stat)::before,
html body:not(#_):not(#_) :is(.stat-card, .stat-grid > .stat, .stats-row > .stat)::after { display: none; }
html body:not(#_):not(#_) :is(.stat-card, .stat-grid > .stat, .stats-row > .stat) .stat-num {
  font-family: var(--font-display); font-weight: 900; letter-spacing: var(--display-tracking); line-height: .9;
  font-size: clamp(44px, 5.4vw, 88px); font-variant-numeric: tabular-nums; color: var(--black);
  background: none; -webkit-text-fill-color: currentColor; text-shadow: none; margin: 0;
}
html body:not(#_):not(#_) .stat-num .unit { color: inherit; font-size: inherit; }
html body:not(#_):not(#_) :is(.stat-card, .stat-grid > .stat, .stats-row > .stat) .stat-label {
  font-family: var(--font-mono); font-weight: 600; font-size: 12px; line-height: 1.4; letter-spacing: var(--label-tracking);
  text-transform: uppercase; color: var(--ink-2); max-width: 26ch; margin: 0; text-align: left;
}
html body:not(#_):not(#_) .stat-card .stat-spark { display: none; }
@media (max-width: 600px) {
  html body:not(#_):not(#_) :is(.stats-grid > .stat-card, .stat-grid > .stat, .stats-row > .stat) { border-right: 0; border-bottom: 1px solid var(--rule); padding: 20px 0 16px; }
}
html body:not(#_):not(#_) :is(.stats-grid > .stat-card, .stat-grid > .stat, .stats-row > .stat):first-child { padding-left: 0; }
html body:not(#_):not(#_) .stat-num * { color: inherit; background: none; -webkit-text-fill-color: currentColor; text-shadow: none; }

/* phone hero tint (iPhone check 2026-11-30): portrait heroes can be bright (white studio, stage lights),
   so give white hero text a darker bed on phones only */
@media (max-width:760px){
  html body:not(#_):not(#_) .hero-overlay{background:linear-gradient(180deg,rgba(0,0,0,.55) 0%,rgba(0,0,0,.45) 45%,rgba(0,0,0,.7) 100%)}
}
