/*! BFM v2 — Become-a-Vendor application page (page-become-a-vendor.php).
   Full-v2 "become-vendor" route re-skinned to navy/amber: banner (arch photo + title + CTA),
   "the only real rule" cards, 4 numbered steps, and the Contact Form 7 application form.
   Loaded AFTER ba-v2 / ba-type / ba-sections; tokens only (--navy, --amber, --sky, --ink, --muted,
   --line, --paper, --cream, --card, --disp, --serif, --fs-*, --r-*, --shadow-*). Type is rem
   (html is 62.5% => 1rem = 10px). The form itself is styled by ba-sections.css §4 (the wrapper
   carries .common_sec); this file only adds the layout bits that page does not have
   (.ba-form__row two-up rows, .ba-field spacing + hint, .ba-form__actions). */

.ba-apply{
  --ba-pad:max(2.6rem, calc((100% - 118rem) / 2));   /* full-bleed bands, content held to 1180px */
  background:var(--paper); color:var(--ink);
}
.ba-apply > section{padding-left:var(--ba-pad); padding-right:var(--ba-pad)}
.ba-apply .ba-apply__h2{
  font-family:var(--disp); font-weight:800; color:var(--navy-900); font-size:var(--fs-xl);
  line-height:1.1; letter-spacing:-.015em; margin:.8rem 0 0;
}

/* eyebrow: amber icon + tracked sky caps (same as the venue / homepage eyebrow) */
.ba-apply__eyebrow{
  display:flex; align-items:center; gap:1rem; font-size:1.3rem; font-weight:700; line-height:1.4;
  letter-spacing:.14em; text-transform:uppercase; color:var(--sky);
}
.ba-apply__mark{width:1.8rem; height:1.8rem; flex:none; stroke:var(--amber-600); fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round}

/* ============================================================ 1. BANNER */
.ba-apply__banner{
  display:grid; grid-template-columns:.9fr 1.1fr; gap:4.8rem; align-items:center;
  padding-top:5.6rem; padding-bottom:5.6rem; background:var(--card);
  border-bottom:1px solid var(--line);
}
.ba-apply__banner--noimg{grid-template-columns:minmax(0,72rem)}
.ba-apply__media{
  position:relative; width:100%; max-width:46rem; aspect-ratio:4/5; overflow:hidden; background:var(--navy-050);
  border-radius:var(--r-lg) var(--r-lg) 17rem 17rem; box-shadow:var(--shadow-md);
}
.ba-apply__media img{width:100%; height:100%; object-fit:cover; object-position:52% 50%}
.ba-apply__title{
  font-family:var(--disp); font-weight:800; color:var(--navy-900); letter-spacing:-.025em; line-height:1.06;
  font-size:clamp(3.4rem,4.2vw,5rem); margin:1.2rem 0 0;
}
.ba-apply__title em{color:var(--sky); font-style:normal}
.ba-apply__lead{font-size:var(--fs-md); line-height:1.55; color:var(--ink); max-width:48ch; margin:1.8rem 0 0}
.ba-apply__cta{margin:2.6rem 0 0}

/* ============================================================ 2. "THE ONLY REAL RULE" */
.ba-apply__rule{padding-top:4.4rem; padding-bottom:4.4rem}
.ba-apply__rule-box{
  position:relative; overflow:hidden; padding:3.4rem 3.6rem 3.8rem;
  background:var(--amber-050); border:1.5px solid var(--amber); border-radius:var(--r-lg); box-shadow:var(--shadow-sm);
}
.ba-apply__rule-box::after{       /* quiet amber disc, bottom-right (the mock's corner accent) */
  content:""; position:absolute; right:-3rem; bottom:-3rem; width:15rem; height:15rem; border-radius:50%;
  background:var(--amber); opacity:.16; pointer-events:none;
}
.ba-apply__rule-grid{position:relative; display:grid; grid-template-columns:repeat(3,1fr); gap:2.6rem; margin-top:2.4rem}
.ba-apply__hl{display:flex; flex-direction:column; gap:.8rem}
.ba-apply__hl-mark{width:4rem; height:4rem; stroke:var(--navy); fill:none; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round}
.ba-apply__hl h3{font-family:var(--disp); font-weight:700; font-size:var(--fs-lg); line-height:1.25; color:var(--navy-900); margin:0}
.ba-apply__hl p{margin:0; font-size:1.6rem; line-height:1.55; color:var(--ink)}

