:root {
  --bg: #050505;
  --panel: #0b0b0b;
  --panel-2: #111;
  --text: #f4f0e8;
  --muted: #9b9489;
  --dim: #615d56;
  --line: rgba(244, 240, 232, .18);
  --line-strong: rgba(244, 240, 232, .48);
  --accent: #d21f1f;
  --red: #d21f1f;
  --shadow: 0 26px 90px rgba(0, 0, 0, .62);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--bg); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  opacity: .09;
  background-image: none;
}

a { color: inherit; }

.noise,
.stage-lights,
.stage-lights span {
  display: none;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(1rem, 3vw, 3rem);
  background: linear-gradient(to bottom, rgba(5, 5, 5, .92), rgba(5, 5, 5, .62), transparent);
}

.logo {
  width: 4.6rem;
  height: 3.2rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--text);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 900;
  letter-spacing: -.03em;
}

.logo img {
  display: block;
  width: 3.7rem;
  max-height: 2.35rem;
  object-fit: contain;
}

.main-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(.8rem, 2vw, 1.6rem);
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .16em;
}

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

.menu-toggle {
  display: none;
  min-height: 2.75rem;
  padding: .75rem .9rem;
  border: 1px solid var(--line);
  background: rgba(5, 5, 5, .86);
  color: var(--text);
  border-radius: 0;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .12em;
}

.section-full { min-height: 100svh; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 38vw);
  align-items: end;
  gap: clamp(1.2rem, 4vw, 4rem);
  padding: 7rem clamp(1rem, 4vw, 4rem) clamp(2rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero::before {
  content: "RICARDO MARTIN";
  position: absolute;
  left: clamp(1rem, 4vw, 4rem);
  right: clamp(1rem, 4vw, 4rem);
  bottom: -2.7vw;
  z-index: 0;
  color: rgba(244, 240, 232, .035);
  font-size: clamp(4rem, 17vw, 18rem);
  line-height: .75;
  font-weight: 900;
  letter-spacing: -.09em;
  white-space: nowrap;
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, .96) 0%, rgba(5, 5, 5, .72) 38%, rgba(5, 5, 5, .22) 72%, rgba(5, 5, 5, .88) 100%),
    linear-gradient(to top, var(--bg), transparent 42%);
  z-index: 2;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 1px, transparent 1px 9rem),
    linear-gradient(104deg, transparent 0 58%, rgba(210,31,31,.13) 58% 58.35%, transparent 58.35% 100%);
  mix-blend-mode: screen;
}

.photo-placeholder {
  position: absolute;
  inset: 0;
  border: 0;
  background: #080808;
  transform: none;
  overflow: hidden;
}

.photo-placeholder img,
.image-card img,
.strip-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.24) brightness(.72);
}

.photo-real img { object-position: 76% 18%; }

.photo-real::before,
.image-card::before,
.photo-real::after,
.image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.photo-real::before,
.image-card::before {
  z-index: 1;
  background: linear-gradient(180deg, rgba(5,5,5,.08), rgba(5,5,5,.45) 72%, rgba(5,5,5,.82));
}

.photo-real::after,
.image-card::after {
  z-index: 2;
  background: linear-gradient(108deg, transparent 0 68%, rgba(210,31,31,.14) 68% 68.35%, transparent 68.35% 100%);
  mix-blend-mode: screen;
}

.hero-content,
.hero-card {
  position: relative;
  z-index: 5;
}

.hero-content {
  max-width: 980px;
  min-width: 0;
  width: 100%;
  align-self: end;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 900;
}

