/* Fausto Leali - official site. Hand-written port of the 2018 Muse design (see DESIGN.md). */

:root {
  color-scheme: dark;
  --ink-0: #000;
  --ink-1: #131313;
  --ink-2: #1f1e1d;
  --ink-3: #181818;
  --ink-4: #262626;
  --ink-5: #2c2c2c;
  --ink-6: #2e2e2e;
  --ink-7: #3f3e3e;
  --ink-8: #484848;
  --paper: #fff;
  --paper-2: #dedede;
  --paper-3: #c4c4c4;
  --text: #fff;
  --text-2: #c7c7c7;
  --text-3: #a3a3a3;
  --text-4: #8c8c8c;
  --slate: #354a5f;
  --stone: #85807f;
  --stone-2: #a09991;
  --sand: #b1a996;
  --peach: #e8caa7;

  --f-name: raleway, "Helvetica Neue", Arial, sans-serif;
  --f-title: josefin-sans, "Helvetica Neue", Arial, sans-serif;
  --f-body: open-sans-condensed, "Arial Narrow", Arial, sans-serif;
  --f-text: open-sans, "Helvetica Neue", Arial, sans-serif;
  --f-label: questrial, "Helvetica Neue", Arial, sans-serif;

  --track: .41em;
  --wrap: 1024px;
  --gutter: 16px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --hero-h: min(652px, 86svh);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--ink-0);
  color: var(--text);
  font: 300 17px/1.3 var(--f-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--sand); color: var(--ink-0); }
