@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --font: 'DM Sans', -apple-system, sans-serif;
  --text: #111111;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #ffffff;
  --bg-alt: #f9fafb;
  --radius: 12px;
  --radius-sm: 8px;
  --pill: 100px;
  --c-accent: #F97316;
  --c-twitch: #9146FF;
  --c-blab: #2563EB;
  --c-loom: #059669;
  --c-quiz: #D97706;
  --c-uni: #DC2626;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; scroll-padding-top: 72px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  margin: 0; padding: 0;
  padding-top: 64px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── NAVBAR ── */
.navbar-custom {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: .875rem 0;
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  transition: transform .3s ease;
}
.navbar-custom.navbar-hidden {
  transform: translateY(-100%);
}
.navbar-brand-custom {
  font-weight: 700; font-size: 1rem;
  color: var(--text) !important;
  letter-spacing: -.3px; text-decoration: none;
}
.navbar-nav .nav-link {
  color: var(--muted) !important;
  font-size: .875rem; font-weight: 500;
  padding: .4rem .75rem !important;
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
}
.navbar-nav .nav-link:hover {
  color: var(--text) !important;
  background: var(--bg-alt);
}
.btn-cv {
  display: inline-flex; align-items: center; gap: .375rem;
  background: var(--text); color: #fff !important;
  border-radius: var(--radius-sm);
  padding: .5rem 1.125rem;
  font-size: .8125rem; font-weight: 600;
  text-decoration: none;
  transition: opacity .2s; white-space: nowrap;
}
.btn-cv:hover { opacity: .8; color: #fff !important; }

/* ── HERO ── */
.hero {
  min-height: 92vh; display: flex; align-items: center;
  padding: 4rem 0 3.5rem;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

/* Blob animati arancioni nel background hero */
.hero::before {
  content: '';
  position: absolute;
  top: -20%; left: -8%;
  width: 60%; height: 75%;
  background: radial-gradient(circle, rgba(249,115,22,.14) 0%, transparent 68%);
  border-radius: 50%;
  filter: blur(48px);
  animation: hero-blob-1 14s ease-in-out infinite;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -15%; right: -5%;
  width: 55%; height: 65%;
  background: radial-gradient(circle, rgba(249,115,22,.10) 0%, transparent 68%);
  border-radius: 50%;
  filter: blur(56px);
  animation: hero-blob-2 17s ease-in-out infinite;
  pointer-events: none;
}

.hero-blob-3 {
  position: absolute;
  top: 35%; left: 40%;
  width: 40%; height: 50%;
  background: radial-gradient(circle, rgba(251,146,60,.07) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(64px);
  animation: hero-blob-3 20s ease-in-out infinite;
  pointer-events: none;
}

@keyframes hero-blob-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  30%       { transform: translate(35px, -28px) scale(1.06); }
  65%       { transform: translate(-18px, 22px) scale(0.95); }
}
@keyframes hero-blob-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  35%       { transform: translate(-30px, 24px) scale(1.05); }
  70%       { transform: translate(22px, -18px) scale(0.94); }
}
@keyframes hero-blob-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(-38px, -28px) scale(1.09); }
}

/* Container più largo per il solo hero */
.hero .container {
  max-width: 1400px;
  width: 100%;
}

.hero-card {
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.75);
  padding: 3.25rem 3.5rem;
  box-shadow:
    0 1px 3px rgba(0,0,0,.04),
    0 8px 28px rgba(0,0,0,.07),
    0 32px 80px rgba(0,0,0,.09);
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  font-size: .75rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.25rem;
}
.hero-name {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700; letter-spacing: -3px;
  line-height: 1.0; margin-bottom: 1rem;
}
.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 400; color: var(--muted);
  margin-bottom: 1.5rem; letter-spacing: -.3px;
}
.hero-bio {
  font-size: 1rem; color: var(--muted);
  max-width: 500px; margin-bottom: 2.5rem; line-height: 1.8;
}
.hero-logo {
  width: 100%; max-width: 340px;
  object-fit: contain; opacity: .9;
}
.hero-photo {
  width: 100%; max-width: 380px;
  border-radius: 16px;
  object-fit: cover;
  aspect-ratio: 3/4;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow:
    0 4px 12px rgba(0,0,0,.08),
    0 16px 40px rgba(0,0,0,.1);
}
.hero-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.hero-tag {
  font-size: .75rem; font-weight: 500; color: var(--muted);
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: var(--pill); padding: .25rem .75rem;
}

