/* =========================================================
   SEVENSOUNZ — v1.1
   Refined dark sound-tech · lime/magenta · awwwards vibe
   ========================================================= */

:root {
  --bg:        #0a0a0a;
  --bg-2:      #0e0e0e;
  --bg-soft:   #131313;
  --fg:        #f2f1ec;
  --fg-dim:    #8b8e95;
  --fg-faint:  rgba(242,241,236,0.32);
  --line:      rgba(242,241,236,0.08);
  --line-2:    rgba(242,241,236,0.14);

  --lime:      #d6ff3d;
  --magenta:   #ff2bd6;
  --cream:     #f2f1ec;

  /* Audio-reactive variables (updated by JS) */
  --audio-bass:    0;
  --audio-mid:     0;
  --audio-treble:  0;
  --audio-level:   0;

  --accent:    var(--lime);
  --ff-display: 'Space Grotesk', system-ui, sans-serif;
  --ff-serif:   'Instrument Serif', 'Times New Roman', serif;
  --ff-body:    'Inter', system-ui, sans-serif;
  --ff-mono:    'JetBrains Mono', ui-monospace, monospace;

  --maxw: 1480px;
  --pad-x: clamp(20px, 4vw, 64px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--ff-body);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  letter-spacing: -0.005em;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

::selection { background: var(--lime); color: #000; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Grain ---------- */
.grain {
  pointer-events: none;
  position: fixed; inset: 0;
  z-index: 9990;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---------- Cursor ---------- */
.cursor, .cursor-dot {
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width .25s var(--ease), height .25s var(--ease),
              background .25s var(--ease), opacity .25s var(--ease);
  mix-blend-mode: difference;
}
.cursor {
  width: 22px; height: 22px;
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 50%;
}
.cursor-dot {
  width: 3px; height: 3px;
  background: #fff;
  border-radius: 50%;
}
.cursor.is-hover {
  width: 56px; height: 56px;
  background: var(--lime);
  border-color: var(--lime);
}
@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-dot { display: none; }
}

/* ---------- Floating image (work list hover) ---------- */
.float-img {
  position: fixed; top: 0; left: 0;
  width: 360px; height: 240px;
  pointer-events: none;
  z-index: 50;
  border-radius: 4px;
  overflow: hidden;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85) rotate(-4deg);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.float-img::before {
  content: ""; position: absolute; inset: 0;
  background: var(--img) center/cover no-repeat;
  filter: contrast(1.05);
}
.float-img.is-active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) rotate(0deg);
}
@media (hover: none), (pointer: coarse) {
  .float-img { display: none; }
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 1px; width: 0%;
  background: linear-gradient(90deg, var(--lime), var(--magenta));
  z-index: 9998;
  transition: width .1s linear;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 18px var(--pad-x);
  gap: 32px;
  background: rgba(10,10,10,0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .35s var(--ease), padding .35s var(--ease), background .35s var(--ease);
}
.nav.scrolled {
  padding: 12px var(--pad-x);
  border-bottom-color: var(--line);
  background: rgba(10,10,10,0.85);
}
.nav-logo { color: var(--fg); display: inline-flex; align-items: center; }
/* Il marchio e' un PNG su fondo scuro: niente color/filter, si altererebbero i gradienti */
.nav-logo-img {
  width: auto; height: 46px;
  transition: opacity .25s var(--ease), height .35s var(--ease);
}
.nav-logo:hover .nav-logo-img { opacity: .82; }
.nav.scrolled .nav-logo-img { height: 38px; }

.nav-links {
  display: flex; gap: 28px;
  justify-self: center;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.nav-links a {
  position: relative;
  display: inline-flex; align-items: baseline; gap: 6px;
  padding: 4px 0;
  color: var(--fg-dim);
  transition: color .25s var(--ease);
}
.nav-links a span {
  font-size: 9px;
  color: var(--lime);
  opacity: 0;
  transform: translateY(2px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.nav-links a:hover { color: var(--fg); }
.nav-links a:hover span { opacity: 1; transform: none; }

.nav-cta {
  display: inline-block;
  padding: 0;
  border-radius: 999px;
  background: var(--cream);
  color: #000;
  transition: background .3s var(--ease), color .3s var(--ease);
  overflow: hidden;
}
.nav-cta-inner {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 18px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-cta-arrow { transition: transform .3s var(--ease); }
.nav-cta:hover { background: var(--lime); }
.nav-cta:hover .nav-cta-arrow { transform: translateX(3px); }

.nav-burger {
  display: none;
  width: 36px; height: 36px;
  flex-direction: column; justify-content: center; gap: 5px;
  align-items: flex-end;
}
.nav-burger span { display: block; width: 22px; height: 1.5px; background: var(--fg); transition: transform .3s var(--ease), width .3s var(--ease); }
.nav-burger span:last-child { width: 14px; }
.nav-burger.is-open span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-burger.is-open span:last-child  { transform: translateY(-3.5px) rotate(-45deg); width: 22px; }

.mobile-menu {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 90;
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: 100px var(--pad-x) 40px;
  transform: translateY(-100%);
  transition: transform .5s var(--ease);
  pointer-events: none;
}
.mobile-menu.is-open { transform: translateY(0); pointer-events: auto; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a {
  font-family: var(--ff-display);
  font-size: clamp(36px, 9vw, 60px);
  font-weight: 500;
  line-height: 1.1;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  letter-spacing: -0.02em;
}
.mobile-foot {
  display: flex; justify-content: space-between;
  font-family: var(--ff-mono); font-size: 12px;
  color: var(--fg-dim);
  text-transform: uppercase; letter-spacing: 0.06em;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding: 120px var(--pad-x) 40px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 70% 40%, black 5%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, black 5%, transparent 75%);
  opacity: 0.6;
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  width: 540px; height: 540px;
  right: -120px; top: 18%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, var(--lime) 0%, transparent 40%),
    radial-gradient(circle at 70% 70%, var(--magenta) 0%, transparent 50%);
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
  animation: orb 12s ease-in-out infinite alternate;
}
@keyframes orb {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(-60px, 40px) scale(1.1); }
}

.hero-meta {
  position: relative;
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.hero-meta .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
  animation: pulse 1.8s ease-in-out infinite;
}
.hero-meta .sep { color: var(--fg-faint); }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.7); }
}

