/* ============================================================
   stafflab.eu /be/ — align with stafflab.se
   Scope: loaded ONLY on /be/fr/ and /be/nl/ pages.
   Loaded AFTER /sl/styles.css so it wins on same-specificity rules.
   2026-10-21
   ============================================================ */

:root {
  /* Palette rebase: warm neutrals (hue 60), no green/teal (hue 165) */
  --bg: #F5F0E8;
  --bg-sunk: #FDFBF8;
  --bg-deep: #ECE4D5;
  --surface: #FDFBF8;
  --ink: oklch(0.17 0.006 60);
  --ink-mid: oklch(0.36 0.008 60);
  --ink-soft: oklch(0.44 0.008 60);
  --ink-faint: oklch(0.62 0.006 60);
  --line: #DED6CA;
  --line-soft: oklch(0.92 0.010 80);
  --forest: oklch(0.19 0.006 60);
  --forest-deep: oklch(0.14 0.005 60);
  --forest-ink: oklch(0.96 0.01 80);
  --forest-mid: oklch(0.82 0.008 80);
  --accent: #F26A1B;
  --accent-text: #B8480F;
  --accent-deep: oklch(0.62 0.20 40);
  --accent-soft: oklch(0.94 0.06 60);
  --accent-ink: #FFFFFF;

  /* Motion tokens */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

/* -------- Typography: kill italic kickers in display headings -------- */
.hero h1 em,
.hero h2 em,
.hero .display em,
.sec-head h2 em,
.cta-block h2 em,
.audience-card h3 em,
.rule-label em,
.eyebrow em,
h1 em.accent-em,
.display em.accent-em {
  font-style: normal !important;
  font-weight: 400 !important;
  color: var(--accent);
}

/* No "data-type=grotesk" dependency */
html .hero h1 em,
html .sec-head h2 em,
html .cta-block h2 em {
  font-style: normal !important;
  font-weight: 400 !important;
  letter-spacing: inherit !important;
}

/* -------- Hero background: warm graphite gradient, no orange glow -------- */
.hero,
.pricing-hero,
.services-hero,
.contact-hero,
.hero-about,
.article-hero,
.blog-hero,
.page-head {
  background:
    radial-gradient(ellipse 70% 60% at 85% 10%, oklch(0.30 0.012 60 / 0.9), transparent 70%),
    radial-gradient(ellipse 60% 70% at 0% 100%, oklch(0.24 0.010 50 / 0.8), transparent 70%),
    linear-gradient(160deg, oklch(0.21 0.006 60) 0%, oklch(0.15 0.004 60) 55%, oklch(0.12 0.003 60) 100%) !important;
  color: oklch(0.96 0.01 80) !important;
  position: relative;
  overflow: hidden;
  --ink: oklch(0.96 0.01 80);
  --ink-mid: oklch(0.82 0.008 80);
  --ink-soft: oklch(0.74 0.008 80);
  --line: oklch(0.32 0.005 60);
  --forest-ink: oklch(0.96 0.01 80);
  --forest-mid: oklch(0.82 0.008 80);
}

.hero h1,
.hero h2,
.hero .display,
.pricing-hero h1,
.services-hero h1,
.contact-hero h1,
.hero-about h1,
.article-hero h1,
.blog-hero h1,
.page-head h1 {
  color: oklch(0.97 0.01 80) !important;
}

.hero p,
.hero-lede,
.pricing-hero p,
.services-hero p,
.contact-hero p,
.hero-about p,
.article-hero p,
.blog-hero p,
.page-head p,
.hero li {
  color: oklch(0.82 0.008 80) !important;
}

.hero strong,
.hero b {
  color: oklch(0.97 0.01 80) !important;
}

.hero-stat {
  background: none !important;
  border: 0 !important;
  border-top: 1px solid var(--line) !important;
  border-radius: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.hero-stat-num { color: var(--accent) !important; }
.hero-stat-label { color: oklch(0.78 0.008 80) !important; font-size: 15px !important; }

/* -------- Hero: new "kicker + slogan" markup -------- */
.hero h1.hero-kicker {
  font-family: var(--font-body) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  line-height: 1.4 !important;
  color: oklch(0.80 0.008 80) !important;
  margin: 0 0 20px !important;
  white-space: normal !important;
  max-width: none;
}

.hero .hero-slogan {
  margin: 0;
  color: oklch(0.97 0.01 80) !important;
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  letter-spacing: var(--tracking-display);
  line-height: 1.03;
}

.hero .hero-slogan .accent-em {
  color: var(--accent);
  font-style: normal;
  font-weight: inherit;
}

@media (min-width: 701px) {
  .hero .display.hero-slogan,
  .hero p.hero-slogan.display {
    font-size: clamp(44px, 5vw, 80px) !important;
    white-space: nowrap;
  }
}

@media (max-width: 700px) {
  .hero .display.hero-slogan,
  .hero p.hero-slogan.display {
    font-size: clamp(34px, 10vw, 46px) !important;
  }
  .hero h1.hero-kicker { font-size: 15px !important; margin-bottom: 14px !important; }
}

/* -------- Remove AI tropes -------- */
.ticker,
.rule-label,
.audience-card-num,
.step-num,
.eyebrow {
  /* mono caps/numbering kickers over H2's and step cards */
}
.ticker { display: none !important; }
.audience-card-num { display: none !important; }
.step-num { display: none !important; }
.rule-label { display: none !important; }
.eyebrow { display: none !important; }

/* Section header: no empty left column, left-aligned */
.sec-head {
  display: block !important;
  margin-bottom: 48px !important;
}
.sec-head h2 { margin-top: 0 !important; }
.sec-head-meta { margin-top: 20px !important; }
.sec-head-meta p { max-width: 720px !important; }

/* Audience card: no top auto-space, no fake min-height, hover scoped */
.audience-card {
  min-height: auto !important;
  padding: 36px 32px 32px !important;
}
.audience-card h3 { margin-top: 0 !important; }
.audience-card:hover { background: inherit; }
@media (hover: hover) and (pointer: fine) {
  .audience-card:hover { background: var(--bg-sunk); }
}

/* Fake dashboards: hide */
.mock-dash,
.mock-kpis,
.mock-chart,
.mock-bar { display: none !important; }

/* Grain overlay: kill */
.grain,
.noise,
[class*="grain-overlay"],
[class*="noise-overlay"] { display: none !important; }

/* Pricing/plan infinite shine kill */
.plan-shine,
.price-shine,
[class*="shimmer"],
[class*="shine-loop"],
[class*="--shine"] {
  animation: none !important;
  background-image: none !important;
}

/* Counters: no scroll-triggered 0→N */
[data-counter],
[data-count-to],
.count-up,
.counter { animation: none !important; }

/* Scroll-reveal: content visible immediately */
[data-reveal],
.reveal,
.fade-in-up,
.animate-in,
[class*="scroll-reveal"] {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  visibility: visible !important;
}

/* -------- Buttons & CTAs -------- */
.btn {
  transition: transform 160ms var(--ease-out),
              background-color 150ms ease,
              border-color 150ms ease,
              color 150ms ease,
              box-shadow 150ms ease !important;
}
.btn:hover { transform: none !important; }
.btn:active { transform: scale(0.97) !important; box-shadow: none !important; }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.arrow-icon { transition: transform 160ms var(--ease-out); }
.btn:hover .arrow-icon { transform: none; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover .arrow-icon { transform: translate(2px, -2px); }
}

.nav-cta-desktop {
  background: var(--accent) !important;
  color: var(--accent-ink) !important;
  border-color: var(--accent) !important;
  transition: transform 160ms var(--ease-out),
              background-color 150ms ease,
              border-color 150ms ease,
              color 150ms ease !important;
}
.nav-cta-desktop:hover {
  background: var(--accent-deep) !important;
  border-color: var(--accent-deep) !important;
  transform: none !important;
}
.nav-cta-desktop:active { transform: scale(0.97) !important; }

/* -------- Audience-card arrow -------- */
.audience-card-link::after { transition: transform 160ms var(--ease-out); }
.audience-card:hover .audience-card-link::after { transform: none; }
@media (hover: hover) and (pointer: fine) {
  .audience-card:hover .audience-card-link::after { transform: translateX(4px); }
}

/* -------- FAQ: full-height expand (no 300px cap) -------- */
.faq-list .faq-item .faq-a {
  max-height: none !important;
  height: 0 !important;
  interpolate-size: allow-keywords;
  transition: height 250ms var(--ease-out), margin-top 250ms var(--ease-out) !important;
}
.faq-list .faq-item.open .faq-a {
  height: auto !important;
  margin-top: 16px !important;
}
.faq-list .faq-toggle { transition: transform 200ms var(--ease-out) !important; }
.faq-q[role="button"] { cursor: pointer; }

/* -------- Form inputs -------- */
.form input,
.form select,
.form textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  transition: border-color 150ms var(--ease-out), background-color 150ms ease !important;
}
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* -------- Numerics: tabular -------- */
.hero-stat-num,
.price,
.price-amount,
.price-period,
.plan-price,
.plan .price,
.counter,
time,
.tabular,
td.num,
th.num,
.mock-kpi-num {
  font-variant-numeric: tabular-nums;
}

/* -------- Language menu: scale from top-right origin -------- */
.lang-menu {
  transform-origin: top right;
  transition: opacity 150ms var(--ease-out),
              transform 150ms var(--ease-out),
              visibility 0s linear 150ms !important;
}
.lang-switcher.open .lang-menu {
  transition: opacity 150ms var(--ease-out),
              transform 150ms var(--ease-out),
              visibility 0s !important;
}

/* -------- Hero entry animation (short, staggered) -------- */
@keyframes beHeroIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.hero > *,
.hero .hero-grid > *,
.hero .hero-meta > * { animation: beHeroIn 400ms var(--ease-out) 0ms both; }
.hero .hero-slogan { animation-delay: 60ms; }
.hero .hero-cta,
.hero .hero-stat { animation-delay: 120ms; }

/* -------- Mobile base -------- */
@media (max-width: 700px) {
  html { font-size: 17px; }
  body { font-size: 17px; }
  .btn { min-height: 48px; }
  .audience-card p,
  .card p,
  .step p,
  .faq-a { font-size: 16px; }
  .hero-lede { font-size: 17px; }
  /* Tables: horizontal scroll instead of fixed widths */
  .table-wrap,
  .pricelist,
  table {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  table { min-width: auto; }
}

/* -------- Blog post: byline plate + answer-first box -------- */
.article-body .post-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono, "DM Mono", ui-monospace, monospace);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--bg-sunk, #f6f1e9);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px 7px 10px;
  margin: 0 0 32px;
}
.article-body .post-meta::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.article-body .post-meta b {
  color: var(--ink-mid);
  font-weight: 500;
}

.article-body .answer-box {
  position: relative;
  background: var(--bg-sunk, #f6f1e9);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  padding: 22px 26px 18px;
  margin: 0 0 36px;
}
.article-body .answer-box-label {
  font-family: var(--font-mono, "DM Mono", ui-monospace, monospace);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text, #B8480F);
  margin: 0 0 10px;
  font-weight: 500;
}
.article-body .answer-box p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 10px;
}
.article-body .answer-box p:last-child { margin-bottom: 0; }
.article-body .answer-box strong { color: var(--ink); font-weight: 500; }

@media (max-width: 640px) {
  .article-body .answer-box { padding: 18px 20px 16px; margin-bottom: 28px; }
  .article-body .answer-box p { font-size: 15px; }
}

/* -------- Reduced motion: kill motion, keep color/focus feedback -------- */
@media (prefers-reduced-motion: reduce) {
  .hero > *,
  .hero .hero-slogan,
  .hero .hero-cta,
  .hero .hero-stat,
  .faq-list .faq-item .faq-a,
  .lang-menu,
  .arrow-icon,
  .btn,
  .audience-card-link::after,
  .faq-list .faq-toggle {
    animation: none !important;
    transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease !important;
  }
  html { scroll-behavior: auto !important; }
}