/* ── BUTTONS ── */
.btn-primary-custom {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--text); color: #fff;
  border-radius: var(--radius-sm);
  padding: .75rem 1.75rem;
  font-size: .9375rem; font-weight: 600;
  text-decoration: none; transition: opacity .2s;
}
.btn-primary-custom:hover { opacity: .8; color: #fff; }

.btn-outline-custom {
  display: inline-flex; align-items: center; gap: .5rem;
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .75rem 1.75rem;
  font-size: .9375rem; font-weight: 500;
  text-decoration: none; transition: border-color .2s;
}
.btn-outline-custom:hover { border-color: var(--text); color: var(--text); }

.btn-download {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--bg-alt); color: var(--text);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .6875rem 1.5rem;
  font-size: .875rem; font-weight: 600;
  text-decoration: none; transition: all .2s;
}
.btn-download:hover { background: var(--text); color: #fff; border-color: var(--text); }
.btn-download.disabled {
  opacity: .45; pointer-events: none; cursor: not-allowed;
}

/* ── SECTIONS ── */
.section { padding: 6rem 0; }
.section-alt { background: var(--bg-alt); }

.section-accent {
  border-left: 3px solid transparent;
  padding-left: 1.5rem; margin-bottom: 3.5rem;
}
.section-accent.ac-twitch { border-left-color: var(--c-twitch); }
.section-accent.ac-blab   { border-left-color: var(--c-blab); }
.section-accent.ac-loom   { border-left-color: var(--c-loom); }
.section-accent.ac-quiz   { border-left-color: var(--c-quiz); }
.section-accent.ac-uni    { border-left-color: var(--c-uni); }

#progetti {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 88% 6%,  rgba(220,38,38,.18) 0%, transparent 38%),
    radial-gradient(ellipse at 8% 94%,  rgba(220,38,38,.12) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 50%, rgba(255,255,255,.55) 0%, transparent 65%),
    linear-gradient(150deg, #fff1f2 0%, #fee2e2 45%, #fff5f5 100%);
}
#progetti::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(220,38,38,.09) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}
#progetti > .container {
  position: relative;
  z-index: 1;
}

.section-tag {
  display: inline-block;
  font-size: .7rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: .75rem;
}
.c-twitch { color: var(--c-twitch); }
.c-blab   { color: var(--c-blab); }
.c-loom   { color: var(--c-loom); }
.c-quiz   { color: var(--c-quiz); }
.c-uni    { color: var(--c-uni); }

.section-heading {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700; letter-spacing: -1.5px;
  line-height: 1.1; margin-bottom: 1rem;
}
.section-lead {
  font-size: 1.0625rem; color: var(--muted);
  max-width: 620px; line-height: 1.75; margin-bottom: 0;
}
.sub-heading {
  font-size: 1.0625rem; font-weight: 700;
  letter-spacing: -.3px; margin-bottom: 1.25rem;
}

/* ── STAT CARDS ── */
.stat-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem 1rem;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.stat-number {
  font-size: 2rem; font-weight: 700;
  letter-spacing: -1px; line-height: 1;
  margin-bottom: .375rem;
}
.stat-label {
  font-size: .7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--muted);
}

/* ── MEDIA ── */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.media-card {
  border-radius: var(--radius); overflow: hidden;
  background: #0a0a0a; aspect-ratio: 16/9;
}
.media-card video, .media-card img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.video-embed {
  position: relative; aspect-ratio: 16/9;
  border-radius: var(--radius); overflow: hidden; background: #0a0a0a;
}
.video-embed video, .video-embed iframe {
  width: 100%; height: 100%; border: none; display: block;
}