.hero-title {
  position: relative;
  font-family: var(--ff-display);
  font-size: clamp(40px, 7vw, 104px);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin: 40px 0 0;
  max-width: 14ch;
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title em {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--lime);
  letter-spacing: -0.02em;
}
.hero-title .outline {
  -webkit-text-stroke: 1px var(--fg);
  color: transparent;
}

.hero-sub {
  position: relative;
  max-width: 540px;
  font-size: clamp(15px, 1.1vw, 17px);
  color: var(--fg-dim);
  line-height: 1.55;
  margin: 32px 0 0;
}
.hero-sub strong { color: var(--fg); font-weight: 600; }
.hero-sub .hi { color: var(--fg); }

.hero-foot {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.hero-link {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-link-circle {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--lime);
  color: #000;
  display: grid; place-items: center;
  transition: transform .35s var(--ease), background .35s var(--ease);
}
.hero-link:hover .hero-link-circle {
  transform: rotate(-45deg);
  background: var(--magenta);
  color: #fff;
}

.hero-eq {
  display: flex; align-items: center; gap: 2px;
  justify-content: center;
  height: 32px;
}
.hero-eq span {
  width: 2px;
  height: 6px;
  background: var(--fg-dim);
  animation: bar 1.4s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.05s);
  transform-origin: center;
}
@keyframes bar {
  0%, 100% { transform: scaleY(0.4); opacity: 0.5; }
  50%      { transform: scaleY(3.6); opacity: 1; }
}

.hero-tagline {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  font-size: 13px;
  color: var(--fg-dim);
  line-height: 1.45;
  text-align: left;
}
.tagline-num {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--lime);
  padding-top: 3px;
}
.hero-tagline em {
  font-family: var(--ff-serif);
  font-style: italic;
  color: var(--fg);
  font-size: 15px;
}

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg);
  padding: 22px 0;
}
.marquee-track {
  display: flex; gap: 36px; align-items: center;
  white-space: nowrap;
  animation: scroll 55s linear infinite;
  font-family: var(--ff-display);
  font-size: clamp(22px, 3.5vw, 38px);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.marquee-track .ghost {
  -webkit-text-stroke: 1px var(--fg);
  color: transparent;
}
.marquee-track .sq {
  color: var(--lime);
  font-size: 14px;
  flex-shrink: 0;
}
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Section base ---------- */
.section {
  padding: 100px var(--pad-x);
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 64px;
  align-items: end;
}
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-dim);
  grid-column: 1 / -1;
  margin-bottom: -16px;
}
.kicker-num {
  display: inline-grid; place-items: center;
  width: 20px; height: 20px;
  background: var(--lime);
  color: #000;
  border-radius: 2px;
  font-size: 10px;
  font-weight: 700;
}
.section-title {
  font-family: var(--ff-display);
  font-size: clamp(32px, 4.5vw, 64px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0;
  max-width: 18ch;
}
.section-title em {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--lime);
  letter-spacing: -0.02em;
}
.section-lead {
  max-width: 38ch;
  font-size: 15px;
  color: var(--fg-dim);
  line-height: 1.6;
  margin: 0;
  justify-self: end;
}

/* ---------- Work hover list ---------- */
.work-list {
  list-style: none;
  margin: 0; padding: 0;
  border-top: 1px solid var(--line-2);
}
.work-row {
  position: relative;
  display: grid;
  grid-template-columns: 60px 1fr auto auto 100px;
  align-items: center;
  gap: 32px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-2);
  cursor: pointer;
  transition: padding .4s var(--ease), color .3s var(--ease);
}
.work-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--lime);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform .6s var(--ease);
  z-index: 0;
  opacity: 0.04;
}
.work-row:hover::before { transform: scaleX(1); }
.work-row:hover { padding-left: 16px; padding-right: 16px; }
.work-row > * { position: relative; z-index: 1; }

.work-row-n {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
  transition: color .3s var(--ease);
}
.work-row:hover .work-row-n { color: var(--lime); }

.work-row-title {
  font-family: var(--ff-display);
  font-size: clamp(28px, 3.6vw, 56px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 0;
  position: relative;
  display: inline-block;
  overflow: hidden;
}
.work-row-title .t-base,
.work-row-title .t-hover {
  display: block;
  transition: transform .55s var(--ease);
}
.work-row-title .t-hover {
  position: absolute; inset: 0;
  font-style: italic;
  font-family: var(--ff-serif);
  font-weight: 400;
  color: var(--lime);
  transform: translateY(105%);
}
.work-row:hover .t-base  { transform: translateY(-105%); }
.work-row:hover .t-hover { transform: translateY(0); }

.work-row-cat,
.work-row-year {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--fg-dim);
  text-transform: uppercase;
}
.work-row-status {
  display: inline-flex; align-items: center; gap: 8px;
  justify-self: end;
  font-family: var(--ff-mono);
  font-size: 10px;
  padding: 5px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dim);
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.work-row-status i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--lime);
  display: inline-block;
}
.work-row:hover .work-row-status {
  border-color: var(--lime);
  color: var(--fg);
}

.work-foot {
  margin-top: 40px;
}
.ghost-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-dim);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-2);
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.ghost-link:hover { color: var(--lime); border-color: var(--lime); }