/* ============================================================ 3. STEPS */
.ba-apply__how{padding-top:2.4rem; padding-bottom:3rem}
.ba-apply__steps{list-style:none; margin:2.8rem 0 0; padding:0; display:grid; grid-template-columns:repeat(4,1fr); gap:2rem}
.ba-apply__step{
  position:relative; margin:0; padding:2.4rem 2.2rem 2.6rem; list-style:none;
  background:var(--card); border:1px solid var(--line); border-radius:var(--r-lg); box-shadow:var(--shadow-sm);
}
.ba-apply__step::before{content:none}
.ba-apply__step-n{
  display:grid; place-items:center; width:4.4rem; height:4.4rem; border-radius:50%;
  font-family:var(--disp); font-weight:700; font-size:1.9rem; line-height:1; color:#fff;
  background:var(--navy); box-shadow:0 0 0 .4rem var(--amber-050), inset 0 0 0 .2rem var(--amber);
}
.ba-apply__step h3{font-family:var(--disp); font-weight:700; font-size:var(--fs-lg); line-height:1.25; color:var(--navy-900); margin:1.6rem 0 0}
.ba-apply__step p{margin:.8rem 0 0; font-size:1.6rem; line-height:1.55; color:var(--ink)}

/* ============================================================ 4. APPLICATION FORM */
.ba-apply__apply{
  padding-top:5.2rem; padding-bottom:7.2rem; background:var(--card); border-top:1px solid var(--line);
  scroll-margin-top:9rem;
}
.ba-apply__form{max-width:76rem; margin-top:2.6rem}
.ba-apply__form .wpcf7{margin:0}   /* the card itself comes from ba-sections.css (.common_sec .wpcf7) */

/* CF7 markup helpers (the form template in the Become A Vendor CF7 form uses these classes) */
.ba-apply .ba-form .bfm-form-note{margin-bottom:0}   /* the first field's own top margin provides the gap */
.ba-apply .ba-form__row{display:grid; grid-template-columns:1fr 1fr; gap:0 2.4rem}
.ba-apply .ba-field{margin-top:2.4rem}
.ba-apply .ba-field .wpcf7-form-control-wrap{display:block}
.ba-apply .ba-field__hint{display:block; margin-top:.3rem; font-size:1.4rem; font-weight:400; line-height:1.45; color:var(--muted)}
.ba-apply .ba-form__actions{margin-top:3rem}
.ba-apply .ba-form__actions > p{display:flex; align-items:center; flex-wrap:wrap; gap:1.2rem 1.8rem}   /* CF7 autop wraps button + note in a <p> */
.ba-apply .ba-form__note{max-width:44ch; font-size:1.5rem; line-height:1.5; color:var(--muted)}
.ba-apply .ba-form__actions .wpcf7-spinner{margin:0 -1rem 0 -.8rem}   /* CF7 inserts it right after the button; keep it from widening the gap */
.ba-apply select.form-control{appearance:auto}   /* keep the native chevron + keyboard behaviour */

/* ============================================================ 4b. BANNER PILLS + CTAS, "BEFORE YOU APPLY", EXPRESS, FULL APPLICATION
   The two forms are rendered by the CodeAwesome BFM Forms plugin (caf-forms.css + caf-application.css);
   this block only lays out the bands around them. Bands that hold a form sit on paper so the plugin's
   white section cards read as cards. */
.ba-apply__meta{display:flex; flex-wrap:wrap; gap:1rem; margin:2rem 0 0; padding:0}
.ba-apply__meta span{
  display:inline-flex; align-items:center; gap:.8rem; padding:.7rem 1.4rem; background:var(--card);
  border:1.5px solid var(--line); border-radius:var(--r-pill); box-shadow:var(--shadow-sm);
  font-family:var(--disp); font-size:1.3rem; font-weight:600; color:var(--navy-900);
}
.ba-apply__meta .ba-apply__mark{width:1.5rem; height:1.5rem; stroke:var(--amber-600)}
.ba-apply__cta{display:flex; flex-wrap:wrap; align-items:center; gap:1.4rem 1.6rem}
.ba-apply .btn--line{background:transparent; color:var(--navy-900); border:1.5px solid var(--navy); box-shadow:none}
.ba-apply .btn--line:hover{background:var(--navy-050); transform:translateY(-1px)}
.ba-apply .btn--text{color:var(--sky); font-weight:700; padding-left:.4rem; padding-right:.4rem}
.ba-apply .btn--text:hover{color:var(--navy-900)}
.ba-apply .btn svg{width:1.8rem; height:1.8rem; stroke:currentColor; fill:none; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round}