/* ── BOOTSTRAP PILLS OVERRIDE ── */
.nav-pills .nav-link {
  font-size: .8125rem; font-weight: 500; color: var(--muted);
  border-radius: var(--radius-sm); padding: .5rem 1rem;
  transition: background .15s, color .15s;
}
.nav-pills .nav-link:hover { background: var(--border); color: var(--text); }
.nav-pills .nav-link.active { background: var(--text); color: #fff; }

/* ── SPONSOR GRID ── */
.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}
.sponsor-item {
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 1;
  background: var(--bg-alt); border: 1px solid var(--border);
}
.sponsor-item img, .sponsor-item video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* ── PHONE SCROLL ── */
.phone-scroll {
  display: flex; gap: .75rem;
  overflow-x: auto; padding-bottom: .75rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.phone-screen {
  flex-shrink: 0; width: 140px;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
  scroll-snap-align: start;
}
.phone-screen img { width: 100%; display: block; }

/* ── TAG PILLS ── */
.tag-pill {
  display: inline-block; font-size: .75rem; font-weight: 500;
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: var(--pill); padding: .25rem .75rem; color: var(--muted);
}

/* ── LOOM SECTION ── */
#loomerlab {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0;
  background:
    radial-gradient(ellipse at 90% 5%, rgba(251,191,36,.45) 0%, transparent 35%),
    radial-gradient(ellipse at 5% 95%, rgba(249,115,22,.30) 0%, transparent 38%),
    linear-gradient(150deg, #fff7ed 0%, #ffedd5 45%, #fed7aa 100%);
}
#loomerlab .container { position: relative; z-index: 1; }

/* text on light-orange bg */
#loomerlab .section-tag  { color: #c2410c; }
#loomerlab .section-heading { color: #1c1917; }
#loomerlab .section-lead { color: #44403c; }
#loomerlab .section-accent {
  border-left-color: #f97316;
  margin-bottom: 1rem;
}

