﻿:root {
  --bg: #010101;
  --bg-soft: #070707;
  --panel: rgba(6, 6, 6, 0.8);
  --panel-strong: rgba(3, 3, 3, 0.94);
  --line: rgba(164, 17, 28, 0.28);
  --text: #f3ebeb;
  --muted: #b89d9d;
  --accent: #7d0a13;
  --accent-soft: #c1121f;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.58);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Cormorant Garamond", serif;
  background:
    radial-gradient(circle at 50% 0%, rgba(120, 10, 18, 0.16), transparent 28%),
    linear-gradient(180deg, #000000 0%, #020202 38%, #050102 100%);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 4px 4px;
  mix-blend-mode: soft-light;
  z-index: 50;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 1.5rem 0 4rem;
  display: grid;
  align-items: start;
}

.hero__backdrop,
.hero__layer,
.hero__flare {
  position: absolute;
  inset: 0;
}

.hero__backdrop {
  overflow: hidden;
}

.hero__layer {
  background-position: center;
  background-size: cover;
  transform: scale(1.08);
  will-change: transform;
}

.hero__layer--base {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.68), rgba(6, 0, 1, 0.92)),
    url("img/_DSC0136_2.jpg");
}

.hero__layer--mid {
  background-image:
    linear-gradient(180deg, rgba(150, 12, 24, 0.1), rgba(0, 0, 0, 0.36)),
    url("img/DANIELREVELES-7.jpg");
  mix-blend-mode: lighten;
  opacity: 0.24;
}

.hero__flare {
  background:
    radial-gradient(circle at 18% 26%, rgba(193, 18, 31, 0.22), transparent 18%),
    radial-gradient(circle at 76% 32%, rgba(125, 10, 19, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(1, 1, 1, 0.4), rgba(2, 0, 0, 0.92));
  mix-blend-mode: lighten;
}

.topbar,
.hero__content,
.section,
.floating-player {
  position: relative;
  z-index: 2;
}

.topbar {
  width: 100%;
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--line);
  background: rgba(4, 4, 4, 0.68);
  backdrop-filter: blur(16px);
}

.topbar__brand,
.topbar__links,
.eyebrow,
.button,
.timeline__year,
.floating-player__kicker,
.preset,
.control-button,
.volume-control {
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.topbar__brand {
  font-size: 0.95rem;
}

.topbar__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.hero__content {
  width: 100%;
  margin: 0;
  padding: 12vh 0 8vh;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  color: var(--accent-soft);
}

h1,
h2,
h3,
p,
blockquote,
ul {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 600;
  line-height: 0.92;
}

h1 {
  max-width: 8ch;
  font-size: clamp(4rem, 12vw, 8.8rem);
}

h2 {
  font-size: clamp(2.3rem, 5vw, 4.4rem);
}

h3 {
  font-size: 1.4rem;
}

.hero__lead,
.hero__quote,
.manifesto__text p,
.parallax-banner p,
.timeline__item p,
.rider__panel p {
  font-size: clamp(1.18rem, 1.8vw, 1.48rem);
  line-height: 1.45;
}

.hero__lead {
  max-width: 32rem;
  margin-top: 1.5rem;
  color: var(--muted);
}

.hero__quote {
  max-width: 24rem;
  margin-top: 1.6rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(193, 18, 31, 0.52);
  color: #f2d9dc;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.3rem;
  border: 1px solid var(--line);
  font-size: 0.8rem;
}

.button--solid {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #fdf1f1;
  border-color: transparent;
}

.button--ghost {
  background: rgba(5, 5, 5, 0.46);
  backdrop-filter: blur(10px);
}

.section {
  width: 100%;
  margin: 0;
  padding: 7rem clamp(1rem, 3vw, 2.4rem);
}

.section__intro {
  max-width: none;
  margin-bottom: 2.2rem;
}

.manifesto__grid,
.rider__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: 1.5rem;
}

.manifesto__text,
.manifesto__card,
.timeline__item,
.rider__panel,
.floating-player {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.manifesto__text,
.manifesto__card,
.timeline__item,
.rider__panel {
  padding: 1.5rem;
}

.manifesto__text {
  display: grid;
  gap: 1rem;
}

.manifesto__card-label {
  color: var(--accent-soft);
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.manifesto__card ul {
  padding-left: 1.1rem;
  display: grid;
  gap: 0.8rem;
  font-size: 1.15rem;
  line-height: 1.35;
}

.parallax-banner {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: end;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  overflow: hidden;
}

.parallax-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1, 1, 1, 0.22), rgba(4, 4, 4, 0.9));
}