.ba-apply__h3{
  display:flex; align-items:center; gap:.9rem; margin:0; font-family:var(--disp); font-weight:700;
  font-size:var(--fs-md); line-height:1.25; color:var(--navy-900);
}
.ba-apply__h3 .ba-apply__mark{width:1.9rem; height:1.9rem}
.ba-apply__prep{padding-top:1rem; padding-bottom:1rem}
.ba-apply__prep-box{
  padding:2.2rem 2.6rem 2.6rem; background:var(--card); border:1px solid var(--line); border-left:4px solid var(--sky);
  border-radius:var(--r-lg); box-shadow:var(--shadow-sm);
}
.ba-apply__prep-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:1.6rem 2.6rem; margin-top:1.6rem}
.ba-apply__prep-it{display:flex; gap:1rem; font-size:1.5rem; line-height:1.5; color:var(--ink)}
.ba-apply__prep-it b{display:block; font-family:var(--disp); font-weight:700; font-size:1.5rem; color:var(--navy-900)}
.ba-apply__prep-mark{flex:none; width:1.8rem; height:1.8rem; margin-top:.3rem; stroke:var(--sky); fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round}

.ba-apply__express{padding-top:1rem; padding-bottom:1.6rem; scroll-margin-top:9rem}
.ba-apply .ba-apply__apply{background:var(--paper)}
.ba-apply__form-wrap{margin-top:2.8rem}
.ba-apply__unavailable{font-size:var(--fs-base); color:var(--ink)}
.ba-apply__unavailable a{color:var(--sky); text-decoration:underline; text-underline-offset:.2rem}

/* keyboard focus: the legacy bundle's `.btn:focus,a:focus{outline:none}` out-ranks the global :focus-visible ring, so restate it here */
.ba-apply a:focus-visible,
.ba-apply .btn:focus-visible{outline:.3rem solid var(--sky-400); outline-offset:.3rem}

/* ============================================================ 5. RESPONSIVE */
@media (max-width:991.98px){
  .ba-apply__banner{grid-template-columns:1fr; gap:3rem; padding-top:4rem; padding-bottom:4.4rem}
  .ba-apply__media{max-width:none; aspect-ratio:16/10; border-radius:var(--r-lg) var(--r-lg) 12rem 12rem}
  .ba-apply__rule-grid{grid-template-columns:1fr; gap:2.4rem}
  .ba-apply__steps{grid-template-columns:1fr 1fr}
}
@media (max-width:767.98px){
  .ba-apply{--ba-pad:1.8rem}
  .ba-apply__rule-box{padding:2.6rem 2.2rem 3rem}
  .ba-apply__apply{padding-top:4rem; padding-bottom:5.2rem}
  .ba-apply .ba-form__row{grid-template-columns:1fr}
}
@media (max-width:559.98px){
  .ba-apply__steps{grid-template-columns:1fr}
  .ba-apply__media{border-radius:var(--r-lg) var(--r-lg) 9rem 9rem}
}
@media (max-width:991.98px){
  .ba-apply__prep-grid{grid-template-columns:1fr}
}
@media (max-width:559.98px){
  .ba-apply__prep-box{padding:2rem 1.8rem 2.2rem}
  .ba-apply__cta .btn--primary,.ba-apply__cta .btn--line{flex:1 1 100%; justify-content:center}
}
@media (prefers-reduced-motion:reduce){
  .ba-apply .btn{transition:none}
  .ba-apply .btn:hover{transform:none}
}
@media (forced-colors:active){
  .ba-apply__step-n{border:.2rem solid CanvasText}
  .ba-apply__rule-box,.ba-apply__step{border:.2rem solid CanvasText}
}