.loom-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.loom-content { display: flex; flex-direction: column; gap: 1.25rem; }
.loom-doc {
  background: rgba(255,255,255,.70);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(249,115,22,.25);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 6px 24px rgba(194,65,12,.10);
}
.loom-doc-icon { font-size: 2rem; margin-bottom: .5rem; line-height: 1; }
.loom-doc-title { font-size: 1.1rem; font-weight: 700; margin-bottom: .4rem; color: #1c1917; }
.loom-doc-text {
  font-size: .9rem; color: #57534e;
  line-height: 1.55; margin-bottom: 1.25rem;
}
.loom-doc .btn-download {
  background: #f97316;
  border-color: #f97316;
  color: #fff;
}
.loom-doc .btn-download:hover {
  background: #c2410c;
  border-color: #c2410c;
  color: #fff;
}
.loom-img {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-top: -3.5rem;
}
.loom-img img {
  width: 350px;
  max-width:  500px;
  display: block;
  border: none;
  margin-top: 20px;
  margin-right: 70px;
  filter: drop-shadow(0 20px 36px rgba(194,65,12,.22));
}
.loom-card {
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(249,115,22,.22);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
}
.loom-card-header {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .4rem;
}
.loom-card-icon { font-size: 1.25rem; line-height: 1; flex-shrink: 0; }
.loom-card-label { font-size: 1rem; font-weight: 700; color: #1c1917; margin: 0; }
.loom-card-text { font-size: .9375rem; color: #44403c; margin: 0; line-height: 1.55; }

/* ── BUSINESS LAB CAROUSEL ── */
.blab-carousel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(0,0,0,.09);
  background: #f5f5f5;
}
.blab-carousel .carousel-item {
  aspect-ratio: 16 / 9;
  background: #f5f5f5;
}
.blab-carousel .carousel-inner img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.blab-carousel .carousel-control-prev,
.blab-carousel .carousel-control-next {
  width: 52px;
  background: rgba(17,17,17,.55);
  opacity: 0;
  transition: opacity .2s;
}
.blab-carousel:hover .carousel-control-prev,
.blab-carousel:hover .carousel-control-next { opacity: 1; }
.blab-counter {
  position: absolute;
  bottom: .75rem; right: 1rem;
  font-size: .75rem; font-weight: 600;
  color: #fff;
  background: rgba(0,0,0,.45);
  padding: .2rem .6rem;
  border-radius: var(--pill);
  backdrop-filter: blur(4px);
  pointer-events: none;
  z-index: 10;
}

/* ── HIGHLIGHT BOX ── */
.highlight-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
}

/* ── BADGE CUSTOM ── */
.badge-custom {
  display: inline-block;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .5px; text-transform: uppercase;
  border-radius: var(--pill); padding: .3rem .875rem;
  margin-bottom: .875rem;
}

/* ── FOOTER ── */
footer {
  background: var(--text); color: #fff;
  padding: 4rem 0 2.5rem;
}
.footer-name {
  font-size: 1.375rem; font-weight: 700;
  letter-spacing: -.5px; margin-bottom: .25rem;
}
.footer-role { color: rgba(255,255,255,.45); font-size: .875rem; margin-bottom: 2rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.footer-links a {
  color: rgba(255,255,255,.6); text-decoration: none;
  font-size: .875rem; font-weight: 500; transition: color .2s;
}
.footer-links a:hover { color: #fff; }
.footer-copy {
  color: rgba(255,255,255,.22); font-size: .75rem;
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
}

/* ── CLIP CARDS (autoplay preview + click to expand) ── */
.clip-card {
  position: relative; cursor: pointer;
  border-radius: var(--radius); overflow: hidden;
  background: #0a0a0a; aspect-ratio: 16/9;
  transition: transform .25s, box-shadow .25s;
}
.clip-card:hover { transform: scale(1.025); box-shadow: 0 12px 32px rgba(0,0,0,.18); }
.clip-card video {
  width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none;
}
.clip-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.4) 0%, rgba(0,0,0,.1) 50%, transparent 100%);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .25s;
}
.clip-card:hover .clip-overlay { opacity: 1; }
.clip-play {
  width: 56px; height: 56px;
  background: rgba(255,255,255,.95);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(0,0,0,.3);
  transition: transform .2s;
}
.clip-card:hover .clip-play { transform: scale(1.1); }
.clip-play svg { width: 22px; height: 22px; fill: #111; margin-left: 3px; }

/* ── VERTICAL CAROUSEL ── */
.section-vert { padding: 4rem 0; background: #111; }
.section-vert .section-tag { color: rgba(255,255,255,.45); }
.section-vert .section-heading { color: #fff; }
.vert-carousel-wrap { position: relative; }
.vert-track {
  display: flex; gap: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 12px 4px;
  scrollbar-width: none;
}
.vert-track::-webkit-scrollbar { display: none; }
.vert-item {
  flex-shrink: 0;
  width: calc(33.333% - .75rem);
  min-width: 180px; max-width: 260px;
  aspect-ratio: 9/16;
  border-radius: var(--radius); overflow: hidden;
  background: #1a1a1a; scroll-snap-align: start;
  cursor: pointer; position: relative;
  transition: transform .25s;
}
.vert-item:hover { transform: scale(1.03); }
.vert-item video { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.vert-item .clip-overlay { opacity: 0; transition: opacity .25s; }
.vert-item:hover .clip-overlay { opacity: 1; }
.vert-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px;
  background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 50%; cursor: pointer; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.25rem; line-height: 1;
  transition: background .2s;
  backdrop-filter: blur(4px);
}
.vert-nav:hover { background: rgba(255,255,255,.25); }
.vert-prev { left: -52px; }
.vert-next { right: -52px; }

/* ── VIDEO MODAL ── */
#videoModal .modal-content {
  background: #0a0a0a; border: none;
  border-radius: var(--radius); overflow: hidden;
}
#videoModal .modal-header {
  background: #0a0a0a; border: none;
  padding: .75rem 1rem .5rem;
  justify-content: flex-end;
}
#videoModal .modal-body { padding: 0; }
.plyr { border-radius: 0 0 var(--radius) var(--radius); }

/* Plyr colour */
:root {
  --plyr-color-main: #9146FF;
  --plyr-control-icon-size: 18px;
  --plyr-font-size-base: 13px;
  --plyr-range-fill-background: #9146FF;
  --plyr-video-background: #0a0a0a;
}

/* ── IMG CLICKABLE WRAP (lightbox trigger) ── */
.img-clickable-wrap {
  position: relative; cursor: pointer;
  border-radius: var(--radius); overflow: hidden;
  display: block;
  transition: transform .25s, box-shadow .25s;
}
.img-clickable-wrap:hover {
  transform: scale(1.025);
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
}
.img-clickable-wrap img { width: 100%; display: block; }
.img-uniform { height: 850px; object-fit: cover; }
.img-expand-icon {
  position: absolute; top: .5rem; right: .5rem;
  width: 30px; height: 30px;
  background: rgba(0,0,0,.65); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .25s; pointer-events: none;
}
.img-clickable-wrap:hover .img-expand-icon { opacity: 1; }
.img-expand-icon svg { width: 15px; height: 15px; fill: currentColor; }

/* ── SPONSOR IMG GRID ── */
.sponsor-img-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

/* ── MERCH UNIFORM HEIGHT ── */
.img-merch-uniform { height: 320px; }
.img-merch-uniform img { height: 100%; width: 100%; object-fit: cover; }

/* ── SPONSOR PHOTO UNIFORM HEIGHT ── */
.sponsor-img-grid .img-clickable-wrap { height: 220px; }
.sponsor-img-grid .img-clickable-wrap img { height: 100%; width: 100%; object-fit: cover; }

/* ── IMAGE MODAL ── */
#imageModal .modal-content {
  background: #0a0a0a; border: none;
  border-radius: var(--radius); overflow: hidden;
}
#imageModal .modal-header {
  background: #0a0a0a; border: none;
  padding: .75rem 1rem .5rem; justify-content: flex-end;
}
#imageModal .modal-body { padding: 0 1rem 1rem; text-align: center; }
#imageModal #modalImage {
  max-width: 100%; max-height: 85vh;
  border-radius: var(--radius-sm); display: inline-block;
}