h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
.hero-claim,
.manifest p,
.booking-panel h2,
.visual.copy h2,
.section-heading h2 {
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

h1 {
  margin: 0;
  max-width: 12.4ch;
  color: var(--text);
  font-size: clamp(3.8rem, 10.6vw, 12rem);
  line-height: .84;
  letter-spacing: -.045em;
  text-transform: uppercase;
  font-weight: 900;
  font-kerning: normal;
  font-feature-settings: "kern" 1, "liga" 0;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-name-line {
  display: block;
  white-space: nowrap;
  padding-right: .04em;
}

h2 {
  margin: 0 0 1rem;
  max-width: 900px;
  font-size: clamp(2.5rem, 6.4vw, 7rem);
  line-height: .9;
  letter-spacing: -.055em;
  text-transform: uppercase;
  font-weight: 900;
}

h3 {
  margin: 0 0 .75rem;
  font-size: clamp(1.35rem, 2.2vw, 2.1rem);
  line-height: .96;
  letter-spacing: -.055em;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 560px;
  margin: .85rem 0 0;
  color: rgba(244, 240, 232, .78);
  font-size: clamp(1rem, 1.55vw, 1.32rem);
}

.hero-claim {
  max-width: 780px;
  margin: 1.15rem 0 0;
  color: var(--text);
  font-size: clamp(1.55rem, 2.8vw, 3.35rem);
  line-height: .95;
  letter-spacing: -.055em;
  text-transform: uppercase;
  font-weight: 900;
  overflow-wrap: normal;
}

.stacked-title {
  max-width: 900px;
}

.stacked-title span {
  display: block;
}

.actions,
.booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .85rem 1.05rem;
  border-radius: 0;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .14em;
}

.btn.primary {
  background: var(--text);
  color: #050505;
  border-color: var(--text);
}

.btn.compact {
  width: auto;
  min-height: 2.75rem;
  padding: .72rem .9rem;
  font-size: .68rem;
}

.btn.ghost:hover,
.btn.primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #050505;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  max-width: 720px;
  margin-top: 1.35rem;
}

.hero-proof span {
  border: 1px solid var(--line);
  padding: .34rem .55rem;
  color: var(--muted);
  background: rgba(5, 5, 5, .58);
  text-transform: uppercase;
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .13em;
}

.hero-card {
  align-self: end;
  width: min(100%, 360px);
  margin-left: auto;
  padding: 1rem 0 0 1rem;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
  color: var(--muted);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-card span {
  display: block;
  margin-bottom: .55rem;
  color: var(--accent);
  text-transform: uppercase;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.hero-card strong {
  display: block;
  color: var(--text);
  text-transform: uppercase;
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  line-height: .95;
  letter-spacing: -.055em;
}

.hero-card p { margin-bottom: 0; }

.visual-strip {
  display: grid;
  grid-template-columns: 1.2fr .8fr 1.05fr .8fr;
  gap: 1px;
  padding: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.strip-item,
.strip-copy {
  position: relative;
  min-height: clamp(340px, 42vw, 640px);
  margin: 0;
  overflow: hidden;
  background: var(--panel);
}

.strip-item.tall { min-height: clamp(420px, 52vw, 760px); }

.strip-item img { object-position: center 20%; }

.strip-copy {
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: clamp(1rem, 2.8vw, 2.4rem);
}

.strip-copy h2 { font-size: clamp(2.2rem, 4.6vw, 5.4rem); }
.strip-copy p:not(.eyebrow) { color: var(--muted); margin-bottom: 0; }

.manifest {
  padding: clamp(3.8rem, 8vw, 7rem) clamp(1rem, 7vw, 8rem);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(210,31,31,.10) 0 1px, transparent 1px 100%),
    var(--bg);
  background-size: 11rem 100%;
}

.manifest p {
  margin: 0;
  max-width: 1000px;
  color: var(--text);
  font-size: clamp(2rem, 5.1vw, 6.2rem);
  line-height: .92;
  letter-spacing: -.055em;
  text-transform: uppercase;
  font-weight: 900;
}

.manifest p span {
  display: block;
}

.section {
  padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 5rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .78fr);
  gap: clamp(1rem, 4vw, 4rem);
  align-items: end;
}

.section-copy p:not(.eyebrow),
.card p,
.visual p,
.booking p,
.footer,
.player-card p {
  color: var(--muted);
}

.social-row,
.social-icons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 1.5rem;
}

.social-row a {
  border-bottom: 1px solid var(--line-strong);
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .14em;
}

