/*
Theme Name: 2BeTalent
Theme URI: https://2betalent.com
Author: 2BeTalent
Author URI: https://2betalent.com
Description: Tema su misura per la talent agency 2BeTalent. Design cinematografico derivato dal Brand Book v1 (hero inchiostro, muro talent, spotlight). Non influencer. Autorità.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: betalent
*/
/* ============================================================
   2BeTalent — Design System
   Pop nella forma, rigoroso nella sostanza.
   Palette, tipografia e scala derivati dal Brand Book v1.
   ============================================================ */

:root {
  /* ---- Palette brand (5 colori) ---- */
  --canvas:    #FFFFFF; /* 50% */
  --ink:       #10141F; /* 28% — struttura, testo, blocchi pieni */
  --blue:      #2B3EFF; /* 13% — accento primario, CTA, link */
  --blue-hover:#1F2BCC; /* stato attivo/hover del blu */
  --coral:     #FF5A36; /* 6%  — badge, numeri, sticker, frecce */
  --lime:      #C9F24E; /* 3%  — solo dietro parole singole */

  /* ---- Neutri di servizio (infrastruttura) ---- */
  --n-050: #F5F6F8; /* superficie secondaria */
  --n-100: #D9DDE4; /* bordi, divisori */
  --n-400: #8A91A0; /* placeholder, testo su fondo scuro */
  --n-600: #5A6172; /* testo secondario (min contrasto ammesso) */

  /* ---- Tinte pallide per dati/aree ---- */
  --blue-pale: #C6CCFF;
  --blue-faint:#E6E9FF;

  /* ---- Tipografia ---- */
  --f-display: "Archivo", "Arial Black", sans-serif;
  --f-sans:    "Instrument Sans", system-ui, -apple-system, sans-serif;
  --f-serif:   "Instrument Serif", Georgia, serif;
  --f-mono:    "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
}

/* ---- Font axis helpers ---- */
.exp  { font-variation-settings: "wght" 900, "wdth" 125; }
.cond { font-variation-settings: "wght" 900, "wdth" 70; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--blue); color: #fff; }

/* ============================================================
   Tipografia — scala web dal brand book
   ============================================================ */
h1, h2, h3 { font-family: var(--f-display); font-weight: 900; }

