/* ── LE CARROZZE RECORDS — Design system condiviso ── */

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

:root {
  --paper:      #ffffff;
  --paper-dim:  #f4f6f7;
  --paper-deep: #e2e7ea;
  --ink:        #1a1a1a;
  --ink-soft:   #55595c;
  --burgundy:   #c8193f;
  --burgundy-lt:#e0234a;
  --terracotta: #d43d2f;
  --brass:      #a8823c;
  --muted:      #83898c;
  --serif:      'Fraunces', Georgia, serif;
  --sans:       'Work Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%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)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.05;
  pointer-events: none;
  z-index: 1000;
  mix-blend-mode: multiply;
}

a { color: inherit; }

/* ── NAV ── */
nav.site-nav {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.3rem 4rem;
  background: rgba(238,239,240,0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--paper-deep);
}

.nav-logo {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}

.nav-links { display: flex; gap: 1.8rem; list-style: none; flex-wrap: wrap; }

.nav-links a {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--burgundy); }

.nav-lang {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--brass);
  text-decoration: none;
  border: 1px solid var(--paper-deep);
  padding: 0.35rem 0.7rem;
  border-radius: 2px;
  white-space: nowrap;
}
.nav-lang:hover { border-color: var(--brass); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); transition: transform 0.3s, opacity 0.3s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(238,239,240,0.98);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); text-decoration: none; }
.nav-mobile a:hover { color: var(--burgundy); }

/* ── HERO ── */
.hero {
  padding: 4rem 4rem 3rem;
  border-bottom: 1px solid var(--paper-deep);
}
.hero-eyebrow {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1rem;
  display: block;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 1rem;
}
.hero-title em { font-style: italic; color: var(--burgundy); font-weight: 400; }
.hero-title-row { display: flex; align-items: center; gap: 1.8rem; flex-wrap: wrap; margin-bottom: 1rem; }
.hero-title-row .hero-title { margin-bottom: 0; }
.hero-logo-mark {
  height: 260px;
  width: auto;
  margin-left: auto;
  border-radius: 3px;
  box-shadow: 0 6px 18px rgba(43,32,24,0.3);
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 62ch;
  line-height: 1.8;
}

/* ── SECTION BASE ── */
section, .section { padding: 3.5rem 4rem; }

.section-label {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 1.3rem;
}
.section-title em { font-style: italic; color: var(--burgundy); }

hr.divider { border: none; border-top: 1px solid var(--paper-deep); margin-bottom: 2.5rem; width: 60px; }

.body-text p { font-size: 1.02rem; color: var(--ink-soft); line-height: 1.85; margin-bottom: 1.1rem; }
.body-text strong { color: var(--ink); }
.body-text em.lang { display: block; margin-top: 0.4rem; color: var(--muted); font-style: italic; font-size: 0.95rem; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--burgundy);
  border: none;
  cursor: pointer;
  padding: 0.9rem 2.1rem;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.3s;
}
.btn:hover { background: var(--burgundy-lt); }
.btn-outline {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  padding: 0.85rem 2rem;
  text-decoration: none;
  border-radius: 2px;
  transition: border-color 0.3s, color 0.3s;
}
.btn-outline:hover { border-color: var(--burgundy); color: var(--burgundy); }

/* ── CARDS / GENRE GRID ── */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.card {
  background: var(--paper-dim);
  border: 1px solid var(--paper-deep);
  border-radius: 3px;
  padding: 1.4rem 1.3rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}
.card:hover { transform: translateY(-3px); border-color: var(--brass); background: var(--paper); }
.card .card-name { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; color: var(--ink); }
.card .card-sub { font-size: 0.78rem; color: var(--muted); line-height: 1.5; }

/* ── RELEASES (album/opera grid with cover) ── */
.release-grid { display: flex; flex-direction: column; gap: 1.6rem; }
.release {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.6rem;
  align-items: start;
  padding: 1.6rem;
  background: var(--paper-dim);
  border: 1px solid var(--paper-deep);
  border-radius: 3px;
  text-decoration: none;
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}
.release:hover { transform: translateY(-3px); border-color: var(--brass); background: var(--paper); }
.release-img { width: 100%; height: auto; border-radius: 2px; box-shadow: 0 4px 14px rgba(43,32,24,0.25); }
.release-title { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; color: var(--burgundy); margin-bottom: 0.3rem; }
.release-artist { font-size: 0.95rem; font-weight: 600; color: var(--ink); margin-bottom: 0.5rem; }
.release-desc { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.75; }

/* ── ALBUM DETAIL ── */
.album-hero {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2.5rem;
  align-items: start;
}
.album-cover { width: 100%; height: auto; border-radius: 3px; box-shadow: 0 10px 30px rgba(0,0,0,0.18); }
.album-price {
  display: inline-block;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--burgundy);
  margin-bottom: 1rem;
}
.album-credits-line { font-size: 0.92rem; color: var(--muted); margin-top: 1.5rem; line-height: 1.8; }
.album-credits-line strong { color: var(--ink); }
.album-external { font-size: 0.92rem; margin-top: 0.8rem; }
.album-external a { color: var(--burgundy); font-weight: 600; text-decoration: none; }
.album-external a:hover { text-decoration: underline; }

