* {
  box-sizing: border-box;
}

:root {
  --bg: #050505;
  --bg-soft: #101010;
  --bg-card: #151515;
  --text: #f3f3f3;
  --muted: #b9b9b9;
  --red: #991017;
  --red-light: #d21f29;
  --border: rgba(255, 255, 255, 0.13);
  --max-width: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

a,
button {
  color: inherit;
}

a {
  text-decoration: none;
}

button {
  font: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 5, 5, 0.93);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 15px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-name {
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.9rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.main-nav a:hover,
.nav-button:hover {
  color: var(--text);
}

.nav-button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.hero {
  min-height: 82vh;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.40) 46%, rgba(0, 0, 0, 0.78) 100%),
    linear-gradient(0deg, rgba(5, 5, 5, 1) 0%, rgba(5, 5, 5, 0.05) 36%),
    url("img/hero-trust.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: end;
}

.hero-overlay {
  width: 100%;
  padding: 0 22px 70px;
}

.hero-panel {
  max-width: var(--max-width);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red-light);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  font-weight: 900;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 820px;
  font-size: clamp(3.4rem, 8vw, 8rem);
  text-transform: uppercase;
  letter-spacing: -0.065em;
  text-shadow: 0 14px 35px rgba(0, 0, 0, 0.9);
}

h1 span {
  color: var(--muted);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: -0.035em;
}

h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.hero-subtitle {
  margin: 18px 0 28px;
  max-width: 720px;
  color: var(--muted);
  font-size: 1.2rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hero .button-row,
.button-row.left {
  justify-content: flex-start;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 138px;
  padding: 12px 19px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #1b1b1b, #090909);
  color: var(--text);
  text-transform: uppercase;
  font-size: 0.83rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(210, 31, 41, 0.95);
  background: linear-gradient(180deg, #2a070a, #090909);
}

.section {
  padding: 90px 22px;
  background: var(--bg);
}

.dark-section {
  background:
    radial-gradient(circle at top left, rgba(153, 16, 23, 0.15), transparent 34%),
    var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.narrow {
  max-width: 850px;
  text-align: center;
}

.narrow p {
  font-size: 1.1rem;
  color: var(--muted);
}

.text-link {
  margin-top: 18px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--red-light);
  background: transparent;
  color: var(--red-light);
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-title-row {
  margin-bottom: 30px;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.member-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: #080808;
  border: 1px solid var(--border);
}

.member-card img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.08);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.member-card:hover img {
  transform: scale(1.045);
  filter: grayscale(0) contrast(1.12);
}

.member-info {
  position: absolute;
  inset: auto 0 0 0;
  padding: 85px 20px 20px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0));
}

.member-info h3 {
  font-size: 1.18rem;
}

.member-info p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.release {
  display: grid;
  grid-template-columns: 380px 1fr;
  align-items: center;
  gap: 46px;
}

.release-cover {
  background: #0b0b0b;
  border: 1px solid var(--border);
  padding: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.release-info p {
  max-width: 720px;
  color: var(--muted);
}

.release-info h3 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  text-transform: uppercase;
  letter-spacing: -0.055em;
}

.release-meta {
  margin: 8px 0 22px;
  color: var(--red-light) !important;
  font-weight: 900;
}

.contact-line {
  margin: 28px 0;
  font-size: 1.3rem;
  font-weight: 900;
}

.contact-line a {
  color: var(--red-light);
}

.bio-modal {
  width: min(920px, calc(100vw - 32px));
  max-height: min(760px, calc(100vh - 32px));
  padding: 0;
  border: 1px solid var(--border);
  background: #090909;
  color: var(--text);
  box-shadow: 0 25px 90px rgba(0, 0, 0, 0.85);
}

.bio-modal::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(5px);
}

.modal-inner {
  position: relative;
  padding: 42px;
  overflow: auto;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 17px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: #151515;
  color: var(--text);
  cursor: pointer;
  font-size: 1.9rem;
  line-height: 1;
}

.modal-close:hover {
  border-color: var(--red-light);
}

.bio-text {
  color: var(--muted);
  font-size: 1.05rem;
}

.bio-text p {
  margin: 0 0 18px;
}

.site-footer {
  padding: 30px 22px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  background: #050505;
}

.site-footer p {
  margin: 4px 0;
}

@media (max-width: 980px) {
  .members-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .release {
    grid-template-columns: 320px 1fr;
  }
}

