/* Brookfield careers form styles. Fonts (Anton, Montserrat) are enqueued from inc/career-form.php.
   Design: full-bleed campus photo, dark brand scrim, big editorial headline on the left, frosted dark-glass form panel on the right.
   Everything is scoped to #bfcar.

   CHANGE THE PHOTO: edit the url() in --bfc-photo below, or set it on the section in the HTML:
       <section id="bfcar" style="--bfc-photo:url('https://.../other.jpg')">
   CHANGE THE FOCAL POINT: edit "50% 42%" in .bfc-photo (x y). CHANGE HOW DARK IT IS: edit the alpha values in .bfc-scrim.

   Layout rules that stop anything being cut off:
   - every grid / flex child has min-width:0, so long content can never push the panel wider than the screen
   - the nav row wraps
   - .bfc-main scrolls sideways as a safety net if some unusual content is still wider than the panel */
#bfcar{--bfc-photo:url("https://brookfieldschool.in/wp-content/uploads/2026/10/DJI_0774-2-scaled.png");--bfc-ink:#fff;--bfc-mute:rgba(255,255,255,.74);--bfc-dim:rgba(255,255,255,.52);--bfc-line:rgba(255,255,255,.22);--bfc-fill:rgba(255,255,255,.07);--bfc-green:#a6c93a;--bfc-lime:#c9e26f;--bfc-deep:#0b1730;--bfc-blue:#295086;--bfc-err:#ffa57d;--bfc-e:cubic-bezier(.16,1,.3,1);--bfc-px:clamp(1.2rem,3.2vw,2.6rem);position:relative;width:100%;max-width:100%;padding:11vh 5vw;color:var(--bfc-ink);font-family:"Montserrat",sans-serif;line-height:1.4;text-align:left;overflow-x:clip;isolation:isolate;box-sizing:border-box;background:#0b1730;color-scheme:dark;-webkit-text-size-adjust:100%;text-size-adjust:100%}
#bfcar *,#bfcar *::before,#bfcar *::after{box-sizing:border-box}
#bfcar [hidden]{display:none!important}
#bfcar p,#bfcar h2,#bfcar h3,#bfcar ul,#bfcar ol,#bfcar li,#bfcar fieldset,#bfcar legend{margin:0;padding:0}
#bfcar ul,#bfcar ol{list-style:none}
#bfcar svg{flex:0 0 auto}
#bfcar fieldset{border:0;min-width:0;width:100%}
#bfcar legend{float:none;width:100%;display:block}

/* ============ full-bleed photo background ============ */
#bfcar .bfc-bg{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none;background:#0b1730}
#bfcar .bfc-photo{position:absolute;inset:-5%;background-color:#0b1730;background-image:var(--bfc-photo);background-position:50% 42%;background-size:cover;background-repeat:no-repeat;filter:saturate(1.12) contrast(1.06);opacity:0;animation:bfcPhotoIn 1.6s ease .1s forwards,bfcKen 36s ease-in-out 1.7s infinite alternate}
@keyframes bfcPhotoIn{to{opacity:1}}
@keyframes bfcKen{from{transform:scale(1.02) translate3d(0,0,0)}to{transform:scale(1.13) translate3d(-1.8%,-1.2%,0)}}
/* dark brand scrim: strongest on the left behind the headline, lighter on the right so the photo still shows through the glass */
#bfcar .bfc-scrim{position:absolute;inset:0;background:linear-gradient(96deg,rgba(6,13,28,.93) 0%,rgba(8,18,38,.82) 32%,rgba(10,22,46,.5) 68%,rgba(10,22,46,.6) 100%),linear-gradient(0deg,rgba(6,13,28,.78) 0%,rgba(6,13,28,0) 38%),linear-gradient(180deg,rgba(6,13,28,.55) 0%,rgba(6,13,28,0) 22%)}
/* brand light leaks */
#bfcar .bfc-glow{position:absolute;display:block;border-radius:50%;filter:blur(70px);mix-blend-mode:screen;animation:bfcGlow var(--t,22s) ease-in-out infinite alternate}
#bfcar .bfc-g1{right:-8vw;top:-14vw;width:46vw;height:46vw;background:radial-gradient(circle,rgba(166,201,58,.42),transparent 66%);--t:20s}
#bfcar .bfc-g2{left:-12vw;bottom:-16vw;width:50vw;height:50vw;background:radial-gradient(circle,rgba(47,93,163,.5),transparent 66%);--t:26s;animation-delay:-9s}
@keyframes bfcGlow{from{transform:translate3d(0,0,0) scale(1)}to{transform:translate3d(4vw,3vw,0) scale(1.15)}}
#bfcar .bfc-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px);background-size:56px 56px;-webkit-mask-image:radial-gradient(ellipse 70% 80% at 18% 30%,#000 5%,transparent 75%);mask-image:radial-gradient(ellipse 70% 80% at 18% 30%,#000 5%,transparent 75%)}
#bfcar .bfc-grain{position:absolute;inset:0;opacity:.12;mix-blend-mode:overlay;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>")}