/* ---------- Strip / stats ---------- */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg-2);
}
.strip-item {
  padding: 40px var(--pad-x);
  display: flex; flex-direction: column; gap: 8px;
  border-right: 1px solid var(--line);
}
.strip-item:last-child { border-right: 0; }
.strip-num {
  font-family: var(--ff-display);
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--fg);
}
.strip-lbl {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-dim);
  line-height: 1.4;
}

/* ---------- Services ---------- */
.services-list {
  border-top: 1px solid var(--line-2);
}
.service { border-bottom: 1px solid var(--line-2); transition: background .3s var(--ease); }
.service summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 0;
  display: grid;
  grid-template-columns: 60px 1fr 40px;
  gap: 24px;
  align-items: center;
  transition: padding .35s var(--ease);
}
.service summary::-webkit-details-marker { display: none; }
.service:hover { background: rgba(214, 255, 61, 0.025); }
.service:hover summary { padding-left: 16px; }

.service-n {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--fg-dim);
  letter-spacing: 0.06em;
}
.service-t {
  font-family: var(--ff-display);
  font-size: clamp(22px, 2.6vw, 36px);
  font-weight: 500;
  letter-spacing: -0.025em;
}
.service-toggle {
  justify-self: end;
  width: 36px; height: 36px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--fg);
  transition: background .3s var(--ease), color .3s var(--ease), transform .35s var(--ease), border-color .3s var(--ease);
}
.service[open] .service-toggle {
  background: var(--lime);
  color: #000;
  border-color: var(--lime);
  transform: rotate(135deg);
}
.service-body {
  padding: 0 0 28px 84px;
  max-width: 720px;
  display: grid; gap: 16px;
}
.service-body p {
  margin: 0;
  font-size: 15px;
  color: var(--fg-dim);
  line-height: 1.65;
}
.service-tags {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.service-tags li {
  font-family: var(--ff-mono);
  font-size: 11px;
  padding: 5px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--fg);
}

/* ---------- About / Studio ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 80px;
}
.founder {
  padding: 32px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: var(--bg-2);
  transition: border-color .35s var(--ease), background .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.founder::after {
  content: ""; position: absolute;
  right: -40px; top: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--lime) 0%, transparent 70%);
  opacity: 0; transition: opacity .5s var(--ease);
  pointer-events: none;
}
.founder:hover { border-color: var(--line-2); background: var(--bg-soft); }
.founder:hover::after { opacity: 0.06; }

.founder-tag {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
}
.founder-mark {
  font-family: var(--ff-mono);
  font-size: 10px;
  padding: 4px 8px;
  background: var(--lime);
  color: #000;
  border-radius: 2px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.founder-line { height: 1px; background: var(--line-2); }
.founder-id {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.founder-name {
  font-family: var(--ff-display);
  font-size: clamp(32px, 3.6vw, 52px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 0 0 10px;
}
.founder-role {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lime);
  margin: 0 0 20px;
}
.founder-bio {
  color: var(--fg-dim);
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.65;
  max-width: 50ch;
}
.founder-bio strong { color: var(--fg); font-weight: 600; }
.founder-links {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 6px 14px;
}
.founder-links a {
  font-family: var(--ff-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fg);
  padding: 6px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.founder-links a:hover { color: #000; background: var(--lime); border-color: var(--lime); }

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.value span {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--lime);
  letter-spacing: 0.06em;
}
.value h4 {
  font-family: var(--ff-display);
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 600;
  margin: 12px 0 8px;
  letter-spacing: -0.01em;
}
.value p {
  margin: 0;
  color: var(--fg-dim);
  font-size: 14px;
  line-height: 1.6;
  max-width: 38ch;
}

/* ---------- Big CTA ---------- */
.big-cta {
  padding: 110px var(--pad-x);
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex; flex-direction: column;
  align-items: flex-start; gap: 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.big-cta .kicker { margin-bottom: 0; }
.big-cta::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 30%, rgba(255, 43, 214, 0.10), transparent 50%),
    radial-gradient(circle at 20% 70%, rgba(214, 255, 61, 0.08), transparent 50%);
  pointer-events: none;
}
.big-cta h2 {
  position: relative;
  font-family: var(--ff-display);
  font-size: clamp(32px, 5.2vw, 78px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0;
  max-width: 22ch;
}
.big-cta h2 em {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--lime);
}
.big-cta .hl {
  background: linear-gradient(transparent 65%, rgba(214,255,61,0.35) 65%);
  padding: 0 4px;
}
.big-cta-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 24px;
  background: var(--cream);
  color: #000;
  border-radius: 999px;
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.big-cta-btn:hover { background: var(--lime); }

/* ---------- Contact — mailto cards ---------- */
.mailto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.mailto-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  color: var(--fg);
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.mailto-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 0%, rgba(214,255,61,0.12), transparent 60%);
  opacity: 0;
  transition: opacity .5s var(--ease);
  pointer-events: none;
}
.mailto-card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease);
}
.mailto-card:hover {
  transform: translateY(-4px);
  border-color: var(--lime);
  background: var(--bg-soft);
}
.mailto-card:hover::before { opacity: 1; }
.mailto-card:hover::after  { transform: scaleX(1); }

.mailto-card--marco::before  { background: radial-gradient(circle at 70% 0%, rgba(0,229,255,0.12), transparent 60%); }
.mailto-card--marco::after   { background: var(--cyan); }
.mailto-card--marco:hover    { border-color: var(--cyan); }
.mailto-card--angelo::before { background: radial-gradient(circle at 70% 0%, rgba(255,43,214,0.14), transparent 60%); }
.mailto-card--angelo::after  { background: var(--magenta); }
.mailto-card--angelo:hover   { border-color: var(--magenta); }

