/* ============================================================================
   SCALESHIP — home aggregatore. Si carica dopo style.css.
   Le due card usano il design dei rispettivi brand (font e colori copiati dai
   loro siti): Reportistika → Satoshi + Instrument Serif, verde; valeriopex.com
   → Geist, lime su nero.
   ========================================================================== */
main { overflow-x: clip; }
.hub-hero { overflow: visible; padding-top: calc(var(--nav-h) + clamp(32px, 6vh, 72px)); padding-bottom: clamp(20px, 3vw, 36px); }
.hub-hero__copy { display: grid; gap: 20px; justify-items: center; text-align: center; }
.hub-hero__copy h1 { max-width: 19ch; }
.hub-hero__copy .lead { max-width: 620px; }
.hub-logos { padding-block: clamp(20px, 3vw, 32px) clamp(32px, 4vw, 48px); }
.hub-logos .logos { margin-top: 0; }

.brands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); padding-bottom: clamp(48px, 6vw, 80px); }

.brand {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  min-height: 640px; padding: clamp(24px, 3.2vw, 40px);
  border-radius: var(--r-xl); border: 1px solid var(--line-2); color: #f4f4f4;
  transition: transform 260ms var(--ease), border-color 260ms var(--ease), box-shadow 260ms var(--ease);
}
.brand:hover { transform: translateY(-4px); }
.brand:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.brand__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand__url { font-size: 0.8125rem; font-weight: 500; opacity: 0.72; white-space: nowrap; }
.brand__body { display: grid; gap: 16px; justify-items: start; }
.brand h2 { margin: 0; font-size: clamp(2rem, 1.3rem + 2vw, 3rem); line-height: 1.04; color: inherit; }
.brand p { margin: 0; max-width: 46ch; font-size: 1.0625rem; line-height: 1.5; }
.brand__go {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0.8em 1.5em; margin-top: 8px;
  font-size: 1rem; font-weight: 700; transition: gap 200ms var(--ease);
}
.brand:hover .brand__go { gap: 16px; }
.brand__go .ic { width: 1.1em; height: 1.1em; }

/* Reportistika */
.brand--rk {
  font-family: "Satoshi", var(--font); background-color: #060606; border-color: rgba(92, 212, 78, 0.28);
  background-image:
    radial-gradient(90% 55% at 50% 0%, rgba(92, 212, 78, 0.2), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
}
.brand--rk:hover { border-color: rgba(92, 212, 78, 0.6); box-shadow: 0 30px 80px -40px rgba(92, 212, 78, 0.65); }
.brand--rk .brand__logo { height: 26px; width: auto; }
.brand--rk .brand__shot { position: absolute; z-index: -1; left: 8%; right: -14%; top: 96px; width: 106%; max-width: none; border-radius: 14px; border: 1px solid rgba(92, 212, 78, 0.28); opacity: 0.72; -webkit-mask-image: linear-gradient(#000 28%, transparent 62%); mask-image: linear-gradient(#000 28%, transparent 62%); }
.brand--rk .brand__pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(92, 212, 78, 0.28); background: #0b120a; font-size: 0.8125rem; font-weight: 500; }
.brand--rk .brand__pill i { width: 7px; height: 7px; border-radius: 50%; background: #5cd44e; box-shadow: 0 0 0 3px rgba(92, 212, 78, 0.22); }
.brand--rk h2 { font-weight: 500; letter-spacing: -0.035em; }
.brand--rk h2 em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: #5cd44e; }
.brand--rk p { color: #c4c4c4; }
.brand--rk .brand__go { background: #1f8215; color: #fff; border-radius: 12px; }

/* valeriopex.com */
.brand--vp { font-family: "Geist", var(--font); background: #0a0a0a; border-color: rgba(198, 255, 61, 0.26); color: #f4f4f0; }
.brand--vp:hover { border-color: rgba(198, 255, 61, 0.65); box-shadow: 0 30px 80px -40px rgba(198, 255, 61, 0.55); }
.brand--vp .brand__photo { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 76% 0; }
.brand--vp::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.1) 18%, rgba(10, 10, 10, 0.82) 40%, rgba(10, 10, 10, 0.95) 56%, #0a0a0a 72%); }
.brand--vp .brand__name { display: inline-flex; align-items: center; gap: 10px; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.02em; }
.brand--vp .brand__name i { width: 11px; height: 11px; border-radius: 50%; background: #c6ff3d; }
.brand--vp .brand__nums { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 0.875rem; color: #9a9a94; }
.brand--vp .brand__nums b { display: block; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; color: #f4f4f0; }
.brand--vp h2 { font-weight: 600; letter-spacing: -0.04em; }
.brand--vp h2 em { font-style: normal; color: #c6ff3d; }
.brand--vp p { color: #c9c9c3; }
.brand--vp .brand__go { background: #c6ff3d; color: #0a0a0a; border-radius: 999px; }

/* L'agenzia sotto le due card: stessa hero di prima, senza lo spazio per il menu */
.hero--agency { overflow: visible; padding-top: clamp(16px, 3vw, 32px); }
.hero--agency h2 { font-size: var(--t-display); line-height: 0.98; letter-spacing: -0.045em; font-weight: 800; max-width: 18ch; }

@media (max-width: 860px) {
  .brands { grid-template-columns: minmax(0, 1fr); }
  .brand { min-height: 560px; }
  .brand--vp { min-height: 740px; }
  .brand--vp::after { background: linear-gradient(180deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.1) 13%, rgba(10, 10, 10, 0.88) 31%, rgba(10, 10, 10, 0.96) 48%, #0a0a0a 64%); }
}
@media (prefers-reduced-motion: reduce) {
  .brand, .brand__go { transition: none; }
  .brand:hover { transform: none; }
}
