/* kandrax · D.I.L.F. · foglio di stile unico per tutte le pagine */
:root {
  --black: #07080a; --dark: #0e0f10; --cream: #ede8d8; --cream-dim: #8a8070;
  --amber: #c8a45a; --blue: #2b9fd4; --purple: #6b3fa0;
  --border: rgba(200,164,90,0.18);
  --gutter: 3rem;
}
*,*::before,*::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--black); color: var(--cream); font-family: 'DM Sans', sans-serif; font-weight: 300; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px; opacity: 0.055; mix-blend-mode: overlay;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; display: flex; align-items: center; justify-content: space-between; padding: 1.4rem var(--gutter); }
nav::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(7,8,10,0.85), transparent); pointer-events: none; }
.nav-logo { position: relative; z-index: 1; }
.nav-logo img { height: 30px; width: auto; }
.nav-links { position: relative; z-index: 1; display: flex; gap: 2rem; list-style: none; font-family: 'DM Mono', monospace; font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(237,232,216,0.6); }
.nav-links a { transition: color 0.2s; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--amber); }
.nav-back::before { content: '← '; }

/* HERO (home) */
.hero { position: relative; height: 100vh; min-height: 600px; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: -15% 0; background-size: cover; background-position: center 40%; will-change: transform; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(7,8,10,0.92) 0%, rgba(7,8,10,0.5) 55%, rgba(7,8,10,0.2) 100%), linear-gradient(to top, rgba(7,8,10,1) 0%, rgba(7,8,10,0) 45%); }
.hero-content { position: relative; z-index: 10; width: 100%; padding: 0 var(--gutter) 5rem; display: flex; flex-direction: column; gap: 1.2rem; }
.eyebrow { font-family: 'DM Mono', monospace; font-size: 0.62rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--amber); }
.hero-title { font-family: 'Playfair Display', serif; font-weight: 900; font-size: clamp(4.5rem, 12vw, 11rem); line-height: 0.88; letter-spacing: -0.03em; }
.hero-sub { font-family: 'Playfair Display', serif; font-style: italic; font-size: clamp(0.95rem, 1.3vw, 1.05rem); color: var(--cream-dim); max-width: 48ch; line-height: 1.65; }

/* HERO (release pages) */
.rhero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; overflow: hidden; }
.rhero .hero-bg { filter: blur(10px) saturate(0.6); background-position: center; }
.rhero .hero-bg::after { background: linear-gradient(to right, rgba(7,8,10,0.97) 0%, rgba(7,8,10,0.7) 50%, rgba(7,8,10,0.55) 100%), linear-gradient(to top, rgba(7,8,10,1) 0%, rgba(7,8,10,0) 50%); }
.rhero-content { position: relative; z-index: 10; width: 100%; padding: 8rem var(--gutter) 5rem; display: grid; grid-template-columns: auto 1fr; gap: 3rem; align-items: end; }
.rhero-cover { width: clamp(160px, 22vw, 300px); box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 0 0 1px var(--border); }
.rhero-text { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.rhero-title { font-family: 'Playfair Display', serif; font-weight: 900; font-size: clamp(2.6rem, 7vw, 6.5rem); line-height: 0.95; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.rhero-title em { font-style: italic; color: var(--amber); }

/* BUTTONS */
.btns { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.7rem 1.4rem; font-family: 'DM Mono', monospace; font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; border-radius: 1px; transition: filter 0.2s, transform 0.2s; }
.btn:hover, .btn:focus-visible { filter: brightness(1.12); transform: translateY(-1px); }
.btn-spotify { background: #1db954; color: #000; }
.btn-apple { background: #fc3c44; color: #fff; }
.btn-amazon { background: #25d1da; color: #000; }
.btn-deezer { background: #a238ff; color: #fff; }

/* SECTIONS */
section { position: relative; }
.pad { padding: 6rem var(--gutter); }
.section-label { font-family: 'DM Mono', monospace; font-size: 0.6rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--purple); margin-bottom: 0.5rem; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; margin-bottom: 2.5rem; }
.section-title em { font-style: italic; color: var(--amber); }
.divider { height: 1px; background: linear-gradient(to right, transparent, var(--border), transparent); margin: 0 var(--gutter); }

/* NOW PLAYING */
.now { background: var(--dark); overflow: hidden; }
.now::before { content: ''; position: absolute; inset: 0; background-image: url('../img/dilf_portrait.jpg'); background-size: cover; background-position: center top; opacity: 0.12; }
.now::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(14,15,16,0.98) 0%, rgba(14,15,16,0.7) 60%, rgba(14,15,16,0.95) 100%); }
.now > * { position: relative; z-index: 2; }
.now-label { font-family: 'DM Mono', monospace; font-size: 0.6rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--blue); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.8rem; }
.now-label::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); animation: blink 1.4s ease-in-out infinite; }
.now-title { font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.3rem; color: var(--amber); margin-bottom: 2rem; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.2; } }