/* ── BROWSER MOCKUP ── */
.browser-mockup {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.10);
}
.browser-bar {
  background: #f3f4f6;
  border-bottom: 1px solid var(--border);
  padding: .5rem .875rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.browser-dots {
  display: flex; gap: .3rem; flex-shrink: 0;
}
.browser-dots span {
  width: 11px; height: 11px; border-radius: 50%;
}
.browser-dots span:nth-child(1) { background: #ef4444; }
.browser-dots span:nth-child(2) { background: #f59e0b; }
.browser-dots span:nth-child(3) { background: #22c55e; }
.browser-url-bar {
  flex: 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: .2rem .75rem;
  font-size: .72rem;
  color: #9ca3af;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browser-scroll {
  height: 420px;
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff;
  scrollbar-width: thin;
  scrollbar-color: #dc2626 #f3f4f6;
}
.browser-scroll::-webkit-scrollbar { width: 6px; }
.browser-scroll::-webkit-scrollbar-track { background: #f3f4f6; }
.browser-scroll::-webkit-scrollbar-thumb { background: #dc2626; border-radius: 3px; }
.browser-scroll img { width: 100%; display: block; }

/* ── UNIVERSITÀ — separatore decorativo tra progetti ── */
#p-goblood, #p-pell, #p-sna4 { padding: 3.5rem 0; }
.uni-sep {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.uni-sep::before,
.uni-sep::after {
  content: '';
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(220,38,38,.3), transparent);
}
.uni-sep span {
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(220,38,38,.45);
  white-space: nowrap;
}

/* ── BROWSER MOCKUP (Pelletteria Orsenigo) — scrollbar blue ── */
.pell-scroll {
  scrollbar-color: #1d4ed8 #f3f4f6;
}
.pell-scroll::-webkit-scrollbar-thumb { background: #1d4ed8; }

/* ── VERT-ITEM img support ── */
.vert-item img { width:100%; height:100%; object-fit:cover; display:block; pointer-events:none; }

/* ── PHONE CAROUSEL (GoBlood) — foto native senza ritaglio ── */
#p-goblood .vert-item {
  width: 220px;
  height: auto;
  min-width: unset;
  max-width: unset;
  aspect-ratio: unset;
  background: transparent;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
#p-goblood .vert-item img {
  height: auto;
  object-fit: contain;
}

/* ── PHONE CAROUSEL (GoBlood) — nav buttons su sfondo chiaro ── */
#p-goblood .vert-nav {
  background: rgba(220,38,38,.10);
  border-color: rgba(220,38,38,.30);
  color: #dc2626;
}
#p-goblood .vert-nav:hover { background: rgba(220,38,38,.22); }

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
  .hero { min-height: auto; padding: 4rem 0 3rem; }
  .loom-img { display: none; }
  .loom-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .hero { padding: 3rem 0 2.5rem; }
  .hero-card { padding: 2rem 1.75rem; border-radius: 20px; }
  .hero-name { letter-spacing: -2px; }
  .media-grid { grid-template-columns: 1fr 1fr; }
  .sponsor-grid { grid-template-columns: 1fr 1fr; }
  .loom-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .loom-img { margin-top: 0; }
  .vert-prev { left: 0; }
  .vert-next { right: 0; }
  .vert-carousel-wrap { padding: 0 3rem; }
  .vert-item { width: calc(50% - .5rem); }
}
@media (max-width: 480px) {
  .hero-card { padding: 1.75rem 1.25rem; border-radius: 16px; }
  .media-grid { grid-template-columns: 1fr; }
  .vert-item { width: 70%; }
  .vert-prev { left: 0; }
  .vert-next { right: 0; }
  .vert-carousel-wrap { padding: 0 3rem; }
}

/* ══════════════════════════ URSUCHAPEACH ══════════════════════════ */
#ursuchapeach {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 88% 4%,  rgba(236,72,153,.22) 0%, transparent 38%),
    radial-gradient(ellipse at 6% 96%,  rgba(251,113,133,.18) 0%, transparent 42%),
    radial-gradient(ellipse at 50% 50%, rgba(255,255,255,.55) 0%, transparent 62%),
    linear-gradient(150deg, #fff1f5 0%, #ffe4ec 46%, #fff6f8 100%);
}
#ursuchapeach > .container { position: relative; z-index: 1; }
#ursuchapeach .section-accent { border-left-color: #db2777; }
.c-peach { color: #be185d; }

/* ── header con avatar/handle ── */
.peach-handle {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(219,39,119,.22);
  border-radius: var(--pill);
  padding: .3rem .875rem .3rem .5rem;
  font-size: .8125rem; font-weight: 600; color: #9d174d;
  text-decoration: none; margin-bottom: 1rem;
  transition: background .2s, transform .2s;
}
.peach-handle:hover { background: #fff; color: #9d174d; transform: translateY(-1px); }
.peach-handle-dot {
  width: 20px; height: 20px; border-radius: 50%;
  background: linear-gradient(135deg, #f9a8d4, #db2777);
  flex-shrink: 0;
}

/* ── carosello card ── */
.peach-track { align-items: stretch; }
.peach-card {
  flex-shrink: 0;
  width: 230px;
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: .625rem;
}
.peach-media {
  position: relative;
  aspect-ratio: 9/16;
  border-radius: var(--radius);
  overflow: hidden;
  background: #1a1a1a;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(190,24,93,.14);
  transition: transform .25s, box-shadow .25s;
}
.peach-media:hover { transform: scale(1.03); box-shadow: 0 14px 32px rgba(190,24,93,.26); }
.peach-media video { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.peach-media .clip-overlay { opacity: 0; transition: opacity .25s; }
.peach-media:hover .clip-overlay { opacity: 1; }

/* badge views sovrapposto */
.peach-views {
  position: absolute; left: .5rem; bottom: .5rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .3rem;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: #fff; font-size: .7rem; font-weight: 700;
  letter-spacing: .2px;
  padding: .22rem .55rem; border-radius: var(--pill);
  pointer-events: none;
}
.peach-views svg { width: 12px; height: 12px; fill: currentColor; flex-shrink: 0; }
.peach-views.is-empty { opacity: .55; }

/* nota / didascalia */
.peach-note {
  font-size: .75rem; font-weight: 600; color: #9d174d;
  line-height: 1.4; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* link piattaforma */
.peach-links { display: flex; gap: .375rem; margin-top: auto; }
.peach-links a {
  width: 34px; height: 34px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(219,39,119,.2);
  color: #9d174d; text-decoration: none;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.peach-links a:hover { transform: translateY(-2px); }
.peach-links a svg { width: 16px; height: 16px; fill: currentColor; }
.peach-links a.pl-ig:hover { background: #E1306C; border-color: #E1306C; color: #fff; }
.peach-links a.pl-tt:hover { background: #111;    border-color: #111;    color: #fff; }
.peach-links a.pl-yt:hover { background: #FF0000; border-color: #FF0000; color: #fff; }
.peach-links a:focus-visible { outline: 2px solid #db2777; outline-offset: 2px; }

/* nav frecce su sfondo chiaro */
#ursuchapeach .vert-nav {
  background: rgba(219,39,119,.10);
  border-color: rgba(219,39,119,.30);
  color: #db2777;
}
#ursuchapeach .vert-nav:hover { background: rgba(219,39,119,.22); }

/* ── analytics ── */
.peach-stat {
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(219,39,119,.18);
  border-radius: var(--radius);
  padding: 1.5rem 1rem; text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.peach-stat:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(190,24,93,.14); }
.peach-stat .stat-number { color: #be185d; }
.peach-stat .stat-label { color: #9d174d; opacity: .75; }

.peach-plat {
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(219,39,119,.16);
  border-radius: var(--radius);
  padding: 1.25rem 1.375rem;
  height: 100%;
}
.peach-plat-head {
  display: flex; align-items: center; gap: .55rem; margin-bottom: 1rem;
}
.peach-plat-head svg { width: 18px; height: 18px; flex-shrink: 0; }
.peach-plat-name { font-size: .9375rem; font-weight: 700; color: #1c1917; margin: 0; }
.peach-plat-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; padding: .4rem 0;
  border-top: 1px solid rgba(219,39,119,.12);
}
.peach-plat-row:first-of-type { border-top: none; }
.peach-plat-row dt {
  font-size: .7rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; color: var(--muted); margin: 0;
}
.peach-plat-row dd {
  font-size: 1.0625rem; font-weight: 700; color: #1c1917;
  margin: 0; letter-spacing: -.3px;
}
.peach-plat.p-ig .peach-plat-head svg { fill: #E1306C; }
.peach-plat.p-tt .peach-plat-head svg { fill: #111; }
.peach-plat.p-yt .peach-plat-head svg { fill: #FF0000; }

/* avviso dati mancanti — sparisce da solo quando i numeri ci sono */
.peach-todo {
  display: flex; align-items: flex-start; gap: .75rem;
  background: rgba(255,255,255,.8);
  border: 1px dashed rgba(219,39,119,.45);
  border-radius: var(--radius);
  padding: .875rem 1.125rem;
  font-size: .8125rem; color: #9d174d; line-height: 1.6;
}
.peach-todo strong { color: #be185d; }
/* display:flex batterebbe la regola UA [hidden]{display:none} */
.peach-todo[hidden] { display: none; }

@media (max-width: 768px) {
  .peach-card { width: 190px; }
}
