/* 360 Production — stili del sito
   Colori principali in :root (giallo --yellow). Le sezioni sono in ordine come nella pagina. */

:root {
  --black: #000000;
  --raise: #111111;
  --raise-2: #1B1B1B;
  --line: rgba(255,255,255,.12);
  --white: #FFFFFF;
  --text: rgba(255,255,255,.72);
  --muted: rgba(255,255,255,.5);
  --yellow: #FFC400;
  --yellow-hi: #FFD84D;

  --s1: .5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2.5rem; --s5: 4rem; --s6: 7rem;
  --wrap: 76rem;
  --r-sm: 18px; --r: 28px; --r-lg: 40px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--black); }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter Tight", "Helvetica Neue", "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem; line-height: 1.6; letter-spacing: -0.011em;
  color: var(--text); background: var(--black);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; color: var(--white); font-weight: 700; line-height: 1.04; letter-spacing: -0.035em; }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
h3 { font-size: 1.4rem; font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; }
p { margin: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.lead { font-size: 1.25rem; max-width: 37rem; }
section { padding-block: var(--s6); }
section[id] { scroll-margin-top: 90px; }
.head { display: grid; gap: var(--s2); margin-bottom: var(--s5); max-width: 46rem; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 8px; }
h1:focus { outline: none; }
.skip { position: absolute; left: -999px; top: 0; background: var(--yellow); color: #000; padding: var(--s1) var(--s2); z-index: 30; border-radius: 999px; }
.skip:focus { left: var(--s2); top: var(--s2); }

/* Pulsanti */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: 0 1.6rem; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; touch-action: manipulation;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
/* Pulsante giallo: sfumatura con alone come una striscia LED */
.btn-y {
  color: #000;
  background: linear-gradient(135deg, #FFE680 0%, #FFC400 45%, #FF9E0A 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -2px 6px rgba(160,80,0,.25),
              0 0 14px rgba(255,196,0,.45), 0 8px 28px -6px rgba(255,170,0,.6);
  transition: box-shadow .3s ease, transform .2s var(--ease), filter .3s ease;
}
.btn-y:hover {
  filter: brightness(1.06) saturate(1.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -2px 6px rgba(160,80,0,.25),
              0 0 22px rgba(255,200,0,.7), 0 12px 40px -6px rgba(255,170,0,.75);
}
/* Pulsante a contorno: una luce LED gira lungo il bordo */
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.btn-o {
  color: var(--white);
  border: 1.5px solid transparent;
  background:
    linear-gradient(#0B0B0B, #0B0B0B) padding-box,
    conic-gradient(from var(--a), rgba(255,255,255,.18) 0deg, rgba(255,255,255,.18) 250deg, #FFC400 300deg, #FFF2B3 320deg, #FFC400 340deg, rgba(255,255,255,.18) 360deg) border-box;
  animation: led 4s linear infinite;
  transition: box-shadow .3s ease, transform .2s var(--ease);
}
.btn-o:hover { box-shadow: 0 0 18px rgba(255,196,0,.35), inset 0 0 12px rgba(255,196,0,.12); }
@keyframes led { to { --a: 360deg; } }

/* Segnaposto per i materiali da inviare */
.ph {
  position: relative; display: grid; place-items: center; text-align: center;
  background: var(--raise);
  border: 1.5px dashed rgba(255,196,0,.45); border-radius: var(--r);
  color: var(--muted); font-size: .9rem; font-weight: 500; padding: var(--s2);
}
.ph b { display: block; color: var(--yellow); font-weight: 600; font-size: .95rem; }

/* Header: capsula sospesa */
.top { position: fixed; top: 14px; left: 0; right: 0; z-index: 20; pointer-events: none; }
.bar {
  pointer-events: auto;
  width: min(100% - 1.5rem, 64rem); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  padding: .45rem .5rem .45rem 1.4rem; border-radius: 999px;
  background: rgba(20,20,20,.62); border: 1px solid var(--line);
  backdrop-filter: saturate(170%) blur(18px); -webkit-backdrop-filter: saturate(170%) blur(18px);
  transition: background-color .3s ease;
}
.top.scrolled .bar { background: rgba(20,20,20,.88); }
.brand { color: var(--white); text-decoration: none; font-weight: 700; font-size: 1.12rem; letter-spacing: -0.03em; white-space: nowrap; }
.brand span { font-weight: 400; color: var(--text); }
.nav { display: flex; align-items: center; gap: var(--s3); }
.nav > a:not(.btn) { text-decoration: none; color: var(--text); font-weight: 500; font-size: .97rem; padding-block: .5rem; }
.nav > a:not(.btn):hover { color: var(--white); }
.nav .btn { min-height: 44px; padding: 0 1.25rem; font-size: .95rem; }
.social { display: flex; gap: .15rem; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--text); }
.social a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.social svg { width: 19px; height: 19px; }

/* Menu per telefono e tablet */
.menu-btn {
  display: none; position: relative; width: 44px; height: 44px; border-radius: 50%; flex: none;
  border: 1.5px solid transparent; cursor: pointer; touch-action: manipulation;
  background:
    linear-gradient(#141414, #141414) padding-box,
    conic-gradient(from var(--a), rgba(255,255,255,.22) 0deg, rgba(255,255,255,.22) 240deg, #FFC400 295deg, #FFF2B3 318deg, #FFC400 340deg, rgba(255,255,255,.22) 360deg) border-box;
  animation: led 3.5s linear infinite;
}
.menu-btn span { position: absolute; left: 50%; width: 18px; height: 2px; border-radius: 2px; background: var(--white); transition: transform .35s var(--ease); }
.menu-btn span:first-child { transform: translate(-50%, -4px); top: 50%; }
.menu-btn span:last-child { transform: translate(-50%, 4px); top: 50%; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translate(-50%, 0) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translate(-50%, 0) rotate(-45deg); }

.mmenu {
  position: fixed; inset: 0; z-index: 19; display: flex; flex-direction: column; justify-content: space-between;
  padding: 7.5rem 1.5rem calc(2rem + env(safe-area-inset-bottom));
  background: radial-gradient(90% 45% at 50% 0%, rgba(255,196,0,.18), rgba(255,196,0,0) 70%), #000;
  opacity: 0; transition: opacity .3s ease; overflow-y: auto;
}
.mmenu.open { opacity: 1; }
.mlinks { display: grid; gap: .25rem; }
.mlinks a {
  display: block; padding: .55rem 0; text-decoration: none; color: var(--white);
  font-size: clamp(2.4rem, 11vw, 3.6rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1.05; text-transform: uppercase;
  opacity: 0; transform: translateY(24px); transition: opacity .45s ease, transform .55s var(--ease);
}
.mmenu.open .mlinks a { opacity: 1; transform: none; }
.mmenu.open .mlinks li:nth-child(2) a { transition-delay: .05s; }
.mmenu.open .mlinks li:nth-child(3) a { transition-delay: .1s; }
.mmenu.open .mlinks li:nth-child(4) a { transition-delay: .15s; }
.mlinks a:active, .mlinks a:hover, .mlinks a[aria-current="page"] {
  background: linear-gradient(100deg, #FF9E0A 0%, #FFC400 30%, #FFF6CC 45%, #FFC400 60%, #FF9E0A 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent; animation: shine 4.5s linear infinite;
}
.mfoot { display: grid; gap: var(--s3); padding-top: var(--s4); border-top: 1px solid var(--line); margin-top: var(--s4); }
.mfoot .btn { width: 100%; }
.msocial { display: flex; gap: var(--s3); }
.msocial a { color: var(--text); text-decoration: none; font-weight: 500; padding: .5rem 0; }
body.menu-open { overflow: hidden; }

/* Hero */
.hero { position: relative; padding: 9.5rem 0 var(--s6); }
.hero-light { display: none; }
@media (min-width: 761px) {
  .hero-light {
    display: block; position: absolute; left: 0; right: 0; top: 0; height: 115%;
    pointer-events: none; z-index: 0; overflow: hidden;
  }
  .hero-light::before, .hero-light::after { content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%); }
  /* fascio largo e caldo */
  .hero-light::before {
    width: 140%; height: 100%;
    background: radial-gradient(45% 60% at 50% 0%, rgba(255,214,90,.20) 0%, rgba(255,196,0,.08) 40%, rgba(255,196,0,0) 75%);
    animation: breathe 7s ease-in-out infinite;
  }
  /* nucleo più chiaro, come la sorgente della luce */
  .hero-light::after {
    width: 60%; height: 55%;
    background: radial-gradient(50% 50% at 50% 0%, rgba(255,246,214,.16) 0%, rgba(255,246,214,0) 70%);
  }
  .hero .wrap { position: relative; z-index: 1; }
}
@keyframes breathe { 50% { opacity: .75; } }
.hero .wrap { display: grid; grid-template-columns: 1.3fr .7fr; gap: var(--s5); align-items: center; }
.hero-text { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.9rem, 6.3vw, 5.9rem); letter-spacing: -0.05em; line-height: .98; }
.hero h1 span { display: block; color: var(--yellow); }
.hero .lead { margin-top: var(--s3); }
.hero .lead strong { color: var(--white); font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }

.hero-media { position: relative; justify-self: end; width: min(100%, 20rem); }
.phone { position: relative; aspect-ratio: 9 / 16; width: 100%; border-radius: var(--r-lg); overflow: hidden; background: #111 url("../media/video/showreel-poster.jpg") center / cover no-repeat; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 80px -20px rgba(255,196,0,.25); }
.phone video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.corner { position: absolute; width: 34px; height: 34px; border: 0 solid var(--yellow); z-index: 1; }
.c-tl { top: 18px; left: 18px; border-top-width: 4px; border-left-width: 4px; border-top-left-radius: 14px; }
.c-tr { top: 18px; right: 18px; border-top-width: 4px; border-right-width: 4px; border-top-right-radius: 14px; }
.c-bl { bottom: 18px; left: 18px; border-bottom-width: 4px; border-left-width: 4px; border-bottom-left-radius: 14px; }
.c-br { bottom: 18px; right: 18px; border-bottom-width: 4px; border-right-width: 4px; border-bottom-right-radius: 14px; }
.hud { position: absolute; top: 32px; left: 64px; right: 64px; text-shadow: 0 1px 6px rgba(0,0,0,.6); display: flex; justify-content: space-between; font-weight: 600; font-size: .85rem; color: var(--white); font-variant-numeric: tabular-nums; z-index: 1; }
.rec { display: inline-flex; align-items: center; gap: .4rem; }
.rec i { width: 9px; height: 9px; border-radius: 50%; background: #FF3B30; animation: blink 1.2s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Loghi clienti: nastro che scorre */
.logos { padding-block: 0 var(--s5); }
.logos p { color: var(--muted); font-size: .95rem; margin-bottom: var(--s3); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.track { display: flex; gap: var(--s2); width: max-content; animation: slide 43s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.track { gap: 3rem; }
.track li { flex: none; width: 15rem; height: 6.25rem; }
.track img { display: block; width: 100%; height: 100%; object-fit: contain; opacity: .78; transition: opacity .3s ease, filter .3s ease; }
.track li:hover img { opacity: 1; filter: drop-shadow(0 0 12px rgba(255,196,0,.55)); }
@keyframes slide { to { transform: translateX(calc(-50% - 1.5rem)); } }

/* Testo LED: giallo con un riflesso di luce che scorre */
.led-text {
  background: linear-gradient(100deg, #FF9E0A 0%, #FFC400 30%, #FFF6CC 45%, #FFC400 60%, #FF9E0A 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: shine 4.5s linear infinite;
  filter: drop-shadow(0 0 16px rgba(255,196,0,.35));
}
@keyframes shine { from { background-position: 120% 0; } to { background-position: -100% 0; } }

/* Servizi: titoli grandi che si aprono */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-h { margin: 0; font-size: inherit; }
.acc-btn {
  width: 100%; display: grid; grid-template-columns: 3.5rem 1fr auto; align-items: center; gap: var(--s3);
  padding: clamp(1.4rem, 3vw, 2.2rem) 0; background: none; border: 0; color: var(--white);
  font: inherit; text-align: left; cursor: pointer; touch-action: manipulation; border-radius: var(--r-sm);
}
.acc-n { color: var(--yellow); font-weight: 600; font-size: 1.05rem; font-variant-numeric: tabular-nums; align-self: start; padding-top: .9em; }
.acc-t {
  font-size: clamp(2.3rem, 7.2vw, 6.2rem); font-weight: 700; text-transform: uppercase;
  letter-spacing: -0.045em; line-height: .95;
  transition: color .3s ease, transform .4s var(--ease);
}
@media (hover: hover) { .acc-btn:hover .acc-t { transform: translateX(10px); } }
.acc-btn[aria-expanded="true"] .acc-t {
  background: linear-gradient(100deg, #FF9E0A 0%, #FFC400 30%, #FFF6CC 45%, #FFC400 60%, #FF9E0A 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: shine 4.5s linear infinite;
  filter: drop-shadow(0 0 16px rgba(255,196,0,.35));
}
.acc-ic {
  position: relative; width: 60px; height: 60px; border-radius: 50%; flex: none;
  border: 1.5px solid transparent;
  background:
    linear-gradient(#000, #000) padding-box,
    conic-gradient(from var(--a), rgba(255,255,255,.2) 0deg, rgba(255,255,255,.2) 240deg, #FFC400 295deg, #FFF2B3 318deg, #FFC400 340deg, rgba(255,255,255,.2) 360deg) border-box;
  box-shadow: 0 0 12px rgba(255,196,0,.18);
  animation: led 3.5s linear infinite;
  transition: transform .4s var(--ease), box-shadow .3s ease;
}
.acc-ic::before, .acc-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transform: translate(-50%, -50%); }
.acc-ic::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-btn:hover .acc-ic { box-shadow: 0 0 20px rgba(255,196,0,.45); }
.acc-btn[aria-expanded="true"] .acc-ic {
  transform: rotate(45deg); color: #000;
  background: linear-gradient(135deg, #FFE680, #FFC400 45%, #FF9E0A) padding-box, linear-gradient(135deg, #FFE680, #FF9E0A) border-box;
  box-shadow: 0 0 14px rgba(255,196,0,.5);
}
.acc-p { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.acc-p.open { grid-template-rows: 1fr; }
.acc-in { overflow: hidden; padding-inline: 16px; margin-inline: -16px; }
.acc-body {
  display: grid; gap: var(--s2); justify-items: start; max-width: 44rem;
  margin-left: calc(3.5rem + var(--s3)); padding-bottom: var(--s4);
  opacity: 0; transform: translateY(-10px); transition: opacity .4s ease, transform .5s var(--ease);
}
.acc-p.open .acc-body { opacity: 1; transform: none; }
.acc-body .tag { color: var(--white); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.02em; }
.acc-body > p:not(.tag) { font-size: 1.1rem; }
.acc-body ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.acc-body li { background: var(--raise-2); color: var(--white); border-radius: 999px; padding: .45rem 1rem; font-size: .95rem; }
.acc-body .btn { margin-top: var(--s1); }
.acc-body .fine { font-size: .9rem; }

/* I nostri lavori: video che scorrono + titolo animato */
.works-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); align-items: center; }
.works-reel {
  height: 44rem; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}
.col { display: flex; flex-direction: column; gap: var(--s2); }
.col li { flex: none; }
.col video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--r); background: #111; }
.col-up { animation: colUp 34s linear infinite; }
.col-down { animation: colDown 34s linear infinite; }
.works-reel:hover .col { animation-play-state: paused; }
@keyframes colUp { from { transform: translateY(0); } to { transform: translateY(calc(-50% - var(--s2) / 2)); } }
@keyframes colDown { from { transform: translateY(calc(-50% - var(--s2) / 2)); } to { transform: translateY(0); } }
.works-text { display: grid; gap: var(--s3); justify-items: start; }
.big-title { font-size: clamp(3rem, 7.4vw, 6.6rem); text-transform: uppercase; letter-spacing: -0.05em; line-height: .92; }
.split .w { display: block; overflow: hidden; padding-bottom: .06em; }
.split .i { display: inline-block; }
.js .split.rv { opacity: 1; transform: none; }
.js .split .i { transform: translateY(110%); transition: transform 1s var(--ease); }
.js .split .w + .w .i { transition-delay: .14s; }
.js .split.in .i { transform: none; }
.works-text .lead { font-size: 1.15rem; max-width: 30rem; }
.split .led-text { filter: none; }
.big-title { filter: drop-shadow(0 0 22px rgba(255,196,0,.22)); }

/* Pagina portfolio */
.page { padding: 9rem 0 var(--s6); }
.page-title { font-size: clamp(3.2rem, 10vw, 8.5rem); text-transform: uppercase; letter-spacing: -0.055em; line-height: .9; }
.page .lead { margin-top: var(--s3); }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: var(--s5) 0 var(--s4); }
.filters button {
  font: inherit; font-size: .95rem; font-weight: 500; color: var(--text); cursor: pointer; touch-action: manipulation;
  min-height: 44px; padding: 0 1.15rem; border-radius: 999px; border: 1px solid var(--line); background: transparent;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.filters button:hover { color: var(--white); border-color: rgba(255,255,255,.35); }
.filters button[aria-pressed="true"] { color: #000; border-color: transparent; background: linear-gradient(135deg, #FFE680, #FFC400 45%, #FF9E0A); box-shadow: 0 0 14px rgba(255,196,0,.4); }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.pcard { display: grid; gap: var(--s2); align-content: start; }
.pcard .ph { aspect-ratio: 4 / 5; border-radius: var(--r-lg); transition: transform .4s var(--ease); }
.pcard:hover .ph { transform: scale(1.02); }
.pcard h3 { font-size: 1.35rem; }
.pcard .meta { color: var(--muted); font-size: .95rem; margin-top: -.6rem; }
.pcard ul { display: flex; flex-wrap: wrap; gap: .4rem; }
.pcard li { background: var(--raise-2); color: var(--white); border-radius: 999px; padding: .3rem .8rem; font-size: .85rem; }
.pempty { color: var(--muted); padding: var(--s4) 0; }
a.pcard { text-decoration: none; color: inherit; border-radius: var(--r-lg); }
.pcard .go { display: inline-flex; align-items: center; gap: .4rem; color: var(--yellow); font-weight: 600; font-size: .95rem; }
.pcard:hover h3 { color: var(--yellow); }

/* Pagine legali */
.legal .page-title { font-size: clamp(2.6rem, 7vw, 5.5rem); }
.updated { color: var(--muted); margin-top: var(--s2); }
.legal-body { max-width: 46rem; margin-top: var(--s5); display: grid; gap: var(--s2); }
.legal-body h2 { font-size: 1.35rem; letter-spacing: -0.02em; margin-top: var(--s3); }
.legal-body p, .legal-body li { font-size: 1.02rem; line-height: 1.7; }
.legal-body b { color: var(--white); font-weight: 600; }
.legal-body ul { display: grid; gap: .5rem; padding-left: 1.2rem; list-style: disc; }
.legal-body li::marker { color: var(--yellow); }
.legal-body a { color: var(--white); text-decoration-color: var(--yellow); text-underline-offset: 3px; }

/* Pagina progetto */
.ptags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: var(--s3); }
.ptags li { background: var(--raise-2); color: var(--white); border-radius: 999px; padding: .35rem .9rem; font-size: .9rem; }
.project .page-title { font-size: clamp(2.8rem, 8vw, 7rem); }
.pj-cover { aspect-ratio: 16 / 9; border-radius: var(--r-lg); margin-top: var(--s5); }
.pj-about { display: grid; grid-template-columns: 1.4fr .9fr; gap: var(--s5); margin-top: var(--s6); align-items: start; }
.pj-text { display: grid; gap: var(--s2); }
.pj-text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.pj-text h2 + p { margin-bottom: var(--s3); font-size: 1.1rem; max-width: 40rem; }
.pj-facts { margin: 0; background: var(--raise); border-radius: var(--r-lg); padding: var(--s4); display: grid; gap: var(--s3); }
.pj-facts dt { color: var(--muted); font-size: .9rem; }
.pj-facts dd { margin: .15rem 0 0; color: var(--white); font-weight: 600; font-size: 1.1rem; }
.pj-h { margin-top: var(--s6); margin-bottom: var(--s4); }
.pj-media { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.pj-media .ph { aspect-ratio: 9 / 16; border-radius: var(--r); }
.pj-video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--r); background: #111; }
.pj-cover img, .pj-cover video { display: block; width: 100%; height: 100%; object-fit: cover; }
.pj-cover { overflow: hidden; }
.pthumb { aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: #111; }
.pthumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.pcard:hover .pthumb img { transform: scale(1.03); }
.pj-h2 { margin-top: var(--s6); margin-bottom: var(--s3); font-size: clamp(1.8rem, 4vw, 3rem); }
.pj-results { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.pj-results div { background: var(--raise); border-radius: var(--r-lg); padding: var(--s4); display: grid; gap: .3rem; }
.pj-results dd { margin: 0; order: -1; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.04em; color: var(--yellow); font-variant-numeric: tabular-nums; }
.pj-results dt { color: var(--text); }
.pj-nav { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s5); }
.page-cta { margin-top: var(--s6); }

/* Chi siamo */
.about .head { max-width: 52rem; }
.acc-body.person { display: grid; grid-template-columns: 1fr 13rem; gap: var(--s4); align-items: start; max-width: 56rem; }
.person-text { display: grid; gap: var(--s2); }
.person-ph { aspect-ratio: 4 / 5; border-radius: var(--r); }
.acc-single .acc-btn { grid-template-columns: 1fr auto; }
.acc-single .acc-body { margin-left: 0; }
.about-body > p:not(.tag) { max-width: 42rem; }
.about-body .chips { margin-top: -.25rem; }
.about-img { width: 100%; aspect-ratio: 21 / 9; border-radius: var(--r-lg); margin-bottom: var(--s4); }
.about-body { max-width: 56rem; }
.about-body .about-tag { font-size: clamp(1.4rem, 3vw, 2.2rem); line-height: 1.2; letter-spacing: -0.03em; max-width: 40rem; }
/* Animazione del testo quando si apre la tendina */
.about-body > * { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .7s var(--ease); transition-delay: 0s; }
.acc-p.open .about-body > * { opacity: 1; transform: none; transition-delay: calc(var(--d) * 90ms + 60ms); }
.about-tag .wd { display: inline-block; opacity: 0; transform: translateY(.5em); filter: blur(4px); transition: opacity .5s ease, transform .6s var(--ease), filter .5s ease; }
.acc-p.open .about-tag .wd { opacity: 1; transform: none; filter: none; transition-delay: calc(var(--i) * 70ms + 300ms); }
.acc-p.open .about-tag { transition-delay: 240ms; }
.about-body .chips li { opacity: 0; transform: scale(.85); transition: opacity .4s ease, transform .5s var(--ease), border-color .3s ease; }
.acc-p.open .about-body .chips li { opacity: 1; transform: none; transition-delay: calc(var(--c) * 60ms + 950ms); }
.acc-p.open .about-body .chips li:hover { border-color: var(--yellow); }
.about .statement { font-size: clamp(1.7rem, 3.2vw, 2.6rem); color: var(--white); font-weight: 600; letter-spacing: -0.035em; line-height: 1.15; }
.about .body { display: grid; gap: var(--s3); justify-items: start; }
.about-p { font-size: 1.1rem; max-width: 36rem; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; width: 100%; max-width: 36rem; }
.team li { background: var(--raise); border-radius: var(--r-sm); padding: .9rem 1rem; display: grid; gap: .1rem; }
.team b { color: var(--white); font-weight: 600; font-size: 1.05rem; }
.team span { font-size: .88rem; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { border: 1px solid var(--line); padding: .45rem 1rem; border-radius: 999px; font-size: .95rem; color: var(--white); }

/* Fascia gialla */
.free { padding-block: 0 var(--s6); }
.free .panel { background: var(--yellow); color: #000; border-radius: var(--r-lg); padding: clamp(2.5rem, 6vw, 5rem); display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s5); align-items: center; position: relative; overflow: hidden; }
.free .panel::after { content: ""; position: absolute; right: -8rem; top: -8rem; width: 22rem; height: 22rem; border-radius: 50%; border: 28px solid rgba(0,0,0,.07); pointer-events: none; }
/* Fascia illuminata: alone che pulsa, luce LED sul bordo, riflesso che passa */
.free .panel { isolation: isolate; animation: panelGlow 4s ease-in-out infinite; }
@keyframes panelGlow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255,236,150,.7), 0 0 36px rgba(255,196,0,.35), 0 0 110px rgba(255,170,0,.18); }
  50%      { box-shadow: 0 0 0 1px rgba(255,236,150,.9), 0 0 60px rgba(255,196,0,.55), 0 0 160px rgba(255,170,0,.3); }
}
.led-ring {
  position: absolute; inset: 0; border-radius: inherit; padding: 3px; pointer-events: none; z-index: 2;
  background: conic-gradient(from var(--a), transparent 0deg, transparent 230deg, rgba(255,255,255,.0) 250deg, #FFFFFF 300deg, #FFF3BF 320deg, rgba(255,255,255,0) 350deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: led 5s linear infinite;
}
.sweep { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; z-index: 0; }
.sweep::before {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 28%;
  background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.45), rgba(255,255,255,0));
  transform: translateX(-150%) skewX(-18deg);
  animation: sweep 5.5s ease-in-out infinite;
}
@keyframes sweep { 0%, 35% { transform: translateX(-150%) skewX(-18deg); } 75%, 100% { transform: translateX(480%) skewX(-18deg); } }
.free .panel > h2, .free .panel > .side { position: relative; z-index: 1; }

.free h2 { color: #000; font-size: clamp(2.4rem, 5.5vw, 4.6rem); letter-spacing: -0.05em; line-height: 1; }
.free p { font-size: 1.15rem; color: #1A1A1A; }
.free .side { display: grid; gap: var(--s3); justify-items: start; position: relative; z-index: 1; }
.free .btn, .foot-btn {
  color: var(--white);
  border: 2px solid transparent;
  background:
    linear-gradient(180deg, #2E2E2E 0%, #0A0A0A 60%, #000 100%) padding-box,
    conic-gradient(from var(--a), #000 0deg, #000 230deg, #FFC400 285deg, #FFFFFF 318deg, #FFC400 345deg, #000 360deg) border-box;
  animation: led 3.5s linear infinite;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 0 0 1px rgba(0,0,0,.6), 0 10px 24px -8px rgba(120,70,0,.55);
  transition: box-shadow .3s ease, transform .2s var(--ease);
}
.free .btn:hover, .foot-btn:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 0 0 1px rgba(0,0,0,.6), 0 0 18px rgba(255,255,255,.25), 0 14px 30px -8px rgba(120,70,0,.6); }

/* Pagina contatti */
.contact-page { padding: 9rem 0 var(--s6); }
.back { display: inline-flex; align-items: center; gap: .5rem; color: var(--text); text-decoration: none; font-weight: 500; margin-bottom: var(--s4); padding: .5rem 1rem .5rem .75rem; border-radius: 999px; border: 1px solid var(--line); }
.back:hover { color: var(--white); border-color: rgba(255,255,255,.35); }
.back svg { width: 18px; height: 18px; }
.contact-page h1 { font-size: clamp(2.8rem, 7vw, 6rem); letter-spacing: -0.05em; }
.contact-page h1 span { color: var(--yellow); }
.contact-page .lead { margin-top: var(--s3); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: var(--s4); margin-top: var(--s5); align-items: start; }
.side-cards { display: grid; gap: var(--s3); }
.card { background: var(--raise); border-radius: var(--r-lg); padding: var(--s4); }
.card h2 { font-size: 1.4rem; letter-spacing: -0.025em; margin-bottom: var(--s3); }
.steps { display: grid; gap: var(--s3); counter-reset: s; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: var(--s2); align-items: start; counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); color: #000; font-weight: 700; }
.steps b { display: block; color: var(--white); font-weight: 600; }
.info { display: grid; gap: var(--s3); margin: 0; }
.info dt { color: var(--muted); font-size: .9rem; }
.info dd { margin: 0; color: var(--white); font-size: 1.12rem; font-weight: 500; }
.people { display: grid; gap: .6rem; }
.people li { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); background: var(--raise-2); border-radius: var(--r-sm); padding: .8rem .8rem .8rem 1.1rem; }
.people b { display: block; color: var(--white); font-weight: 600; }
.tel { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tel .wa-ico { width: 1.05em; height: 1.05em; flex: none; }
.people .tel { font-size: .95rem; color: var(--text); margin-top: .1rem; }
.people .tel .wa-ico { color: #25D366; }
.people .tel:hover { color: var(--white); }
.foot-contacts .tel { color: #000; }
.foot-contacts .tel:hover { text-decoration: underline; text-underline-offset: 4px; }
.wa { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0 1rem; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .9rem; color: #000; background: linear-gradient(135deg, #FFE680, #FFC400 45%, #FF9E0A); box-shadow: 0 0 12px rgba(255,196,0,.35); flex: none; }
.wa svg { width: 18px; height: 18px; }
.mail-line { margin-top: var(--s3); color: var(--muted); }
.mail-line a { color: var(--white); font-weight: 600; margin-left: .4rem; text-decoration-color: var(--yellow); text-underline-offset: 4px; }
.todo { color: #000; background: var(--yellow); padding: 0 .35em; border-radius: 6px; font-size: .92em; }

form { background: var(--raise); border-radius: var(--r-lg); padding: var(--s4); display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.field { display: grid; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
label { color: var(--white); font-weight: 500; font-size: .95rem; }
input, textarea {
  font: inherit; font-size: 1rem; color: var(--white);
  background: var(--raise-2); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: .85rem 1.1rem; min-height: 52px; width: 100%;
  transition: border-color .2s ease;
}
input:hover, textarea:hover { border-color: rgba(255,255,255,.25); }
textarea { min-height: 9rem; resize: vertical; }
input:focus-visible, textarea:focus-visible { outline: 2px solid var(--yellow); outline-offset: 1px; }
.check { grid-column: 1 / -1; display: flex; gap: .7rem; align-items: flex-start; }
.check input { width: 22px; height: 22px; min-height: 0; margin-top: .1rem; accent-color: var(--yellow); flex: none; }
.check label { font-weight: 400; color: var(--text); font-size: .92rem; }
.err { color: #FF8A80; font-size: .88rem; }
.err:empty { display: none; }
.form-foot { grid-column: 1 / -1; display: grid; gap: var(--s2); }
.ready { display: none; gap: var(--s2); background: var(--raise-2); border-radius: var(--r); padding: var(--s3); }
.ready.show { display: grid; }
.ready p { color: var(--white); }
.ready .row { display: flex; flex-wrap: wrap; gap: var(--s2); }

/* Footer giallo con onde animate */
.foot { position: relative; background: var(--yellow); color: #000; margin-top: 90px; padding: var(--s5) 0 var(--s4); }
.waves { position: absolute; left: 0; right: 0; top: -138px; height: 140px; overflow: hidden; pointer-events: none; filter: drop-shadow(0 -4px 14px rgba(255,196,0,.55)) drop-shadow(0 -10px 40px rgba(255,170,0,.3)); }
.waves .wave { height: 80px; top: auto; }
.wave { position: absolute; left: 0; bottom: 0; height: 100%; width: calc(100% + var(--tile)); background-repeat: repeat-x; background-size: var(--tile) 100%; will-change: transform; animation: wave var(--speed) linear infinite; }
.wave-back {
  --tile: 720px; --speed: 16s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 720 80' preserveAspectRatio='none'%3E%3Cpath d='M0 40 C 120 8, 240 8, 360 40 S 600 72, 720 40 V80 H0 Z' fill='%23FFE27A'/%3E%3C/svg%3E");
  animation-direction: reverse;
}
.wave-front {
  --tile: 960px; --speed: 11s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 960 80' preserveAspectRatio='none'%3E%3Cpath d='M0 52 C 160 28, 320 28, 480 52 S 800 76, 960 52 V80 H0 Z' fill='%23FFC400'/%3E%3C/svg%3E");
}
@keyframes wave { to { transform: translateX(calc(-1 * var(--tile))); } }
/* Luci che si muovono piano sul fondo giallo */
.foot-light { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 160px); mask-image: linear-gradient(180deg, transparent 0, #000 160px); }
.foot-light::before, .foot-light::after { content: ""; position: absolute; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; border-radius: 50%; }
.foot-light::before { left: -10%; top: -40%; background: radial-gradient(circle, rgba(255,255,255,.45), rgba(255,255,255,0) 60%); animation: drift 14s ease-in-out infinite alternate; }
.foot-light::after { right: -15%; bottom: -55%; background: radial-gradient(circle, rgba(255,140,0,.35), rgba(255,140,0,0) 60%); animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(18vw, 10%); } }
.foot > .wrap { position: relative; z-index: 1; }
.foot-brand {
  background: linear-gradient(100deg, #000 0%, #000 42%, #7A5200 50%, #000 58%, #000 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  animation: shine 6s linear infinite;
}
.foot-top { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s4); flex-wrap: wrap; }
.foot-brand { font-size: clamp(2.8rem, 8vw, 6.5rem); font-weight: 700; letter-spacing: -0.055em; line-height: .95; }
.foot-claim { margin-top: var(--s2); font-size: 1.15rem; font-weight: 500; }
.foot-actions { display: flex; gap: .6rem; align-items: center; }
.round { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: var(--yellow); border: 2px solid transparent; background: radial-gradient(circle at 50% 30%, #2E2E2E, #000 70%) padding-box, conic-gradient(from var(--a), #000 0deg, #000 230deg, #FFC400 285deg, #FFFFFF 318deg, #FFC400 345deg, #000 360deg) border-box; animation: led 3.5s linear infinite; box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 10px 24px -8px rgba(120,70,0,.55); transition: transform .2s var(--ease), box-shadow .3s ease; }
.round:hover { transform: translateY(-2px) rotate(-8deg); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 0 16px rgba(255,196,0,.5); }
.round svg { width: 21px; height: 21px; }
.foot-contacts { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s3); margin: var(--s5) 0 0; padding: var(--s4) 0; border-block: 1.5px solid rgba(0,0,0,.18); }
.foot-contacts dt { font-size: .9rem; color: rgba(0,0,0,.6); }
.foot-contacts dd { margin: .2rem 0 0; font-size: 1.1rem; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.todo-d { background: #000; color: var(--yellow); padding: 0 .35em; border-radius: 6px; font-size: .9em; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--s2); padding-top: var(--s3); font-size: .92rem; }
.foot-bottom nav { display: flex; gap: var(--s3); }
.foot a:not(.btn):not(.round) { text-decoration: none; }
.foot a:not(.btn):not(.round):hover { text-decoration: underline; text-underline-offset: 4px; }
.foot :focus-visible { outline-color: #000; }

/* Luce gialla che segue il cursore */
.cursor-light { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 761px) {
  .cursor-light {
    display: block; position: fixed; left: 0; top: 0; z-index: 15;
    width: 560px; height: 560px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,200,40,.17) 0%, rgba(255,196,0,.07) 35%, rgba(255,196,0,0) 70%);
    mix-blend-mode: screen; pointer-events: none;
    opacity: 0; transition: opacity .5s ease; will-change: transform;
  }
  .cursor-light.on { opacity: 1; }
  body.on-page .cursor-light { display: none; }
}

/* Comparsa allo scorrimento */
.js .rv { opacity: 0; transform: translateY(32px); transition: opacity .8s ease, transform .8s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1000px) {
  .nav > a:not(.btn) { display: none; }
  .menu-btn { display: block; }
  .nav { gap: .5rem; }
}
@media (max-width: 900px) {
  .foot-contacts { grid-template-columns: 1fr 1fr; }
  .contact-grid, .free .panel, .works-grid { grid-template-columns: 1fr; gap: var(--s4); }
  .works-text { order: -1; }
  .works-reel { height: 34rem; }
  .pgrid { grid-template-columns: 1fr 1fr; }
  .pj-about { grid-template-columns: 1fr; gap: var(--s4); }
  .pj-media { grid-template-columns: 1fr 1fr; }
  .pj-results { grid-template-columns: 1fr; }
  .contact-grid form { order: -1; }
}
/* Telefono: lo showreel diventa lo sfondo dell'apertura */
@media (max-width: 760px) {
  .hero { min-height: 100svh; padding: 0; display: flex; align-items: flex-end; }
  .hero .wrap { display: block; padding-bottom: 2.75rem; }
  .hero-media { position: absolute; inset: 0; width: 100%; z-index: 0; }
  .phone { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0 0 var(--r-lg) var(--r-lg); box-shadow: none; }
  .hero-media::after { content: ""; position: absolute; inset: 0; border-radius: 0 0 var(--r-lg) var(--r-lg); background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.1) 22%, rgba(0,0,0,.72) 42%, rgba(0,0,0,.9) 60%, rgba(0,0,0,.96) 100%); pointer-events: none; z-index: 1; }
  .corner, .hud { display: none; }
  .hero h1 { font-size: clamp(2.6rem, 11.5vw, 3.6rem); }
  .hero .lead { color: rgba(255,255,255,.85); font-size: 1.1rem; }
  .actions .btn { flex: 1 1 100%; }
  .logos { padding-top: var(--s5); }
  .track { gap: 2rem; }
  .track li { width: 10.5rem; height: 4.4rem; }
}
@media (max-width: 600px) {
  section { padding-block: var(--s5); }
  .head { margin-bottom: var(--s4); }
  .social { display: none; }
  .bar { padding-left: 1.1rem; }
  .nav .btn { padding: 0 1rem; }
  .pgrid { grid-template-columns: 1fr; }
  .pj-media { gap: var(--s2); }
  .pj-facts, .pj-results div { padding: var(--s3); border-radius: var(--r); }
  .pj-nav .btn { flex: 1 1 100%; }
  .people li { padding: .7rem .6rem .7rem .9rem; }
  .people .tel { font-size: .9rem; }
  .wa { padding: 0 .85rem; }
  .works-reel { height: 28rem; }
  form { grid-template-columns: 1fr; padding: var(--s3); }
  .card { padding: var(--s3); border-radius: var(--r); }
  .acc-btn { grid-template-columns: 1fr auto; gap: var(--s2); }
  .acc-n { display: none; }
  .acc-ic { width: 46px; height: 46px; }
  .acc-ic::before, .acc-ic::after { width: 16px; }
  .acc-body { margin-left: 0; }
  .acc-body.person { grid-template-columns: 1fr 7.5rem; gap: var(--s2); }
  .about-img { aspect-ratio: 4 / 3; border-radius: var(--r); }
  .acc-t { font-size: clamp(1.7rem, 8.2vw, 2.3rem); }
  .acc-btn { min-width: 0; }
  .acc-t { min-width: 0; overflow-wrap: anywhere; }
  .free .panel { border-radius: var(--r); }
  .contact-page, .page { padding-top: 7.5rem; }
  .foot-contacts { grid-template-columns: 1fr; gap: var(--s2); }
  .waves { top: -114px; height: 116px; }
  .waves .wave { height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rec i, .track, .wave, .btn-o, .menu-btn, .free .panel, .led-ring, .sweep::before, .free .btn, .foot-btn, .round, .foot-light::before, .foot-light::after, .foot-brand, .hero-light::before, .led-text, .acc-ic, .acc-btn[aria-expanded="true"] .acc-t, .col { animation: none; }
  .js .split .i { transform: none; transition: none; }
  .mmenu, .mlinks a, .menu-btn span { transition: none; }
  .about-body > *, .about-tag .wd, .about-body .chips li { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .track { flex-wrap: wrap; width: auto; }
  .track [aria-hidden="true"] { display: none; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .btn, .pcard .ph, .acc-p, .acc-body, .acc-t, .acc-ic { transition: none; }
  .btn:hover, .pcard:hover .ph, .acc-btn:hover .acc-t { transform: none; }
}

/* Portfolio: logo del cliente come copertina */
.plogo { aspect-ratio: 4 / 5; border-radius: var(--r-lg); display: grid; place-items: center; padding: 6%;
  background: radial-gradient(70% 55% at 50% 40%, rgba(255,196,0,.10), rgba(255,196,0,0) 70%), var(--raise);
  border: 1px solid var(--line); transition: border-color .3s ease, box-shadow .3s ease; }
.plogo img { width: 100%; height: auto; transition: transform .4s var(--ease), filter .3s ease; }
.pcard:hover .plogo { border-color: rgba(255,196,0,.45); box-shadow: 0 0 30px -6px rgba(255,196,0,.35); }
.pcard:hover .plogo img { transform: scale(1.05); filter: drop-shadow(0 0 14px rgba(255,196,0,.5)); }
.pj-logo { aspect-ratio: 21 / 9; display: grid; place-items: center;
  background: radial-gradient(60% 70% at 50% 45%, rgba(255,196,0,.16), rgba(255,196,0,0) 70%), var(--raise);
  border: 1px solid var(--line); }
.pj-logo img { width: min(60%, 34rem); height: auto; filter: drop-shadow(0 0 22px rgba(255,196,0,.35)); }
/* Contenuti come link ai social */
.pj-links { grid-template-columns: repeat(3, 1fr); }
.pj-link { position: relative; display: grid; place-items: center; aspect-ratio: 9 / 16; border-radius: var(--r); overflow: hidden;
  text-decoration: none; color: var(--white); background: radial-gradient(80% 60% at 50% 35%, rgba(255,196,0,.14), rgba(255,196,0,0) 70%), var(--raise);
  border: 1.5px solid transparent;
  background-clip: padding-box; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s ease, transform .3s var(--ease); }
.pj-link:hover { transform: translateY(-4px); box-shadow: 0 0 0 1.5px var(--yellow), 0 0 30px -4px rgba(255,196,0,.45); }
.pj-link img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pj-ico { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; color: #000;
  background: linear-gradient(135deg, #FFE680, #FFC400 45%, #FF9E0A); box-shadow: 0 0 24px rgba(255,196,0,.5); }
.pj-ico svg { width: 34px; height: 34px; }
.pj-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem 1.1rem 1.1rem; display: grid; gap: .15rem;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.85)); }
.pj-cap b { font-weight: 600; font-size: 1.02rem; }
.pj-cap span { font-size: .88rem; color: var(--yellow); }
.pj-link-ph { aspect-ratio: 9 / 16; border-radius: var(--r); }
@media (max-width: 900px) { .pj-links { grid-template-columns: 1fr 1fr; } .pj-logo { aspect-ratio: 16 / 9; } }
@media (prefers-reduced-motion: reduce) { .pj-link, .plogo img { transition: none; } .pj-link:hover, .pcard:hover .plogo img { transform: none; } }
/* Canali del cliente come link */
#pj-channels { display: flex; flex-wrap: wrap; gap: .5rem; }
.pj-ch { display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: 0 .9rem; border-radius: 999px;
  border: 1px solid var(--line); color: var(--white); text-decoration: none; font-size: .95rem; font-weight: 500; }
.pj-ch svg { width: 17px; height: 17px; color: var(--yellow); }
.pj-ch:hover { border-color: var(--yellow); box-shadow: 0 0 14px rgba(255,196,0,.3); }
/* Risultati: numeri grandi con effetto LED */
.pj-results dd { background: linear-gradient(100deg, #FF9E0A 0%, #FFC400 35%, #FFF6CC 50%, #FFC400 65%, #FF9E0A 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 14px rgba(255,196,0,.35)); font-size: clamp(2.4rem, 4.6vw, 3.6rem); }
.pj-results dd .todo { -webkit-text-fill-color: #000; color: #000; font-size: 1rem; filter: none; }
