/* =========================================================
   Alessandro Porcella - "One Life in Music"
   Dark cinematic personal brand site. Single accent: stage-gold.
   Theme locked: dark for the whole page.
   ========================================================= */

/* ---------- Self-hosted fonts (variable weight 400-600) ---------- */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('assets/fonts/inter-tight-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('assets/fonts/inter-tight-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('assets/fonts/inter-tight-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('assets/fonts/inter-tight-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('assets/fonts/space-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('assets/fonts/space-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg:        #0a0a0c;
  --bg-2:      #101015;
  --panel:     #14141a;
  --panel-2:   #1a1a22;
  --line:      rgba(243, 239, 232, 0.10);
  --line-strong: rgba(243, 239, 232, 0.20);
  --fg:        #f3efe8;
  --muted:     #a8a298;
  --muted-2:   #6f6a62;
  --gold:      #d4a25a;
  --gold-hi:   #ecc784;
  --gold-dim:  rgba(212, 162, 90, 0.14);

  --r-panel: 14px;
  --r-sm: 8px;

  --maxw: 1240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --font-display: "Space Grotesk", "Inter Tight", system-ui, sans-serif;
  --font-body: "Inter Tight", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: #1a140a; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Film grain overlay ---------- */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
section { position: relative; }
.section-pad { padding: clamp(80px, 14vh, 160px) 0; }

.kicker {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.section-intro {
  color: var(--muted);
  max-width: 56ch;
  margin-top: 22px;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  padding: 14px 26px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.985); }
.btn-primary { background: var(--gold); color: #1a140a; }
.btn-primary:hover { background: var(--gold-hi); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-hi); transform: translateY(-2px); }
.btn .ico { width: 16px; height: 16px; }
.btn-pill {
  background: transparent; color: var(--fg);
  border-color: var(--line-strong);
  font-size: 0.82rem; font-weight: 600;
  padding: 10px 20px;
}
.btn-pill:hover { border-color: var(--gold); color: var(--gold-hi); transform: translateY(-2px); }
.btn-pill-gold {
  background: var(--gold); color: #1a140a;
  border-color: var(--gold);
  font-size: 0.82rem; font-weight: 600;
  padding: 10px 20px;
}
.btn-pill-gold:hover { background: var(--gold-hi); border-color: var(--gold-hi); transform: translateY(-2px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 70px; display: flex; align-items: center;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 10, 12, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); }
.brand-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  object-fit: cover; object-position: top center;
  border: 1px solid var(--gold); flex-shrink: 0;
}
.brand .name { font-weight: 500; letter-spacing: -0.01em; font-size: 1.02rem; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 0.92rem; color: var(--muted); letter-spacing: 0.01em;
  transition: color 0.2s var(--ease); position: relative;
}
.nav-links a:hover { color: var(--fg); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0;
  background: var(--gold); transition: width 0.3s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--fg); }
.nav-links a.active::after { width: 100%; background: var(--gold); }

.lang {
  display: flex; align-items: center; gap: 2px;
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px;
}
.lang button {
  font-family: var(--font-body); background: transparent; border: 0; cursor: pointer;
  color: var(--muted); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 6px 11px; border-radius: 999px; transition: all 0.2s var(--ease);
}
.lang button.active { background: var(--gold); color: #1a140a; }
.lang button:not(.active):hover { color: var(--fg); }

.nav-toggle {
  display: none; background: transparent; border: 0; color: var(--fg);
  cursor: pointer; padding: 8px; flex-direction: column; gap: 5px;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-drawer {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: rgba(10, 10, 12, 0.97);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav-open .nav-drawer { display: block; }
.nav-drawer a {
  display: block; padding: 15px clamp(20px, 5vw, 48px);
  color: var(--muted); text-decoration: none;
  font-family: var(--font-display); font-size: 0.92rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}
.nav-drawer a:last-child { border-bottom: 0; }
.nav-drawer a:hover { color: var(--gold-hi); padding-left: calc(clamp(20px, 5vw, 48px) + 8px); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100dvh; display: flex; align-items: flex-start;
  position: relative; overflow: hidden; padding-top: clamp(70px, 15vh, 200px);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg .spot {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.5;
}
.hero-bg .spot.a { width: 60vw; height: 60vw; top: -20vw; right: -10vw;
  background: radial-gradient(circle, rgba(212,162,90,0.22), transparent 62%); }
.hero-bg .spot.b { width: 50vw; height: 50vw; bottom: -22vw; left: -12vw;
  background: radial-gradient(circle, rgba(120,140,200,0.10), transparent 60%); }
.hero-bg .vignette {
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 30%, transparent 40%, rgba(0,0,0,0.65) 100%);
}
.hero .wrap { position: relative; z-index: 2; width: 100%; }

/* Hero portrait (black-bg studio shot blends into the dark theme) */
.hero-portrait {
  position: absolute; top: 0; right: 0; bottom: 0; width: 50%; z-index: 1;
  background: url("assets/img/hero-portrait.webp") top center / cover no-repeat;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 40%);
  mask-image: linear-gradient(to right, transparent 0%, #000 40%);
}
@media (max-width: 900px) { .hero-portrait { display: none; } }

.hero-mobile-photo {
  display: none;
}
@media (max-width: 900px) {
  .hero-mobile-photo {
    display: block;
    margin-top: 40px;
    width: calc(100% + clamp(40px, 10vw, 96px));
    margin-left: calc(-1 * clamp(20px, 5vw, 48px));
    height: 68vw;
    object-fit: cover;
    object-position: center 15%;
    border-radius: 0;
  }
}

.hero-eyebrow { margin-bottom: 26px; }
.hero h1 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.8rem, 9vw, 7.5rem);
  line-height: 0.95; letter-spacing: -0.035em;
  margin-bottom: 28px;
}
.hero h1 .l2 { color: var(--gold-hi); }
.hero-sub {
  font-size: clamp(1.05rem, 1.8vw, 1.4rem); color: var(--muted);
  max-width: 40ch; margin-bottom: 40px;
}
.hero-cta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 560px;
}
.hero-cta .btn { justify-content: center; }

.hero-roles {
  margin-top: 28px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  max-width: 560px;
  font-family: var(--font-display);
  font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted-2); line-height: 2;
}
.hero-roles b { color: var(--muted); font-weight: 500; }