.mailto-head {
  position: relative;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.mailto-n { color: var(--lime); }
.mailto-card--marco  .mailto-n { color: var(--cyan); }
.mailto-card--angelo .mailto-n { color: var(--magenta); }

.mailto-title {
  position: relative;
  font-family: var(--ff-display);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 4px 0 0;
}
.mailto-desc {
  position: relative;
  margin: 0;
  font-size: 14px;
  color: var(--fg-dim);
  line-height: 1.55;
  flex-grow: 1;
}
.mailto-foot {
  position: relative;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.mailto-addr {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--fg);
  word-break: break-all;
}
.mailto-arrow {
  font-size: 20px;
  color: var(--fg-dim);
  transition: transform .3s var(--ease), color .3s var(--ease);
  flex-shrink: 0;
}
.mailto-card:hover .mailto-arrow {
  color: var(--lime);
  transform: translate(4px, -4px);
}
.mailto-card--marco:hover  .mailto-arrow { color: var(--cyan); }
.mailto-card--angelo:hover .mailto-arrow { color: var(--magenta); }

/* ---------- Contact — consulenza in videocall ----------
   Volutamente orizzontale: le mailto-card sono verticali e numerate,
   questo blocco non deve leggersi come una quarta card. */
.callbook {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 36px 40px;
  margin-bottom: 48px;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: var(--bg-2);
  overflow: hidden;
}
.callbook::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 88% 50%, rgba(214,255,61,0.10), transparent 58%);
  pointer-events: none;
}
.callbook-txt { position: relative; }
.callbook-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 14px;
}
.callbook-kicker svg { width: 15px; height: 15px; }
.callbook-title {
  font-family: var(--ff-display);
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
}
.callbook-title em {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--lime);
}
.callbook-desc {
  margin: 0;
  max-width: 54ch;
  font-size: 14.5px;
  color: var(--fg-dim);
}
/* Argomenti selezionabili: riscrivono il mailto, non inviano nulla */
.callbook-topics { margin-top: 22px; }
.callbook-topics-lbl {
  display: block;
  margin-bottom: 10px;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.callbook-topics-lbl i {
  font-style: normal;
  color: var(--fg-faint);
}
.callbook-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.callbook-chip {
  padding: 7px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--fg-dim);
  cursor: pointer;
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.callbook-chip:hover { color: var(--fg); border-color: var(--fg-dim); }
.callbook-chip.is-on {
  background: var(--lime);
  border-color: var(--lime);
  color: #000;
}
.callbook-chip:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

.callbook-act {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.callbook-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 24px;
  background: var(--cream);
  color: #000;
  border-radius: 999px;
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: background .3s var(--ease);
}
.callbook-btn:hover { background: var(--lime); }
.callbook-note {
  display: flex; flex-direction: column; align-items: flex-end; gap: 3px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fg-dim);
  text-align: right;
}
.callbook-addr { color: var(--fg); }

.contact-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.contact-meta > div {
  display: flex; flex-direction: column; gap: 4px;
}
.contact-meta .lbl {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.contact-meta .val,
.contact-meta .social-row a {
  font-family: var(--ff-display);
  font-size: 16px;
  color: var(--fg);
  transition: color .25s var(--ease);
}
.contact-meta .social-row a:hover { color: var(--lime); }
.social-row { display: flex; gap: 16px; }
.social-row a { font-size: 14px; }

/* ---------- Footer ---------- */
.footer {
  padding: 60px var(--pad-x) 28px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 32px;
  margin-bottom: 40px;
}
.footer-big {
  display: block;
  font-family: var(--ff-display);
  font-size: clamp(48px, 9vw, 128px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.footer-big em {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--lime);
}
.footer-tag {
  display: block;
  margin-top: 10px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.footer-nav {
  display: flex; gap: 20px; flex-wrap: wrap;
  font-family: var(--ff-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-nav a { color: var(--fg-dim); transition: color .25s var(--ease); }
.footer-nav a:hover { color: var(--lime); }
.footer-bot {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fg-dim);
}
.mono { font-family: var(--ff-mono); }

/* ---------- Splash intro ---------- */
body.splash-locked { overflow: hidden; }

.splash {
  position: fixed; inset: 0;
  z-index: 10000;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 32px var(--pad-x);
  background: var(--bg);
  color: var(--fg);
  overflow: hidden;
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.splash.is-hidden {
  opacity: 0;
  transform: scale(1.02);
  pointer-events: none;
}

.splash-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(242,241,236,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242,241,236,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 10%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 10%, transparent 80%);
  opacity: 0.7;
}

.splash-orb {
  position: absolute;
  width: 700px; height: 700px;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, var(--lime) 0%, transparent 35%),
    radial-gradient(circle at 70% 70%, var(--magenta) 0%, transparent 45%);
  filter: blur(110px);
  opacity: 0.28;
  pointer-events: none;
  animation: splashOrb 8s ease-in-out infinite alternate;
}
@keyframes splashOrb {
  0%   { transform: translate(-50%, -50%) scale(0.9) rotate(0deg); }
  100% { transform: translate(-50%, -50%) scale(1.15) rotate(40deg); }
}

.splash-top,
.splash-bottom {
  position: relative;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dim);
  gap: 16px;
  flex-wrap: wrap;
}
.splash-tag { color: var(--fg); }
.splash-mark { display: inline-flex; align-items: center; }
.splash-mark-img { width: auto; height: 46px; }

.splash-loader {
  display: inline-flex; align-items: flex-end; gap: 3px;
  height: 14px;
}
.splash-loader i {
  display: block;
  width: 3px;
  height: 4px;
  background: var(--lime);
  animation: loaderBar 1.4s ease-in-out infinite;
  transform-origin: bottom;
}
.splash-loader i:nth-child(1) { animation-delay: 0s; }
.splash-loader i:nth-child(2) { animation-delay: 0.1s; }
.splash-loader i:nth-child(3) { animation-delay: 0.2s; }
.splash-loader i:nth-child(4) { animation-delay: 0.3s; }
.splash-loader i:nth-child(5) { animation-delay: 0.4s; }
.splash-loader i:nth-child(6) { animation-delay: 0.5s; }
.splash-loader i:nth-child(7) { animation-delay: 0.6s; }
.splash-loader i:nth-child(8) { animation-delay: 0.7s; }
@keyframes loaderBar {
  0%, 100% { transform: scaleY(0.4); opacity: 0.5; }
  50%      { transform: scaleY(3); opacity: 1; }
}

.splash-center {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center;
  gap: 32px;
  text-align: center;
}

.splash-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dim);
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(14,14,14,0.6);
  backdrop-filter: blur(8px);
}
.splash-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
  animation: pulse 1.6s ease-in-out infinite;
}

