/* Homepage hero — bento layout (design: Cyabra-bento-v2-1.html). Markup: part-hero-banner.php */
.hero-bento{--ink:#463c3e;--ink-muted:#625759;--orange:#ee4500;--orange-text:#b33600;--gray:#e7e7ec;--rule:#e6e1e1;--radius-card:28px;
  position:relative;z-index:3;background:#f2f2f2;font-family:"Plus Jakarta Sans",system-ui,sans-serif;color:var(--ink);
  padding:32px 24px;box-sizing:border-box}
.hero-bento *,.hero-bento *::before,.hero-bento *::after{box-sizing:border-box}
.hero-bento p,.hero-bento h1,.hero-bento h2{margin:0;text-transform:none}
.hb-wrap{max-width:1540px;margin:0 auto;display:flex;flex-direction:column;gap:20px}
.hb-row{display:flex;flex-wrap:wrap;gap:20px;align-items:stretch}
.hero-bento a:focus-visible{outline:3px solid var(--ink);outline-offset:3px}

/* A/B test wrappers (part-hero-banner.php). AB Split Test fades variations in with opacity,
   which turns the wrapper into its own stacking context and traps the hero's z-index:3 inside it.
   Without this, the next section (z-index:2) paints its rotated background over the hero. */
.hero-ab-variation{position:relative;z-index:3}
/* Preview links (?abtv=…&abtid=…) add .ab-highlight (an orange pulse marking the variation) with z-index:1,
   which would let the next section cover the hero again. Keep the pulse, keep the hero on top. */
.hero-ab-variation.ab-highlight{z-index:3}

