:root {
  --bg: #07090c; --bg2: #0c1015; --panel: #10151b; --line: #1f2831;
  --text: #e4e9ee; --muted: #8894a0;
  --brand: #00808d; --accent: #23b7c6; --accent-soft: rgba(35, 183, 198, .14);
  --head: Optima, Candara, "Gill Sans", "Segoe UI", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.7 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--accent); color: #04191c; padding: 8px 14px; border-radius: 6px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 40px); }
.muted { color: var(--muted); } .small { font-size: .85rem; }

/* ---- Header ---- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px clamp(16px, 4vw, 40px); transition: background .3s, box-shadow .3s; }
.site-header.solid { background: rgba(7, 9, 12, .88); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.wordmark { display: block; text-decoration: none !important; }
.wordmark img { height: 46px; width: auto; }
.foot-logo { height: 56px; width: auto; }
.site-header nav { display: flex; gap: clamp(14px, 2.2vw, 30px); }
.site-header nav a { color: var(--text); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--accent); opacity: 1; text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; padding: 10px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle i { display: block; height: 2px; background: var(--text); transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Buttons ---- */
.btn { display: inline-block; padding: 12px 26px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; color: var(--text); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; transition: background .2s, border-color .2s, color .2s; }
.btn:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #04191c; font-weight: 600; }
.btn.primary:hover { background: #4fd0dd; border-color: #4fd0dd; color: #04191c; }

/* ---- Hero ---- */
/* Hero: sfondo di The Eye + logo originale (PNG trasparente, nessun cambio di colore) */
.hero { position: relative; min-height: 100svh; display: grid; place-items: start center; text-align: center; overflow: hidden; background: #0a0e12; }
.hero-bg { position: absolute; inset: 0; background: url("img/hero.webp") center 35% / cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 45%, rgba(7,9,12,0), rgba(7,9,12,.6) 80%), linear-gradient(to bottom, rgba(7,9,12,.5), transparent 25%, transparent 65%, var(--bg)); }
.hero-inner { position: relative; z-index: 2; padding: clamp(84px, 13vh, 150px) 20px 0; }
.hero-bottom { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(96px, 15vh, 150px); padding: 0 20px; }
.hero-bottom .tagline { margin-bottom: 24px; }
.hero-logo { width: min(520px, 76vw); margin: 0 auto 20px; }
.tagline { font-family: var(--head); font-size: clamp(1.05rem, 2.4vw, 1.5rem); font-weight: 300; letter-spacing: .3em; text-transform: uppercase; margin: 0; text-shadow: 0 2px 18px rgba(0,0,0,.9); }
.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.scroll-hint { position: absolute; z-index: 2; bottom: 26px; left: 50%; width: 26px; height: 42px; margin-left: -13px; border: 1px solid rgba(255,255,255,.4); border-radius: 14px; }
.scroll-hint i { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---- Sections ---- */
.section { padding: clamp(70px, 10vw, 130px) 0; position: relative; }
h2 { font-family: var(--head); font-weight: 300; font-size: clamp(1.6rem, 3.4vw, 2.3rem); letter-spacing: .32em; text-transform: uppercase; margin: 0 0 46px; text-align: center; }
h2::after { content: ""; display: block; width: 46px; height: 2px; margin: 18px auto 0; background: var(--brand); }
h3 { font-family: var(--head); font-weight: 400; letter-spacing: .06em; margin: 0 0 .4em; }
.eyebrow { color: var(--accent); font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; margin: 0 0 6px; }

/* Music */
.album { display: grid; grid-template-columns: minmax(260px, 5fr) 6fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.cover { position: sticky; top: 96px; }
.cover img { border-radius: 4px; box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px var(--line); }
.album-info h3 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; }
.album-info p { color: #cdd5dc; }
.album-info .eyebrow { color: var(--accent); }
.album-closing { margin: 1.6em 0 0; font-family: var(--head); font-size: 1.25rem; letter-spacing: .06em; color: var(--accent) !important; }
.platforms { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0 30px; }
/* firma: piu' piccola, corsiva, centrata e staccata da un filetto, per non sembrare parte del testo */
.album-info .album-credit { margin: 34px auto 0; padding-top: 18px; text-align: center; font-size: .85rem; font-style: italic; letter-spacing: .04em; color: var(--muted) !important; position: relative; }
.album-credit::before { content: ""; position: absolute; top: 0; left: 50%; width: 46px; height: 1px; margin-left: -23px; background: var(--brand); }
.album-tracks { margin-top: clamp(50px, 7vw, 80px); }
.album-tracks h3 { text-align: center; font-size: .95rem; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.album-tracks .tracklist { columns: 3; column-gap: 40px; }
.album-tracks .muted { text-align: center; margin-top: 12px; }
.tracklist { list-style: none; margin: 0 0 6px; padding: 0; columns: 2; column-gap: 30px; }
.tracklist li { break-inside: avoid; }
.tracklist a { display: flex; gap: 12px; padding: 5px 0; color: var(--text); border-bottom: 1px solid var(--line); }
.tracklist a:hover { color: var(--accent); text-decoration: none; }
.tracklist .n { color: var(--muted); font-variant-numeric: tabular-nums; min-width: 1.6em; }

/* Story */
.story { background: var(--bg2); overflow: hidden; }
.story-bg { position: absolute; inset: 0; background: url("img/symbols.webp") center / cover no-repeat; opacity: .3; mix-blend-mode: screen; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent); }
.story .wrap { position: relative; }
.prose p { margin: 0 0 1.25em; color: #cdd5dc; }
.prose em { color: #fff; }
.y { color: var(--accent); font-weight: 600; }
.quote { margin: 50px 0 0; padding: 0; text-align: center; font-family: var(--head); font-weight: 300; font-size: clamp(1.3rem, 3vw, 1.9rem); line-height: 1.5; letter-spacing: .04em; color: var(--accent); }

/* Band */
.members { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 980px) { .members { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .members { grid-template-columns: 1fr; } }
.member { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 18px 18px 22px; }
.photo { aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; background: #0a0e13; margin-bottom: 18px; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.placeholder { display: grid; place-content: center; justify-items: center; gap: 12px; background: radial-gradient(circle at 50% 40%, #16303a, #090d12 75%); color: var(--muted); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; }
.photo.placeholder img { width: 34%; height: auto; opacity: .85; object-fit: contain; border-radius: 50%; }
.nick { margin: 0; color: var(--accent); font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; }
.member h3 { font-size: 1.3rem; margin: 2px 0; }
.role { margin: 0 0 12px; color: var(--muted); font-size: .9rem; }
.member p:not(.nick):not(.role) { font-size: .93rem; line-height: 1.6; color: #b8c1c9; }
details { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 12px; }
summary { cursor: pointer; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
details ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: .88rem; }

/* Videos */
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.video { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(135deg, #0d1a20, #07090c 70%), var(--panel); color: var(--text); }
.video:hover { border-color: var(--accent); text-decoration: none; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play { position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border: 2px solid var(--accent); border-radius: 50%; transition: transform .2s, background .2s; }
.play::after { content: ""; position: absolute; top: 50%; left: 52%; margin: -10px 0 0 -6px; border-left: 16px solid var(--accent); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.video:hover .play { transform: scale(1.1); background: var(--accent-soft); }
.vt { position: absolute; left: 16px; bottom: 12px; font-family: var(--head); font-size: 1.15rem; letter-spacing: .06em; }
.vt small { display: block; color: var(--muted); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; }

/* Progress */
.wip { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 20px; margin-top: 24px; }
.wip-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.wip-head h3 { margin: 0; }
.wip-head strong { font-size: 1.4rem; color: var(--accent); }
.bar { height: 7px; background: #1a222b; border-radius: 99px; overflow: hidden; }
.bar.big { height: 11px; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--accent)); border-radius: 99px; }
.wip-songs { list-style: none; margin: 18px 0 0; padding: 0; }
.wip-songs li { display: grid; grid-template-columns: 1fr 38% 3.2em; gap: 14px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.wip-songs b { text-align: right; font-weight: 500; }

/* Lyrics */
.lyrics-page { padding: 130px 0 80px; }
.lyrics-page h1 { font-family: var(--head); font-weight: 300; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: .3em; text-transform: uppercase; margin: 0 0 30px; }
.tracklist.inline { columns: 3; margin-bottom: 60px; }
.song { padding: 34px 0; border-top: 1px solid var(--line); }
.song h2 { text-align: left; font-size: 1.35rem; letter-spacing: .16em; margin: 0 0 20px; }
.song h2::after { display: none; }
.song h2 .n { color: var(--muted); margin-right: 14px; font-size: .9em; }
.stanza { margin: 0 0 1.3em; color: #cfd6dd; }
.stanza.tag { color: var(--muted); font-style: italic; }
.to-top { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 46px 0 40px; text-align: center; background: var(--bg2); }
.foot { display: grid; gap: 22px; justify-items: center; }
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: center; }
.social a { color: var(--text); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; }
.social a:hover { color: var(--accent); }
.copy { margin: 0; color: var(--muted); font-size: .8rem; }

/* Comparsa allo scroll (solo se JS attivo) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-hint i { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .album { grid-template-columns: 1fr; }
  .cover { max-width: 460px; margin-inline: auto; position: static; }
  .album-tracks .tracklist { columns: 2; }
  .nav-toggle { display: flex; }
  .site-header nav { position: fixed; inset: 0 0 auto 0; top: 0; padding: 84px 24px 30px; flex-direction: column; gap: 6px; background: #07090c; transform: translateY(-105%); transition: transform .3s; z-index: -1; box-shadow: 0 10px 40px rgba(0,0,0,.6); }
  .site-header nav.open { transform: none; }
  .site-header nav a { font-size: .95rem; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-header { background: rgba(7,9,12,.7); backdrop-filter: blur(8px); }
  .tracklist.inline { columns: 2; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .tracklist, .tracklist.inline { columns: 1; }
  .wip-songs li { grid-template-columns: 1fr 3.2em; }
  .wip-songs li .bar { grid-column: 1 / -1; grid-row: 2; }
  .tagline { letter-spacing: .18em; }
  .btn { padding: 12px 20px; }
}

/* Voce di menu Tracker */
.site-header nav a.nav-tracker { border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 3px 14px; }
.site-header nav a.nav-tracker:hover { border-color: var(--accent); }
@media (max-width: 860px) { .site-header nav a.nav-tracker { border-radius: 0; border: 0; border-bottom: 1px solid var(--line); padding: 12px 0; } }