.splash-title {
  font-family: var(--ff-display);
  font-size: clamp(40px, 7vw, 96px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 0;
  max-width: 16ch;
}
.splash-title em {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--lime);
}
.splash-title span {
  display: block;
  margin-top: 12px;
  font-family: var(--ff-body);
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 400;
  color: var(--fg-dim);
  letter-spacing: 0;
  text-transform: none;
}

.splash-enter {
  position: relative;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: transparent;
  display: grid; place-items: center;
  cursor: pointer;
  transition: transform .35s var(--ease);
}
.splash-enter:hover { transform: scale(1.04); }
.splash-enter:active { transform: scale(0.97); }
.splash-enter-ring {
  position: relative;
  width: 100%; height: 100%;
  display: grid; place-items: center;
}
.splash-ring {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  color: var(--fg);
  animation: spin 16s linear infinite;
}
.splash-enter-core {
  position: relative;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: var(--lime);
  color: #000;
  display: grid; place-items: center;
  gap: 4px;
  grid-auto-flow: row;
  box-shadow: 0 20px 60px rgba(214,255,61,0.35);
  transition: background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.splash-enter:hover .splash-enter-core {
  background: var(--magenta);
  color: #fff;
  box-shadow: 0 20px 60px rgba(255,43,214,0.4);
}
.splash-enter-arrow {
  font-size: 18px;
  line-height: 1;
}
.splash-enter-label {
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.splash-skip {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-dim);
  padding: 6px 12px;
  border-bottom: 1px solid transparent;
  transition: color .25s var(--ease), border-color .25s var(--ease);
  cursor: pointer;
}
.splash-skip:hover { color: var(--fg); border-color: var(--line-2); }

.splash-foot { color: var(--fg-dim); }

@media (max-width: 720px) {
  .splash { padding: 20px var(--pad-x); }
  .splash-title { font-size: clamp(32px, 9vw, 48px); }
  .splash-title span { font-size: 13px; }
  .splash-enter { width: 160px; height: 160px; }
  .splash-enter-core { width: 92px; height: 92px; }
  .splash-tag { display: none; }
  .splash-foot { display: none; }
  .splash-orb { width: 420px; height: 420px; filter: blur(70px); }
}

/* ---------- Audio-reactive page overlay ---------- */
.audio-pulse {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(214,255,61,0.18), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,43,214,0.18), transparent 50%);
  mix-blend-mode: screen;
  transition: opacity .3s ease;
}
body.is-playing .audio-pulse {
  opacity: calc(0.4 + var(--audio-bass) * 0.6);
  transform: scale(calc(1 + var(--audio-bass) * 0.04));
}

/* Hero title slightly reacts to bass when music is playing */
body.is-playing .hero-title em {
  text-shadow:
    0 0 calc(var(--audio-bass) * 40px) rgba(214,255,61, calc(var(--audio-bass) * 0.7));
}
body.is-playing .hero-orb {
  transform: translate(
      calc(var(--audio-bass) * -30px),
      calc(var(--audio-mid)  * 20px)
    )
    scale(calc(1 + var(--audio-bass) * 0.1));
  opacity: calc(0.35 + var(--audio-level) * 0.4);
}
body.is-playing .scroll-progress {
  box-shadow: 0 0 calc(var(--audio-treble) * 20px) var(--lime);
}
body.is-playing .footer-big em {
  text-shadow:
    0 0 calc(var(--audio-mid) * 30px) rgba(214,255,61, calc(var(--audio-mid) * 0.6));
}
body.is-playing .marquee-track {
  animation-duration: calc(55s - var(--audio-bass) * 25s);
}

/* Sound hint badge */
.sound-hint {
  position: fixed;
  left: 50%; bottom: 88px;
  transform: translateX(-50%);
  z-index: 94;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  background: rgba(214,255,61,0.95);
  color: #000;
  border-radius: 999px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  box-shadow: 0 10px 30px rgba(214,255,61,0.25);
}
.sound-hint.is-visible {
  opacity: 1;
  animation: hintBounce 1.8s ease-in-out infinite;
}
.sh-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #000;
  animation: pulse 1s ease-in-out infinite;
}
@keyframes hintBounce {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, -6px); }
}

