/* ============================================================
   BEFOX - Home Direction B · "Spotlight"
   Bold, warm glow, filled cards, image-led. More marketing punch.
   ============================================================ */

/* image placeholder (striped) - for ProcessWire image fields */
.ph{
  position:relative; background:
    repeating-linear-gradient(135deg, rgba(244,239,232,.05) 0 10px, transparent 10px 20px),
    var(--ink-750);
  border:1px solid var(--hair); border-radius:12px; overflow:hidden;
  display:grid; place-items:center;
}
.ph::after{
  content:attr(data-ph); font-family:var(--mono); font-size:11.5px; letter-spacing:.04em;
  color:var(--fg-mute); padding:4px 10px; border:1px dashed var(--hair-strong); border-radius:20px;
}

/* ---------- HERO ---------- */
.hero-b{
  position:relative; overflow:hidden; text-align:center;
  background:
    radial-gradient(60% 70% at 50% -8%, rgba(240,128,24,.30), transparent 60%),
    radial-gradient(90% 60% at 50% 120%, rgba(153,82,15,.18), transparent 60%),
    var(--ink-900);
}
.hero-b .fox-bg{
  position:absolute; top:6%; left:50%; translate:-50% 0; width:min(720px,90%);
  opacity:.10; pointer-events:none; filter:blur(.3px);
}
.hero-b .wrap{ position:relative; padding-block:clamp(60px,10vw,128px); }
.hero-b .eyebrow{ justify-content:center; }
.hero-b .eyebrow::before{ display:none; }
.hero-b .pill-eyebrow{
  display:inline-flex; align-items:center; gap:8px; margin-inline:auto;
  font-family:var(--mono); font-size:12.5px; letter-spacing:.04em; color:var(--orange);
  border:1px solid var(--hair-strong); background:rgba(240,128,24,.07);
  border-radius:30px; padding:7px 16px; white-space:nowrap;
}
.hero-b h1{
  font-size:clamp(40px,7.5vw,86px); font-weight:800; line-height:.98; letter-spacing:-.04em;
  margin:24px auto 0; max-width:16ch; text-wrap:balance;
  background:linear-gradient(180deg,#fffaf3, #d8cdbe);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero-b h1 em{
  font-style:normal;
  background:linear-gradient(180deg,var(--orange-bright),var(--orange));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero-b .lede{ font-size:clamp(17px,2.2vw,21px); color:var(--fg-soft); max-width:60ch; margin:26px auto 0; }
.hero-b .actions{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-top:36px; }

/* chips row */
.chips{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin-top:54px; }
.chips .lab{ font-family:var(--mono); font-size:12px; color:var(--fg-mute); align-self:center; margin-right:4px; }
.chip{
  display:inline-flex; align-items:center; gap:8px; padding:9px 16px; border-radius:30px;
  border:1px solid var(--hair-strong); background:var(--ink-800); font-weight:700; font-size:14.5px;
  transition:.16s;
}
.chip:hover{ border-color:var(--orange); color:var(--orange-bright); transform:translateY(-2px); }
.chip .dot{ width:7px; height:7px; border-radius:50%; background:var(--orange); }

/* ---------- SERVICES (cards) ---------- */
.services-b{ padding-block:clamp(64px,9vw,112px); }
.services-b .sec-head{ text-align:center; margin-inline:auto; }
.services-b .sec-head .eyebrow{ justify-content:center; }
.services-b .sec-head .eyebrow::before{ display:none; }
.card-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.svc-card{
  position:relative; padding:30px 28px 32px; border-radius:16px;
  background:linear-gradient(180deg,var(--ink-800),var(--ink-850));
  border:1px solid var(--hair); overflow:hidden;
  transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.svc-card::before{
  content:""; position:absolute; inset:0 0 auto 0; height:3px;
  background:linear-gradient(90deg,var(--orange),var(--brown)); transform:scaleX(0); transform-origin:left;
  transition:transform .25s ease;
}
.svc-card:hover{ transform:translateY(-5px); border-color:var(--hair-strong); box-shadow:0 24px 50px -28px rgba(0,0,0,.8); }
.svc-card:hover::before{ transform:scaleX(1); }
.svc-card .badge{
  width:46px; height:46px; border-radius:12px; display:grid; place-items:center;
  background:rgba(240,128,24,.12); color:var(--orange); margin-bottom:20px;
}
.svc-card .badge svg{ width:23px; height:23px; }
.svc-card .badge .fa{ font-size:22px; line-height:1; }
.svc-card .badge-letter{ font-weight:800; font-size:26px; line-height:1; letter-spacing:-.02em; }
.svc-card h3{ font-size:20px; font-weight:700; letter-spacing:-.02em; margin-bottom:10px; }
.svc-card p{ color:var(--fg-mute); font-size:14.5px; }
.svc-card .more{ display:inline-flex; gap:7px; align-items:center; margin-top:18px; color:var(--orange); font-weight:600; font-size:14px; }
.svc-card:hover .more{ gap:11px; }

/* ---------- LIBRE FEATURE ---------- */
.libre-b{ padding-block:clamp(40px,6vw,72px); }
.libre-b .panel{
  position:relative; overflow:hidden; border-radius:24px;
  background:
    radial-gradient(80% 120% at 15% 0%, rgba(240,128,24,.22), transparent 55%),
    linear-gradient(180deg,var(--ink-800),var(--ink-850));
  border:1px solid var(--hair-strong);
  padding:clamp(40px,6vw,72px);
  display:grid; grid-template-columns:1.1fr .9fr; gap:48px; align-items:center;
}
.libre-b h2{ font-size:clamp(28px,4vw,44px); font-weight:800; letter-spacing:-.03em; line-height:1.05; text-wrap:balance; }
.libre-b h2 em{ font-style:normal; color:var(--orange); }
.libre-b .panel > div > p{ color:var(--fg-soft); margin-top:18px; max-width:46ch; }
.libre-stats{ display:grid; gap:16px; }
.libre-stat{
  display:flex; gap:18px; align-items:baseline; padding:18px 22px;
  background:var(--ink-900); border:1px solid var(--hair); border-radius:14px;
}
.libre-stat .big{ font-size:34px; font-weight:800; color:var(--orange); letter-spacing:-.03em; line-height:1; }
.libre-stat .txt b{ display:block; font-size:15px; }
.libre-stat .txt span{ color:var(--fg-mute); font-size:13.5px; }

/* ---------- BLOG (image cards) ---------- */
.blog-b{ padding-block:clamp(64px,9vw,112px); }
.blog-b .head-row{ display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:40px; flex-wrap:wrap; }
.blog-b .head-row .sec-head{ margin-bottom:0; }
.blog-b .head-row .eyebrow{ justify-content:flex-start; }
.blog-b .head-row .eyebrow::before{ display:none; }
.bcard-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.bcard{ display:flex; flex-direction:column; border-radius:16px; overflow:hidden; border:1px solid var(--hair); background:var(--ink-850); transition:.18s; }
.bcard:hover{ transform:translateY(-5px); border-color:var(--hair-strong); box-shadow:0 24px 50px -28px rgba(0,0,0,.8); }
.bcard .ph{ aspect-ratio:16/10; border:0; border-radius:0; border-bottom:1px solid var(--hair); }
.bcard .body{ padding:22px 22px 26px; display:flex; flex-direction:column; gap:10px; flex:1; }
.bcard .meta{ display:flex; gap:10px; align-items:center; font-family:var(--mono); font-size:11.5px; color:var(--fg-mute); }
.bcard .meta .tag{ color:var(--orange); }
.bcard h3{ font-size:18.5px; font-weight:700; letter-spacing:-.02em; line-height:1.25; }
.bcard:hover h3{ color:var(--orange-bright); }
.bcard p{ color:var(--fg-mute); font-size:14px; margin-top:auto; }

/* ---------- CTA ---------- */
.cta-b{ padding-block:clamp(56px,8vw,104px); text-align:center; }
.cta-b .inner{ max-width:60ch; margin-inline:auto; }
.cta-b h2{ font-size:clamp(30px,5vw,56px); font-weight:800; letter-spacing:-.035em; line-height:1.0; text-wrap:balance; }
.cta-b p{ color:var(--fg-soft); margin:18px auto 0; max-width:48ch; }
.cta-b .actions{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-top:34px; }

/* ---------- Responsive B ---------- */
@media (max-width:900px){
  .card-grid{ grid-template-columns:repeat(2,1fr); }
  .bcard-grid{ grid-template-columns:1fr 1fr; }
  .bcard-grid .bcard:last-child{ grid-column:1 / -1; }
  .libre-b .panel{ grid-template-columns:1fr; gap:32px; }
}
@media (max-width:600px){
  .card-grid{ grid-template-columns:1fr; }
  .bcard-grid{ grid-template-columns:1fr; }
  .bcard-grid .bcard:last-child{ grid-column:auto; }
}