:focus-visible { outline: 1px solid var(--peach); outline-offset: 4px; }
html { scrollbar-color: #555 var(--ink-1); }

.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--paper); color: var(--ink-0); padding: 10px 14px;
  font: 600 13px var(--f-title); letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
}
.skip:focus { top: 16px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* ---------- Shared type ---------- */
.t-title {
  font: 700 17px/1.2 var(--f-title);
  letter-spacing: var(--track);
  text-transform: uppercase;
}
.t-title--lg { font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; letter-spacing: .23em; }
.t-copy { font: 300 17px/1.2 var(--f-body); letter-spacing: .06em; color: var(--text-2); }
.t-text { font: 300 14px/1.75 var(--f-text); color: var(--text-3); }

/* ---------- FL monogram ---------- */
.fl {
  --s: 64px;
  display: inline-flex; align-items: center; justify-content: center;
  width: var(--s); height: var(--s);
  border: 1px solid currentColor;
  border-radius: 50% 0 50% 50%;
  font: 100 calc(var(--s) * .53)/1 var(--f-name);
  letter-spacing: -.06em;
  padding-right: .06em;
  flex: none;
}
.fl--duo { color: #000; }
.fl--duo span:first-child { color: #3f5a8a; }
.fl--duo span:last-child { color: #c0392b; }

/* ---------- Menu button + panel ---------- */
.menu-btn {
  position: fixed; top: 34px; right: max(var(--gutter), calc((100vw - 1440px) / 2 + 84px));
  z-index: 40;
  display: flex; align-items: center; gap: 14px;
  font: 400 20px/1 var(--f-label); letter-spacing: 9px; text-transform: uppercase;
  color: var(--text);
  padding: 10px 0 10px 12px;
  text-shadow: 0 1px 8px rgb(0 0 0 / .35);
  transition: opacity .3s;
}
.menu-btn .icon { width: 18px; height: 18px; margin-left: -6px; }
.menu-btn:hover { opacity: .75; }
.is-scrolled .menu-btn {
  background: rgb(38 38 38 / .92);
  padding: 10px 14px 10px 20px;
  text-shadow: none;
  backdrop-filter: blur(6px);
}

.menu {
  position: fixed; inset: 0 0 0 auto; z-index: 60;
  width: min(100%, 320px);
  background: var(--ink-4);
  padding: 34px 40px 40px;
  display: flex; flex-direction: column; gap: 40px;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .5s var(--ease), visibility 0s linear .5s;
}
.menu.is-open { transform: none; visibility: visible; transition: transform .5s var(--ease); }
.menu__head { display: flex; justify-content: space-between; align-items: flex-start; }
.menu__head .fl { color: var(--text); }
.menu__close { width: 44px; height: 44px; display: grid; place-items: center; margin: -6px -12px 0 0; }
.menu__close .icon { width: 24px; height: 24px; }
.menu__list { display: grid; gap: 4px; }
.menu__list a {
  display: block; padding: 12px 0;
  font: 300 15px/1 var(--f-body); letter-spacing: 5px; text-transform: uppercase;
  text-decoration: none; color: var(--text-2);
  transition: color .2s, padding-left .3s var(--ease);
}
.menu__list a:hover { color: var(--text); padding-left: 6px; }
.menu__list a[aria-current="page"] { color: var(--peach); }
.menu__social { margin-top: auto; display: flex; gap: 18px; }
.menu__social a { width: 40px; height: 40px; display: grid; place-items: center; color: var(--text-2); }
.menu__social a:hover { color: var(--text); }
.menu__social .icon { width: 22px; height: 22px; }
.scrim {
  position: fixed; inset: 0; z-index: 55; background: rgb(0 0 0 / .55);
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s linear .4s;
}
.scrim.is-open { opacity: 1; visibility: visible; transition: opacity .4s; }

/* ---------- Notch (hero bottom arrow) ---------- */
.notch {
  position: absolute; left: 50%; bottom: -1px; z-index: 3;
  width: 154px; height: 77px; translate: -50% 0;
  display: grid; place-items: end center; padding-bottom: 20px;
  color: var(--text);
  text-decoration: none;
}
.notch::before {
  content: ""; position: absolute; inset: 0;
  background: var(--notch, var(--ink-1));
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.notch .icon { position: relative; width: 22px; height: 11px; transition: translate .4s var(--ease); }
.notch:hover .icon { translate: 0 4px; }
.notch--light { color: var(--ink-0); }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; height: var(--hero-h);
  background: var(--ink-4) var(--bg) center / cover no-repeat;
  display: grid; justify-items: center; align-content: start;
  padding-top: 115px;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: url(../img/pattern.png); opacity: .23;
}
.page-hero h1 { position: relative; text-shadow: 0 1px 12px rgb(0 0 0 / .35); padding-left: var(--track); }

/* ---------- Footer ---------- */
.footer { background: var(--ink-0); padding: clamp(80px, 12vw, 164px) 0 clamp(80px, 10vw, 140px); }
.footer__inner {
  display: grid; gap: 40px; align-items: center;
  grid-template-columns: 1fr;
}
.footer__brand { display: flex; align-items: center; gap: 18px; color: var(--sand); }
.footer__name { font: 100 27px/1.2 var(--f-name); letter-spacing: 3px; color: var(--sand); }
.footer__legal {
  font: 300 14px/1.4 var(--f-body); letter-spacing: 3px; text-transform: uppercase;
  color: #e6e6e6; margin-top: 6px;
}
.footer__legal a { color: #8f8f8f; text-decoration: underline; text-decoration-color: #555; }
.footer__legal a:hover { color: var(--text); }
.footer__apple {
  display: inline-flex; align-items: center; gap: 4px;
  font: 600 15px/1 var(--f-text); color: var(--text); text-decoration: none; justify-self: start;
}
.footer__apple .icon { width: 17px; height: 17px; margin-top: -3px; }
.footer__apple:hover { opacity: .75; }
.footer__social { display: flex; gap: 22px; }
.footer__social a { width: 52px; height: 52px; display: grid; place-items: center; color: var(--text); }
.footer__social a:hover { color: var(--peach); }
.footer__social .icon { width: 44px; height: 44px; }

@media (min-width: 900px) {
  .footer__inner { grid-template-columns: 1fr auto auto; gap: 80px; }
  .footer__social { gap: 26px; }
}

/* =========================================================
   HOME
   ========================================================= */
.tiles {
  position: fixed; inset: 0 0 auto; z-index: 30;
  height: 64px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--ink-4);
}
.tiles a {
  display: grid; place-items: center;
  font: 600 10px/1 var(--f-title); letter-spacing: 3px; text-transform: uppercase;
  text-decoration: none; color: var(--text);
  background: color-mix(in srgb, var(--tile) 38%, var(--ink-4));
  transition: background-color .35s;
}
.tiles a:hover, .tiles a:focus-visible { background: var(--tile); }
.tiles a:nth-child(1) { --tile: var(--slate); }
.tiles a:nth-child(2) { --tile: var(--stone); }
.tiles a:nth-child(3) { --tile: var(--sand); }
.tiles a:nth-child(4) { --tile: var(--peach); color: var(--ink-0); }
.home .menu-btn { top: 76px; }
.home.is-scrolled .menu-btn { top: 76px; }

@media (min-width: 900px) {
  .tiles { height: 112px; grid-template-columns: repeat(4, 167px); }
  .tiles a { font-size: 11px; }
  .home .menu-btn, .home.is-scrolled .menu-btn { top: 34px; }
}

.hero {
  position: relative; overflow: hidden;
  height: max(560px, 100svh);
  max-height: 1000px;
  background: #000;
}
.hero__slides { position: absolute; inset: 0; }
.hero__slides img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 22%;
  opacity: 0; transition: opacity 1.6s ease;
}
.hero__slides img.is-active { opacity: 1; }
@media (min-width: 1100px) {
  .hero__slides img { object-fit: contain; object-position: center bottom; }
}
.hero__band {
  position: absolute; inset: 0 0 auto; z-index: 2;
  padding: 108px var(--gutter) 28px;
  background: rgb(58 58 58 / .7);
  display: grid; justify-items: center; text-align: center;
}
.hero__band .fl { --s: 52px; color: #000; margin-bottom: 14px; }
.hero__name {
  font: 100 clamp(46px, 11vw, 90px)/1.05 var(--f-name);
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.hero__name span { letter-spacing: .01em; margin-left: .12em; }
.hero__sub {
  font: 100 clamp(16px, 3.4vw, 25px)/1.2 var(--f-name);
  letter-spacing: .16em; text-transform: uppercase; margin-top: 6px;
}
@media (min-width: 900px) {
  .hero__band { padding-top: 158px; min-height: 392px; }
  .hero__band .fl { --s: 64px; }
}

/* Split sections: darker left, lighter right */
.split {
  position: relative;
  background: linear-gradient(90deg, var(--ink-1) 50%, var(--ink-2) 50%);
  padding: clamp(72px, 12vw, 200px) 0 clamp(72px, 12vw, 190px);
}
@media (max-width: 899px) {
  .split { background: var(--ink-1); }
}
.split__rows { display: grid; gap: clamp(56px, 7vw, 72px); }
.row {
  display: grid; gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .row { grid-template-columns: 1fr 1fr; gap: 0; align-items: start; }
  .row > :first-child { margin-right: 83px; justify-self: end; }
  .row > :last-child { margin-left: 68px; }
}

/* Song cards (#music) */
.song-card {
  display: flex; align-items: flex-end; gap: 20px;
  background: var(--paper);
  padding: 15px 11px 13px 13px;
  width: min(100%, 429px);
}
.song-card .fl { --s: 66px; }
.song-card img { width: 317px; aspect-ratio: 317 / 148; object-fit: cover; min-width: 0; flex: 1; }
.song h3 { margin: 4px 0 26px; }
.song p { max-width: 34ch; }

/* Bands */
.band {
  position: relative;
  min-height: clamp(300px, 36vw, 493px);
  display: grid; place-items: center; gap: 28px;
  background: var(--ink-4) var(--bg) center / cover no-repeat;
  padding: 64px var(--gutter);
  overflow: hidden;
}
.band::before {
  content: ""; position: absolute; inset: 0;
  background: url(../img/pattern.png); opacity: .55;
}
.band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgb(0 0 0 / .18) 50%, transparent 50%);
}
.band__icon {
  position: relative; z-index: 1;
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--circle);
  display: grid; place-items: center;
  opacity: .9;
}
.band__icon img { width: 100px; height: 100px; }

/* Audio previews in the speaker band */
.player {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px;
}
.player button {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 44px; padding: 0 20px 0 14px;
  background: rgb(19 19 19 / .82);
  border: 1px solid rgb(255 255 255 / .16);
  font: 600 12px/1 var(--f-title); letter-spacing: .26em; text-transform: uppercase;
  transition: background-color .25s, border-color .25s;
}
.player button:hover { border-color: rgb(255 255 255 / .5); }
.player button .icon { width: 16px; height: 16px; }
.player button .i-pause { display: none; }
.player button[aria-pressed="true"] { background: var(--stone); border-color: var(--stone); }
.player button[aria-pressed="true"] .i-play { display: none; }
.player button[aria-pressed="true"] .i-pause { display: block; }
.player__bar {
  position: relative; width: 56px; height: 2px; background: rgb(255 255 255 / .25); overflow: hidden;
}
.player__bar::after {
  content: ""; position: absolute; inset: 0;
  background: var(--text); transform-origin: left; transform: scaleX(var(--p, 0));
}
.player__note {
  position: relative; z-index: 1; width: 100%; text-align: center;
  font: 300 13px/1.4 var(--f-text); color: #d0d0d0; letter-spacing: .02em;
}

/* Albums on home (#album) */
.disc { display: grid; justify-items: center; }
.disc img { width: auto; max-height: 256px; filter: drop-shadow(0 18px 18px rgb(0 0 0 / .55)); }
.tracks { font: 300 17px/1 var(--f-body); color: var(--text-2); display: grid; gap: 1px; counter-reset: t; }
.tracks li { counter-increment: t; display: grid; grid-template-columns: 1.4em 1fr; }
.tracks li::before { content: counter(t); color: #8a8f99; }
.album-row h3 { margin-bottom: 12px; }

/* Events (#eventi) */
.dates { margin-bottom: clamp(64px, 8vw, 96px); }
.dates h2 { margin-bottom: 26px; }
.dates__list { border-top: 1px solid #333; }
.dates__list li {
  display: grid; grid-template-columns: 7.5em 1fr auto; gap: 16px; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid #333;
}
.dates__list time { font: 600 13px/1 var(--f-title); letter-spacing: .18em; color: var(--peach); text-transform: uppercase; }
.dates__list .city { font: 300 17px/1.3 var(--f-body); letter-spacing: .05em; }
.dates__empty { font: 300 17px/1.5 var(--f-body); letter-spacing: .04em; color: var(--text-2); max-width: 52ch; }
.dates__empty a { color: var(--text); }

.news { display: grid; gap: 64px; }
@media (min-width: 900px) {
  .news { grid-template-columns: 1fr 1fr; gap: 0; }
  .news > :first-child { margin-right: 39px; justify-self: end; }
  .news > :last-child { margin-left: 42px; }
}
.news-card { width: min(100%, 478px); display: grid; align-content: start; }
.news-card__media {
  position: relative; aspect-ratio: 478 / 256; width: 100%;
  background: #000 center / cover no-repeat; overflow: hidden;
}
.news-card__media img { width: 100%; height: 100%; object-fit: cover; }
.news-card__media--book { background: #000; }
.news-card__media--book img { object-fit: contain; object-position: right top; }
.news-card h3 { font: 600 clamp(24px, 2.5vw, 30px)/1.2 var(--f-title); letter-spacing: .03em; margin: 54px 0 22px 18px; text-transform: uppercase; }
.meta { display: flex; flex-wrap: wrap; gap: 10px 30px; margin-left: 14px; font: 300 13px/1.3 var(--f-text); color: #b8b8b8; }
.meta span { display: inline-flex; align-items: center; gap: 8px; }
.meta .icon { width: 25px; height: 25px; color: #d9d9d9; }
.news-card p.t-news { margin: 56px 0 0 18px; font: 300 13px/1.25 var(--f-text); color: var(--text); max-width: 36ch; }
.ticket {
  display: inline-flex; align-items: center; gap: 18px; margin: 52px 0 0 16px; justify-self: start;
  font: 600 13px/1 var(--f-title); letter-spacing: .26em; text-transform: uppercase;
  text-decoration: none; color: var(--text);
  min-height: 44px;
}
.ticket .icon { width: 40px; height: 22px; }
a.ticket:hover { color: var(--peach); }

/* Video click-to-load */
.video {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  background: #000; overflow: hidden;
}
.video img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s, scale .6s var(--ease); }
.video:hover img { opacity: .85; scale: 1.02; }
.video__play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 68px; height: 48px; border-radius: 12px; background: #c4302b;
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 6px 18px rgb(0 0 0 / .45);
}
.video__play .icon { width: 26px; height: 26px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.news-card .video { aspect-ratio: 478 / 256; }
.video--baked .video__play { display: none; }
.video__hint {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 12px;
  font: 300 12px/1.3 var(--f-text); color: #ddd; background: linear-gradient(transparent, rgb(0 0 0 / .75));
  opacity: 0; transition: opacity .3s;
}
.video:hover .video__hint, .video:focus-visible .video__hint { opacity: 1; }

/* Photostory (#photostory) */
.story { display: grid; gap: 24px; }
.story__strips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.story__strips button {
  aspect-ratio: 85 / 440; max-height: 440px; overflow: hidden; position: relative;
  outline-offset: 3px;
}
.story__strips img { width: 100%; height: 100%; object-fit: cover; transition: filter .4s, scale .6s var(--ease); filter: grayscale(.35) brightness(.8); }
.story__strips button:hover img, .story__strips button[aria-current="true"] img { filter: none; scale: 1.04; }
.story__view { position: relative; aspect-ratio: 577 / 440; background: #000; overflow: hidden; width: min(100%, 577px); }
.story__view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s ease; }
.story__view img.is-active { opacity: 1; }
.story__nav { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; }
.story__nav button { display: flex; align-items: center; padding: 0 14px; color: #fff; opacity: 0; transition: opacity .3s; }
.story__nav button:last-child { justify-content: flex-end; }
.story__view:hover .story__nav button, .story__nav button:focus-visible { opacity: .9; }
.story__nav .icon { width: 36px; height: 36px; filter: drop-shadow(0 1px 4px rgb(0 0 0 / .6)); }
@media (min-width: 900px) {
  .story { grid-template-columns: 1fr 1fr; gap: 0; align-items: start; }
  .story__strips { width: 370px; justify-self: end; margin-right: 47px; }
  .story__view { margin-left: 9px; }
}
@media (hover: none) { .story__nav button { opacity: .85; } }
@media (max-width: 899px) { .story__strips button { aspect-ratio: auto; height: 220px; } }

/* =========================================================
   BIOGRAPHY
   ========================================================= */
.legends { background: var(--ink-3); padding: clamp(72px, 13vw, 187px) 0 clamp(72px, 12vw, 180px); }
.legends__grid { display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); max-width: 885px; margin-inline: auto; }
.legend { position: relative; }
.legend h2 {
  background: color-mix(in srgb, var(--c) 80%, var(--ink-3));
  padding: 26px 18px 25px;
  font: 700 17px/1 var(--f-title); letter-spacing: .3em; text-transform: uppercase; white-space: nowrap;
}
.legend img {
  width: 100%; aspect-ratio: 271 / 376; object-fit: cover; object-position: center top;
  opacity: .2; transition: opacity .8s var(--ease);
}
.legend:hover img, .legend.is-seen img { opacity: 1; }
.legend:nth-child(1) { --c: var(--sand); }
.legend:nth-child(2) { --c: var(--stone); }
.legend:nth-child(3) { --c: var(--peach); }

.story-tabs { background: var(--ink-6); padding: 48px 0 96px; }
.tablist { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px clamp(20px, 4.4vw, 64px); margin-bottom: 56px; }
.tablist button {
  font: 600 clamp(15px, 1.6vw, 20px)/1 var(--f-title); letter-spacing: .26em; text-transform: uppercase;
  color: #d4d4d4; padding: 12px 0; text-underline-offset: .35em;
  transition: color .2s;
}
.tablist button:hover { color: var(--text); }
.tablist button[aria-selected="true"] { color: var(--text); text-decoration: underline; text-decoration-thickness: 2px; }
.tabpanel { display: grid; gap: 40px; }
.tabpanel[hidden] { display: none; }
.tabpanel img { width: 100%; max-width: 444px; aspect-ratio: 444 / 624; object-fit: cover; object-position: center top; justify-self: center; }
.tabpanel .t-text p + p { margin-top: 1em; }
.tabpanel .t-text { max-width: 66ch; }
.sanremo { display: grid; gap: 14px; }
.sanremo li { display: grid; grid-template-columns: 3.4em 1fr; gap: 10px; font: 300 14px/1.6 var(--f-text); color: var(--text-3); }
.sanremo b { font: 600 15px/1.5 var(--f-title); color: var(--text); letter-spacing: .06em; }
.sanremo strong { color: #ddd; font-weight: 400; }
@media (min-width: 900px) {
  .tabpanel { grid-template-columns: 444px 1fr; gap: 50px; align-items: start; }
}

/* =========================================================
   ALBUMS - timeline
   ========================================================= */
.timeline-sec { background: var(--paper); color: var(--ink-0); padding: 100px 0 120px; }
.timeline { position: relative; display: grid; gap: 30px; max-width: 900px; margin-inline: auto; }
.timeline::before {
  content: ""; position: absolute; left: 57px; top: 0; bottom: 0; width: 1px; background: #d9d9d9;
}
.alb { position: relative; display: grid; grid-template-columns: 114px 1fr; gap: 16px; align-items: center; }
.alb__year {
  width: 114px; height: 114px; border-radius: 50%;
  background: var(--paper-3); color: #474747;
  display: grid; place-items: center;
  font: 400 14px/1 var(--f-text); letter-spacing: 4px; padding-left: 4px;
  position: relative; z-index: 1;
}
.alb__body { min-width: 0; }
.alb h2 { font: 700 15px/1.25 var(--f-title); letter-spacing: .32em; text-transform: uppercase; margin-bottom: 9px; }
.alb__cover {
  display: grid; place-items: center; width: 100%; max-width: 339px; aspect-ratio: 339 / 179;
  background: linear-gradient(90deg, #bfbfbf 0 22px, var(--paper-2) 22px);
  padding: 4px 6px 4px 28px;
  transition: background-color .3s;
  text-align: left;
}
.alb__cover img { max-height: 100%; width: auto; transition: translate .5s var(--ease); }
.alb__cover:hover img { translate: 6px 0; }
.alb__more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 10px;
  font: 600 11px/1 var(--f-title); letter-spacing: .26em; text-transform: uppercase; color: #555;
  min-height: 32px;
}
.alb__more::after { content: "+"; font: 300 18px/1 var(--f-text); }
.alb__more[aria-expanded="true"]::after { content: "–"; }
.alb__tracks {
  margin-top: 6px; padding: 16px 20px 18px; background: #f2f2f2; max-width: 339px;
  columns: 2 140px; column-gap: 20px;
  font: 300 15px/1.35 var(--f-body); color: #555; letter-spacing: .02em;
}
.alb__tracks li { break-inside: avoid; padding-left: .9em; text-indent: -.9em; }
.alb__tracks li::before { content: "» "; color: #999; }
.alb__tracks[hidden] { display: none; }

@media (max-width: 899px) {
  .timeline::before { left: 36px; }
  .alb { grid-template-columns: 72px 1fr; }
  .alb__year { width: 72px; height: 72px; font-size: 12px; letter-spacing: 2px; }
}
@media (min-width: 900px) {
  .timeline { gap: 0; }
  .timeline::before { left: 50%; }
  .alb { grid-template-columns: 1fr 114px 1fr; gap: 0; align-items: start; margin-bottom: -88px; }
  .alb:last-child { margin-bottom: 0; }
  .alb__year { grid-column: 2; grid-row: 1; margin-top: 58px; }
  .alb__body { grid-row: 1; position: relative; }
  .alb:nth-child(odd) .alb__body { grid-column: 1; justify-self: end; padding-right: 44px; width: 383px; }
  .alb:nth-child(even) .alb__body { grid-column: 3; padding-left: 50px; width: 389px; }
  .alb__body::after { content: ""; position: absolute; top: 115px; height: 1px; background: #d9d9d9; }
  .alb:nth-child(odd) .alb__body::after { right: 0; width: 44px; }
  .alb:nth-child(even) .alb__body::after { left: 0; width: 50px; }
}

/* =========================================================
   PLAY LIST
   ========================================================= */
.playlist { background: #282828; padding: 80px 0 60px; }
.pl { display: grid; gap: 8px; }
.pl__item { display: grid; grid-template-columns: 1fr; background: var(--ink-5); }
.pl__main { padding: 44px 24px 36px; display: grid; gap: 28px; }
.pl__main h2 { font: 700 clamp(15px, 1.8vw, 17px)/1.3 var(--f-title); letter-spacing: var(--track); text-transform: uppercase; margin-bottom: 22px; }
.pl__main h2 small { font-size: 10px; letter-spacing: .3em; margin-left: .6em; }
.pl__tracks { font: 300 15px/1.15 var(--f-body); letter-spacing: .07em; color: #8b8b8b; display: grid; counter-reset: t; }
.pl__tracks li { counter-increment: t; display: grid; grid-template-columns: 1.3em 1fr; }
.pl__tracks li::before { content: counter(t); color: #848b95; }
.pl__play {
  justify-self: start; display: grid; justify-items: center; gap: 2px;
  font: 600 16px/1 var(--f-title); letter-spacing: .4em; padding: 10px 0 6px .4em; text-decoration: none; color: var(--text); text-transform: uppercase;
  transition: color .25s;
}
.pl__play .icon { width: 46px; height: 38px; }
.pl__play:hover { color: var(--peach); }
.pl__cover { background: var(--ink-7); display: grid; place-items: center; padding: 28px 24px; order: -1; }
@media (max-width: 899px) { .pl__cover img { width: 140px; height: 140px; } }
.pl__cover img { width: 170px; height: 170px; box-shadow: 0 10px 22px rgb(0 0 0 / .35); }
@media (min-width: 900px) {
  .pl__item { grid-template-columns: 1fr 268px; }
  .pl__cover { order: 0; padding: 42px 24px; }
  .pl__main { grid-template-columns: 1fr 232px; gap: 0; padding: 0; }
  .pl__main > div { padding: 52px 30px 30px 50px; border-right: 1px solid #4a4a4a; margin: 26px 0; }
  .pl__play { justify-self: center; align-self: center; }
}

/* =========================================================
   GALLERY
   ========================================================= */
.gallery-sec { background: var(--ink-5); padding: 100px 0 120px; }
.gal { display: grid; gap: 32px; }
.gal__tabs { display: flex; gap: 8px 30px; flex-wrap: wrap; }
.gal__tabs button { position: relative; text-align: left; padding: 8px 0; }
.gal__tabs b { display: block; font: 600 22px/1.2 var(--f-title); color: var(--text); }
.gal__tabs span { display: block; font: 300 13px/1.4 var(--f-body); letter-spacing: 5px; color: #949494; margin-top: 4px; transition: color .2s; }
.gal__tabs button:hover span, .gal__tabs button[aria-selected="true"] span { color: #c7c7c7; }
.gal__tabs button[aria-selected="true"] b { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; }
.viewer { min-width: 0; }
.viewer[hidden] { display: none; }
.viewer__top { height: clamp(32px, 7vw, 97px); background: var(--band); }
.viewer__stage { position: relative; background: #111; aspect-ratio: 845 / 534; overflow: hidden; touch-action: pan-y; }
.viewer__stage img { width: 100%; height: 100%; object-fit: contain; }
.viewer__zoom { position: absolute; inset: 0; cursor: zoom-in; }
.viewer__arrows { position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.viewer__arrows button {
  pointer-events: auto; width: 56px; height: 88px; display: grid; place-items: center; color: #fff;
  background: rgb(0 0 0 / .25); opacity: 0; transition: opacity .3s, background-color .3s;
}
.viewer__stage:hover .viewer__arrows button, .viewer__arrows button:focus-visible { opacity: 1; }
.viewer__arrows button:hover { background: rgb(0 0 0 / .5); }
.viewer__arrows .icon { width: 30px; height: 30px; }
@media (hover: none) { .viewer__arrows button { opacity: .8; } }
.viewer__cap {
  min-height: 65px; padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgb(75 73 73 / .87);
  font: 300 16px/1.4 var(--f-body); color: #d7d7d7;
}
.viewer__count { font: 400 12px/1 var(--f-text); letter-spacing: .12em; color: #a9a9a9; white-space: nowrap; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; margin-top: 36px; }
.thumbs button { aspect-ratio: 109 / 64; overflow: hidden; opacity: .62; transition: opacity .25s; outline-offset: 2px; }
.thumbs button:hover, .thumbs button[aria-current="true"] { opacity: 1; }
.thumbs button[aria-current="true"] { box-shadow: 0 0 0 2px var(--peach); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .gal { grid-template-columns: 170px 1fr; gap: 18px; }
  .gal__tabs { flex-direction: column; gap: 50px; padding-top: 100px; }
  .gal__tabs button[aria-selected="true"]::after {
    content: ""; position: absolute; right: -24px; top: 12px; width: 0; height: 0;
    border: 10px solid transparent; border-right-color: #fff;
  }
  .gal__tabs button[aria-selected="true"] b { text-decoration: none; }
  .thumbs { grid-template-columns: repeat(7, 1fr); }
}

.videos-sec { background: var(--ink-3); padding: 96px 0 110px; }
.videos-sec h2 { margin-bottom: 40px; text-align: center; padding-left: var(--track); }
.videos { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 960px; margin-inline: auto; }
.videos figcaption { margin-top: 14px; font: 300 16px/1.4 var(--f-body); letter-spacing: .05em; color: var(--text-2); }

.lightbox {
  border: 0; padding: 0; margin: 0; max-width: none; max-height: none; width: 100vw; height: 100svh;
  background: rgb(0 0 0 / .94); color: #fff;
}
.lightbox::backdrop { background: rgb(0 0 0 / .8); }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; }
.lightbox img { width: 100%; height: 100%; object-fit: contain; padding: 56px 16px 0; }
.lightbox p { padding: 16px; text-align: center; font: 300 16px/1.4 var(--f-body); color: #ddd; }
.lightbox__close { position: absolute; top: 8px; right: 8px; width: 48px; height: 48px; display: grid; place-items: center; }
.lightbox__close .icon { width: 28px; height: 28px; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-sec { background: var(--ink-8); padding: clamp(100px, 18vw, 300px) 0 100px; }
.contact { display: grid; gap: 20px; }
.contact__mail { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.contact__mail span { font: 400 20px/1.2 var(--f-title); letter-spacing: 2px; }
.contact a { font: 300 15px/1.6 var(--f-text); text-decoration-color: rgb(255 255 255 / .35); }
.contact a:hover { text-decoration-color: currentColor; }
.contact__social { display: grid; gap: 4px; }
.contact__social a { display: inline-flex; align-items: center; gap: 10px; justify-self: start; min-height: 32px; }
.contact__social .icon { width: 18px; height: 18px; }
@media (min-width: 900px) { .contact { padding-left: 59px; } }

/* =========================================================
   Motion preferences
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .legend img { opacity: 1; }
}

/* ---------- Page-specific imagery (kept out of inline styles for the CSP) ---------- */
.page-hero--bio { --bg: url(../img/bio/faustobio.webp); --notch: var(--ink-3); }
.page-hero--albums { --bg: url(../img/albums/25.webp); --notch: var(--paper); background-position: center 30%; }
.page-hero--playlist { --bg: url(../img/playlist/back_006_blurs.webp); --notch: #282828; background-position: center 20%; }
.page-hero--gallery { --bg: url(../img/gallery/slideok3.webp); --notch: var(--ink-5); background-position: center top; }
.page-hero--contact { --bg: url(../img/contact/slideshow01111.webp); --notch: var(--ink-8); }
.hero { --notch: var(--ink-1); }
.band--speaker { --bg: url(../img/home/68.webp); --circle: #787473; }
.band--note { --bg: url(../img/home/back_006.webp); --circle: #9d9686; }
.band--record { --bg: url(../img/home/67.webp); --circle: #d1b798; }
.viewer--1 { --band: var(--stone-2); }
.viewer--2 { --band: var(--stone); }
.viewer--3 { --band: var(--slate); }