/* ---------- Audio Player (floating) ---------- */
.audio-player {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 95;
  display: inline-flex; align-items: center;
  padding: 8px 8px 8px 8px;
  gap: 12px;
  background: rgba(14,14,14,0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  transition: transform .4s var(--ease), opacity .4s var(--ease),
              background .3s var(--ease), box-shadow .3s var(--ease);
  opacity: 0;
  transform: translateY(20px);
}
.audio-player.is-ready {
  opacity: 1;
  transform: none;
}
.audio-player:hover { background: rgba(20,20,20,0.9); }
.audio-player.is-playing {
  box-shadow: 0 0 calc(var(--audio-bass) * 40px) rgba(214,255,61, calc(var(--audio-bass) * 0.6));
  border-color: rgba(214,255,61, calc(0.2 + var(--audio-level) * 0.5));
}

.ap-toggle {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg);
  border: 1px solid var(--line-2);
  transition: background .3s var(--ease);
  cursor: pointer;
  flex-shrink: 0;
}
.ap-toggle:hover { background: #000; }
.ap-disc {
  position: relative;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
}
.ap-vinyl {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  animation: spin 6s linear infinite;
  animation-play-state: paused;
}
.audio-player.is-playing .ap-vinyl { animation-play-state: running; }
@keyframes spin { to { transform: rotate(360deg); } }

.ap-icon {
  position: relative;
  font-size: 11px;
  color: var(--lime);
  z-index: 2;
}

.ap-info {
  display: flex; flex-direction: column; gap: 4px;
}
.ap-title {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
}
.ap-bars {
  display: inline-flex; align-items: flex-end; gap: 2px;
  height: 10px;
}
.ap-bars i {
  display: block;
  width: 2px;
  height: 2px;
  background: var(--fg-dim);
  transition: height .15s linear, background .25s var(--ease);
  transform-origin: bottom;
}
.audio-player.is-playing .ap-bars i {
  background: var(--lime);
}

.ap-mute {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--fg-dim);
  border: 1px solid transparent;
  transition: color .3s var(--ease), background .3s var(--ease);
  flex-shrink: 0;
  cursor: pointer;
}
.ap-mute:hover { color: var(--fg); background: rgba(255,255,255,0.06); }
.ap-mute.is-muted { color: var(--magenta); }
.ap-mute.is-muted::after {
  content: ""; position: absolute;
  width: 18px; height: 1.5px;
  background: var(--magenta);
  transform: rotate(-45deg);
  border-radius: 1px;
  pointer-events: none;
}
.ap-mute { position: relative; }

@media (max-width: 720px) {
  .audio-player {
    right: 12px; bottom: 12px;
    padding: 6px;
    gap: 8px;
  }
  .ap-info { display: none; }
  .ap-mute { width: 28px; height: 28px; }
  .ap-toggle { width: 36px; height: 36px; }
  .ap-disc { width: 28px; height: 28px; }
  .sound-hint {
    bottom: 78px;
    font-size: 10px;
    padding: 8px 14px;
  }
}

/* ---------- Studio Reveal section ---------- */
.reveal-section {
  padding: 100px var(--pad-x);
  max-width: var(--maxw);
  margin: 0 auto;
}
.reveal-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}

/* DUO layout — two cards, offset diagonally */
.reveal-duo {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 30px 0;
}
.reveal-card {
  margin: 0;
  position: relative;
  transition: transform .5s var(--ease);
}
.reveal-card--marco  { transform: translateY(-28px); }
.reveal-card--angelo { transform: translateY(28px); }
.reveal-card--marco:hover  { transform: translateY(-34px) scale(1.02); z-index: 2; }
.reveal-card--angelo:hover { transform: translateY(22px)  scale(1.02); z-index: 2; }

.reveal-img-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line-2);
}
.reveal-img-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.15) brightness(0.9);
  transition: filter .8s var(--ease), transform 1.2s var(--ease);
  display: block;
}
.reveal-card:hover .reveal-img-frame img {
  filter: grayscale(0%) contrast(1.05) brightness(1);
  transform: scale(1.04);
}
.reveal-img-frame::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(214,255,61,0.0) 0%, rgba(214,255,61,0.0) 50%, rgba(255,43,214,0.15) 100%),
    radial-gradient(circle at 50% 0%, rgba(214,255,61,0.18), transparent 60%);
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: 0.7;
  transition: opacity .5s var(--ease);
}
.reveal-card:hover .reveal-img-frame::after { opacity: 1; }

/* Different duotone tint for each founder */
.reveal-card--marco .reveal-img-frame::after {
  background:
    linear-gradient(180deg, rgba(0,229,255,0.0) 0%, rgba(0,229,255,0.0) 50%, rgba(0,229,255,0.15) 100%),
    radial-gradient(circle at 50% 0%, rgba(214,255,61,0.18), transparent 60%);
}
.reveal-card--angelo .reveal-img-frame::after {
  background:
    linear-gradient(180deg, rgba(255,43,214,0.0) 0%, rgba(255,43,214,0.0) 50%, rgba(255,43,214,0.18) 100%),
    radial-gradient(circle at 50% 0%, rgba(214,255,61,0.18), transparent 60%);
}

.reveal-scan {
  position: absolute; left: 0; right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
  opacity: 0.5;
  animation: scan 4s linear infinite;
  pointer-events: none;
  z-index: 3;
}
@keyframes scan {
  0%   { transform: translateY(0); }
  100% { transform: translateY(100cqh); }
}

.reveal-glitch {
  position: absolute; inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0px, rgba(255,255,255,0.025) 1px, transparent 1px, transparent 3px);
  mix-blend-mode: overlay;
  opacity: 0.4;
  z-index: 2;
}
.reveal-card:hover .reveal-glitch {
  animation: glitchShift .3s steps(3) infinite;
}
@keyframes glitchShift {
  0%   { transform: translate(0,0); }
  33%  { transform: translate(-2px, 1px); }
  66%  { transform: translate(2px, -1px); }
  100% { transform: translate(0,0); }
}

.reveal-img-meta {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.reveal-img-meta span:first-child {
  color: #000;
  background: var(--lime);
  padding: 2px 6px;
  border-radius: 2px;
  font-weight: 700;
}

.reveal-copy {
  display: flex; flex-direction: column;
  gap: 20px;
}
.reveal-copy .kicker { margin: 0; }
.reveal-title {
  font-family: var(--ff-display);
  font-size: clamp(28px, 3.8vw, 52px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0;
  max-width: 18ch;
}
.reveal-title em {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--lime);
}
.reveal-copy > p {
  color: var(--fg-dim);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
  max-width: 46ch;
}
.reveal-bullets {
  list-style: none;
  padding: 0; margin: 8px 0 0;
  display: flex; flex-direction: column; gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.reveal-bullets li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  color: var(--fg);
  font-size: 15px;
  line-height: 1.5;
}
.reveal-bullets b {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--lime);
  letter-spacing: 0.06em;
  padding-top: 4px;
  font-weight: 500;
}