.parallax-banner--one {
  background-image: url("img/_DSC0018.jpg");
}

.parallax-banner--two {
  background-image: url("img/_DSC0068.jpg");
}

.parallax-banner__content {
  position: relative;
  z-index: 1;
  max-width: 38rem;
  padding: 0 1rem 4rem;
}

.timeline__items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.timeline__year {
  color: var(--accent-soft);
  font-size: 0.78rem;
}

.timeline__item p {
  margin-top: 0.8rem;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.gallery__item {
  grid-column: span 4;
  min-height: 20rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel-strong);
}

.gallery__item--wide {
  grid-column: span 8;
}

.gallery__item--tall {
  min-height: 32rem;
}

.gallery__item img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.68) contrast(1.08) brightness(0.82);
  transition: transform 0.7s ease, filter 0.7s ease;
}

.gallery__item:hover img {
  transform: scale(1.04);
  filter: saturate(0.82) contrast(1.12) brightness(0.88);
}

.floating-player {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: min(92vw, 22rem);
  padding: 1rem;
  background: linear-gradient(180deg, rgba(9, 9, 9, 0.96), rgba(2, 2, 2, 0.95));
  z-index: 60;
}

.floating-player__header,
.floating-player__visual,
.floating-player__controls,
.floating-player__presets {
  display: flex;
}

.floating-player__header,
.floating-player__controls {
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.floating-player__header h2 {
  font-size: 1.5rem;
}

.floating-player__kicker {
  color: var(--accent-soft);
  font-size: 0.68rem;
  margin-bottom: 0.2rem;
}

.floating-player__toggle,
.control-button,
.preset {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  cursor: pointer;
}

.floating-player__toggle {
  width: 2rem;
  height: 2rem;
}

.floating-player__body {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.floating-player__body.is-collapsed {
  display: none;
}

.floating-player__visual {
  gap: 0.9rem;
  align-items: center;
}

.floating-player__orb {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, #ffd9dd, var(--accent-soft) 20%, var(--accent) 52%, transparent 78%);
  box-shadow: 0 0 24px rgba(193, 18, 31, 0.36);
  animation: pulse 5.2s ease-in-out infinite;
}

.floating-player__track {
  font-size: 1.18rem;
}

.floating-player__meta {
  color: var(--muted);
  font-size: 0.98rem;
}

.control-button {
  padding: 0.7rem 1rem;
  font-size: 0.72rem;
}

.volume-control {
  font-size: 0.65rem;
  color: var(--muted);
}

#volumeRange {
  flex: 1;
  accent-color: var(--accent);
}

.floating-player__presets {
  gap: 0.5rem;
  flex-wrap: wrap;
}

.preset {
  padding: 0.5rem 0.8rem;
  font-size: 0.66rem;
}

.preset.is-active,
.control-button.is-playing {
  background: linear-gradient(135deg, rgba(125, 10, 19, 0.96), rgba(193, 18, 31, 0.84));
  color: #fff0f1;
  border-color: transparent;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.96);
    box-shadow: 0 0 16px rgba(125, 10, 19, 0.28);
  }

  50% {
    transform: scale(1.04);
    box-shadow: 0 0 30px rgba(193, 18, 31, 0.34);
  }
}

@media (max-width: 980px) {
  .manifesto__grid,
  .rider__grid,
  .timeline__items {
    grid-template-columns: 1fr 1fr;
  }

  .gallery__item,
  .gallery__item--wide {
    grid-column: span 6;
  }
}

@media (max-width: 720px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar__links {
    gap: 0.7rem;
  }

  .hero__content {
    padding-top: 5rem;
  }

  .manifesto__grid,
  .rider__grid,
  .timeline__items {
    grid-template-columns: 1fr;
  }

  .gallery__item,
  .gallery__item--wide {
    grid-column: span 12;
  }

  .parallax-banner {
    min-height: 58vh;
    background-attachment: scroll;
  }

  .floating-player {
    left: 0.75rem;
    right: 0.75rem;
    width: auto;
  }

  .floating-player__controls {
    flex-wrap: wrap;
  }
}

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

  .hero__layer,
  .hero__flare,
  .reveal,
  .gallery__item img,
  .floating-player__orb {
    animation: none;
    transition: none;
    transform: none;
  }
}