/* ============ layout: headline left, glass panel right ============ */
#bfcar .bfc-card{position:relative;z-index:1;max-width:1180px;margin:0 auto;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6.6fr);gap:clamp(2rem,5vw,5rem);align-items:stretch;transition:opacity 1s ease,transform 1s var(--bfc-e)}
#bfcar .bfc-card>*{min-width:0}
#bfcar.bfc-js .bfc-card{opacity:0;transform:translateY(40px)}
#bfcar .bfc-card.bfc-in{opacity:1;transform:none}

/* ============ left: editorial headline on the photo ============ */
#bfcar .bfc-side{position:relative;min-width:0}
#bfcar .bfc-side-in{height:100%;display:flex;flex-direction:column;justify-content:space-between;gap:2rem;padding:.4rem 0}
#bfcar .bfc-eyebrow{display:flex;align-items:center;gap:.9rem;margin-bottom:1.1rem;font-size:.72rem;font-weight:700;letter-spacing:.32rem;text-transform:uppercase;color:var(--bfc-lime)}
#bfcar .bfc-eyebrow::before{content:"";flex:0 0 auto;width:42px;height:2px;border-radius:2px;background:linear-gradient(90deg,var(--bfc-green),transparent)}
#bfcar .bfc-h2{font-family:"Anton","Impact","Arial Narrow",sans-serif;font-weight:400;font-size:clamp(3.6rem,8.2vw,7.6rem);line-height:.9;letter-spacing:.02em;text-transform:uppercase;color:#fff;text-shadow:0 4px 40px rgba(6,13,28,.6)}
#bfcar .bfc-mask{display:block;overflow:hidden;padding:.02em .04em .08em 0}
#bfcar .bfc-mi{display:block;transition:transform 1.1s var(--bfc-e) var(--d,0s)}
#bfcar.bfc-js .bfc-mi{transform:translateY(110%)}
#bfcar .bfc-in .bfc-mi{transform:none}
#bfcar .bfc-o{color:var(--bfc-lime);text-shadow:none}
#bfcar .bfc-g{color:var(--bfc-green);text-shadow:none}
@supports ((-webkit-text-stroke:1px #000) or (text-stroke:1px #000)){
  #bfcar .bfc-o{color:transparent;-webkit-text-stroke:2px var(--bfc-lime)}
}
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  #bfcar .bfc-g{color:transparent;background-image:linear-gradient(95deg,#d4eb7e 0%,var(--bfc-green) 55%,#7fa022 100%);-webkit-background-clip:text;background-clip:text}
}
#bfcar .bfc-contact{display:flex;flex-direction:column;gap:.65rem}
#bfcar .bfc-contact a,#bfcar .bfc-contact div{display:flex;align-items:center;gap:.9rem;color:#fff;text-decoration:none;font-size:.86rem;font-weight:500;line-height:1.4;min-width:0}
#bfcar .bfc-contact span{min-width:0;overflow-wrap:anywhere}
#bfcar .bfc-contact a:hover{color:#fff}
#bfcar .bfc-contact a:hover b{background:var(--bfc-green);border-color:var(--bfc-green);color:var(--bfc-deep)}
#bfcar .bfc-contact b{display:flex;align-items:center;justify-content:center;flex:0 0 auto;width:38px;height:38px;border-radius:50%;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.08);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:background .3s ease,color .3s ease,border-color .3s ease}
#bfcar .bfc-contact svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* ============ right: frosted dark-glass form panel ============ */
/* overflow-x:auto = safety net: if anything is ever wider than the panel the form scrolls sideways instead of being cut off */
#bfcar .bfc-main{position:relative;align-self:center;min-width:0;padding:2.3rem var(--bfc-px) 2.4rem;border:1px solid rgba(255,255,255,.18);border-radius:32px;background:linear-gradient(155deg,rgba(255,255,255,.13) 0%,rgba(255,255,255,.04) 42%),rgba(9,19,40,.62);-webkit-backdrop-filter:blur(28px) saturate(1.5);backdrop-filter:blur(28px) saturate(1.5);box-shadow:0 50px 100px -40px rgba(0,0,0,.8),0 0 0 1px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.28),inset 0 0 60px rgba(166,201,58,.04);overflow-x:auto;overflow-y:visible;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.3) transparent}
@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){#bfcar .bfc-main{background:rgba(11,23,48,.94)}}
#bfcar .bfc-main::-webkit-scrollbar{height:6px}
#bfcar .bfc-main::-webkit-scrollbar-thumb{border-radius:6px;background:rgba(255,255,255,.3)}

/* segmented progress: each bar fills as that step's required fields become valid (JS sets --bfc-p) */
#bfcar .bfc-prog{margin-bottom:1.7rem}
#bfcar ol.bfc-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem}
#bfcar .bfc-s{min-width:0}
#bfcar .bfc-sb,#bfcar .bfc-sb:hover,#bfcar .bfc-sb:focus{display:block;width:100%;height:auto;margin:0;padding:.35rem 0;border:0;border-radius:0;background:none;box-shadow:none;color:inherit;font-family:inherit;line-height:1;text-align:left;text-transform:none;letter-spacing:normal;cursor:pointer;-webkit-tap-highlight-color:transparent}
#bfcar .bfc-sb:focus-visible{outline:2px solid var(--bfc-green);outline-offset:4px;border-radius:8px}
#bfcar .bfc-bar{display:block;height:5px;border-radius:5px;background:rgba(255,255,255,.16);overflow:hidden}
#bfcar .bfc-bar i{display:block;height:100%;border-radius:5px;background:linear-gradient(90deg,#d4eb7e,var(--bfc-green));box-shadow:0 0 14px rgba(166,201,58,.7);transform:scaleX(var(--bfc-p,0));transform-origin:left;transition:transform .6s var(--bfc-e)}
#bfcar .bfc-sl{display:flex;align-items:center;gap:.5rem;margin-top:.6rem;font-size:.64rem;font-weight:700;letter-spacing:.14rem;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--bfc-dim);transition:color .3s ease}
#bfcar .bfc-sl b{font-weight:700;color:inherit;font-variant-numeric:tabular-nums}
#bfcar .bfc-cur .bfc-sl{color:#fff}
#bfcar .bfc-cur .bfc-bar{background:rgba(255,255,255,.26)}
#bfcar .bfc-do .bfc-sl{color:var(--bfc-lime)}
#bfcar .bfc-do .bfc-bar i{transform:scaleX(1)}
#bfcar .bfc-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* steps (vertical fade only, so nothing ever pokes out sideways) */
#bfcar .bfc-step{display:none;min-width:0}
#bfcar .bfc-step.bfc-on{display:block;animation:bfcStep .5s var(--bfc-e) both}
#bfcar .bfc-step.bfc-back.bfc-on{animation-name:bfcStepB}
@keyframes bfcStep{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes bfcStepB{from{opacity:0;transform:translateY(-14px)}to{opacity:1;transform:none}}
#bfcar .bfc-q{font-family:"Anton","Impact","Arial Narrow",sans-serif;font-weight:400;font-size:clamp(1.7rem,2.7vw,2.4rem);line-height:1.04;letter-spacing:.04em;text-transform:uppercase;color:#fff}
#bfcar .bfc-q span{color:var(--bfc-lime)}
#bfcar .bfc-hint{margin:.55rem 0 1.3rem;font-size:.86rem;font-weight:400;line-height:1.6;color:var(--bfc-mute)}

/* fields: translucent rounded boxes, label floats up when filled */
#bfcar .bfc-f{position:relative;margin:0 0 .8rem;min-width:0}
#bfcar .bfc-fw{position:relative;display:block}
#bfcar .bfc-f input,#bfcar .bfc-f textarea{display:block;width:100%;max-width:none;height:auto;min-height:0;margin:0;padding:1.45rem 2.7rem .5rem 1rem;border:1.5px solid var(--bfc-line);border-radius:16px;background:var(--bfc-fill);background-image:none;box-shadow:none;text-shadow:none;color:#fff;caret-color:var(--bfc-lime);font-family:"Montserrat",sans-serif;font-size:1rem;font-weight:600;line-height:1.35;letter-spacing:normal;text-transform:none;outline:none;-webkit-appearance:none;appearance:none;transition:border-color .25s ease,box-shadow .25s ease,background .25s ease}
#bfcar .bfc-f input:hover,#bfcar .bfc-f textarea:hover{background:rgba(255,255,255,.1);color:#fff;border-color:rgba(255,255,255,.4);box-shadow:none}
#bfcar .bfc-f input:focus,#bfcar .bfc-f textarea:focus{background:rgba(255,255,255,.12);color:#fff;border-color:var(--bfc-green);box-shadow:0 0 0 4px rgba(166,201,58,.22),0 12px 30px -16px rgba(166,201,58,.6);outline:none}
#bfcar .bfc-f input:-webkit-autofill,#bfcar .bfc-f textarea:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #17294d inset;-webkit-text-fill-color:#fff;caret-color:#fff;border-color:var(--bfc-line)}
#bfcar .bfc-f textarea{min-height:104px;padding:1.6rem 1rem 1.6rem;resize:vertical}
#bfcar .bfc-f label{position:absolute;left:1rem;top:1rem;display:block;max-width:calc(100% - 3.5rem);margin:0;padding:0;font-size:1rem;font-weight:500;line-height:1.4;letter-spacing:normal;text-transform:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:rgba(255,255,255,.62);pointer-events:none;transform-origin:left top;transition:transform .3s var(--bfc-e),color .25s ease,letter-spacing .3s ease}
#bfcar .bfc-f input:focus+label,#bfcar .bfc-f input:not(:placeholder-shown)+label,#bfcar .bfc-f input:-webkit-autofill+label,#bfcar .bfc-f textarea:focus+label,#bfcar .bfc-f textarea:not(:placeholder-shown)+label,#bfcar .bfc-pn label{transform:translateY(-.78rem) scale(.7);letter-spacing:.12rem;text-transform:uppercase;color:var(--bfc-lime)}
/* a floated label is scaled to 70%, so it may be wider before scaling and still fit the field */
#bfcar .bfc-f input:focus+label,#bfcar .bfc-f input:not(:placeholder-shown)+label,#bfcar .bfc-f input:-webkit-autofill+label,#bfcar .bfc-f textarea:focus+label,#bfcar .bfc-f textarea:not(:placeholder-shown)+label,#bfcar .bfc-pn label{max-width:calc((100% - 1.6rem) / .7)}
#bfcar .bfc-f input::placeholder,#bfcar .bfc-f textarea::placeholder{color:transparent;opacity:0}
#bfcar .bfc-ok{position:absolute;right:.9rem;top:1.05rem;display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:var(--bfc-green);box-shadow:0 0 14px rgba(166,201,58,.6);opacity:0;transform:scale(.4);transition:opacity .3s ease,transform .45s var(--bfc-e);pointer-events:none}
#bfcar .bfc-ok svg{width:13px;height:13px;fill:none;stroke:var(--bfc-deep);stroke-width:3.4;stroke-linecap:round;stroke-linejoin:round}
#bfcar .bfc-f.bfc-valid .bfc-ok{opacity:1;transform:none}
#bfcar .bfc-pre{position:absolute;left:1rem;bottom:.5rem;z-index:1;font-size:1rem;font-weight:600;line-height:1.35;color:#fff;pointer-events:none}
#bfcar .bfc-pn input{padding-left:3.5rem}
#bfcar .bfc-cnt{position:absolute;right:.9rem;bottom:.5rem;font-size:.66rem;font-weight:600;letter-spacing:.04rem;color:var(--bfc-dim);pointer-events:none}
#bfcar .bfc-f.bfc-bad input,#bfcar .bfc-f.bfc-bad textarea{border-color:var(--bfc-err);background:rgba(255,165,125,.09)}
#bfcar .bfc-err{max-height:0;margin:0;overflow:hidden;font-size:.76rem;font-weight:600;line-height:1.3;color:var(--bfc-err);opacity:0;transform:translateY(-4px);transition:opacity .3s ease,transform .3s ease,max-height .3s ease,margin .3s ease}
#bfcar .bfc-err.bfc-show{max-height:3.2em;margin:.35rem 0 .1rem;opacity:1;transform:none}

/* chips (campus, position, qualification, experience) */
#bfcar .bfc-grp{margin:0 0 1.05rem;min-width:0}
#bfcar .bfc-legend{display:block;margin:0 0 .6rem;font-size:.68rem;font-weight:700;letter-spacing:.22rem;text-transform:uppercase;line-height:1.4;color:var(--bfc-mute)}
#bfcar .bfc-sub{margin:.2rem 0 .45rem;font-size:.62rem;font-weight:700;letter-spacing:.16rem;text-transform:uppercase;color:var(--bfc-lime)}
#bfcar .bfc-sub:not(:first-of-type){margin-top:.75rem}
#bfcar .bfc-chips{display:flex;flex-wrap:wrap;gap:.45rem}
#bfcar .bfc-chip{position:relative;display:block;max-width:100%;margin:0;padding:0;line-height:1}
#bfcar .bfc-chip input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
#bfcar .bfc-chip span{display:block;padding:.55rem .9rem;border:1.5px solid var(--bfc-line);border-radius:100px;background:var(--bfc-fill);color:#fff;font-size:.78rem;font-weight:600;line-height:1.3;letter-spacing:.02rem;white-space:nowrap;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transition:background .3s ease,border-color .3s ease,color .3s ease,transform .45s var(--bfc-e),box-shadow .4s ease}
#bfcar .bfc-chip:hover span{border-color:var(--bfc-green);background:rgba(166,201,58,.13)}
#bfcar .bfc-chip input:checked+span{background:linear-gradient(135deg,#d4eb7e,var(--bfc-green));border-color:transparent;color:var(--bfc-deep);transform:translateY(-2px);box-shadow:0 14px 26px -12px rgba(166,201,58,.85)}
#bfcar .bfc-chip input:focus-visible+span{outline:2px solid #fff;outline-offset:2px}
#bfcar .bfc-grp.bfc-bad .bfc-chip span{border-color:rgba(255,165,125,.6)}

/* resume dropzone */
#bfcar .bfc-up{position:relative;margin:0 0 .9rem;min-width:0}
#bfcar .bfc-drop{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.35rem;min-height:164px;margin:0;padding:1.5rem 1rem;border:2px dashed rgba(255,255,255,.34);border-radius:20px;background:rgba(255,255,255,.05);text-align:center;cursor:pointer;transition:border-color .3s ease,background .3s ease,transform .45s var(--bfc-e),box-shadow .4s ease}
#bfcar .bfc-drop input{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;border:0;opacity:0;cursor:pointer}
#bfcar .bfc-drop:hover,#bfcar .bfc-drop.bfc-over{border-color:var(--bfc-green);background:rgba(166,201,58,.11)}
#bfcar .bfc-drop.bfc-over{transform:scale(1.015);box-shadow:0 22px 40px -22px rgba(166,201,58,.7)}
#bfcar .bfc-drop:focus-within{outline:2px solid var(--bfc-green);outline-offset:3px}
#bfcar .bfc-ui{position:relative;display:flex;align-items:center;justify-content:center;width:56px;height:56px;margin-bottom:.3rem;border-radius:50%;background:rgba(166,201,58,.2);color:var(--bfc-lime);animation:bfcBob 3s ease-in-out infinite}
#bfcar .bfc-ui::after{content:"";position:absolute;inset:0;border-radius:50%;border:1.5px solid rgba(166,201,58,.55);animation:bfcRing 2.6s ease-out infinite}
#bfcar .bfc-ui svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
@keyframes bfcBob{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@keyframes bfcRing{from{transform:scale(1);opacity:.9}to{transform:scale(1.7);opacity:0}}
#bfcar .bfc-drop strong{font-size:.95rem;font-weight:600;line-height:1.4;color:#fff}
#bfcar .bfc-drop u{color:var(--bfc-lime);text-underline-offset:3px}
#bfcar .bfc-drop small{font-size:.74rem;font-weight:500;line-height:1.4;color:var(--bfc-dim)}
#bfcar .bfc-up.bfc-bad .bfc-drop{border-color:var(--bfc-err);background:rgba(255,165,125,.08)}
#bfcar .bfc-file{display:flex;align-items:center;gap:.85rem;min-width:0;padding:.9rem 1rem;border:1.5px solid rgba(166,201,58,.7);border-radius:18px;background:linear-gradient(135deg,rgba(166,201,58,.24),rgba(255,255,255,.05) 80%);box-shadow:0 18px 34px -22px rgba(166,201,58,.8);animation:bfcStep .5s var(--bfc-e) both}
#bfcar .bfc-fi{display:flex;align-items:center;justify-content:center;flex:0 0 auto;width:42px;height:42px;border-radius:50%;background:var(--bfc-green);color:var(--bfc-deep)}
#bfcar .bfc-fi svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#bfcar .bfc-fn{display:block;flex:1 1 auto;min-width:0}
#bfcar .bfc-fn b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.88rem;font-weight:700;line-height:1.3;color:#fff}
#bfcar .bfc-fn small{display:block;margin-top:.15rem;font-size:.72rem;font-weight:600;line-height:1.3;color:var(--bfc-lime)}
#bfcar .bfc-rm,#bfcar .bfc-rm:hover,#bfcar .bfc-rm:focus{display:flex;align-items:center;justify-content:center;flex:0 0 auto;width:34px;height:34px;margin:0;padding:0;border:1.5px solid rgba(255,255,255,.34);border-radius:50%;background:rgba(255,255,255,.1);box-shadow:none;color:#fff;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background .3s ease,color .3s ease,border-color .3s ease}
#bfcar .bfc-rm:hover,#bfcar .bfc-rm:focus-visible{background:var(--bfc-err);border-color:var(--bfc-err);color:var(--bfc-deep);outline:none}
#bfcar .bfc-rm svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round}

#bfcar .bfc-consent{display:flex;align-items:flex-start;gap:.75rem;margin:.5rem 0 .1rem;font-size:.8rem;font-weight:500;line-height:1.5;color:var(--bfc-mute);cursor:pointer}
#bfcar .bfc-consent span{min-width:0}
#bfcar .bfc-consent input{flex:0 0 auto;width:20px;height:20px;margin:2px 0 0;accent-color:var(--bfc-green);cursor:pointer}
#bfcar .bfc-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* nav: Back + main button on one row (wraps if it ever must) */
#bfcar .bfc-nav{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem 1rem;margin-top:1.2rem}
#bfcar .bfc-bk,#bfcar .bfc-bk:hover,#bfcar .bfc-bk:focus{flex:0 0 auto;padding:.9rem .3rem;border:0;border-radius:0;background:none;box-shadow:none;color:var(--bfc-mute);font-family:"Montserrat",sans-serif;font-size:.72rem;font-weight:700;letter-spacing:.2rem;text-transform:uppercase;white-space:nowrap;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:transform .3s ease,color .3s ease}
#bfcar .bfc-bk:hover,#bfcar .bfc-bk:focus{color:#fff;transform:translateX(-4px)}
#bfcar .bfc-bk[hidden]{display:none}
#bfcar .bfc-nx{position:relative;overflow:hidden;margin-left:auto;flex:0 1 auto;min-width:0;max-width:100%;display:inline-flex;align-items:center;justify-content:center;gap:.8rem;min-height:52px;padding:.85rem 1.7rem;border:0;border-radius:100px;background:linear-gradient(135deg,#d4eb7e,var(--bfc-green));box-shadow:0 18px 34px -14px rgba(166,201,58,.85),inset 0 1px 0 rgba(255,255,255,.55);color:var(--bfc-deep);font-family:"Montserrat",sans-serif;font-size:.76rem;font-weight:700;letter-spacing:.18rem;text-transform:uppercase;line-height:1.2;white-space:nowrap;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background .35s ease,color .35s ease,transform .35s ease,box-shadow .35s ease}
#bfcar .bfc-nx::before{content:"";position:absolute;top:0;bottom:0;left:-60%;width:40%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.55),transparent);transform:skewX(-20deg);transition:left .7s var(--bfc-e)}
#bfcar .bfc-nx:hover::before,#bfcar .bfc-nx:focus-visible::before{left:130%}
#bfcar .bfc-nx:hover,#bfcar .bfc-nx:focus-visible{background:#fff;color:var(--bfc-deep);transform:translateY(-2px);box-shadow:0 22px 38px -14px rgba(255,255,255,.4);outline:none}
#bfcar .bfc-nx.bfc-busy{pointer-events:none;opacity:.9}
#bfcar .bfc-nx.bfc-busy::after{content:"";flex:0 0 auto;width:16px;height:16px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:bfcSpin .7s linear infinite}
@keyframes bfcSpin{to{transform:rotate(360deg)}}
#bfcar .bfc-stat{margin:.6rem 0 0;font-size:.82rem;font-weight:600;line-height:1.4;color:var(--bfc-err)}
#bfcar .bfc-stat:empty{display:none}

/* ============ success ============ */
#bfcar .bfc-done{text-align:center;padding:1.5rem 0 .5rem}
#bfcar .bfc-tick{display:flex;align-items:center;justify-content:center;width:92px;height:92px;margin:0 auto 1.5rem;border-radius:50%;background:linear-gradient(135deg,#d4eb7e,var(--bfc-green));box-shadow:0 0 0 12px rgba(166,201,58,.2),0 0 60px rgba(166,201,58,.55);animation:bfcPop .7s var(--bfc-e) both}
#bfcar .bfc-tick svg{width:46px;height:46px;fill:none;stroke:var(--bfc-deep);stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:40;stroke-dashoffset:40;animation:bfcDraw .6s .45s ease forwards}
@keyframes bfcPop{from{transform:scale(.3);opacity:0}to{transform:none;opacity:1}}
@keyframes bfcDraw{to{stroke-dashoffset:0}}
#bfcar .bfc-done h3{font-family:"Anton","Impact","Arial Narrow",sans-serif;font-weight:400;font-size:clamp(1.9rem,3.4vw,2.8rem);letter-spacing:.04em;text-transform:uppercase;color:#fff;outline:none;overflow-wrap:anywhere}
#bfcar .bfc-done p{max-width:420px;margin:.8rem auto 0;font-size:.95rem;font-weight:400;line-height:1.7;color:var(--bfc-mute)}
#bfcar .bfc-sum{display:inline-flex;flex-direction:column;gap:.4rem;max-width:100%;margin:1.5rem auto 0;padding:1rem 1.4rem;border-radius:18px;background:rgba(255,255,255,.07);border:1px solid rgba(166,201,58,.5);font-size:.84rem;font-weight:600;color:#fff;text-align:left;overflow-wrap:anywhere}
#bfcar .bfc-sum span{color:var(--bfc-dim);font-weight:500}
#bfcar .bfc-again,#bfcar .bfc-again:hover,#bfcar .bfc-again:focus{margin-top:1.6rem;padding:.9rem 1.5rem;border:1px solid rgba(255,255,255,.5);border-radius:100px;background:transparent;box-shadow:none;color:#fff;font-family:"Montserrat",sans-serif;font-size:.72rem;font-weight:700;letter-spacing:.18rem;text-transform:uppercase;cursor:pointer;transition:background .3s ease,color .3s ease}
#bfcar .bfc-again:hover,#bfcar .bfc-again:focus-visible{background:#fff;color:var(--bfc-deep)}

/* ============ tablets and phones ============ */
@media (max-width:900px){
  #bfcar{padding:6vh 4vw}
  #bfcar .bfc-card{grid-template-columns:minmax(0,1fr);gap:1.6rem}
  /* on small screens the scrim is more even, so the text is readable over any part of the photo */
  #bfcar .bfc-scrim{background:linear-gradient(180deg,rgba(6,13,28,.8) 0%,rgba(8,18,38,.66) 45%,rgba(6,13,28,.84) 100%)}
  #bfcar .bfc-side-in{height:auto;gap:1.1rem;padding:.2rem .3rem 0}
  #bfcar .bfc-eyebrow{margin-bottom:.7rem;font-size:.66rem;letter-spacing:.26rem}
  #bfcar .bfc-h2{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 .28em;font-size:clamp(2.8rem,13vw,4.6rem)}
  #bfcar .bfc-contact{flex-direction:row;flex-wrap:wrap;gap:.5rem 1.2rem}
  #bfcar .bfc-contact a,#bfcar .bfc-contact div{gap:.6rem;font-size:.8rem}
  #bfcar .bfc-contact b{width:34px;height:34px}
  #bfcar .bfc-contact svg{width:15px;height:15px}
  #bfcar .bfc-main{padding:1.7rem 1.3rem 1.9rem;border-radius:28px}
}
@media (max-width:600px){
  #bfcar{padding:4vh 3vw}
  #bfcar .bfc-main{padding:1.5rem 1.1rem 1.7rem;border-radius:24px}
  #bfcar .bfc-f input,#bfcar .bfc-f textarea{font-size:16px} /* 16px stops iPhones zooming in when a field is tapped */
  #bfcar .bfc-nx{flex:1 1 auto;padding:.85rem 1.1rem;font-size:.72rem;letter-spacing:.12rem}
  #bfcar .bfc-bk{font-size:.68rem;letter-spacing:.12rem}
  #bfcar .bfc-s:not(.bfc-cur) .bfc-sl{color:transparent}
  #bfcar .bfc-s:not(.bfc-cur) .bfc-sl b{color:var(--bfc-dim)}
  #bfcar .bfc-s.bfc-do:not(.bfc-cur) .bfc-sl b{color:var(--bfc-lime)}
  #bfcar .bfc-sl{font-size:.62rem;letter-spacing:.1rem}
  #bfcar .bfc-chip span{padding:.5rem .8rem;font-size:.75rem;white-space:normal}
  #bfcar .bfc-drop{min-height:140px}
}
@media (max-width:340px){
  #bfcar .bfc-nx{letter-spacing:.08rem;padding:.8rem .8rem}
}
@media (prefers-reduced-motion:reduce){#bfcar *{animation:none!important;transition-duration:.01s!important;transition-delay:0s!important}#bfcar .bfc-photo{opacity:1}#bfcar .bfc-tick svg{stroke-dashoffset:0}#bfcar .bfc-mi{transform:none}}