.social-icons a {
  min-width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(244, 240, 232, .42);
  background: rgba(244, 240, 232, .06);
  color: var(--text);
  text-decoration: none;
  opacity: 1;
  transition: border-color .2s ease, transform .2s ease, color .2s ease, background .2s ease;
}

.social-icons a:hover {
  color: #050505;
  border-color: var(--text);
  background: var(--text);
  transform: translateY(-1px);
}

.social-icons span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.social-icons svg {
  width: 21px;
  height: 21px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.player-card {
  position: relative;
  min-height: clamp(420px, 50vw, 680px);
  display: flex;
  flex-direction: column;
  justify-content: end;
  overflow: hidden;
  padding: 1.2rem;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.player-card .eyebrow {
  width: fit-content;
  padding: .35rem .5rem;
  background: rgba(5, 5, 5, .68);
  border: 1px solid rgba(244, 240, 232, .2);
}

.player-card > *:not(img) {
  position: relative;
  z-index: 3;
  max-width: 430px;
}

.player-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.vinyl { display: none; }

.text-link {
  color: var(--accent);
  text-decoration: none;
  text-transform: uppercase;
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .14em;
}

.mini-actions {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1rem;
  margin-top: .9rem;
}

.section-heading {
  max-width: 1100px;
  margin-bottom: clamp(2rem, 4vw, 4rem);
}

.section-heading h2 { max-width: 900px; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-bottom: 0;
}

.card {
  min-height: 310px;
  padding: clamp(1rem, 2vw, 1.6rem);
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: var(--bg);
}

.card:last-child { border-right: 0; }

.card span {
  display: block;
  margin-bottom: clamp(4rem, 8vw, 7rem);
  color: var(--accent);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .14em;
}

.visuals {
  display: grid;
  grid-template-columns: .95fr 1.25fr .8fr;
  grid-template-rows: minmax(310px, 36vw) minmax(310px, 36vw);
  gap: 1px;
  padding: 1px;
  background: var(--line);
}

.visual {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background: var(--panel);
}

.visual.large,
.visuals .visual:last-child {
  grid-row: span 2;
}

.visual.copy {
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: clamp(1rem, 3vw, 2.6rem);
}

.visual.copy h2 {
  max-width: 760px;
  font-size: clamp(2.25rem, 4.5vw, 5.4rem);
}

.visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.visual.wide img { object-position: center 34%; }

.booking {
  min-height: 78svh;
  display: grid;
  place-items: end start;
  background:
    linear-gradient(rgba(5,5,5,.36), rgba(5,5,5,.92)),
    url("media/gallery-city-ricardo.jpg") center 24% / cover;
}

.booking-panel {
  max-width: 920px;
  padding: 0;
  background: transparent;
  border: 0;
  text-align: left;
  box-shadow: none;
  backdrop-filter: none;
}

.booking-panel h2 {
  max-width: 900px;
  font-size: clamp(2.5rem, 5.8vw, 6.4rem);
}
.booking-actions { justify-content: flex-start; }

.press-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-bottom: 0;
}

.press-item {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  text-decoration: none;
}

.press-item:last-child { border-right: 0; }

.press-photo {
  background:
    linear-gradient(to top, rgba(5,5,5,.9), rgba(5,5,5,.2)),
    url("media/press-portrait-ricardo.jpg") center 25% / cover;
}

.press-item strong {
  text-transform: uppercase;
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  line-height: .95;
  letter-spacing: -.055em;
}

.press-item span {
  color: var(--muted);
  font-size: .85rem;
}

.official-photos {
  margin-top: clamp(2.4rem, 5vw, 4.5rem);
}

.compact-heading {
  max-width: 760px;
  margin-bottom: 1.6rem;
}

.compact-heading h3 {
  max-width: 760px;
  font-size: clamp(1.6rem, 3vw, 3.2rem);
}

.official-photo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.official-photo {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  background: var(--panel);
  color: var(--text);
  text-decoration: none;
}

.official-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(.25) contrast(1.08) brightness(.82);
  transition: filter .2s ease, transform .2s ease;
}

