/* ============================================================
   Yellowbrick homepage ("Website" section).
   Scoped under .yb-home so it is self-contained and safe to drop
   inside a themed page. Mirrors the landing/catalog design system.
   ============================================================ */
.yb-home{
  --yellow:#FFD200;--yellow-deep:#F5C400;--ink:#16140E;--ink-soft:#26221a;
  --paper:#fff;--bone:#FAF7F0;--cream:#FBF1CE;--muted:#5C574A;--line:#ECE8DD;
  --display:'Archivo',system-ui,sans-serif;--body:'Hanken Grotesk',system-ui,sans-serif;
  --shadow:0 18px 40px -18px rgba(22,20,14,.35);--shadow-sm:0 8px 22px -12px rgba(22,20,14,.3);
  --navh:72px;--promoh:0px;
  font-family:var(--body);color:var(--ink);background:var(--paper);line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
.yb-home.has-promo{--promoh:42px}
.yb-home *{margin:0;padding:0;box-sizing:border-box}
.yb-home img{display:block;max-width:100%}
.yb-home a{color:inherit;text-decoration:none}
.yb-home h1,.yb-home h2,.yb-home h3,.yb-home h4{font-family:var(--display);line-height:1.05;letter-spacing:-.015em;text-wrap:balance}
.yb-home p{text-wrap:pretty}
.yb-home .wrap{max-width:1240px;margin:0 auto;padding:0 36px}
.yb-home .kick{display:inline-flex;align-items:center;gap:10px;font-family:var(--display);font-weight:800;font-size:12.5px;letter-spacing:.18em;text-transform:uppercase;color:var(--muted)}
.yb-home .kick::before{content:"";width:26px;height:3px;background:var(--yellow);border-radius:2px}
.yb-home .kick.center{justify-content:center}
/* buttons — lighter weight; no move-up on hover (color change only) */
.yb-home .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-family:var(--display);font-weight:700;font-size:14.5px;letter-spacing:.02em;padding:13px 24px;border:2px solid transparent;border-radius:999px;cursor:pointer;transition:background .18s,color .18s,border-color .18s}
.yb-home .btn-yellow{background:var(--yellow);color:var(--ink)}
.yb-home .btn-yellow:hover{background:#fff;color:var(--ink)}
.yb-home .btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.5)}
.yb-home .btn-ghost:hover{background:var(--yellow);color:var(--ink);border-color:var(--yellow)}
.yb-home .btn-ink{background:var(--ink);color:#fff}
.yb-home .btn-ink:hover{background:#000;color:var(--yellow)}

/* promo */
.yb-home .promo{background:var(--yellow);color:var(--ink);text-align:center;font-weight:700;font-size:14px;padding:9px 16px}
.yb-home .promo b{font-weight:800}
.yb-home .promo p{margin:0}

/* nav (sticky, translucent blur — page shows through) */
.yb-home nav{position:sticky;top:0;z-index:60;background:rgba(0,0,0,.8);backdrop-filter:blur(20px) saturate(150%);-webkit-backdrop-filter:blur(20px) saturate(150%);border-bottom:1px solid rgba(255,255,255,.08)}
.yb-home nav .wrap{height:72px;display:flex;align-items:center;justify-content:space-between}
.yb-home .nav-logo{display:inline-flex;align-items:center}
.yb-home .nav-logo img{height:26px;width:auto;display:block}
.yb-home .nav-links{display:flex;align-items:center;gap:30px}
.yb-home .nav-links a.link{color:#eceae3;font-weight:600;font-size:15.5px;position:relative}
.yb-home .nav-links a.link::after,.yb-home .nav-cta .signin::after{content:"";position:absolute;left:0;right:100%;bottom:-6px;height:2px;background:var(--yellow);transition:right .25s}
.yb-home .nav-links a.link:hover::after,.yb-home .nav-cta .signin:hover::after{right:0}
.yb-home .nav-cta{display:flex;align-items:center;gap:16px}
.yb-home .nav-cta .signin{color:#fff;font-weight:600;font-size:15px;position:relative}
.yb-home .nav-cta .btn{padding:10px 20px;font-size:13.5px}

/* hero — fills the viewport below the promo; the translucent header overlaps its background */
/* MBUG-045: hero trimmed to ~2/3 of the viewport. The --navh/--promoh math (kept by fitHero in
   website.js) still applies, so the sizing stays correct at every breakpoint and under the promo bar.
   This intentionally gives up the old full-height framing where the logo wall landed exactly on the
   fold: the next section now peeks above it, which is what marketing asked for. */
.yb-home .hero{position:relative;background:var(--ink);color:#fff;overflow:hidden;margin-top:calc(-1 * var(--navh));height:calc((100svh - var(--promoh)) * .67);min-height:420px;display:flex;flex-direction:column}
.yb-home .hero .hbg{position:absolute;inset:0;z-index:0}
.yb-home .hero .hbg-slide{position:absolute;inset:0;background:#161018 center 30%/cover no-repeat;opacity:0;transition:opacity 1.2s ease;transform:scale(1.04)}
.yb-home .hero .hbg-slide.active{opacity:1}
.yb-home .hero .scrim{position:absolute;inset:0;z-index:1;background:linear-gradient(105deg,rgba(12,9,14,.95) 0%,rgba(12,9,14,.78) 46%,rgba(12,9,14,.42) 100%)}
.yb-home .hero .scrim2{position:absolute;inset:0;z-index:1;background:linear-gradient(0deg,rgba(12,9,14,.85),transparent 42%)}
.yb-home .hero-main{position:relative;z-index:2;flex:1 1 auto;display:flex;align-items:center;width:100%;min-height:0}
.yb-home .hero-main .wrap{width:100%;padding-top:calc(var(--navh) + 12px);padding-bottom:12px}
.yb-home .hero .inner{max-width:760px}
.yb-home .hdots{position:relative;z-index:2;display:flex;gap:9px;justify-content:center;padding:2px 0 14px}
.yb-home .hdots button{width:9px;height:9px;border-radius:50%;border:0;padding:0;background:rgba(255,255,255,.4);cursor:pointer;transition:background .2s,transform .2s}
.yb-home .hdots button.active{background:var(--yellow);transform:scale(1.25)}
.yb-home .hero-logos{position:relative;z-index:2;flex:0 0 auto;background:#000;padding:36px 0 30px}
.yb-home .hero-logos .lbl{text-align:center;font-family:var(--display);font-weight:800;font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:#b6b1a6;margin-bottom:21px}
.yb-home .pill{display:inline-flex;align-items:center;gap:8px;background:rgba(255,210,0,.14);color:var(--yellow);border:1px solid rgba(255,210,0,.4);font-family:var(--display);font-weight:800;font-size:11.5px;letter-spacing:.16em;text-transform:uppercase;padding:8px 15px;border-radius:999px}
/* MBUG-044: homepage hero eyebrow, now plain uppercase type UNDER the h1 instead of a pill above it.
   Deliberately identical to the landing pages' .hero-sub (shipped for MBUG-032) so both heroes read
   the same. The .pill rule above is kept: the class is still used elsewhere on the page. */
.yb-home .hero .hero-sub{margin-top:16px;color:#fff;font-family:var(--display);font-weight:600;font-size:14px;letter-spacing:.14em;text-transform:uppercase;opacity:.92}
.yb-home .hero h1{font-weight:900;font-size:clamp(19px,5.7vw,56px);margin:20px 0 0;letter-spacing:-.02em;line-height:1.04;text-transform:uppercase;white-space:nowrap}
.yb-home .hero h1 .hl{color:var(--yellow)}
.yb-home .hero .lede{font-size:clamp(16px,1.5vw,19px);line-height:1.55;color:#e3dfe8;max-width:none;margin:22px 0 0}
.yb-home .hero .lede p{margin:0 0 .6em}
.yb-home .hero .cta-row{display:flex;gap:14px;flex-wrap:wrap;margin-top:30px}

/* partners — full-viewport continuous logo marquee */
.yb-home .partners{background:var(--ink);color:#fff;border-top:1px solid rgba(255,255,255,.08);padding:36px 0 40px}
.yb-home .partners .lbl{text-align:center;font-family:var(--display);font-weight:800;font-size:11.5px;letter-spacing:.2em;text-transform:uppercase;color:#8f897e;margin-bottom:24px}
.yb-home .logo-marquee{position:relative;overflow:hidden;width:100%;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 10%,#000 90%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 10%,#000 90%,transparent 100%)}
/* gap as a uniform right-margin (not flex gap) so the duplicated track loops seamlessly at -50% */
/* duration is set by JS (marqueeInit) for a constant px/sec regardless of logo count; this is just a slow fallback */
.yb-home .logo-track{display:flex;align-items:center;gap:0;width:max-content;animation:cme-lscroll 90s linear infinite}
.yb-home .logo-track img{height:38px;width:auto;max-width:200px;margin-right:64px;object-fit:contain;filter:brightness(0) invert(1);opacity:.72;flex:0 0 auto}
.yb-home .hero-logos:hover .logo-track{animation-play-state:paused}
@keyframes cme-lscroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* promo slider — auto-advancing background banners above the partners section */
.yb-home .pslider{position:relative;width:100%;height:clamp(300px,42vw,520px);overflow:hidden;background:var(--ink)}
.yb-home .pslide{position:absolute;inset:0;opacity:0;transition:opacity .9s ease;background:#161018 center/cover no-repeat;display:flex;align-items:flex-end}
.yb-home .pslide.active{opacity:1}
.yb-home .pslide::before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(8,6,10,.85) 2%,rgba(8,6,10,.25) 45%,transparent 80%)}
.yb-home .pslide .scap{position:relative;z-index:2;max-width:1240px;margin:0 auto;width:100%;padding:0 36px 46px;color:#fff}
.yb-home .pslide .scap .eyebrow{font-family:var(--display);font-weight:800;font-size:11.5px;letter-spacing:.18em;text-transform:uppercase;color:var(--yellow)}
.yb-home .pslide .scap h3{font-family:var(--display);font-weight:900;font-size:clamp(24px,3.2vw,40px);text-transform:uppercase;letter-spacing:-.02em;margin:8px 0 14px;max-width:680px}
.yb-home .pslider .dots{position:absolute;left:0;right:0;bottom:18px;z-index:3;display:flex;gap:9px;justify-content:center}
.yb-home .pslider .dots button{width:9px;height:9px;border-radius:50%;border:0;background:rgba(255,255,255,.4);cursor:pointer;padding:0;transition:background .2s,transform .2s}
.yb-home .pslider .dots button.active{background:var(--yellow);transform:scale(1.25)}

/* exit-intent popup (ported from the landing pages) */
.yb-home-exit{position:fixed;inset:0;z-index:200;background:rgba(12,9,14,.86);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:24px;opacity:0;visibility:hidden;transition:opacity .25s}
.yb-home-exit.show{opacity:1;visibility:visible}
.yb-home-exit .exit-modal{position:relative;background:var(--ink,#16140E);border:2px solid var(--yellow,#FFD200);border-radius:20px;width:100%;max-width:540px;padding:38px 34px 32px;color:#fff;text-align:center;font-family:'Hanken Grotesk',system-ui,sans-serif;box-shadow:0 40px 90px -30px rgba(0,0,0,.8)}
.yb-home-exit .exit-x{position:absolute;top:14px;right:16px;background:none;border:0;color:#cfcabf;font-size:26px;line-height:1;cursor:pointer}
.yb-home-exit .kick{display:inline-flex;align-items:center;gap:10px;font-family:'Archivo',sans-serif;font-weight:800;font-size:11.5px;letter-spacing:.18em;text-transform:uppercase;color:#cfcabf}
.yb-home-exit .kick::before{content:"";width:22px;height:3px;background:var(--yellow,#FFD200);border-radius:2px}
.yb-home-exit h2{font-family:'Archivo',sans-serif;font-weight:900;text-transform:uppercase;font-size:30px;line-height:1.02;letter-spacing:-.01em;margin:12px 0 10px}
.yb-home-exit .emsg{color:#d9d4cb;font-size:15px;line-height:1.5;margin-bottom:20px}

/* gallery */
.yb-home .gallery{padding:60px 0 84px;background:var(--bone)}
.yb-home .g-head{text-align:center;margin:0 0 8px}
.yb-home .g-head .kick{margin-bottom:2px}
.yb-home .g-head h2{font-weight:900;font-size:clamp(28px,4vw,48px);margin-top:10px;text-transform:uppercase;letter-spacing:-.02em}
.yb-home .g-head p{color:var(--muted);font-size:17px;margin-top:12px}
/* filters — one row on desktop, wraps (all visible) on mobile */
.yb-home .filters{display:flex;flex-wrap:nowrap;justify-content:center;gap:8px;margin:32px auto 6px;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none;padding-bottom:4px}
.yb-home .filters::-webkit-scrollbar{display:none}
.yb-home .chip{flex:0 0 auto;white-space:nowrap;font-family:var(--display);font-weight:700;font-size:12.5px;letter-spacing:.01em;padding:8px 15px;border-radius:999px;border:1.5px solid #e0dacb;background:#fff;color:var(--ink);cursor:pointer;transition:all .16s}
.yb-home .chip:hover{border-color:var(--ink)}
.yb-home .chip.active{background:var(--ink);color:#fff;border-color:var(--ink)}
/* grid — flexbox so the final row centers (no orphaned cards) */
.yb-home .grid{display:flex;flex-wrap:wrap;gap:24px;justify-content:center;margin-top:26px}
.yb-home .card{flex:0 0 calc((100% - 48px)/3);max-width:calc((100% - 48px)/3);position:relative;display:block;border-radius:16px;overflow:hidden;aspect-ratio:3/3.55;box-shadow:var(--shadow-sm);background:#222;cursor:pointer}
/* hover = an outside yellow ring (no zoom, no card movement) */
.yb-home .card{transition:box-shadow .25s ease}
.yb-home .card .art{position:absolute;inset:0;background:linear-gradient(150deg,var(--c1,#2a2622) 0%,var(--c2,#121019) 78%);transition:transform .5s ease,filter .3s ease}
.yb-home .card .art.has-img{background-size:cover;background-position:center}
.yb-home .card .art:not(.has-img)::after{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.14) 1px,transparent 1.4px);background-size:15px 15px;opacity:.4}
.yb-home .card .scrim{position:absolute;inset:0;background:linear-gradient(0deg,rgba(8,6,10,.92) 4%,rgba(8,6,10,.4) 48%,rgba(8,6,10,.1) 100%);z-index:1;transition:background .25s ease}
/* hover = a "spotlight" highlight (not a dim): the image brightens + eases in, the scrim lifts so it
   shows more, a soft glare sweeps across the top, and the ring becomes a warm yellow glow. */
.yb-home .card:hover{box-shadow:0 0 0 2px var(--yellow),0 0 26px -2px rgba(255,210,0,.45),0 22px 46px -18px rgba(0,0,0,.5)}
.yb-home .card:hover .art{transform:scale(1.05);filter:brightness(1.13) saturate(1.05)}
.yb-home .card:hover .scrim{background:linear-gradient(0deg,rgba(8,6,10,.82) 2%,rgba(8,6,10,.26) 46%,rgba(8,6,10,0) 100%)}
.yb-home .card .glare{position:absolute;inset:0;z-index:1;pointer-events:none;opacity:0;transition:opacity .35s ease;background:radial-gradient(78% 56% at 50% 4%,rgba(255,255,255,.34),rgba(255,255,255,0) 62%),linear-gradient(122deg,rgba(255,255,255,0) 38%,rgba(255,255,255,.16) 50%,rgba(255,255,255,0) 62%)}
.yb-home .card:hover .glare{opacity:1}
/* title, rule, and logo centered within the card */
.yb-home .card .inner{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;text-align:center;padding:22px}
.yb-home .card .body{margin-top:auto;width:100%}
.yb-home .card h3{font-family:var(--display);font-weight:900;font-size:21px;line-height:1.04;text-transform:uppercase;color:#fff;letter-spacing:-.01em;text-wrap:balance}
.yb-home .card .rule{width:34px;height:3px;background:var(--yellow);border-radius:2px;margin:13px auto}
.yb-home .card .partner{display:flex;align-items:flex-end;justify-content:center;gap:14px}
/* school logo (−25% from the prior size) */
.yb-home .card .plogo{height:37px;width:auto;max-width:72%;object-fit:contain;object-position:center bottom;filter:brightness(0) invert(1);opacity:.97}
/* SVG theme logos render in their own colors (forcing them white flattens multi-color marks like the AnimationMentor icon into a solid block) */
.yb-home .card .plogo.is-svg{filter:none;opacity:1}
.yb-home .card .ptext{font-family:var(--display);font-weight:800;font-size:24px;letter-spacing:.02em;text-transform:uppercase;color:#fff}
.yb-home .card[hidden]{display:none}
.yb-home .empty{display:none;text-align:center;color:var(--muted);padding:60px 0;font-size:17px;width:100%}
/* show-more */
.yb-home .more-wrap{text-align:center;margin-top:34px}
.yb-home .more-btn{font-family:var(--display);font-weight:700;font-size:14px;letter-spacing:.02em;padding:13px 28px;border-radius:999px;border:2px solid var(--ink);background:transparent;color:var(--ink);cursor:pointer;transition:all .16s}
.yb-home .more-btn:hover{background:var(--ink);color:#fff}
.yb-home .more-wrap[hidden]{display:none}

/* why — boxless yellow icons, centered content */
.yb-home .why{background:var(--ink);color:#fff;padding:74px 0}
.yb-home .why .g-head h2{color:#fff}
.yb-home .why .g-head p{color:#b8b2a6}
.yb-home .why .kick{color:#cfcabf}
.yb-home .vgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:26px;margin-top:46px}
.yb-home .vc{background:var(--ink-soft);border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:34px 26px;text-align:center}
.yb-home .vc .ic{display:flex;justify-content:center;margin:0 auto 18px}
.yb-home .vc .ic svg{width:46px;height:46px;fill:var(--yellow)}
.yb-home .vc h3{font-family:var(--body);font-weight:700;font-size:19px;margin-bottom:10px}
.yb-home .vc p{color:#b8b2a6;font-size:14.5px}

/* cta — one-line tagline + open newsletter (landing style, no boxed container) */
.yb-home .cta{background:var(--yellow);color:var(--ink);padding:58px 0}
.yb-home .cta .wrap{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center}
.yb-home .cta h2{font-weight:900;font-size:clamp(22px,2.6vw,36px);text-transform:uppercase;letter-spacing:-.02em;white-space:nowrap}
.yb-home .cta p{font-size:17px;color:#3a3324;margin-top:12px;max-width:520px}
.yb-home .cta-news{justify-self:end;text-align:right;max-width:440px}
.yb-home .cta-news h3{font-family:var(--display);font-weight:800;font-size:18px;text-transform:uppercase;letter-spacing:.01em;margin-bottom:6px}
.yb-home .cta-news .sub{font-size:14px;color:#46402f;margin:0 0 14px;margin-left:auto;max-width:380px}
.yb-home .cta-news .nl,.yb-home .cta-news form{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.yb-home .cta-news input[type=email],.yb-home .cta-news input[type=text]{flex:1 1 220px;min-width:0;background:#fff;border:2px solid var(--ink);border-radius:999px;padding:13px 18px;font-family:var(--body);font-size:15px;color:var(--ink)}
.yb-home .cta-news button,.yb-home .cta-news .gform_button{background:var(--ink);color:#fff;font-family:var(--display);font-weight:700;font-size:14px;border:2px solid var(--ink);border-radius:999px;padding:13px 24px;cursor:pointer}
.yb-home .cta-news button:hover,.yb-home .cta-news .gform_button:hover{background:#000}
.yb-home .cta-news .gform_wrapper .gform_fields{display:flex;gap:10px;flex-wrap:wrap}
.yb-home .cta-news .gform_wrapper .gfield_label{display:none}

/* footer — ported from the landing-page footer */
.yb-home footer{background:var(--ink);color:#fff;padding:68px 0 32px}
.yb-home footer .fgrid{display:grid;grid-template-columns:1.4fr 1.15fr .85fr 1.5fr;gap:34px;padding-bottom:44px;border-bottom:1px solid rgba(255,255,255,.1)}
/* grid (not CSS multicol) so the two columns share rows that line up; column-major fill + a row count
   set inline per category count (grid-template-rows). align-items:start keeps single-line items top-aligned
   with a wrapping neighbour (e.g. Fashion & Beauty with "Animation, Gaming & VFX"). */
.yb-home footer .fcol-cats .cat2{display:grid;grid-template-columns:1fr 1fr;grid-auto-flow:column;align-items:start;column-gap:20px;max-width:300px}
.yb-home footer .fcol-cats .cat2 a{margin:10px 0}
.yb-home footer .fbrand img{height:30px;width:auto;margin-bottom:14px}
.yb-home footer .fbrand p{color:#b9b5ab;font-size:14.5px;max-width:280px}
.yb-home footer .fcol h4{font-family:var(--display);font-weight:700;font-size:13px;letter-spacing:.1em;text-transform:uppercase;color:#cfcabf;margin-bottom:16px}
.yb-home footer .fcol a{display:block;color:#b9b5ab;font-size:14.5px;margin:10px 0;transition:color .15s}
.yb-home footer .fcol a:hover{color:var(--yellow)}
.yb-home footer .fnews h4{font-family:var(--display);font-weight:700;font-size:13px;letter-spacing:.1em;text-transform:uppercase;color:#cfcabf;margin-bottom:8px}
.yb-home footer .fnews .fnews-sub{color:#b9b5ab;font-family:var(--body);font-size:14.5px;line-height:1.5;margin:8px 0 12px}
.yb-home footer .fnews input{width:90%;height:50px;border-radius:10px;border:1px solid #3a362b;background:#211e16;color:#fff;padding:0 16px;margin-bottom:12px;font-size:14.5px}
.yb-home footer .fnews button{width:90%;background:var(--yellow);color:var(--ink);border:0;border-radius:999px;font-family:var(--display);font-weight:700;font-size:15px;padding:12px 22px;cursor:pointer}
.yb-home footer .fnews button:hover{background:#fff}
.yb-home footer .fbot{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;padding-top:24px;font-size:13.5px;color:#9a958b}
.yb-home footer .fbot .legal a{color:#9a958b}
.yb-home footer .fbot .legal a:hover{color:var(--yellow)}
.yb-home footer .fbot .soc{display:flex;gap:14px}
.yb-home footer .fbot .soc a{display:inline-flex;width:34px;height:34px;border-radius:50%;border:1px solid rgba(255,255,255,.18);align-items:center;justify-content:center;color:#cfcabf}
.yb-home footer .fbot .soc a:hover{color:var(--ink);background:var(--yellow);border-color:var(--yellow)}
.yb-home footer .fbot .soc svg{width:16px;height:16px;fill:currentColor}

/* ---- tablet ---- */
@media(max-width:980px){
  .yb-home .card{flex:0 0 calc((100% - 24px)/2);max-width:calc((100% - 24px)/2)}
  .yb-home .vgrid{grid-template-columns:repeat(2,1fr)}
  .yb-home .nav-links{display:none}
  .yb-home .cta .wrap{grid-template-columns:1fr;gap:26px}
  .yb-home footer .fgrid{grid-template-columns:1fr 1fr;gap:30px}
  .yb-home footer .fbrand,.yb-home footer .fnews{grid-column:1 / -1}  /* brand + newsletter full width; cats | company share a row */
  .yb-home footer .fbrand p{max-width:none}
  .yb-home footer .fnews input,.yb-home footer .fnews button{width:100%}
}
/* ---- mobile ---- */
@media(max-width:600px){
  .yb-home .wrap{padding:0 18px}                 /* logo closer to the edge + tighter section margins */
  .yb-home.has-promo{--promoh:64px}             /* promo wraps to ~2 lines on mobile */
  .yb-home .hero{min-height:520px}
  .yb-home .hero-main .wrap{padding-top:12px;padding-bottom:8px}
  .yb-home .hero-logos{padding:4px 0 18px}
  .yb-home .hero-logos > .wrap{padding-left:0;padding-right:0}   /* logos edge-to-edge on mobile */
  .yb-home .hero-logos .lbl{padding:0 18px}                      /* keep the label off the edges */
  .yb-home .hero-logos .logo-marquee{-webkit-mask-image:none;mask-image:none}  /* no side fade on mobile */
  .yb-home .gallery{padding:42px 0 60px}
  .yb-home .why{padding:54px 0}
  .yb-home .cta{padding:46px 0}
  .yb-home .filters{flex-wrap:wrap;overflow-x:visible;padding-bottom:0}  /* all categories visible */
  .yb-home .card{flex:0 0 calc((100% - 14px)/2);max-width:calc((100% - 14px)/2)}  /* two columns */
  .yb-home .grid{gap:14px}
  .yb-home .card .inner{padding:15px}
  .yb-home .card h3{font-size:15px}
  .yb-home .card .plogo{height:22px;max-width:80%}
  .yb-home .card .ptext{font-size:16px}
  .yb-home .logo-track img{height:30px;margin-right:44px}     /* +25% was desktop-only */
  .yb-home .nav-cta .signin{display:none}
  /* Why features stack: icon left, heading beside it, description below both */
  .yb-home .vgrid{grid-template-columns:1fr;gap:14px}
  .yb-home .vc{display:grid;grid-template-columns:auto 1fr;gap:4px 14px;text-align:left;align-items:center;padding:20px 22px}
  .yb-home .vc .ic{margin:0;justify-content:flex-start}
  .yb-home .vc .ic svg{width:34px;height:34px}
  .yb-home .vc h3{margin:0}
  .yb-home .vc p{grid-column:1 / -1;margin-top:4px}
  .yb-home footer .fgrid{grid-template-columns:1fr 1fr;gap:24px 18px}  /* cats | company stay side by side; brand + newsletter span full */
  .yb-home footer .fbot{flex-direction:column;align-items:center;text-align:center}
}

/* ============================================================
   Site pages (About / Leadership / Partner With Us) — shared sections
   ============================================================ */
.yb-home .sp-hero{position:relative;overflow:hidden;background:var(--ink);color:#fff;min-height:clamp(360px,52vh,540px);display:flex;align-items:center;text-align:center}
.yb-home .sp-hero .bg{position:absolute;inset:0;background:#161018 center/cover no-repeat}
.yb-home .sp-hero .scrim{position:absolute;inset:0;background:linear-gradient(0deg,rgba(8,6,10,.9) 6%,rgba(8,6,10,.55) 60%,rgba(8,6,10,.45) 100%)}
.yb-home .sp-hero .wrap{position:relative;z-index:2;width:100%;padding:118px 36px 56px}
.yb-home .sp-hero h1{font-family:var(--display);font-weight:800;font-size:clamp(28px,4.2vw,50px);letter-spacing:-.015em;line-height:1.05;text-wrap:balance;max-width:880px;margin:0 auto;color:#fff}
.yb-home .sp-hero .lede{color:#d9d4cb;font-size:clamp(15px,1.4vw,18px);line-height:1.55;max-width:660px;margin:18px auto 0}
.yb-home .sp-hero .btn{margin-top:26px}
.yb-home .sp-hero .badges{display:flex;gap:14px;justify-content:center;margin-top:24px}

.yb-home .sp{background:var(--ink);color:#fff;padding:78px 0;scroll-margin-top:80px}
.yb-home .sp.alt{background:#100e0a}
.yb-home .sp-head{text-align:center;max-width:880px;margin:0 auto 48px}
.yb-home .sp-head .kick{margin-bottom:16px}
.yb-home .sp-head h2{font-family:var(--display);font-weight:800;font-size:clamp(26px,3.4vw,40px);letter-spacing:-.015em;text-wrap:balance}
.yb-home .sp-head p{color:#b8b2a6;font-size:16.5px;line-height:1.6;margin-top:14px;text-wrap:pretty}
/* dark sections: kick label in white (homepage uses muted on light bg). */
.yb-home .sp .sp-head .kick{color:#fff}
/* light sections (white bg, dark text) — "Our Partners" + "Leadership", matching the homepage. */
.yb-home .sp.light{background:#fff;color:var(--ink)}
.yb-home .sp.light .sp-head h2{color:var(--ink)}
.yb-home .sp.light .sp-head p{color:var(--muted)}
.yb-home .sp.light .sp-head .kick{color:var(--ink)}
.yb-home .sp.light .sp-team .m h3{color:var(--ink)}
.yb-home .sp.light .sp-team .m .role{color:#8a6f00}
.yb-home .sp.light .sp-team .m p{color:var(--muted)}

/* 4 brand showcase tiles */
.yb-home .sp-brands{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.yb-home .sp-brands a{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;border-radius:14px;overflow:hidden;background:#1c1912}
.yb-home .sp-brands .bg{position:absolute;inset:0;background:#222 center/cover no-repeat;opacity:.55;transition:opacity .25s,transform .4s}
.yb-home .sp-brands a:hover .bg{opacity:.7;transform:scale(1.05)}
.yb-home .sp-brands img{position:relative;z-index:2;max-width:62%;max-height:46px;width:auto;filter:brightness(0) invert(1)}
.yb-home .sp-brands .txt{position:relative;z-index:2;font-family:var(--display);font-weight:800;font-size:18px;color:#fff;text-transform:uppercase;letter-spacing:.02em}

/* 3 feature cards (image + title + body) */
.yb-home .sp-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.yb-home .sp-cards .c .img{aspect-ratio:16/10;border-radius:12px;overflow:hidden;background:#222 center/cover no-repeat;margin-bottom:18px}
.yb-home .sp-cards .c h3{font-family:var(--display);font-weight:800;font-size:20px;margin-bottom:10px}
.yb-home .sp-cards .c p{color:#b8b2a6;font-size:14.5px;line-height:1.6}
.yb-home .sp-cards.center{text-align:center}

/* team grid — 8 half-tracks so a card still spans a quarter, but a short row can start on a half-column
   (MBUG-048: Directors & Advisors is a 3-up in a 4-up grid, so it hung left with a hole on the right) */
.yb-home .sp-team{display:grid;grid-template-columns:repeat(8,1fr);gap:26px}
.yb-home .sp-team .m{grid-column:span 2}
.yb-home .sp-team .m:first-child:nth-last-child(3){grid-column:2 / span 2}
.yb-home .sp-team .m .ph{aspect-ratio:1/1;border-radius:12px;overflow:hidden;background:#2a2622 center/cover no-repeat;margin-bottom:16px;display:grid;place-items:center}
.yb-home .sp-team .m .ph span{font-family:var(--display);font-weight:900;font-size:34px;color:#5b554a}
.yb-home .sp-team .m h3{font-family:var(--display);font-weight:800;font-size:17px}
.yb-home .sp-team .m .role{color:var(--yellow);font-size:13px;font-weight:600;margin:3px 0 12px}
.yb-home .sp-team .m p{color:#a8a297;font-size:13px;line-height:1.55;margin-bottom:8px}

/* testimonials */
.yb-home .sp-quotes{max-width:760px;margin:0 auto;display:flex;flex-direction:column;gap:8px}
.yb-home .sp-quote{text-align:center;padding:34px 0;border-bottom:1px solid rgba(255,255,255,.1)}
.yb-home .sp-quote:last-child{border-bottom:0}
.yb-home .sp-quote .qlogo{height:30px;width:auto;margin:0 auto 18px;filter:brightness(0) invert(1);opacity:.9}
.yb-home .sp-quote .qlogo-txt{font-family:var(--display);font-weight:800;font-size:20px;color:#fff;margin-bottom:18px}
.yb-home .sp-quote blockquote{font-size:18px;line-height:1.55;color:#e8e3da;font-style:italic;max-width:640px;margin:0 auto}
.yb-home .sp-quote .who{display:flex;align-items:center;gap:12px;justify-content:center;margin-top:18px}
.yb-home .sp-quote .who img{width:48px;height:48px;border-radius:50%;object-fit:cover}
.yb-home .sp-quote .who .nm{font-weight:700;font-size:13.5px;color:#fff}

/* request-a-briefing form */
.yb-home .sp-form{max-width:560px;margin:0 auto}
.yb-home .sp-form .row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.yb-home .sp-form label{display:block;font-size:13.5px;color:#cfcabf;margin:14px 0 7px;font-weight:600}
.yb-home .sp-form input{width:100%;background:#211e16;border:1px solid #3a362b;border-radius:8px;padding:13px 14px;color:#fff;font-family:var(--body);font-size:15px}
.yb-home .sp-form .btn{width:100%;margin-top:22px}

/* dark CTA band with subtle glow */
.yb-home .sp-ctaband{background:radial-gradient(120% 140% at 50% 120%,rgba(255,210,0,.16),transparent 60%),var(--ink);color:#fff;text-align:center;padding:96px 0}
.yb-home .sp-ctaband h2{font-family:var(--display);font-weight:800;font-size:clamp(26px,3.4vw,42px);letter-spacing:-.015em;text-wrap:balance}
.yb-home .sp-ctaband p{color:#cfc9bd;font-size:16.5px;max-width:600px;margin:14px auto 0}
.yb-home .sp-ctaband .btn{margin-top:26px}

@media(max-width:980px){
  .yb-home .sp-brands{grid-template-columns:repeat(2,1fr)}
  .yb-home .sp-cards{grid-template-columns:1fr;gap:22px}
  /* 2-up: 4 half-tracks, and a short row goes back to flowing from the left (MBUG-048) */
  .yb-home .sp-team{grid-template-columns:repeat(4,1fr)}
  .yb-home .sp-team .m:first-child:nth-last-child(3){grid-column:span 2}
}
@media(max-width:600px){
  .yb-home .sp{padding:54px 0}
  .yb-home .sp-brands{grid-template-columns:1fr 1fr;gap:12px}
  .yb-home .sp-team{grid-template-columns:repeat(4,1fr);gap:18px}
  .yb-home .sp-form .row{grid-template-columns:1fr}
  .yb-home .sp-ctaband{padding:64px 0}
}

/* company-page hero: reuse the homepage full-viewport hero, but centered + Title Case */
/* company-page hero: left-aligned, exactly like the homepage hero (Title-case headline that wraps) */
.yb-home .hero-center .inner{max-width:760px;margin:0;text-align:left}
.yb-home .hero-center h1{font-weight:800;text-transform:none;font-size:clamp(28px,4.4vw,52px);line-height:1.06;letter-spacing:-.015em;white-space:normal}
.yb-home .hero-center .lede{color:#e7e2ea;font-size:clamp(15px,1.5vw,18.5px);max-width:600px;margin:20px 0 0}
.yb-home .hero-center .btn{display:inline-flex;margin-top:28px}

/* Partner CTA — yellow form band (shared by Partner With Us + About) */
.yb-home .sp-partner{background:var(--yellow);color:var(--ink);text-align:center;padding:84px 0;scroll-margin-top:88px}
.yb-home .sp-partner h2{font-family:var(--display);font-weight:900;font-size:clamp(26px,3.4vw,42px);text-transform:uppercase;letter-spacing:-.02em;text-wrap:balance}
.yb-home .sp-partner > .wrap > p{font-size:16.5px;color:#3a3324;margin:14px auto 24px;max-width:none}
.yb-home .sp-partner .pform{max-width:520px;margin:0 auto;text-align:left}
.yb-home .sp-partner .pform .row{display:flex;gap:12px;flex-wrap:wrap}
.yb-home .sp-partner .pform .row > div{flex:1 1 200px}
.yb-home .sp-partner label{display:block;font-size:13px;font-weight:700;color:#3a3324;margin:10px 0 6px}
.yb-home .sp-partner input{width:100%;background:#fff;border:2px solid var(--ink);border-radius:10px;padding:13px 16px;font-family:var(--body);font-size:15px;color:var(--ink)}
.yb-home .sp-partner .btn{background:var(--ink);color:#fff;border:0;width:100%;margin-top:20px;cursor:pointer}
.yb-home .sp-partner .btn:hover{background:#000;color:#fff}
.yb-home .sp-partner .gform_wrapper .gfield_label{color:#3a3324!important}
.yb-home .sp-partner .gform_wrapper input{background:#fff;border:2px solid var(--ink);border-radius:10px}
.yb-home .sp-partner .gform_wrapper .gform_button{background:var(--ink);color:#fff;border:0;border-radius:999px;padding:13px 24px;font-family:var(--display);font-weight:700;cursor:pointer}

/* ===== Catalog CTA band + sticky catalog bar (same pattern as the landing pages) ===== */
/* the yellow band becomes a centered catalog CTA */
.yb-home .cta.catalog .wrap{display:block;grid-template-columns:none;text-align:center;max-width:720px}
.yb-home .cta.catalog h2{white-space:normal;font-size:clamp(26px,3.4vw,42px)}
.yb-home .cta.catalog p{margin:14px auto 26px;max-width:560px;color:#6b5d18;font-weight:600;font-size:17.5px}
/* the catalog pill (static fallback + the embedded Gravity Form, made to match) */
.yb-home .cta.catalog .gform,.yb-home .sticky-cta .gform{display:flex;align-items:center;max-width:540px;margin:0 auto;background:#fff;border:2px solid var(--ink);border-radius:999px;padding:6px 6px 6px 4px}
.yb-home .cta.catalog .gform:focus-within,.yb-home .sticky-cta .gform:focus-within{box-shadow:0 0 0 4px rgba(22,20,14,.16)}
.yb-home .cta.catalog .gform input,.yb-home .sticky-cta .gform input{flex:1;min-width:0;height:48px;border:0;background:transparent;border-radius:999px;padding:0 20px;font-size:16px;font-family:var(--body);color:var(--ink);outline:none}
.yb-home .cta.catalog .gform .btn,.yb-home .sticky-cta .gform .btn{flex:none}
/* normalize the embedded GF (single email field) into the same pill */
.yb-home .cta.catalog .gform_wrapper,.yb-home .sticky-cta .gform_wrapper{max-width:540px;margin:0 auto}
.yb-home .cta.catalog .gform_wrapper form,.yb-home .sticky-cta .gform_wrapper form{display:flex!important;align-items:center;background:#fff;border:2px solid var(--ink);border-radius:999px;padding:6px 6px 6px 4px}
.yb-home .cta.catalog .gform_wrapper ul.gform_fields,.yb-home .sticky-cta .gform_wrapper ul.gform_fields{list-style:none!important;margin:0!important;padding:0!important;display:block!important}
.yb-home .cta.catalog .gform_wrapper li.gfield,.yb-home .sticky-cta .gform_wrapper li.gfield{margin:0!important;padding:0!important}
.yb-home .cta.catalog .gform_wrapper .gfield_label,.yb-home .cta.catalog .gform_wrapper .gform_required_legend,.yb-home .cta.catalog .gform_wrapper .gfield_description,.yb-home .cta.catalog .gform_wrapper .gform_heading,.yb-home .sticky-cta .gform_wrapper .gfield_label,.yb-home .sticky-cta .gform_wrapper .gform_heading{display:none!important}
.yb-home .cta.catalog .gform_wrapper .ginput_container,.yb-home .sticky-cta .gform_wrapper .ginput_container{margin:0!important;padding:0!important;width:100%}
.yb-home .cta.catalog .gform_wrapper .ginput_container input,.yb-home .sticky-cta .gform_wrapper .ginput_container input{width:100%!important;height:48px!important;border:0!important;background:transparent!important;padding:0 20px!important;margin:0!important;font-size:16px!important;color:var(--ink);outline:none;box-shadow:none!important}
.yb-home .cta.catalog .gform_wrapper .gform_footer,.yb-home .sticky-cta .gform_wrapper .gform_footer{width:auto!important;margin:0!important;padding:0!important;flex:0 0 auto!important;display:flex!important;align-items:center}
.yb-home .cta.catalog .gform_wrapper .gform_button,.yb-home .sticky-cta .gform_wrapper .gform_button{cursor:pointer;border:0!important;border-radius:999px!important;background:var(--ink)!important;color:#fff!important;font-family:var(--display)!important;font-weight:700!important;font-size:14.5px!important;padding:12px 22px!important;margin:0!important;width:auto!important}
.yb-home .cta.catalog .gform_wrapper .gform_ajax_spinner{display:none!important}
/* Validation error (BUG-103). Two problems on this band: the message rides in a .gfield_description,
   which the reset above hides, so an empty submit looked like nothing happened; and GF legacy paints
   the errored field with a pink panel + 1px top/bottom rules + a 6px bottom margin (and clamps it to
   calc(100% - 16px) once .gform_validation_error lands), which draws a square box inside the rounded
   pill. Float the message out of the pill's flex flow and leave the field itself undecorated. The
   selectors are deliberately heavy: GF's own rules are !important and must be out-specified. */
.yb-home .cta.catalog .gform_wrapper form,.yb-home .sticky-cta .gform_wrapper form{position:relative}
.yb-home .cta.catalog .gform_wrapper .validation_message,.yb-home .sticky-cta .gform_wrapper .validation_message{display:block!important;position:absolute;left:0;right:0;margin:0!important;color:#c0392b;font-size:12.5px;font-weight:600;text-align:center}
.yb-home .cta.catalog .gform_wrapper .validation_message{top:calc(100% + 8px)}
.yb-home .sticky-cta .gform_wrapper .validation_message{bottom:calc(100% + 6px)}
.yb-home .cta.catalog .gform_wrapper .gform_fields .gfield.gfield_error,.yb-home .cta.catalog .gform_wrapper ul.gform_fields li.gfield.gfield_error,
.yb-home .sticky-cta .gform_wrapper .gform_fields .gfield.gfield_error,.yb-home .sticky-cta .gform_wrapper ul.gform_fields li.gfield.gfield_error{background:transparent!important;border:0!important;padding:0!important;margin:0!important;box-shadow:none!important}
.yb-home .cta.catalog .gform_wrapper.gform_validation_error .gform_body ul.gform_fields li.gfield.gfield_error,.yb-home .cta.catalog .gform_wrapper.gform_validation_error .gform_fields .gfield.gfield_error,
.yb-home .sticky-cta .gform_wrapper.gform_validation_error .gform_body ul.gform_fields li.gfield.gfield_error,.yb-home .sticky-cta .gform_wrapper.gform_validation_error .gform_fields .gfield.gfield_error{max-width:none!important;width:100%!important}
/* sticky bar (desktop only) */
.yb-home .sticky-cta{position:fixed;left:0;right:0;bottom:0;z-index:55;background:var(--ink);color:#fff;border-top:3px solid var(--yellow);box-shadow:0 -10px 34px -12px rgba(0,0,0,.55);transform:translateY(110%);transition:transform .35s ease}
.yb-home .sticky-cta.show{transform:translateY(0)}
.yb-home .sticky-cta .wrap{display:flex;align-items:center;justify-content:space-between;gap:34px;padding-top:10px;padding-bottom:10px}
.yb-home .sticky-cta .sc-text{min-width:0;display:flex;flex-direction:column;gap:1px}
.yb-home .sticky-cta .sc-text strong{font-family:var(--display);font-weight:800;font-size:18.5px;line-height:1.1}
.yb-home .sticky-cta .sc-text span{color:#b9b5ab;font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:620px}
.yb-home .sticky-cta .sc-form{flex:none;width:480px;max-width:52%}
.yb-home .sticky-cta .sc-form .gform,.yb-home .sticky-cta .sc-form .gform_wrapper form{margin:0;max-width:none;padding:3px 3px 3px 4px}
.yb-home .sticky-cta .sc-form .gform input,.yb-home .sticky-cta .sc-form .gform_wrapper .ginput_container input{height:32px!important}
.yb-home .sticky-cta .sc-form .gform_wrapper .gform_button{padding:7px 18px!important}
@media(max-width:1100px){.yb-home .sticky-cta .sc-text span{display:none}}
@media(max-width:980px){.yb-home .sticky-cta{display:none}}
body.cme-is-lead .yb-home .sticky-cta{display:none!important}
@media(max-width:600px){.yb-home .cta.catalog h2{white-space:normal}}

/* Skip link: off-screen until keyboard focus, so keyboard and screen-reader users
   can bypass the nav without changing the visual design (WCAG 2.4.1). */
.skip-link{position:absolute;left:-9999px;top:0;z-index:10000;background:var(--yellow,#F5C518);color:#16140E;padding:10px 16px;border-radius:0 0 8px 0;font-weight:700;text-decoration:none}
.skip-link:focus{left:0}