/* ---------- Console (signature) ---------- */
.console-head { display: flex; flex-direction: column; gap: 18px; margin-bottom: 64px; }
.faders {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(12px, 2vw, 28px);
  align-items: end;
}
.channel {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding-bottom: 22px; border-bottom: 1px solid var(--line);
}
.ch-readout {
  font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.05em;
  color: var(--muted-2); font-variant-numeric: tabular-nums;
}
.ch-readout .db { color: var(--gold-hi); }

/* The fader well: recessed slot + dB tick scale on both sides */
.fader {
  position: relative; width: 58px; height: clamp(165px, 27vh, 250px);
  display: flex; justify-content: center;
}
.fader::before, .fader::after {
  content: ""; position: absolute; top: 6px; bottom: 6px; width: 5px;
  background: repeating-linear-gradient(to bottom, rgba(243,239,232,0.20) 0 1px, transparent 1px 12px);
}
.fader::before { left: 4px; }
.fader::after { right: 4px; }

.fader-rail {
  position: relative; width: 9px; height: 100%; border-radius: 6px;
  background: linear-gradient(180deg, #06060a, #15151b);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05), inset 0 3px 9px rgba(0,0,0,0.9);
}
.fader-fill {
  position: absolute; left: 0; right: 0; bottom: 0; height: 100%; border-radius: 6px;
  background: linear-gradient(to top, var(--gold), var(--gold-hi));
  box-shadow: 0 0 14px rgba(212,162,90,0.40);
  transform-origin: bottom; transform: scaleY(0);
}
/* The fader cap: beveled plastic handle with grip ridges + gold indicator */
.fader-cap {
  position: absolute; left: 50%; bottom: 0; width: 46px; height: 30px;
  transform: translateX(-50%); cursor: grab; touch-action: none; z-index: 2;
  border-radius: 5px; border: 1px solid #0a0a0e;
  background: linear-gradient(180deg, #45454f 0%, #27272e 47%, #1b1b22 53%, #31313b 100%);
  box-shadow: 0 7px 16px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.24), inset 0 -2px 5px rgba(0,0,0,0.55);
  transition: filter 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.fader-cap:hover { filter: brightness(1.1); box-shadow: 0 7px 20px rgba(0,0,0,0.65), inset 0 1px 0 rgba(255,255,255,0.3), 0 0 0 1px rgba(212,162,90,0.4); }
.fader-cap:active { cursor: grabbing; }
.cap-line {
  position: absolute; left: 6px; right: 6px; top: 50%; height: 2px; transform: translateY(-50%);
  background: var(--gold-hi); border-radius: 2px; box-shadow: 0 0 7px rgba(236,199,132,0.75);
}
.cap-grip { position: absolute; left: 8px; right: 8px; height: 1px; background: rgba(255,255,255,0.14); }
.cap-grip:first-of-type { top: 7px; }
.cap-grip:last-of-type { bottom: 7px; }

.ch-label { font-family: var(--font-display); font-weight: 500; font-size: 1rem; text-align: center; min-height: 3.6em; display: flex; align-items: flex-end; justify-content: center; }
.ch-sub { font-size: 0.78rem; color: var(--muted-2); text-align: center; letter-spacing: 0.04em; min-height: 5em; }

/* ---------- PA74 bento ---------- */
.bento {
  display: grid; gap: 16px;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(180px, auto);
  margin-top: 56px;
}
.tile {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-panel);
  padding: 30px; display: flex; flex-direction: column; justify-content: flex-end;
  color: inherit; text-decoration: none;
  position: relative; overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.tile:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.tile h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; margin-bottom: 10px; }
.tile p { color: var(--muted); font-size: 0.95rem; max-width: 42ch; }
.tile .tnum {
  font-family: var(--font-display); font-size: 0.8rem; color: var(--gold);
  letter-spacing: 0.1em; margin-bottom: auto;
}
.tile.lg { grid-column: span 4; grid-row: span 2;
  background:
    linear-gradient(180deg, rgba(10,10,12,0.2), rgba(10,10,12,0.92)),
    url("assets/img/pa74-studio.webp") center/cover; }
.tile.sm { grid-column: span 2; }
.tile.wide { grid-column: span 3; }
.tile.tinted { background: linear-gradient(135deg, rgba(212,162,90,0.18), rgba(20,20,26,0.9)); border-color: rgba(212,162,90,0.3); }

/* ---------- PA74 catalogue marquee (the page's single marquee) ---------- */
.catalog { margin-top: 48px; }
.catalog-label { color: var(--muted); font-size: 0.95rem; margin-bottom: 24px; max-width: 56ch; }
.catalog-rows {
  display: flex; flex-direction: column; gap: 16px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.cat-row { display: flex; gap: 16px; width: max-content; will-change: transform; }
.cat-row.r1 { animation: marqueeL 90s linear infinite; }
.cat-row.r2 { animation: marqueeR 110s linear infinite; }
.catalog-rows:hover .cat-row { animation-play-state: paused; }
.cat-cover {
  width: clamp(120px, 14vw, 156px); aspect-ratio: 1; flex: 0 0 auto;
  border-radius: 10px; overflow: hidden; border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
  text-decoration: none; display: block;
}
.cat-cover:hover { transform: translateY(-5px); border-color: var(--gold); }
.cat-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes marqueeL { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marqueeR { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ---------- Listening Room ---------- */
.tracks {
  display: flex; gap: 18px; overflow-x: auto; padding: 56px 0 18px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.tracks::-webkit-scrollbar { height: 6px; }
.tracks::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 999px; }
.track {
  scroll-snap-align: start; flex: 0 0 300px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-panel);
  padding: 22px; transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.track:hover { border-color: var(--gold); transform: translateY(-4px); }
.track .cover {
  height: 170px; border-radius: var(--r-sm); margin-bottom: 18px;
  background-size: cover; background-position: center; position: relative; overflow: hidden;
}
.track .play {
  position: absolute; bottom: 12px; right: 12px; width: 46px; height: 46px;
  border-radius: 50%; background: var(--gold); color: #1a140a; border: 0; cursor: pointer;
  display: grid; place-items: center; transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.track .play:hover { transform: scale(1.08); background: var(--gold-hi); }
.track .play svg { width: 18px; height: 18px; }
.track h4 { font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; margin-bottom: 4px; }
.track .meta { color: var(--muted-2); font-size: 0.82rem; margin-bottom: 14px; }
.spotify-embed { width: 100%; border: none; border-radius: 12px; display: block; margin-bottom: 16px; }

/* GDPR click-to-load gate for Spotify embeds (same footprint as the player) */
.embed-gate {
  position: relative; height: 352px; border-radius: 12px; margin-bottom: 16px;
  background-size: cover; background-position: center; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
}
.embed-gate::before { content: ""; position: absolute; inset: 0; background: rgba(10, 10, 12, 0.78); }
.embed-load {
  position: relative; border: 0; cursor: pointer; border-radius: 999px;
  padding: 13px 26px; background: var(--gold); color: #1a140a;
  font-family: var(--font-display); font-size: 0.9rem; letter-spacing: 0.04em; font-weight: 500;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.embed-load:hover { transform: scale(1.05); background: var(--gold-hi); }
.embed-note { position: relative; font-size: 0.74rem; color: var(--muted); text-align: center; padding: 0 18px; line-height: 1.5; }
.embed-note a { color: var(--gold); text-decoration: none; }
.embed-note a:hover { color: var(--gold-hi); }

/* ===== PORTFOLIO STRIP ===== */
.portfolio-strip { padding: 40px 0 36px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.portfolio-label { text-align: center; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 28px; }
.portfolio-marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #fff 10%, #fff 90%, transparent); mask: linear-gradient(90deg, transparent, #fff 10%, #fff 90%, transparent); }
.portfolio-track { display: flex; align-items: center; gap: 56px; width: max-content; animation: portfolio-scroll 30s linear infinite; }
.portfolio-track:hover { animation-play-state: paused; }
.portfolio-track img { height: 40px; width: auto; filter: grayscale(1) invert(1); opacity: 0.55; transition: opacity 0.3s; flex-shrink: 0; }
.portfolio-track img:hover { opacity: 0.9; }
@keyframes portfolio-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== CONSULENZE ===== */
.cons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.cons-card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-panel);
  padding: 36px 32px; display: flex; flex-direction: column; gap: 16px;
  transition: border-color 0.3s;
}
.cons-card:hover { border-color: var(--gold); }
.cons-tag { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.cons-card h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; line-height: 1.2; margin: 0; }
.cons-card > p { color: var(--muted); font-size: 0.92rem; line-height: 1.6; }
.cons-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; border-top: 1px solid var(--line); padding-top: 20px; }
.cons-list li { font-size: 0.85rem; color: var(--muted-2); padding-left: 16px; position: relative; }
.cons-list li::before { content: "–"; position: absolute; left: 0; color: var(--gold); }
.cons-cta { margin-top: 48px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cons-note { font-size: 0.82rem; color: var(--muted-2); letter-spacing: 0.04em; }
@media (max-width: 700px) { .cons-grid { grid-template-columns: 1fr; } }

/* ===== EVENTI ===== */
.event-list { margin-top: 48px; border-top: 1px solid var(--line); }
.event-row {
  display: grid;
  grid-template-columns: 72px 1fr max-content;
  align-items: center;
  gap: 0 32px;
  padding: 20px 12px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}
.event-row:hover { background: rgba(200,160,60,0.04); }
.event-row:hover .event-title { color: var(--gold-hi); }
.event-date { text-align: center; line-height: 1; }
.event-day { display: block; font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: var(--gold); }
.event-month { display: block; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); margin-top: 4px; }
.event-body { min-width: 0; }
.event-title { font-family: var(--font-display); font-size: 1rem; font-weight: 500; line-height: 1.25; transition: color 0.2s; }
.event-sub { font-size: 0.8rem; color: var(--muted); margin-top: 4px; }
.event-location { font-size: 0.78rem; color: var(--muted-2); text-align: right; letter-spacing: 0.04em; white-space: nowrap; }
@media (max-width: 640px) {
  .event-row { grid-template-columns: 56px 1fr; row-gap: 2px; }
  .event-day { font-size: 1.45rem; }
  .event-location { grid-column: 2; text-align: left; margin-top: 4px; }
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 0.72rem; color: var(--muted); border: 1px solid var(--line);
  padding: 4px 11px; border-radius: 999px; letter-spacing: 0.03em;
}

/* ---------- Book (feature split) ---------- */
.book { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.book-cover {
  aspect-ratio: 3/4; border-radius: var(--r-panel); position: relative; overflow: hidden;
  background:
    linear-gradient(160deg, #1d1d26, #0c0c10);
  border: 1px solid var(--line); display: flex; flex-direction: column;
  justify-content: space-between; padding: 38px;
  box-shadow: 0 40px 90px rgba(0,0,0,0.55);
}
.book-cover .bk-top { font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.book-cover .bk-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.08; letter-spacing: -0.02em; }
.book-cover .bk-author { color: var(--muted); font-size: 0.95rem; }
.book-cover::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px;
  background: linear-gradient(var(--gold), var(--gold-hi));
}

/* ---------- Live (horizontal cards) ---------- */
.live-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.live-card {
  border-radius: var(--r-panel); overflow: hidden; position: relative;
  min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 30px; border: 1px solid var(--line);
  transition: transform 0.4s var(--ease);
  color: inherit; text-decoration: none;
}
.live-card::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  transition: transform 0.6s var(--ease); transform: scale(1.02);
}
.live-card:hover::before { transform: scale(1.1); }
.live-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,10,12,0.1) 30%, rgba(10,10,12,0.92));
}
.live-card > * { position: relative; z-index: 2; }
.live-card .role { color: var(--gold); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 10px; }
.live-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.45rem; line-height: 1.1; margin-bottom: 8px; }
.live-card p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Chi sono photos ---------- */
.id-photos { display: grid; grid-template-columns: 1fr 1.5fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; margin-top: 56px; aspect-ratio: 16/9; }
.id-photo { overflow: hidden; border-radius: 4px; }
.id-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.id-photo-closeup { grid-column: 1; grid-row: 1 / 3; }
.id-photo-closeup img { object-position: center top; }
.id-photo-abbey { grid-column: 2; grid-row: 1 / 3; }
.id-photo-abbey img { object-position: top center; }
.id-photo-portrait { grid-column: 3; grid-row: 1; }
.id-photo-stage { grid-column: 3; grid-row: 2; }
.id-photo-stage img { object-position: center 20%; }
@media (max-width: 700px) { .id-photos { grid-template-columns: 1fr 1fr; grid-template-rows: auto; aspect-ratio: auto; gap: 8px; } .id-photo-closeup, .id-photo-abbey { grid-row: auto; aspect-ratio: 4/3; } .id-photo-portrait, .id-photo-stage { aspect-ratio: 4/3; } }