@media (max-width: 760px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 78vh;
    background-position: center top;
  }

  .hero-overlay {
    padding-bottom: 46px;
  }

  .hero .button-row,
  .button-row.left {
    justify-content: center;
  }

  .hero-panel {
    text-align: center;
  }

  .members-grid {
    grid-template-columns: 1fr;
  }

  .member-card,
  .member-card img {
    min-height: 420px;
    height: 420px;
  }

  .release {
    grid-template-columns: 1fr;
  }

  .release-cover {
    max-width: 420px;
    margin: 0 auto;
  }

  .release-info {
    text-align: center;
  }

  .button-row {
    justify-content: center;
  }

  .modal-inner {
    padding: 34px 24px;
  }
}

@media (max-width: 520px) {
  .section {
    padding: 68px 18px;
  }

  .hero {
    min-height: 72vh;
  }

  .btn {
    width: 100%;
  }

  .member-card,
  .member-card img {
    min-height: 380px;
    height: 380px;
  }
}


/* Icone piattaforme e micro-migliorie SEO/accessibilità */
.btn {
  gap: 9px;
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: currentColor;
}

.btn-spotify:hover {
  border-color: rgba(30, 215, 96, 0.95);
}

.btn-youtube:hover {
  border-color: rgba(255, 0, 0, 0.95);
}

.btn-apple:hover {
  border-color: rgba(252, 60, 68, 0.95);
}

.bio-text h3 {
  margin: 30px 0 12px;
  color: var(--text);
  font-size: 1.45rem;
  text-transform: uppercase;
}

.bio-text p {
  max-width: 74ch;
}

:focus-visible {
  outline: 2px solid var(--red-light);
  outline-offset: 4px;
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.release-cover {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1 / 1;
  background: #0b0b0b;
  border: 1px solid var(--border);
  padding: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.release-cover img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.release-cover img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #000;
}

@media (max-width: 520px) {
  .site-header {
    position: sticky;
  }

  .header-inner {
    padding: 20px 20px 14px;
  }

  .site-name {
    font-size: 1.05rem;
  }

  .main-nav {
    gap: 16px;
    font-size: 0.78rem;
    line-height: 1.4;
  }

  .hero {
    min-height: 680px;
    background-position: center top;
  }

  .hero-overlay {
    padding: 110px 20px 54px;
  }

  .hero-panel {
    max-width: 100%;
  }

  .eyebrow {
    font-size: 0.74rem;
    letter-spacing: 0.14em;
  }

  h1 {
    font-size: clamp(3.2rem, 15vw, 4.8rem);
    line-height: 0.96;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.35;
    margin: 18px auto 26px;
    max-width: 280px;
  }

  .button-row {
    gap: 10px;
  }

  .btn {
    min-height: 48px;
    padding: 11px 16px;
    font-size: 0.78rem;
  }

  .intro-section {
    padding-top: 58px;
  }
}


/* =========================================================
   TRUST (FIDETE) - FIX MOBILE HERO / BANNER
   Trasforma la hero da blocco gigante a banner compatto
   su smartphone. Da tenere in fondo al file.
   ========================================================= */

@media (max-width: 760px) {
  .hero {
    min-height: 0 !important;
    height: auto !important;
    display: block !important;
    background: #050505 !important;
    overflow: hidden;
  }

  .hero::before {
    content: "";
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 210px;
    max-height: 330px;
    background-image:
      linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(5, 5, 5, 0.55)),
      url("img/hero-trust.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid var(--border);
  }

  .hero-overlay {
    min-height: 0 !important;
    padding: 30px 18px 46px !important;
    background:
      radial-gradient(circle at top, rgba(153, 16, 23, 0.20), transparent 42%),
      #050505;
  }

  .hero-panel {
    max-width: 100% !important;
    text-align: center !important;
  }

  .hero .eyebrow {
    font-size: 0.72rem !important;
    letter-spacing: 0.13em !important;
    margin-bottom: 10px !important;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.8rem) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.055em !important;
    margin: 0 auto !important;
  }

  .hero-subtitle {
    font-size: 0.98rem !important;
    line-height: 1.35 !important;
    margin: 16px auto 24px !important;
    max-width: 290px !important;
  }

  .hero .button-row {
    justify-content: center !important;
    gap: 10px !important;
  }

  .hero .btn {
    width: min(100%, 315px) !important;
    min-height: 46px !important;
    padding: 10px 16px !important;
    font-size: 0.76rem !important;
  }

  .intro-section {
    padding-top: 58px !important;
  }
}

@media (max-width: 420px) {
  .hero::before {
    aspect-ratio: 4 / 3;
    min-height: 220px;
    max-height: 285px;
    background-size: cover;
    background-position: center top;
  }

  .hero-overlay {
    padding-top: 26px !important;
  }
}