.official-photo span {
  position: absolute;
  left: .7rem;
  bottom: .65rem;
  z-index: 2;
  padding: .28rem .4rem;
  background: rgba(5, 5, 5, .72);
  color: var(--text);
  text-transform: uppercase;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.official-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,5,5,.42), transparent 55%);
  pointer-events: none;
}

.official-photo:hover img {
  filter: grayscale(0) contrast(1.1) brightness(.96);
  transform: scale(1.025);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.4rem clamp(1rem, 4vw, 4rem);
  border-top: 0;
  color: var(--dim);
  text-transform: uppercase;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .9rem;
  margin-top: 0;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

.muted { color: var(--dim); }

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + .3rem);
    right: 1rem;
    left: 1rem;
    padding: 1rem;
    border: 1px solid var(--line);
    background: rgba(5,5,5,.96);
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav.open { display: flex; }
  .menu-toggle { display: inline-flex; }

  .hero {
    grid-template-columns: 1fr;
    min-height: 96svh;
    padding: 7rem 1rem 2rem;
  }

  .hero::before {
    bottom: 4rem;
    font-size: 22vw;
    white-space: normal;
  }

  .hero-bg::before {
    background:
      linear-gradient(to bottom, rgba(5,5,5,.34), rgba(5,5,5,.78) 58%, rgba(5,5,5,.96)),
      linear-gradient(90deg, rgba(5,5,5,.8), rgba(5,5,5,.2));
  }

  .photo-real img {
    object-position: 64% 18%;
    filter: grayscale(1) contrast(1.18) brightness(.62);
  }

  h1 {
    max-width: 100%;
    font-size: clamp(3.55rem, 18.5vw, 7.2rem);
    line-height: .84;
    letter-spacing: -.035em;
  }

  h2 {
    font-size: clamp(2.65rem, 13vw, 5.6rem);
  }

  .hero-card {
    width: 100%;
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }

  .visual-strip,
  .split-section,
  .visuals {
    grid-template-columns: 1fr;
  }

  .visuals { grid-template-rows: auto; }

  .strip-item,
  .strip-item.tall,
  .strip-copy,
  .visual,
  .visual.large,
  .visuals .visual:last-child {
    min-height: 420px;
    grid-row: auto;
  }

  .cards,
  .press-grid,
  .official-photo-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .press-item {
    border-right: 0;
  }

  .official-photo {
    min-height: 360px;
  }

  .booking {
    min-height: 72svh;
    align-items: end;
    background-position: center 18%;
  }
}

@media (max-width: 520px) {
  .hero {
    overflow: hidden;
    width: 100vw;
  }

  .hero-content,
  .hero-card,
  .hero-proof,
  .actions {
    max-width: calc(100vw - 3rem);
  }

  h1 {
    font-size: clamp(2.85rem, 13.8vw, 4.15rem);
    letter-spacing: -.03em;
  }

  .hero-claim {
    max-width: 100%;
    font-size: clamp(1.2rem, 7vw, 1.75rem);
    line-height: 1;
    letter-spacing: -.035em;
  }

  .hero-copy {
    width: calc(100vw - 3rem);
    max-width: calc(100vw - 3rem);
    font-size: .95rem;
    overflow-wrap: normal;
  }

  .hero-card strong,
  .hero-card p {
    width: calc(100vw - 3rem);
    max-width: calc(100vw - 3rem);
  }

  .hero-card strong {
    font-size: 1.25rem;
    line-height: 1;
  }

  .hero-proof span { font-size: .6rem; }
  .actions, .booking-actions { width: 100%; }
  .btn { width: 100%; }
  .strip-item,
  .strip-item.tall,
  .strip-copy,
  .visual,
  .visual.large,
  .visuals .visual:last-child {
    min-height: 340px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}


/* Limpieza visual: quitar grano/rejilla que daba aspecto pixelado */
.noise,
.stage-lights,
.stage-lights span {
  display: none !important;
  background: none !important;
  background-image: none !important;
}

body::before,
body::after,
main::before,
main::after {
  display: none !important;
  background: none !important;
  background-image: none !important;
}