/* ---------- Ascolto synth background ---------- */
.ascolto-bg { position: absolute; inset: 0; background: url("assets/img/ale-synth.webp") center/cover no-repeat; opacity: 0.07; pointer-events: none; }


/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.contact-big {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.05; letter-spacing: -0.02em;
}
.contact-big a { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.contact-side { display: flex; flex-direction: column; gap: 18px; }
.contact-row { display: flex; flex-direction: column; gap: 3px; padding: 16px 0; border-top: 1px solid var(--line); }
.contact-row .lbl { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); }
.contact-row a, .contact-row span { color: var(--fg); }
.contact-row a:hover { color: var(--gold-hi); }
.socials { display: flex; gap: 18px; flex-wrap: wrap; }
.book-cover.has-img { background-size: cover; background-position: center; padding: 0; }
.book-cover.has-img > * { display: none; }
.book-cover.has-img::after { display: none; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 48px 0; }
.footer .wrap { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.footer .f-brand { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 6px; }
.footer .f-roles { font-size: 0.78rem; color: var(--muted-2); letter-spacing: 0.03em; }
.footer .f-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; color: var(--muted-2); font-size: 0.8rem; text-align: right; }
.footer .f-meta a { color: var(--muted-2); text-decoration: none; transition: color 0.2s; }
.footer .f-meta a:hover { color: var(--gold); }
@media (max-width: 600px) {
  .footer .f-meta { align-items: flex-start; text-align: left; }
}