/* VIDEO (click to load) */
.yt { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; overflow: hidden; cursor: pointer; box-shadow: 0 30px 80px rgba(0,0,0,0.6); border: 0; display: block; padding: 0; color: inherit; font: inherit; text-align: left; }
.yt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); transition: transform 0.5s, filter 0.3s; }
.yt:hover img, .yt:focus-visible img { transform: scale(1.03); filter: saturate(1); }
.yt-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(7,8,10,0.6); border: 1px solid var(--amber); display: flex; align-items: center; justify-content: center; }
.yt-play::after { content: ''; border-left: 16px solid var(--amber); border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 4px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.now .yt { max-width: 900px; margin: 0 auto; }
.videos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem 1.5rem; }
.video-item figcaption { margin-top: 0.8rem; display: flex; justify-content: space-between; gap: 1rem; font-size: 0.88rem; }
.video-item .date { font-family: 'DM Mono', monospace; font-size: 0.58rem; letter-spacing: 0.1em; color: var(--cream-dim); white-space: nowrap; padding-top: 0.2rem; }
.video-item .yt-play { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
.video-item .yt-play::after { border-left-width: 12px; border-top-width: 8px; border-bottom-width: 8px; }

/* TRACKLIST */
.album-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.album-text { display: flex; flex-direction: column; gap: 1.2rem; }
.album-body { font-size: 0.95rem; line-height: 1.85; color: var(--cream-dim); }
.album-cover { width: min(320px, 100%); box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 0 1px var(--border); margin-top: 1rem; }
.tracklist { list-style: none; max-width: 560px; counter-reset: t; }
.track { display: grid; grid-template-columns: 2rem 26px 1fr auto auto; align-items: center; gap: 0.8rem; padding: 0.7rem 0; border-bottom: 1px solid var(--border); }
.track-num { font-family: 'DM Mono', monospace; font-size: 0.58rem; color: var(--cream-dim); text-align: right; opacity: 0.6; }
.track-name { font-size: 0.9rem; letter-spacing: 0.02em; transition: color 0.2s, padding-left 0.2s; }
a.track-name:hover, a.track-name:focus-visible { color: var(--amber); padding-left: 0.3rem; }
/* ascolto: disco verde che gira, al passaggio diventa play */
.track-listen { position: relative; width: 26px; height: 26px; display: block; }
.track-listen svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity 0.25s, transform 0.25s; }
.track-listen .disc circle { fill: none; stroke: #1db954; stroke-width: 1.2; }
.track-listen .disc .groove { stroke-opacity: 0.45; stroke-width: 0.8; }
.track-listen .disc .label { fill: #1db954; stroke: none; }
.track-listen .disc .hole { fill: var(--black); stroke: none; }
.track-listen .disc { animation: spin 6s linear infinite; }
.track-listen .play { opacity: 0; transform: scale(0.6); }
.track-listen .play circle { fill: #1db954; }
.track-listen .play path { fill: #000; }
.track-listen:hover .disc, .track-listen:focus-visible .disc, .track:hover .track-listen .disc { opacity: 0; }
.track-listen:hover .play, .track-listen:focus-visible .play, .track:hover .track-listen .play { opacity: 1; transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }
/* video: icona fissa */
.track-video { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; color: var(--amber); opacity: 0.85; transition: opacity 0.2s; }
.track-video svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.track-video:hover, .track-video:focus-visible { opacity: 1; }
.track-video:hover svg path, .track-video:focus-visible svg path { fill: currentColor; }
.track-pill { font-family: 'DM Mono', monospace; font-size: 0.52rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); border: 1px solid rgba(43,159,212,0.35); padding: 0.15rem 0.45rem; border-radius: 1px; white-space: nowrap; transition: background 0.2s, color 0.2s; }
.track-pill:hover, .track-pill:focus-visible { background: var(--blue); color: var(--black); }
.spacer { width: 26px; }

/* CARDS */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; }
.card { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--dark); box-shadow: 0 0 0 1px var(--border); }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s, filter 0.4s; filter: saturate(0.85); }
.card:hover img, .card:focus-visible img { transform: scale(1.04); filter: saturate(1); }
.card-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 0.3rem; padding: 1.2rem; background: linear-gradient(to top, rgba(7,8,10,0.92) 0%, rgba(7,8,10,0.2) 55%, transparent 75%); }
.card-meta { font-family: 'DM Mono', monospace; font-size: 0.55rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber); }
.card-title { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700; line-height: 1.15; }
.card-cta { font-family: 'DM Mono', monospace; font-size: 0.55rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--cream-dim); }
.card-cta::after { content: ' →'; }
.card-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-style: italic; color: var(--cream-dim); background: radial-gradient(circle at 30% 30%, #1b1c1e, var(--dark)); }

/* ABOUT */
.about { overflow: hidden; }
.about-bg { position: absolute; inset: 0; background-image: url('../img/dilf_garden.jpg'); background-size: cover; background-position: center; background-attachment: fixed; opacity: 0.18; }
.about-inner { position: relative; z-index: 2; max-width: 760px; display: flex; flex-direction: column; gap: 1.6rem; }
.about-quote { font-family: 'Playfair Display', serif; font-style: italic; font-size: clamp(1.4rem, 3vw, 2.2rem); line-height: 1.35; color: var(--amber); }
.about-body p { font-size: 1rem; line-height: 1.85; color: rgba(237,232,216,0.82); margin-bottom: 1rem; }
.about-body strong { color: var(--cream); font-weight: 500; }

/* CAROUSEL */
.photos { padding: 6rem 0 7rem var(--gutter); }
.photos .section-title { padding-right: var(--gutter); }
.carousel-wrap { overflow: hidden; cursor: grab; user-select: none; touch-action: pan-y; }
.carousel-wrap:active { cursor: grabbing; }
.carousel-track { display: flex; gap: 6px; transition: transform 0.45s cubic-bezier(0.25,0.46,0.45,0.94); will-change: transform; }
.slide { flex: 0 0 auto; height: 520px; overflow: hidden; position: relative; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.8) contrast(1.05); pointer-events: none; }
.slide.portrait { width: 300px; } .slide.landscape { width: 760px; } .slide.square { width: 520px; }
.carousel-controls { display: flex; align-items: center; gap: 1rem; margin-top: 1.2rem; padding-right: var(--gutter); }
.carousel-btn { width: 40px; height: 40px; border: 1px solid var(--border); background: transparent; color: var(--cream-dim); font-size: 1rem; cursor: pointer; border-radius: 1px; transition: all 0.2s; }
.carousel-btn:hover, .carousel-btn:focus-visible { border-color: var(--amber); color: var(--amber); }
.carousel-dots { display: flex; gap: 5px; flex-wrap: wrap; }
.carousel-dot { width: 16px; height: 2px; background: var(--border); border: 0; cursor: pointer; transition: background 0.2s, width 0.2s; padding: 0; }
.carousel-dot.active { background: var(--amber); width: 28px; }