@media (max-width: 1024px) {
  .reveal-grid { grid-template-columns: 1fr; gap: 40px; }
  .reveal-duo { padding: 16px 0; }
  .reveal-card--marco  { transform: translateY(-14px); }
  .reveal-card--angelo { transform: translateY(14px); }
}

/* ---------- Reveal ---------- */
.reveal, .work-row, .value, .founder, .strip-item {
  opacity: 0; transform: translateY(20px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in, .work-row.in, .value.in, .founder.in, .strip-item.in {
  opacity: 1; transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .strip { grid-template-columns: repeat(2, 1fr); }
  .strip-item:nth-child(2) { border-right: 0; }
  .strip-item:nth-child(1), .strip-item:nth-child(2) { border-bottom: 1px solid var(--line); }
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .values { grid-template-columns: 1fr; gap: 24px; }
  .mailto-grid { grid-template-columns: 1fr; }
  .contact-meta { grid-template-columns: 1fr 1fr; gap: 16px; }
  .callbook { grid-template-columns: 1fr; gap: 26px; }
  .callbook-act { align-items: stretch; }
  .callbook-note { align-items: flex-start; text-align: left; }
  .hero-foot { grid-template-columns: 1fr; gap: 28px; }
  .hero-eq { display: none; }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .section-lead { justify-self: start; }
  .work-row { grid-template-columns: 40px 1fr auto 90px; }
  .work-row-year { display: none; }
}

/* Il menu esteso non entra sotto i 960px: il CTA "Contattaci" veniva troncato */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; justify-self: end; }
  .nav { grid-template-columns: auto 1fr; }
}

