:root {
  --bg: #000000;
  --fg: #ffffff;
  --cian: #00f0ff;
  --magenta: #e024ff;
  --muted: #8a8a93;
  --line: rgba(255, 255, 255, 0.14);
  --card: #0a0a0c;
  --grad: linear-gradient(90deg, #00f0ff 0%, #6a5bff 50%, #e024ff 100%);
  --grad-soft: linear-gradient(135deg, rgba(0, 240, 255, 0.16), rgba(224, 36, 255, 0.16));
  --display: 'Archivo', system-ui, sans-serif;
  --body: 'Space Grotesk', system-ui, sans-serif;
  --max: 1280px;
  --pad: clamp(20px, 5vw, 64px);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

img { display: block; max-width: 100%; height: auto; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--cian);
  color: #000;
  padding: 10px 16px;
  z-index: 1000;
  font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ============ MARQUEE ============ */
.marquee {
  display: flex;
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #000;
  padding: 10px 0;
  user-select: none;
}

.marquee__track {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 100%;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
}

.marquee__item {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.2rem, 7vw, 5.5rem);
  letter-spacing: -0.02em;
  padding: 0 0.3em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-transform: uppercase;
}

.marquee__sep {
  font-size: clamp(1rem, 3vw, 2rem);
  color: var(--cian);
  padding: 0 0.2em;
  align-self: center;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: clamp(480px, 82vh, 900px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 20%;
  z-index: 0;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.92) 100%);
}

.hero__glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(60% 45% at 20% 30%, rgba(0, 240, 255, 0.22), transparent 70%),
    radial-gradient(55% 45% at 82% 40%, rgba(224, 36, 255, 0.22), transparent 70%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(30px, 6vw, 70px) var(--pad);
}

.hero__logo {
  width: clamp(220px, 40vw, 460px);
  margin-bottom: 24px;
  filter: drop-shadow(0 0 30px rgba(0, 240, 255, 0.25));
}

.hero__tag {
  font-size: clamp(0.85rem, 1.6vw, 1.05rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg);
}

.hero__tag .dot { color: var(--magenta); }

/* ============ SECTION LABEL ============ */
.eyebrow {
  display: inline-block;
  font-family: var(--body);
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cian);
  margin-bottom: 18px;
}

.section {
  padding: clamp(48px, 8vw, 96px) 0;
}

.section--tight { padding: clamp(36px, 5vw, 60px) 0; }

.section__title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section__lead {
  color: var(--muted);
  max-width: 60ch;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

/* ============ NAV GRID (landing) ============ */
.grid-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2vw, 22px);
}

.tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  isolation: isolate;
}

.tile__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.55) brightness(0.72) contrast(1.05);
  transition: filter 0.5s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
}

.tile__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--grad-soft);
  opacity: 0;
  transition: opacity 0.5s ease;
  mix-blend-mode: screen;
}

.tile__label {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 2;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.1rem, 2.2vw, 1.7rem);
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.tile__arrow {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 2;
  font-size: 1.2rem;
  color: var(--cian);
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.tile:hover .tile__img,
.tile:focus-visible .tile__img {
  filter: grayscale(0) brightness(0.9) contrast(1.05);
  transform: scale(1.06);
}
.tile:hover .tile__overlay,
.tile:focus-visible .tile__overlay { opacity: 1; }
.tile:hover .tile__arrow,
.tile:focus-visible .tile__arrow { opacity: 1; transform: translate(0, 0); }

.tile:focus-visible { outline: 2px solid var(--cian); outline-offset: 2px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 26px;
  border: 1px solid var(--cian);
  color: var(--cian);
  background: transparent;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}
.btn:hover, .btn:focus-visible {
  background: var(--cian);
  color: #000;
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.4);
}
.btn--magenta { border-color: var(--magenta); color: var(--magenta); }
.btn--magenta:hover, .btn--magenta:focus-visible {
  background: var(--magenta); color: #000;
  box-shadow: 0 0 24px rgba(224, 36, 255, 0.4);
}