/* FOOTER */
footer { padding: 3.5rem var(--gutter) 2rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 2rem; }
.footer-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.footer-logo img { height: 26px; width: auto; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 1.2rem 1.8rem; font-family: 'DM Mono', monospace; font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream-dim); }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--amber); }
.footer-copy { font-family: 'DM Mono', monospace; font-size: 0.56rem; letter-spacing: 0.1em; color: rgba(138,128,112,0.55); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .track-listen .disc { animation: none; } .reveal { opacity: 1; transform: none; transition: none; } .now-label::before { animation: none; } html { scroll-behavior: auto; } }

:focus-visible { outline: 1px solid var(--amber); outline-offset: 3px; }

/* RESPONSIVE */
@media (max-width: 900px) {
  :root { --gutter: 1rem; }
  nav { padding: 1rem var(--gutter); }
  .nav-links { gap: 1rem; font-size: 0.58rem; }
  .nav-links .hide-m { display: none; }
  .album-inner { grid-template-columns: 1fr; gap: 3rem; }
  .rhero-content { grid-template-columns: 1fr; gap: 1.5rem; padding-top: 6rem; padding-bottom: 3rem; }
  .rhero-cover { width: 180px; }
  .pad { padding: 4rem var(--gutter); }
  .photos { padding: 4rem 0 5rem var(--gutter); }
  .slide { height: 320px; } .slide.portrait { width: 190px; } .slide.landscape { width: 300px; } .slide.square { width: 300px; }
  .cards { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .card-overlay { padding: 0.8rem; } .card-title { font-size: 1rem; }
  .about-bg { background-attachment: scroll; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}