/* ---------- Main card ---------- */
.hb-hero{flex:999 1 620px;min-width:0;position:relative;overflow:hidden;border-radius:var(--radius-card);
  background:linear-gradient(45deg,#fffdf4 0%,#fdfaf6 55%,#fcf7f5 100%);padding:56px 52px 52px;
  display:flex;flex-wrap:wrap;gap:24px;align-items:center}
.hb-copy{position:relative;flex:1 1 420px;min-width:0;display:flex;flex-direction:column}
.hero-bento .hb-eyebrow{margin:0 0 18px;font-size:13px;line-height:16px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:var(--orange-text)}
.hero-bento h1.hb-title{font-size:clamp(44px,5vw,72px);line-height:1.02;font-weight:800;letter-spacing:-.04em;color:var(--ink)}
.hb-title-line{display:block}
.hb-title-hl{display:block;color:#d63d00;
  background-image:linear-gradient(95deg,#c93900 0%,#ee4500 42%,#f2600f 50%,var(--ink) 50%,var(--ink) 100%);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
  background-size:200% 100%;background-position:100% 0;animation:hb-lit .9s cubic-bezier(.4,0,.2,1) 1.5s forwards}
@keyframes hb-lit{to{background-position:0 0}}
.hb-mask{position:relative;display:inline-block}
.hb-mask::after{content:"";position:absolute;left:-8px;right:-8px;top:8%;bottom:4%;border-radius:12px;
  background:repeating-linear-gradient(-45deg,#3a3133 0 10px,#4a3f42 10px 20px);transform-origin:right center;
  transform:scaleX(1);animation:hb-peel 1s cubic-bezier(.7,0,.2,1) .7s forwards}
@keyframes hb-peel{to{transform:scaleX(0)}}
.hero-bento .hb-subtitle{margin:26px 0 0;font-size:21px;line-height:30px;font-weight:700;color:var(--ink);max-width:460px}
.hero-bento .hb-lead{margin:10px 0 0;font-size:17px;line-height:26px;font-weight:500;color:var(--ink-muted);max-width:460px}
.hb-ctas{display:flex;flex-wrap:wrap;gap:22px;align-items:center;margin-top:28px}
.hero-bento .hero-btn.hb-btn{display:inline-flex;align-items:center;justify-content:center;width:auto;height:auto;min-height:50px;margin:0;
  padding:0 30px;border-radius:999px;background:var(--orange);color:#fff;font-size:19px;font-weight:700;text-decoration:none}
.hero-bento .hero-btn.hb-btn:hover{background:#cc3b00;color:#fff}
.hero-bento .hb-link{color:var(--ink);font-size:16px;font-weight:700;text-decoration:underline;text-underline-offset:5px}
.hero-bento .hb-link:hover{color:var(--orange-text)}

/* Large faint owl mark bleeding off the lower-right corner */
.hb-field{position:absolute;right:-520px;bottom:-190px;width:1000px;height:1000px;pointer-events:none}
.hero-bento .hb-owl{display:block;width:100%;height:auto;max-width:none;opacity:.17;
  /* Fade out toward the left so the headline sits on a cleaner background */
  -webkit-mask-image:linear-gradient(to right,rgba(0,0,0,.35) 0%,#000 48%);
  mask-image:linear-gradient(to right,rgba(0,0,0,.35) 0%,#000 48%)}

/* ---------- Featured card ---------- */
.hb-feature{flex:1 1 440px;min-width:0;border-radius:var(--radius-card);background:#fff;overflow:hidden;display:flex;flex-direction:column}
.hero-bento .hb-feature-bar{padding:16px 20px 14px;border-bottom:1px solid var(--rule);text-align:center;font-size:12px;line-height:16px;
  font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:var(--orange-text)}
.hb-feature-body{padding:24px 26px 28px;display:flex;flex-direction:column;gap:16px;flex:1}
.hb-feature-media{position:relative;height:300px;border-radius:20px;overflow:hidden;background:#f5f5f7}
.hb-feature-media img{display:block;width:100%;height:100%;object-fit:cover}
.hero-bento h2.hb-h2{margin:4px 0 0;font-size:32px;line-height:37px;font-weight:800;letter-spacing:-.025em;color:var(--ink)}
.hero-bento .hb-muted{font-size:17px;line-height:25px;font-weight:500;color:var(--ink-muted)}
.hero-bento .hb-ghost{align-self:flex-start;display:inline-flex;align-items:center;min-height:44px;padding:0 22px;border-radius:999px;
  border:1.5px solid var(--ink);color:var(--ink);background:#fff;font-size:16px;font-weight:700;text-decoration:none;transition:background-color .3s,color .3s}
.hero-bento .hb-ghost:hover{background:var(--ink);color:#fff}

/* Animated network map (shown when no image is set) */
.hb-cmap{background:linear-gradient(150deg,#fbf9f7 0%,#f4f1ee 100%)}
.hb-cmap svg{position:absolute;inset:0;width:100%;height:100%}
.hb-cmap circle{transform-box:fill-box;transform-origin:center}
.hb-cmap .n{fill:#8796b2;opacity:.45;animation:hb-dim 9s ease-in-out infinite}
@keyframes hb-dim{0%,18%{opacity:.45}34%,76%{opacity:.14}90%,100%{opacity:.45}}
.hb-cmap .c{fill:#ee4500;opacity:0;animation:hb-light 9s ease-in-out infinite}
@keyframes hb-light{0%,18%{opacity:0}30%,76%{opacity:1}88%,100%{opacity:0}}
.hb-cmap .halo{fill:#ee4500;opacity:0;animation:hb-pulse 9s ease-in-out infinite}
@keyframes hb-pulse{0%,20%{opacity:0;transform:scale(1)}24%{opacity:.4;transform:scale(1)}32%{opacity:0;transform:scale(3.2)}36%{opacity:.4;transform:scale(1)}44%{opacity:0;transform:scale(3.2)}48%{opacity:.35;transform:scale(1)}56%{opacity:0;transform:scale(3.2)}57%,100%{opacity:0;transform:scale(1)}}
.hb-cmap .src{fill:#c93900}
.hb-cmap .spoke{stroke:#ee4500;stroke-width:1.1;opacity:0;stroke-dasharray:240;stroke-dashoffset:240;animation:hb-draw 9s ease-in-out infinite}
@keyframes hb-draw{0%,18%{opacity:0;stroke-dashoffset:240}34%{opacity:.65;stroke-dashoffset:0}76%{opacity:.65;stroke-dashoffset:0}88%,100%{opacity:0;stroke-dashoffset:0}}
.hb-cmap .hl{stroke:#ee4500;stroke-width:1;opacity:0;animation:hb-wider 9s ease-in-out infinite}
@keyframes hb-wider{0%,46%{opacity:0}56%,76%{opacity:.26}88%,100%{opacity:0}}

/* ---------- Notice cards ---------- */
.hb-notice{flex:1 1 460px;min-width:0;border-radius:var(--radius-card);padding:30px 32px;display:flex;flex-wrap:wrap;gap:20px;align-items:center;justify-content:space-between}
.hb-notice-copy{flex:1 1 300px;min-width:0}
.hero-bento .hb-arrow{font-weight:700;text-decoration:underline;text-underline-offset:4px}

.hb-notice--orange{background:var(--orange);color:#fff}
.hero-bento .hb-notice--orange .hb-eyebrow{margin:0 0 6px;font-size:12px;color:#fff}
.hero-bento .hb-notice--orange h2{margin:0 0 8px;font-size:32px;line-height:36px;font-weight:800;letter-spacing:-.03em;color:#fff}
.hero-bento .hb-notice--orange .hb-notice-text{font-size:19px;line-height:27px;font-weight:700;color:#fff}
.hero-bento .hb-notice--orange .hb-arrow{color:#fff;font-size:17px}
.hero-bento .hb-notice--orange .hb-arrow:hover{color:#fff;opacity:.85}

.hb-notice--gray{background-color:var(--gray);color:var(--ink)}
.hero-bento .hb-notice--gray .hb-eyebrow{margin:0 0 6px;font-size:12px}
.hero-bento .hb-notice--gray h2{margin:0 0 6px;font-size:27px;line-height:31px;font-weight:800;letter-spacing:-.02em;color:var(--ink)}
.hero-bento .hb-notice--gray .hb-notice-text{font-size:15px;line-height:22px;font-weight:500;color:#4e4446}
.hero-bento .hb-notice--gray .hb-arrow{color:var(--orange-text);font-size:15px}
.hero-bento .hb-notice--gray .hb-arrow:hover{color:#8a2900}

/* ---------- Responsive ---------- */
@media (max-width:640px){
  .hero-bento{padding:20px 16px 32px}
  .hb-hero{padding:40px 24px 36px}
  .hb-feature-body{padding:20px 20px 24px}
  .hb-feature-media{height:240px}
  .hero-bento h2.hb-h2{font-size:26px;line-height:31px}
  .hb-notice{padding:26px 24px}
  .hero-bento .hb-notice--orange h2{font-size:28px;line-height:32px}
  .hero-bento .hb-notice--orange .hb-notice-text{font-size:17px;line-height:25px}
}

@media (prefers-reduced-motion:reduce){
  .hb-mask::after{animation:none;transform:scaleX(0)}
  .hb-title-hl{animation:none;background-position:0 0}
  .hb-cmap .n,.hb-cmap .c,.hb-cmap .halo,.hb-cmap .spoke,.hb-cmap .hl{animation:none}
  .hb-cmap .n{opacity:.14}.hb-cmap .c{opacity:1}.hb-cmap .spoke{opacity:.65;stroke-dashoffset:0}.hb-cmap .hl{opacity:.26}
}