@media (max-width: 720px) {
  :root { --pad-x: 18px; }
  .nav { padding: 14px var(--pad-x); }
  .section { padding: 64px var(--pad-x); }
  .section-head { gap: 16px; margin-bottom: 40px; }
  .hero { padding: 100px var(--pad-x) 100px; min-height: auto; }
  .hero-meta { font-size: 10px; gap: 8px; }
  .hero-meta .sep { display: none; }
  .hero-title { font-size: clamp(38px, 12vw, 60px); margin-top: 24px; }
  .hero-sub { font-size: 14px; margin-top: 20px; }
  .hero-foot { padding-top: 20px; margin-top: 32px; gap: 20px; }
  .hero-link-circle { width: 40px; height: 40px; }
  .hero-link { font-size: 11px; }
  .hero-tagline { font-size: 12px; }
  .hero-tagline em { font-size: 14px; }
  .hero-orb { width: 320px; height: 320px; right: -80px; }

  .marquee { padding: 16px 0; }
  .marquee-track { font-size: 22px; gap: 24px; }

  .strip-item { padding: 28px var(--pad-x); }
  .strip-num { font-size: 36px; }

  .work-row {
    grid-template-columns: 28px 1fr auto;
    gap: 12px; padding: 18px 0;
  }
  .work-row-cat, .work-row-year { display: none; }
  .work-row-title { font-size: clamp(22px, 7vw, 32px); }
  .work-row-n { font-size: 10px; }
  .work-row-status { font-size: 9px; padding: 4px 7px; }
  .work-row:hover { padding-left: 8px; padding-right: 8px; }

  .service summary { grid-template-columns: 36px 1fr 32px; gap: 14px; padding: 18px 0; }
  .service-t { font-size: clamp(20px, 6vw, 28px); }
  .service-n { font-size: 10px; }
  .service-body { padding: 0 0 22px 50px; }
  .service-body p { font-size: 14px; }
  .service:hover summary { padding-left: 8px; }

  .reveal-section { padding: 64px var(--pad-x); }
  .reveal-duo { gap: 12px; padding: 14px 0; }
  .reveal-card--marco  { transform: translateY(-10px); }
  .reveal-card--angelo { transform: translateY(10px); }
  .reveal-card--marco:hover  { transform: translateY(-12px) scale(1.01); }
  .reveal-card--angelo:hover { transform: translateY(8px)   scale(1.01); }
  .reveal-img-frame { aspect-ratio: 4 / 5; }
  .reveal-img-meta { font-size: 9px; gap: 6px; }
  .reveal-img-meta span:first-child { padding: 2px 5px; }
  .reveal-title { font-size: clamp(24px, 7vw, 32px); }
  .reveal-bullets li { font-size: 14px; grid-template-columns: 28px 1fr; }

  .big-cta { padding: 70px var(--pad-x); gap: 24px; }
  .big-cta h2 { font-size: clamp(28px, 8vw, 40px); }

  .mailto-card { padding: 24px; gap: 12px; }
  .mailto-addr { font-size: 11px; }
  .callbook { padding: 26px 22px; gap: 24px; margin-bottom: 36px; }
  .callbook-desc { font-size: 13.5px; }
  .callbook-btn { width: 100%; justify-content: center; }
  .contact-meta { grid-template-columns: 1fr; padding-top: 24px; gap: 16px; }
  .contact-meta .val, .contact-meta .social-row a { font-size: 14px; }

  .footer { padding: 48px var(--pad-x) 24px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 24px; margin-bottom: 32px; }
  .footer-big { font-size: clamp(48px, 16vw, 80px); }
  .footer-nav { gap: 14px; font-size: 11px; }
  .footer-bot { font-size: 10px; }

  .founder { padding: 22px; }
  .founder-name { font-size: clamp(28px, 9vw, 40px); }
  .founder-bio { font-size: 13px; }

  /* Float image: smaller on mobile */
  .float-img { width: 220px; height: 150px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 44px; }
  .marquee-track { font-size: 20px; gap: 18px; }
  .work-row-title .t-hover { font-size: 0.95em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============ SHOP / PRODUCT CARDS ============ */
.shop-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.75rem;
  margin-top: 3.5rem;
  isolation: isolate;
}

/* alone ambientale dietro la griglia: lime in alto-sx -> magenta in basso-dx */
.shop-grid::before {
  content: "";
  position: absolute;
  inset: -12% -8%;
  z-index: -1;
  background:
    radial-gradient(40% 50% at 12% 0%, color-mix(in srgb, var(--lime) 18%, transparent), transparent 70%),
    radial-gradient(45% 55% at 92% 100%, color-mix(in srgb, var(--magenta) 16%, transparent), transparent 70%);
  filter: blur(36px);
  opacity: 0.75;
  pointer-events: none;
}

/* Intestazione gruppo M@ker Lab (famiglia -Forge) dentro la sezione shop.
   Accento BLU dedicato: distingue i tool maker dalle app consumer (lime). */
.shop-group-head {
  position: relative;
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid color-mix(in srgb, #4da6ff 30%, var(--line-2));
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.shop-group-divider {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, #4da6ff 55%, var(--line-2));
  background: var(--bg);
  color: #4da6ff;
  box-shadow: 0 0 22px color-mix(in srgb, #4da6ff 35%, transparent);
}
.shop-group-divider svg { width: 22px; height: 22px; }
.shop-group-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4da6ff;
}
.shop-group-kicker svg { width: 18px; height: 18px; }
.shop-group-title {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.2;
}
.shop-group-title em { font-style: italic; color: #4da6ff; }
.shop-group-lead {
  max-width: 56ch;
  color: var(--fg-dim);
  font-size: 0.98rem;
}
.shop-grid--forge { margin-top: 2.25rem; }

/* Card della famiglia Forge: accento blu al posto del lime */
.shop-grid--forge .product-icon {
  border-color: color-mix(in srgb, #4da6ff 25%, var(--line-2));
  background: color-mix(in srgb, #4da6ff 6%, var(--bg));
  color: #4da6ff;
}
.shop-grid--forge .product-icon svg {
  filter: drop-shadow(0 0 6px color-mix(in srgb, #4da6ff 55%, transparent));
}
.shop-grid--forge .product-badge--lime {
  color: #4da6ff;
  text-shadow: 0 0 10px rgba(77, 166, 255, 0.6);
}
.shop-grid--forge .product-cta { color: #4da6ff; }
.shop-grid--forge .product-card:hover:not(.is-coming) {
  border-color: color-mix(in srgb, #4da6ff 55%, var(--line-2));
  box-shadow:
    0 18px 50px -22px color-mix(in srgb, #4da6ff 40%, transparent),
    0 0 0 1px color-mix(in srgb, #4da6ff 20%, transparent) inset;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-height: 270px;
  padding: 1.9rem;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--fg) 4%, transparent), transparent 60%),
    var(--bg-soft);
  color: var(--fg);
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

/* glow interno al passaggio mouse */
.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: radial-gradient(120% 90% at 18% 0%, color-mix(in srgb, var(--lime) 10%, transparent), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}

.product-card > * { position: relative; z-index: 1; }

.product-card:hover:not(.is-coming) {
  border-color: color-mix(in srgb, var(--lime) 55%, var(--line-2));
  transform: translateY(-5px);
  box-shadow:
    0 18px 50px -22px color-mix(in srgb, var(--lime) 40%, transparent),
    0 0 0 1px color-mix(in srgb, var(--lime) 20%, transparent) inset;
}

.product-card:hover:not(.is-coming)::after { opacity: 1; }

.product-badge {
  align-self: flex-start;
  font-family: var(--ff-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.32em 0.7em;
  border-radius: 999px;
  border: 1px solid currentColor;
  background: transparent;
}

.product-badge--lime    { color: var(--lime);    text-shadow: 0 0 10px color-mix(in srgb, var(--lime) 60%, transparent); }
.product-badge--magenta { color: var(--magenta); text-shadow: 0 0 10px color-mix(in srgb, var(--magenta) 60%, transparent); }
.product-badge--blue    { color: #4da6ff;        text-shadow: 0 0 10px rgba(77,166,255,0.6); }
.product-badge--green   { color: #46e08a;        text-shadow: 0 0 10px rgba(70,224,138,0.6); }
.product-badge--dim     { color: var(--fg-dim); border-color: var(--line-2); }

.product-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--lime) 25%, var(--line-2));
  background: color-mix(in srgb, var(--lime) 6%, var(--bg));
  color: var(--lime);
  margin-top: 0.25rem;
}

.product-icon svg {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--lime) 55%, transparent));
}

.product-icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px color-mix(in srgb, var(--lime) 35%, transparent));
}

.product-name {
  font-family: var(--ff-display);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

.product-desc {
  font-size: 0.875rem;
  color: var(--fg-dim);
  line-height: 1.65;
  flex: 1;
  margin: 0;
}

.product-cta {
  font-family: var(--ff-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--lime);
  margin-top: 0.4rem;
  transition: letter-spacing 0.2s var(--ease);
}

.product-card:hover:not(.is-coming) .product-cta { letter-spacing: 0.18em; }

/* card "solo nome" — icona + nome, niente badge/desc/cta */
.product-card--name {
  cursor: default;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.25rem;
  min-height: 200px;
}
.product-card--name .product-icon { margin-top: 0; }
.product-card--name .product-name { font-size: clamp(1.1rem, 1.7vw, 1.35rem); }
.product-card--name:hover {
  border-color: color-mix(in srgb, var(--lime) 45%, var(--line-2));
  transform: translateY(-4px);
}
.product-card--name:hover::after { opacity: 0.7; }

@media (max-width: 600px) {
  .shop-grid { grid-template-columns: 1fr; }
}