.tracklist { display: flex; flex-direction: column; margin-top: 0.5rem; }
.tracklist li { list-style: none; display: flex; gap: 1rem; align-items: baseline; padding: 0.7rem 0; border-bottom: 1px solid var(--paper-deep); }
.tracklist li:first-child { border-top: 1px solid var(--paper-deep); }
.track-num { font-family: var(--serif); color: var(--brass); font-size: 0.95rem; width: 1.4rem; flex-shrink: 0; }
.track-info { flex: 1; }
.track-title { font-weight: 600; color: var(--ink); }
.track-meta { font-size: 0.85rem; color: var(--muted); }
.track-time { font-size: 0.85rem; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ── PROGRAM (grouped by composer/work) ── */
.program-block { margin-bottom: 2rem; }
.program-block:last-child { margin-bottom: 0; }
.program-composer { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--burgundy); margin-bottom: 0.2rem; }
.program-work { font-style: italic; color: var(--ink-soft); margin-bottom: 0.7rem; font-size: 0.98rem; }
.program-credit { font-size: 0.85rem; color: var(--muted); margin-top: 0.5rem; line-height: 1.6; }

/* ── ENSEMBLE ROSTER ── */
.roster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem 2rem; margin-top: 0.5rem; }
.roster-group .roster-role { font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--burgundy); margin-bottom: 0.35rem; }
.roster-group .roster-names { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.7; }

.credits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-top: 0.5rem; }
.credits-grid h3 { font-family: var(--serif); font-size: 1.1rem; font-weight: 500; color: var(--burgundy); margin-bottom: 0.8rem; }
.credits-list { font-size: 0.92rem; color: var(--ink-soft); line-height: 2; }
.credits-list strong { color: var(--ink); }

/* ── LINK LIST ── */
.link-list { display: flex; flex-direction: column; gap: 0; margin-top: 0.5rem; }
.link-list li { list-style: none; padding: 0.9rem 0; border-bottom: 1px solid var(--paper-deep); display: flex; align-items: baseline; gap: 0.6rem; }
.link-list li:first-child { border-top: 1px solid var(--paper-deep); }
.link-list .bullet { color: var(--brass); }
.link-list a { text-decoration: none; color: var(--ink); font-weight: 500; }
.link-list a:hover { color: var(--burgundy); }
.link-list .sub { color: var(--muted); font-size: 0.88rem; }

/* ── PARTNER STRIP ── */
.partner-strip {
  background: var(--paper-dim);
  border-top: 1px solid var(--paper-deep);
  border-bottom: 1px solid var(--paper-deep);
  padding: 1.6rem 4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem;
  justify-content: center;
}
.partner-strip a { font-size: 0.85rem; font-weight: 500; text-decoration: none; color: var(--ink-soft); letter-spacing: 0.04em; }
.partner-strip a:hover { color: var(--burgundy); }

/* ── FOOTER ── */
footer.site-footer {
  background: var(--ink);
  color: var(--paper-dim);
  padding: 3rem 4rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.f-brand .fn { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--paper); display: block; }
.f-brand .ft { font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass); }
.f-nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.f-nav a { font-size: 0.82rem; color: var(--paper-dim); text-decoration: none; opacity: 0.8; }
.f-nav a:hover { opacity: 1; color: var(--brass); }
.f-social { display: flex; gap: 0.9rem; align-items: center; }
.f-social a { color: var(--paper-dim); opacity: 0.8; transition: opacity 0.3s, color 0.3s; }
.f-social a:hover { opacity: 1; color: var(--brass); }
.f-social svg { width: 18px; height: 18px; }
.f-copy { font-size: 0.72rem; color: var(--muted); text-align: right; line-height: 1.6; }
.f-copy a { color: var(--brass); text-decoration: none; }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav.site-nav { padding: 1.2rem 1.5rem; }
  .nav-links { display: none; }
  .nav-lang { display: none; }
  .nav-hamburger { display: flex; }
  .hero-logo-mark { height: 150px; }

  section, .section { padding: 3rem 1.5rem; }
  .hero { padding: 2.5rem 1.5rem 2rem; }
  .partner-strip { padding: 1.4rem 1.5rem; }

  .card-grid { grid-template-columns: repeat(2, 1fr); }
  section[style*="display:grid"] { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .release { grid-template-columns: 1fr; }
  .release-img { max-width: 200px; }
  .album-hero { grid-template-columns: 1fr; }
  .album-cover { max-width: 260px; }
  .credits-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .roster { grid-template-columns: 1fr 1fr; }

  footer.site-footer { flex-direction: column; align-items: flex-start; text-align: left; padding: 2.5rem 1.5rem 1.5rem; }
  .f-copy { text-align: left; }
}