.h1 {
  font-family: var(--f-display); font-weight: 900;
  font-variation-settings: "wght" 900, "wdth" 118;
  font-size: clamp(44px, 8.2vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  text-transform: none;
}
.h2 {
  font-family: var(--f-display); font-weight: 900;
  font-variation-settings: "wght" 900, "wdth" 115;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.0;
  letter-spacing: -0.025em;
}
.h3 {
  font-family: var(--f-display); font-weight: 900;
  font-variation-settings: "wght" 900, "wdth" 100;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.eyebrow {
  font-family: var(--f-sans); font-weight: 500;
  font-size: 13px; line-height: 1.2;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--n-600);
}
.lead {
  font-size: clamp(18px, 2vw, 20px);
  line-height: 1.6;
  max-width: 60ch;
}
p { max-width: 72ch; }
.small { font-size: 14px; line-height: 1.55; }
.mono { font-family: var(--f-mono); font-weight: 500; letter-spacing: -0.01em; }

/* ============================================================
   Elementi grafici di supporto (set chiuso)
   ============================================================ */

/* Badge pill */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-sans); font-weight: 600;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 6px 12px; border-radius: 100px;
  background: var(--coral); color: #fff;
  white-space: nowrap;
}
.pill--blue { background: var(--blue); color: #fff; }
.pill--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--n-100); }
.pill--dot::before { content:""; width:7px; height:7px; border-radius:50%; background:#fff; }

/* Highlight lime — solo dietro parole singole */
.hl {
  background: var(--lime);
  color: var(--ink);
  padding: 0.02em 0.18em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
/* Sottolineatura a mano (corallo o blu) */
.underline-h {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='12' viewBox='0 0 120 12'%3E%3Cpath d='M2 8 C 30 3, 70 3, 118 7' stroke='%23FF5A36' stroke-width='3.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left bottom -0.05em;
  background-size: 100% 0.42em;
  padding-bottom: 0.12em;
}
.underline-h--blue {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='12' viewBox='0 0 120 12'%3E%3Cpath d='M2 8 C 30 3, 70 3, 118 7' stroke='%232B3EFF' stroke-width='3.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* Virgolette oversize */
.bigquote {
  font-family: var(--f-display); font-weight: 900;
  font-variation-settings: "wght" 900, "wdth" 100;
  font-size: 120px; line-height: 0.7;
  color: var(--coral); display: block;
}

/* Post-it */
.postit {
  background: var(--lime); color: var(--ink);
  padding: 22px 24px; font-weight: 500;
  transform: rotate(-2.4deg);
  max-width: 280px;
}
.postit--coral { background: var(--coral); color: #fff; }

/* Freccia inline */
.arrow { display:inline-block; transition: transform .25s ease; }

/* Numerazione corallo */
.num {
  font-family: var(--f-display); font-weight: 900;
  font-variation-settings: "wght" 900, "wdth" 110;
  color: var(--coral);
}

/* ============================================================
   Layout
   ============================================================ */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
section { position: relative; }
.section-pad { padding-block: clamp(72px, 12vw, 148px); }

.divider { height: 1px; background: var(--n-100); border: 0; }

/* ============================================================
   Nav — pillola flottante, trasparente sull'hero scuro,
   solida (bianca) dopo lo scroll
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.nav.solid {
  background: rgba(255,255,255,0.86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--n-100);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: var(--f-display); font-weight: 900;
  font-variation-settings: "wght" 900, "wdth" 112;
  font-size: 24px; letter-spacing: -0.03em; color: #fff;
  display: inline-flex; align-items: baseline; gap: 1px;
  transition: color .3s ease;
}
.logo b { color: var(--blue-pale); font-weight: 900; transition: color .3s ease; }
.nav.solid .logo { color: var(--ink); }
.nav.solid .logo b { color: var(--blue); }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a {
  font-family: var(--f-sans); font-weight: 500; font-size: 15px;
  color: rgba(255,255,255,0.86); position: relative; transition: color .3s ease;
}
.nav.solid .nav__links a { color: var(--ink); }
.nav__links a.btn { color: #fff; }
.nav__links a:not(.btn)::after {
  content:""; position:absolute; left:0; bottom:-4px; height:2px; width:0;
  background: var(--blue); transition: width .22s ease;
}
.nav__links a:not(.btn):hover::after { width:100%; }
.nav__links a:not(.btn):hover { color: #fff; }
.nav.solid .nav__links a:not(.btn):hover { color: var(--blue); }
.nav__toggle { display:none; background:none; border:0; cursor:pointer; }
.nav__toggle svg path { stroke: #fff; transition: stroke .3s ease; }
.nav.solid .nav__toggle svg path { stroke: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-sans); font-weight: 600; font-size: 15px;
  padding: 12px 22px; border-radius: 100px;
  background: var(--blue); color: #fff; cursor: pointer;
  border: 1.5px solid var(--blue);
  transition: background .18s ease, transform .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background:#fff; color: var(--ink); border-color:#fff; }
.btn--light:hover { background: transparent; color:#fff; }
.btn--lg { padding: 16px 30px; font-size: 17px; }

/* ============================================================
   Hero — cinematografico, fondo inchiostro, claim centrato,
   muro di talent che scorre edge-to-edge
   ============================================================ */
.hero {
  background: var(--ink); color: #fff;
  padding-top: clamp(120px, 18vh, 190px);
  padding-bottom: clamp(40px, 6vw, 70px);
  overflow: hidden; position: relative;
}
/* fondo inchiostro pieno — nessun glow/gradiente, come da brand book */
.hero__center { text-align: center; position: relative; z-index: 2; }
.hero__badge {
  display:inline-flex; align-items:center; gap:9px;
  font-family: var(--f-sans); font-weight:500; font-size:13px;
  text-transform:uppercase; letter-spacing:0.07em;
  padding:8px 16px; border-radius:100px;
  border:1px solid rgba(255,255,255,0.22); color:#fff;
}
.hero__badge .d { width:7px; height:7px; border-radius:50%; background: var(--coral); }
.hero__claim {
  font-family: var(--f-display); font-weight:900;
  font-variation-settings:"wght" 900,"wdth" 118;
  font-size: clamp(52px, 10.5vw, 148px);
  line-height: 0.92; letter-spacing:-0.035em; color:#fff;
  margin: 26px auto 0; max-width: 15ch;
}
.hero__claim .hl { color: var(--ink); }
.hero__sub {
  margin: 26px auto 0; color: #AEB4C2; max-width: 52ch;
  font-size: clamp(17px, 2vw, 20px); line-height:1.55;
}
.hero__cta { margin-top: 36px; display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* CTA con icona freccia circolare (stile reference) */
.btn__ico {
  display:inline-flex; align-items:center; justify-content:center;
  width:22px; height:22px; border-radius:50%;
  background: rgba(255,255,255,0.22); font-size:12px; line-height:1;
  transition: transform .2s ease;
}
.btn:hover .btn__ico { transform: translate(2px,-2px); }

/* Muro di talent */
.wall {
  margin-top: clamp(48px, 7vw, 84px);
  display:flex; flex-direction:column; gap:16px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.wall__row { display:flex; gap:16px; width:max-content; }
.wall__row--a { animation: wall-l 46s linear infinite; }
.wall__row--b { animation: wall-r 52s linear infinite; }
.wall:hover .wall__row { animation-play-state: paused; }
@keyframes wall-l { to { transform: translateX(-50%); } }
@keyframes wall-r { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.tface {
  position:relative; flex: 0 0 auto;
  width: clamp(150px, 15vw, 210px); aspect-ratio: 4/5;
  border-radius: 14px; overflow:hidden;
  background: repeating-linear-gradient(135deg,#1a1f2e 0 12px,#161b28 12px 24px);
  border:1px solid rgba(255,255,255,0.08);
}
.tface__meta {
  position:absolute; left:0; right:0; bottom:0; padding:14px 14px 13px;
  background: linear-gradient(to top, rgba(6,8,14,0.92), rgba(6,8,14,0) 100%);
}
.tface__name {
  font-family: var(--f-display); font-weight:900;
  font-variation-settings:"wght" 900,"wdth" 74;
  font-size:19px; line-height:1; color:#fff; letter-spacing:-0.01em;
}
.tface__role { font-size:12px; color:#B9BFCD; margin-top:5px; }
.tface__tag {
  position:absolute; top:12px; left:12px;
  font-family: var(--f-sans); font-weight:600; font-size:10.5px;
  text-transform:uppercase; letter-spacing:0.05em;
  padding:4px 9px; border-radius:100px; background: var(--blue); color:#fff;
}
.tface__tag--coral { background: var(--coral); }

/* KPI di prova nell'hero scuro */
.hero__proof {
  margin-top: clamp(44px, 6vw, 68px);
  display:flex; gap: clamp(24px,5vw,64px); flex-wrap:wrap; justify-content:center;
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 30px; text-align:center;
}
.stat { flex: 0 1 auto; }
.stat__num {
  font-family: var(--f-display); font-weight:900;
  font-variation-settings: "wght" 900, "wdth" 120;
  font-size: clamp(34px, 4vw, 52px); line-height: 1; color: #fff;
  letter-spacing: -0.03em;
}
.stat__num .u { color: var(--coral); }
.stat__lbl { font-size: 13px; color: #9AA1B0; margin-top: 8px; max-width: 22ch; margin-inline:auto; }

/* ============================================================
   Manifesto
   ============================================================ */
.manifesto { background: var(--canvas); color: var(--ink); }
.manifesto .eyebrow { color: var(--coral); }
.manifesto__big {
  font-family: var(--f-display); font-weight:900;
  font-variation-settings: "wght" 900, "wdth" 112;
  font-size: clamp(30px, 5vw, 64px); line-height: 1.02;
  letter-spacing: -0.028em; max-width: 18ch; color: var(--ink);
}
.manifesto__big .hl { color: var(--ink); }
.manifesto__row { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,80px); margin-top: 48px; }
.manifesto__row p { color: var(--n-600); max-width: 46ch; }
.manifesto__row .k { color: var(--ink); font-weight:600; }

/* ============================================================
   Talent grid
   ============================================================ */
.filters { display:flex; gap:10px; flex-wrap:wrap; margin-top: 28px; }
.filters button {
  font-family: var(--f-sans); font-weight:500; font-size:14px;
  padding: 9px 16px; border-radius:100px; cursor:pointer;
  background:#fff; color: var(--ink); border:1.5px solid var(--n-100);
  transition: all .16s ease;
}
.filters button:hover { border-color: var(--ink); }
.filters button.active { background: var(--ink); color:#fff; border-color: var(--ink); }

.talent-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px; margin-top: 40px;
}
.tcard {
  border: 1px solid var(--n-100); background:#fff;
  display:flex; flex-direction:column;
  transition: transform .2s ease, border-color .2s ease;
}
.tcard:hover { transform: translateY(-4px); border-color: var(--ink); }
.tcard__ph {
  aspect-ratio: 4/5; position: relative; overflow:hidden;
  background: repeating-linear-gradient(135deg,#eef0f4 0 12px,#f6f7f9 12px 24px);
}
.tcard__ph .face__ph { background: transparent; }
.tcard__badge {
  position:absolute; top:12px; left:12px;
  font-family: var(--f-sans); font-weight:600; font-size:11px;
  text-transform:uppercase; letter-spacing:0.05em;
  padding:5px 10px; border-radius:100px; background: var(--blue); color:#fff;
}
.tcard__body { padding: 18px 18px 20px; }
.tcard__name {
  font-family: var(--f-display); font-weight:900;
  font-variation-settings: "wght" 900, "wdth" 72;
  font-size: 27px; line-height: 1.0; letter-spacing:-0.01em; color: var(--ink);
}
.tcard__role { font-family: var(--f-sans); font-weight:500; font-size:14.5px; margin-top:8px; }
.tcard__field { font-size: 13.5px; color: var(--n-600); margin-top: 3px; }
.tcard__proof {
  margin-top: 16px; padding-top: 14px; border-top:1px solid var(--n-100);
  display:flex; align-items:baseline; gap:8px;
}
.tcard__proof .val {
  font-family: var(--f-display); font-weight:900;
  font-variation-settings:"wght" 900,"wdth" 108;
  font-size: 26px; color: var(--coral); line-height:1; letter-spacing:-0.02em;
}
.tcard__proof .lbl { font-size:12px; color: var(--n-600); }

/* ============================================================
   Brand / cases
   ============================================================ */
.brand-sec { background: var(--n-050); }
.cases { display:grid; grid-template-columns: repeat(3,1fr); gap:18px; margin-top: 40px; }
.case {
  background:#fff; border:1px solid var(--n-100); padding: 26px 24px 24px;
  display:flex; flex-direction:column; min-height: 260px;
}
.case__tab {
  align-self:flex-start; font-family:var(--f-sans); font-weight:600;
  font-size:12px; text-transform:uppercase; letter-spacing:0.05em;
  color: var(--blue); margin-bottom: 18px;
}
.case__kpi {
  font-family: var(--f-display); font-weight:900;
  font-variation-settings:"wght" 900,"wdth" 122;
  font-size: clamp(44px, 5vw, 60px); line-height:0.95; letter-spacing:-0.03em;
  color: var(--ink);
}
.case__kpi .u { color: var(--blue); }
.case__desc { margin-top:12px; color: var(--n-600); font-size:15px; }
.case__src { margin-top:auto; padding-top:18px; font-size:12px; color: var(--n-400); }

.services { display:grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(30px,5vw,64px); margin-top:64px; align-items:start; }
.svc-list { list-style:none; }
.svc-list li {
  display:flex; gap:16px; padding: 20px 0; border-top:1px solid var(--n-100);
  align-items:baseline;
}
.svc-list li:last-child { border-bottom:1px solid var(--n-100); }
.svc-list .idx { font-family:var(--f-mono); font-weight:500; font-size:14px; color: var(--coral); min-width: 34px; }
.svc-list h4 { font-family:var(--f-sans); font-weight:600; font-size:18px; }
.svc-list p { font-size:14.5px; color: var(--n-600); margin-top:4px; }

/* ============================================================
   Spotlight — talent in evidenza, image-forward full-bleed
   (Cirqle × Whalar, dentro le regole del brand)
   ============================================================ */
.spotlight { background: var(--ink); color:#fff; overflow:hidden; }
.spotlight__inner {
  display:grid; grid-template-columns: 1fr 1fr;
  min-height: clamp(480px, 62vw, 680px);
}
.spotlight__img {
  position:relative; overflow:hidden;
  background: repeating-linear-gradient(135deg,#1a1f2e 0 14px,#161b28 14px 28px);
}
.spotlight__img .ph {
  position:absolute; inset:0; display:flex; align-items:flex-end; padding:18px;
  color:#5b6273; font-size:12px; font-weight:500;
  text-transform:uppercase; letter-spacing:0.06em;
}
.spotlight__tag {
  position:absolute; top:20px; left:20px;
  font-family:var(--f-sans); font-weight:600; font-size:12px;
  text-transform:uppercase; letter-spacing:0.05em;
  padding:6px 12px; border-radius:100px; background: var(--coral); color:#fff;
}
.spotlight__body {
  padding: clamp(36px, 5vw, 76px);
  display:flex; flex-direction:column; justify-content:center;
}
.spotlight__eyebrow {
  font-family:var(--f-sans); font-weight:500; font-size:13px;
  text-transform:uppercase; letter-spacing:0.08em; color: var(--blue-pale);
  margin-bottom: 18px;
}
.spotlight__name {
  font-family:var(--f-display); font-weight:900;
  font-variation-settings:"wght" 900,"wdth" 108;
  font-size: clamp(38px, 5.4vw, 76px); line-height:0.95; letter-spacing:-0.03em;
}
.spotlight__role { font-size:15px; color:#B9BFCD; margin-top:14px; }
.spotlight__quote {
  font-family: var(--f-serif); font-weight:400;
  font-size: clamp(22px, 2.6vw, 32px); line-height:1.32;
  margin-top: 30px; max-width: 26ch;
}
.spotlight__quote .hl { color: var(--ink); }
.spotlight__proof {
  margin-top: 34px; display:flex; align-items:baseline; gap:12px;
  border-top:1px solid rgba(255,255,255,0.12); padding-top: 22px;
}
.spotlight__proof .v {
  font-family:var(--f-display); font-weight:900;
  font-variation-settings:"wght" 900,"wdth" 116;
  font-size: clamp(34px,4vw,48px); color: var(--coral); line-height:1; letter-spacing:-0.02em;
}
.spotlight__proof .l { font-size:13px; color:#9AA1B0; max-width: 24ch; }

/* ============================================================
   Method
   ============================================================ */
.steps { display:grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 48px; }
.step { border-top: 3px solid var(--ink); padding-top: 18px; }
.step .num { font-size: 40px; display:block; line-height:1; }
.step h4 { font-family:var(--f-sans); font-weight:600; font-size:18px; margin-top: 12px; }
.step p { font-size:14.5px; color: var(--n-600); margin-top:8px; }

/* ============================================================
   Blog
   ============================================================ */
.posts { display:grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 40px; }
.post { border-top: 1px solid var(--ink); padding-top: 18px; cursor:pointer; }
.post .cat { font-size:12px; font-weight:600; text-transform:uppercase; letter-spacing:0.05em; color: var(--coral); }
.post h4 { font-family: var(--f-display); font-weight:900; font-variation-settings:"wght" 900,"wdth" 96;
  font-size: 22px; line-height:1.12; margin-top:12px; letter-spacing:-0.015em; }
.post .meta { font-size:13px; color: var(--n-400); margin-top: 14px; }
.post:hover h4 { color: var(--blue); }

/* ============================================================
   CTA final
   ============================================================ */
.cta { background: var(--ink); color:#fff; text-align:center; }
.cta .h1 { color:#fff; max-width: 16ch; margin: 0 auto; }
.cta__sub { color:#C9CDD8; margin: 22px auto 34px; max-width: 46ch; }
.cta__actions { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--ink); color:#fff; border-top:1px solid #232838; }
.footer__grid { display:grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap:40px; padding-block: 64px 40px; }
.footer .logo { color:#fff; font-size: 30px; }
.footer .logo b { color: var(--blue-pale); }
.footer p { color:#9AA1B0; font-size:14px; margin-top:14px; max-width: 34ch; }
.footer h5 { font-family:var(--f-sans); font-weight:600; font-size:13px; text-transform:uppercase; letter-spacing:0.06em; color:#6E7686; margin-bottom:14px; }
.footer ul { list-style:none; }
.footer ul li { margin-bottom:10px; }
.footer ul a { color:#C9CDD8; font-size:14.5px; }
.footer ul a:hover { color:#fff; }
.footer__bottom { border-top:1px solid #232838; padding-block: 22px 34px; display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; color:#6E7686; font-size:13px; }

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal { opacity:0; transform: translateY(22px); transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity:1; transform:none; transition:none; }
  .marquee__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px) {
  .talent-grid { grid-template-columns: repeat(2,1fr); }
  .cases { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .posts { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 780px) {
  .nav__links { display:none; }
  .nav__toggle { display:inline-flex; }
  .nav__links.open {
    display:flex; position:absolute; top:100%; left:0; right:0;
    flex-direction:column; align-items:flex-start; gap:18px;
    background:#fff; padding: 22px var(--gutter); border-bottom:1px solid var(--n-100);
  }
  .nav__links.open a:not(.btn) { color: var(--ink); }
  .nav__toggle { z-index: 2; }
  .hero__grid { grid-template-columns: 1fr; }
  .faces { max-width: 420px; }
  .manifesto__row { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr; }
  .posts { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap:32px; }
}
@media (max-width: 480px) {
  .talent-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}

/* ============================================================
   WordPress — articoli editoriali, paginazione, allegati
   ============================================================ */
.bt-article { font-size: 18px; line-height: 1.75; color: var(--ink); }
.bt-article > * + * { margin-top: 1.15em; }
.bt-article p { max-width: 68ch; }
.bt-article h2 { font-family: var(--f-display); font-weight:900; font-variation-settings:"wght" 900,"wdth" 100; font-size: 30px; line-height:1.15; letter-spacing:-0.015em; margin-top: 1.6em; }
.bt-article h3 { font-family: var(--f-display); font-weight:900; font-size: 23px; margin-top: 1.4em; }
.bt-article a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.bt-article a:hover { color: var(--blue-hover); }
.bt-article blockquote { font-family: var(--f-serif); font-size: 26px; line-height:1.3; border-left: 3px solid var(--coral); padding-left: 22px; margin-block: 1.4em; color: var(--ink); }
.bt-article ul, .bt-article ol { padding-left: 1.3em; }
.bt-article li { margin-top: .4em; }
.bt-article img { border-radius: 2px; }
.bt-article code, .bt-article pre { font-family: var(--f-mono); font-size: .9em; background: var(--n-050); }
.bt-article pre { padding: 18px; overflow-x:auto; border:1px solid var(--n-100); }

.pagination { display:flex; gap:8px; flex-wrap:wrap; }
.pagination .page-numbers { display:inline-flex; align-items:center; justify-content:center; min-width:42px; height:42px; padding:0 12px; border:1.5px solid var(--n-100); border-radius:100px; font-family:var(--f-sans); font-weight:500; font-size:15px; color:var(--ink); }
.pagination .page-numbers.current { background: var(--ink); color:#fff; border-color: var(--ink); }
.pagination a.page-numbers:hover { border-color: var(--ink); }

/* Logo custom se caricato dal cliente */
.custom-logo { max-height: 34px; width:auto; }

/* Card talent con foto reale: il badge resta leggibile */
.tcard__ph[style*="background-image"] .face__ph,
.tface[style*="background-image"] .tface__meta { }

/* Admin bar spacing */
.admin-bar .nav { top: 32px; }
@media screen and (max-width: 782px){ .admin-bar .nav { top: 46px; } }