/* ---------- Reveal animation base (GSAP-driven) ---------- */
/* Hide initial state only when JS is active, so no-JS users still see content. */
html.js .reveal,
html.js .reveal-group > * { opacity: 0; }
/* Fallback path: reduced motion or no GSAP -> show everything. */
html.reveal-static .reveal,
html.reveal-static .reveal-group > * { opacity: 1 !important; transform: none !important; }

/* ---------- Scroll progress bar ---------- */
.scroll-prog {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 110;
  background: linear-gradient(90deg, var(--gold), var(--gold-hi));
  transform: scaleX(0); transform-origin: 0 50%;
}

/* ---------- Hero line masks ---------- */
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero h1 .line-in { display: block; }

/* ---------- Magnetic buttons ---------- */
.magnetic { will-change: transform; }

/* ---------- Bento cursor spotlight ---------- */
.tile { --mx: 50%; --my: 50%; }
.tile::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 0;
  background: radial-gradient(200px circle at var(--mx) var(--my), rgba(212,162,90,0.16), transparent 62%);
  opacity: 0; transition: opacity 0.4s var(--ease); pointer-events: none;
}
.tile:hover::after { opacity: 1; }
.tile > * { position: relative; z-index: 1; }

/* ---------- Equalizer (playing state) ---------- */
.eq { position: absolute; left: 12px; bottom: 14px; display: flex; align-items: flex-end; gap: 3px; height: 22px; z-index: 3; }
.eq span {
  width: 3px; height: 100%; border-radius: 2px;
  background: var(--gold-hi); transform-origin: bottom; transform: scaleY(0.3);
  animation: eqbar 0.9s ease-in-out infinite;
}
.eq span:nth-child(2) { animation-delay: 0.12s; }
.eq span:nth-child(3) { animation-delay: 0.28s; }
.eq span:nth-child(4) { animation-delay: 0.42s; }
@keyframes eqbar { 0%,100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }

.track .cover { transition: transform 0.5s var(--ease); }
.track:hover .cover { transform: scale(1.03); }

/* ---------- Responsive ---------- */
@media (min-width: 901px) {
  .nav-drawer { display: none !important; }
  .nav-toggle { display: none !important; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .section-pad { padding: clamp(56px, 10vh, 96px) 0; }

  .faders { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile.lg, .tile.sm, .tile.wide { grid-column: span 2; grid-row: auto; }
  .tile.lg { min-height: 320px; }
  .book { grid-template-columns: 1fr; }
  .book-cover { max-width: 360px; }
  .live-grid { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .hero-roles { display: none; }
}
@media (max-width: 540px) {
  .faders { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: 1fr; }
  .hero-cta { max-width: 100%; grid-template-columns: repeat(2, 1fr); }
  .section-pad { padding: clamp(48px, 8vh, 72px) 0; }
  /* prevent brand name wrapping on narrow screens */
  .brand .name { font-size: 0.82rem; white-space: nowrap; overflow: hidden; max-width: 110px; text-overflow: ellipsis; }
}

@media (prefers-reduced-motion: reduce) {
  html.js .reveal, html.js .reveal-group > * { opacity: 1 !important; transform: none !important; }
  .hero-bg .spot { display: none; }
  .eq span { animation: none !important; transform: scaleY(0.7); }
  .scroll-prog { display: none; }
  .magnetic { transform: none !important; }
  .cat-row { animation: none !important; }
  .catalog-rows { overflow-x: auto; }
}