/* ============ BIO ============ */
.bio {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.bio__text p { margin-bottom: 20px; font-size: clamp(1rem, 1.4vw, 1.15rem); }
.bio__text p:first-of-type { color: var(--fg); font-size: clamp(1.1rem, 1.7vw, 1.35rem); }
.bio__media { position: relative; }
.bio__media img { width: 100%; border: 1px solid var(--line); }
.bio__stats { display: flex; gap: 28px; margin-top: 34px; flex-wrap: wrap; }
.bio__stat .n {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.bio__stat .l { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ============ CARD ROWS (disco / videos) ============ */
.rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 22px);
}
.rail--3 { grid-template-columns: repeat(3, 1fr); }

.disc {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.disc:hover, .disc:focus-visible { border-color: var(--cian); transform: translateY(-4px); }
.disc:focus-visible { outline: 2px solid var(--cian); outline-offset: 2px; }
.disc__img { aspect-ratio: 1; overflow: hidden; }
.disc__img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.85); transition: filter 0.3s ease; }
.disc:hover .disc__img img { filter: brightness(1); }
.disc__body { padding: 16px 16px 20px; }
.disc__type { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--magenta); }
.disc__title { font-family: var(--display); font-weight: 700; font-size: 1.1rem; margin: 4px 0 2px; }
.disc__year { color: var(--muted); font-size: 0.85rem; }

.vid { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--line); display: block; }
.vid img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.6); transition: filter 0.4s ease, transform 0.6s ease; }
.vid:hover img, .vid:focus-visible img { filter: brightness(0.85); transform: scale(1.05); }
.vid:focus-visible { outline: 2px solid var(--cian); outline-offset: 2px; }
.vid__play {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 2;
}
.vid__play span {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  border: 2px solid var(--fg); color: var(--fg); font-size: 1.2rem;
  background: rgba(0, 0, 0, 0.3); transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}
.vid:hover .vid__play span { border-color: var(--cian); color: var(--cian); background: rgba(0, 240, 255, 0.1); }
.vid__title { position: absolute; left: 16px; bottom: 14px; z-index: 2; font-family: var(--display); font-weight: 700; font-size: 1rem; }

/* ============ EMBED ============ */
.embed { border: 1px solid var(--line); background: var(--card); padding: clamp(16px, 3vw, 28px); }
.embed iframe { width: 100%; border: 0; display: block; border-radius: 12px; }

/* ============ CONTACT ============ */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); }
.contact__block h3 { font-family: var(--display); font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.contact__block a.big { font-size: clamp(1.1rem, 2.5vw, 1.6rem); color: var(--cian); }
.contact__block p { color: var(--muted); }
.contact__list { margin-top: 26px; display: flex; flex-direction: column; gap: 4px; }
.contact__list a { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; transition: color 0.25s ease, padding-left 0.25s ease; }
.contact__list a:hover { color: var(--magenta); padding-left: 8px; }
.contact__list a span { color: var(--muted); }

/* ============ PRESSKIT ============ */
.press { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.press__downloads { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.press__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.press__gallery img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border: 1px solid var(--line); filter: grayscale(0.3); transition: filter 0.4s ease; }
.press__gallery img:hover { filter: grayscale(0); }

/* ============ SUB PAGE HEADER ============ */
.subhead { padding: clamp(40px, 6vw, 80px) 0 clamp(20px, 3vw, 40px); }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 24px; transition: color 0.25s ease; }
.back-link:hover { color: var(--cian); }

/* ============ FOOTER ============ */
.site-footer { border-top: 1px solid var(--line); padding: 32px var(--pad); }
.site-footer__inner { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; }
.site-footer__brand { display: flex; flex-direction: column; }
.site-footer__year { font-family: var(--display); font-weight: 700; }
.site-footer__place { color: var(--muted); font-size: 0.85rem; }
.site-footer__social { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer__social a { color: var(--muted); font-size: 0.9rem; transition: color 0.25s ease; }
.site-footer__social a:hover { color: var(--cian); }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .grid-nav { grid-template-columns: repeat(2, 1fr); }
  .rail { grid-template-columns: repeat(2, 1fr); }
  .rail--3 { grid-template-columns: repeat(2, 1fr); }
  .bio, .contact, .press { grid-template-columns: 1fr; }
  .bio__media { order: -1; }
}

@media (max-width: 560px) {
  .grid-nav { grid-template-columns: 1fr; }
  .rail, .rail--3 { grid-template-columns: 1fr; }
  .press__gallery { grid-template-columns: 1fr 1fr; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
}
