@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/barlow-condensed-500.ttf) format('truetype');
}

@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/barlow-400.ttf) format('truetype');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/barlow-600.ttf) format('truetype');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/barlow-700.ttf) format('truetype');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(assets/fonts/barlow-800.ttf) format('truetype');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/barlow-condensed-600.ttf) format('truetype');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/barlow-condensed-700.ttf) format('truetype');
}
@font-face {
  font-family: 'Metal Mania';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/metal-mania-400.ttf) format('truetype');
}

:root {
  --color-background: #080808;
  --color-text: #f4f2ef;
  --color-muted: #b8b4ae;
  --color-accent: #ff343b;
  --color-button: #b31c25;
  --color-border: #343434;
  --color-surface: #141414;
  --font-family: 'Barlow', 'Segoe UI', Arial, sans-serif;
  --font-display: 'Metal Mania', Georgia, serif;
  --font-condensed: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --content-width: 1280px;
  --content-gutter: 48px;
  --section-padding: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-family); color: var(--color-text); background: var(--color-background); line-height: 1.6; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, p, figure { margin: 0; }
p + p { margin-top: 16px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 6px; }
a:hover { color: var(--color-accent); }
.content-wrapper { width: min(var(--content-width), calc(100% - var(--content-gutter) * 2)); margin-inline: auto; }
.grid { display: grid; gap: 48px; }
.grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: 16px; transform: translateY(-200%); z-index: 10; padding: 12px; background: white; color: black; }
.skip-link:focus { transform: none; }
/* The supplied transparent logo has generous empty margins. The viewport
   below hides that empty space without changing or stretching its lettering. */
.sma-header { background: #000; }
.sma-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 24px; }
.sma-wordmark { position: relative; display: block; width: 360px; height: 80px; flex-shrink: 0; overflow: hidden; }
.sma-wordmark img { position: absolute; width: 100%; max-width: none; top: 50%; transform: translateY(-52%); }
.sma-nav { display: flex; flex: 1; justify-content: center; flex-wrap: nowrap; gap: 24px; padding-block: 16px; }
.sma-nav a { font-family: var(--font-condensed); text-transform: uppercase; font-size: 18px; font-weight: 700; letter-spacing: 1px; }
.sma-menu { color: white; background: none; border: 1px solid #555; padding: 8px 16px; }
.sma-social { flex-shrink: 0; }
.sma-social__inner { display: flex; justify-content: flex-end; gap: 16px; padding-block: 16px; }
.sma-social__icon { color: var(--color-accent); display: block; }
.sma-social__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
/* Preserve intrinsic image proportions; the wrapper only hides the lower stage. */
.sma-hero__photo {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 1667px;
  height: min(calc(100vw * 724 / 1672), calc(1667px * 724 / 1672));
  overflow: hidden;
  margin-inline: auto;
}
.sma-hero__photo img {
  display: block;
  width: 100%;
  max-width: 1667px;
  max-height: 941px;
  height: auto;
}
/* Analog texture is decorative and does not affect the original photo. */
.sma-hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.276;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='192' height='192' viewBox='0 0 192 192'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)' opacity='.85'/%3E%3C/svg%3E");
}
.sma-hero__photo::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  opacity: 0.138;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 3px, #000 3px, #000 4px);
}
.sma-actions { display: flex; align-items: center; gap: 32px; }
.sma-button { display: inline-flex; align-items: center; justify-content: center; gap: 32px; min-height: 48px; padding: 12px 24px; background: var(--color-button); font-weight: 700; white-space: nowrap; }
.sma-button:hover { color: white; background: #91151c; }
.sma-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; white-space: nowrap; }
.sma-section { padding-block: var(--section-padding); scroll-margin-top: 24px; }
.sma-section--surface { background: var(--color-surface); }
h2 { font-family: var(--font-display); font-size: 52px; line-height: 1.15; text-transform: none; letter-spacing: 0; font-weight: 400; font-synthesis: none; }
h3 { font-size: 22px; line-height: 1.3; }
.sma-lead { font-size: 28px; line-height: 1.3; margin-top: 24px; }
.sma-note { display: inline-block; font-size: 13px; color: var(--color-muted); }
.sma-bio { grid-template-columns: 0.8fr 1.2fr; align-items: center; }
.sma-placeholder { margin-top: 24px; max-width: 400px; color: var(--color-muted); }
.sma-placeholder .sma-note { margin-top: 16px; }
/* Crop the black border only: original scene spans x=118..1287, y=10..878. */
.sma-bio__frame { position: relative; width: 100%; aspect-ratio: 1169 / 868; overflow: hidden; }
.sma-bio__frame img { position: absolute; width: 119.761%; max-width: none; height: auto; left: -10.094%; top: -1.152%; }
.sma-bio__photo figcaption { font-size: 12px; color: var(--color-muted); margin-top: 12px; }
.sma-section__heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.sma-section__heading > p { color: var(--color-muted); }
.sma-section__kicker { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.sma-agenda { border-block: 1px solid #444; }
.sma-agenda__labels { display: grid; grid-template-columns: 120px 1fr 120px; padding-block: 16px; font-size: 12px; letter-spacing: 1px; color: var(--color-muted); border-bottom: 1px solid #343434; }
.sma-agenda__empty { display: flex; align-items: center; gap: 32px; padding-block: 32px; }
.sma-agenda__mark { width: 88px; font-size: 32px; color: var(--color-accent); }
.sma-agenda__empty p { margin-top: 8px; color: var(--color-muted); }
.sma-agenda__empty > .sma-note { margin-left: auto; }
/* Album artwork is the section's visual focus, without card frames. */
#discografia { background: #eeeae3; color: #101010; }
#discografia .sma-section__heading > p { color: #58534f; }
.sma-album img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.sma-album__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 20px; }
.sma-album__meta h3 { font-family: var(--font-condensed); font-size: 26px; font-weight: 700; }
.sma-album__meta > span { color: #58534f; font-size: 14px; }
.sma-album > .sma-link { color: #a4111c; font-size: 14px; margin-top: 8px; }
.sma-album > .sma-note { color: #58534f; margin-top: 20px; }
.sma-tribute { background: #eeeae3; color: #101010; }
.sma-tribute > .content-wrapper > h2 { max-width: 900px; margin-inline: auto; text-align: center; }
.sma-tribute > .content-wrapper > .sma-section__kicker { text-align: center; }
.sma-bio h2, .sma-bio .sma-section__kicker { text-align: left; }
.sma-tribute__body { margin-top: 36px; grid-template-columns: 0.8fr 1.2fr; align-items: center; }
.sma-portrait { overflow: hidden; background: #000; }
.sma-portrait, .sma-bio__frame, .sma-album > img { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); }
.sma-portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center top; }
.sma-tribute__copy h3 { font-size: 48px; text-transform: uppercase; margin-bottom: 16px; }
.sma-tribute__copy p { font-size: 24px; }
.sma-tribute__copy .sma-note { color: #58534f; margin-top: 24px; }
.sma-footer { padding-block: 32px; }
.sma-footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.sma-footer__name { font-family: var(--font-display); font-size: 28px; font-weight: 400; letter-spacing: 1px; }
.sma-footer p { font-size: 12px; color: var(--color-muted); }
@media (min-width: 1025px) { .sma-menu { display: none !important; } }
@media (max-width: 1024px) {
  :root { --content-gutter: 32px; }
  .sma-header__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 24px; padding-block: 16px; }
  .sma-wordmark { grid-column: 1; grid-row: 1; width: 100%; max-width: 280px; height: 64px; }
  .sma-menu:not([hidden]) { display: block; grid-column: 3; grid-row: 1; margin: 0; justify-self: end; }
  .sma-header .sma-social { grid-column: 2; grid-row: 1; }
  .sma-header .sma-social__inner { padding-block: 0; }
  .sma-nav { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; }
  .js-ready .sma-nav { display: none; }
  .js-ready .sma-nav.is-open { display: flex; width: 100%; flex-direction: column; align-items: center; gap: 0; }
  .sma-nav a { padding-block: 12px; }
  .sma-album__meta h3 { font-size: 20px; }
  h2 { font-size: 44px; }
}
@media (max-width: 768px) {
  :root { --content-gutter: 24px; --section-padding: 48px; }
  .grid--two, .sma-bio, .sma-tribute__body { grid-template-columns: 1fr; gap: 28px; }
  .sma-wordmark { height: 56px; }
  .sma-header__inner { padding-block: 12px; gap: 12px; }
  .sma-header .sma-social__inner { gap: 12px; }
  .sma-header .sma-social__icon svg { width: 20px; height: 20px; }
  .sma-header .sma-menu { padding: 8px; font-size: 16px; min-height: 44px; }
  .sma-social__inner { padding-block: 12px; }
  .sma-button, .sma-link { font-size: 14px; }
  h2 { font-size: 36px; letter-spacing: 0; }
  .sma-section__heading { display: block; text-align: center; margin-bottom: 28px; }
  .sma-section__heading > p { margin-top: 12px; }
  .sma-bio .sma-lead { text-align: center; }
  .sma-lead { font-size: 24px; margin-top: 16px; }
  .sma-placeholder { text-align: center; margin-inline: auto; }
  .sma-bio__photo img { height: auto; }
  .sma-agenda__labels, .sma-agenda__mark { display: none; }
  .sma-agenda__empty { display: block; padding-block: 24px; }
  .sma-agenda__empty > .sma-note { margin: 16px 0 0; }
  .grid--three { grid-template-columns: 1fr; gap: 36px; }
  .sma-album { width: 100%; max-width: 440px; margin-inline: auto; }
  .sma-album__meta h3 { font-size: 24px; }
  .sma-portrait { min-height: 200px; }
  .sma-tribute__copy h3 { font-size: 36px; }
  .sma-tribute__copy p { font-size: 20px; }
  .sma-footer__inner { flex-direction: column; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }


.sma-booking {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  margin-top: 48px;
  padding: 40px 48px;
  background: #080808;
  border: 1px solid #444;
  border-radius: 4px;
}
.sma-booking h3 {
  max-width: 640px;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 800;
}
.sma-booking p { color: var(--color-muted); margin-top: 16px; }
.sma-booking__action { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.sma-booking .sma-button { border: 0; color: var(--color-text); font-weight: 500; letter-spacing: 0.3px; }
.sma-booking .sma-button:disabled { cursor: default; }
@media (max-width: 768px) {
  .sma-booking { flex-direction: column; text-align: center; gap: 28px; padding: 32px 24px; margin-top: 36px; }
  .sma-booking h3 { font-size: 28px; }
}



.sma-booking__mascot {
  display: block;
  flex: 0 0 136px;
  height: 144px;
  background: var(--color-accent);
  mask: url("assets/mascote-mask-432.webp") center / contain no-repeat;
  -webkit-mask: url("assets/mascote-mask-432.webp") center / contain no-repeat;
}
.sma-booking__copy { flex: 1; }
.sma-booking__action { flex-shrink: 0; }
@media (max-width: 768px) {
  .sma-booking__mascot { flex-basis: auto; width: 112px; height: 112px; }
}

.sma-button, .sma-menu { font-family: var(--font-condensed); font-size: 18px; font-weight: 700; }

/* Hide transparent margins around the original logo, keeping its proportions. */
.sma-booking__logo {
  position: relative;
  display: inline-block;
  width: 224px;
  height: 36px;
  overflow: hidden;
  vertical-align: middle;
  background: var(--color-accent);
  mask: url("assets/logo-720.webp") center 52% / 100% auto no-repeat;
  -webkit-mask: url("assets/logo-720.webp") center 52% / 100% auto no-repeat;
}
.sma-booking__logo img {
  opacity: 0;
  position: absolute;
  width: 100%;
  max-width: none;
  height: auto;
  top: 50%;
  transform: translateY(-52%);
}
@media (max-width: 768px) {
  .sma-booking__logo { width: 208px; height: 32px; }
}


.sma-bio__text { margin-top: 24px; text-align: left; }
.sma-bio__text p + p, #bio-completa { margin-top: 16px; }
.sma-bio__toggle { margin-top: 24px; border: 0; color: var(--color-text); cursor: pointer; }
.sma-bio__toggle[hidden] { display: none; }

/* Scroll entry starts at Discografia; content stays visible without JavaScript. */
.sma-entry-pending { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .sma-entry-pending { opacity: 1; }
}
