/* ============================================================
   āsombra studio — estilos
   Colores: negro de fondo y tres niveles de blanco.
   ============================================================ */

:root {
  --black: #000;
  --white: #fff;
  --warm: #d8d4cc;     /* show y año, textos de lectura */
  --gray: #9b968c;     /* servicios, textos de apoyo */
  --muted: #6e6a63;    /* créditos, pie de página */
  --rule: #222;
  --font: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--black); color: var(--white);
  font-family: var(--font); font-weight: 400; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--pad); top: -4rem; z-index: 50; background: var(--white); color: var(--black); padding: .5rem .9rem; text-decoration: none; }
.skip:focus { top: .75rem; }

/* ---------- Barra ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem var(--pad);
  background: linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,0));
}
.bar__logo img { height: 1.35rem; width: auto; }
.bar__nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); font-size: .95rem; color: var(--warm); }
.bar__nav a { text-decoration: none; }
.bar__nav a:hover { color: var(--white); }
.lang { background: none; border: 1px solid var(--muted); border-radius: 2rem; padding: .1rem .65rem; font-size: .8rem; color: var(--warm); }
.lang:hover { border-color: var(--warm); color: var(--white); }

/* ---------- Portada ---------- */
.hero { padding: clamp(7rem, 18vh, 11rem) var(--pad) clamp(4rem, 10vh, 7rem); }
.hero__logo { margin: 0; }
.hero__logo img { width: min(24rem, 52vw); height: auto; }
.hero__lede { margin: 2rem 0 0; max-width: 24em; font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.4; color: var(--warm); font-weight: 400; }

/* ---------- Franjas de shows ---------- */
.shows__list { display: flex; flex-direction: column; gap: .5rem; }
.strip {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 3 / 1; background: #111; text-decoration: none;
}
.strip img, .strip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.strip video { opacity: 0; transition: opacity .6s; }
.strip video.is-on { opacity: 1; }
.strip::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 60%;
  background: linear-gradient(transparent, rgba(0,0,0,.7)); pointer-events: none;
}
.strip--strong::after { height: 75%; background: linear-gradient(transparent, rgba(0,0,0,.6) 45%, rgba(0,0,0,.88)); }
.strip__info { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(1rem, 2.4vw, 2rem); z-index: 1; }
.strip__artist { margin: 0; font-size: clamp(2rem, 3.6vw, 3.4rem); font-weight: 600; line-height: 1; letter-spacing: -.01em; }
.strip__title { margin: .45rem 0 0; font-size: clamp(1.05rem, 1.45vw, 1.35rem); color: var(--warm); }
.strip__svc { margin: .9rem 0 0; font-size: clamp(.88rem, 1.07vw, 1rem); font-weight: 400; color: #bdb8af; }
.strip:hover .strip__artist, .strip:focus-visible .strip__artist { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
@media (prefers-reduced-motion: reduce) { .strip video { transition: none; } }
@media (max-width: 700px) {
  .strip { aspect-ratio: 16 / 9; }
  .bar__nav a[href="#shows"] { display: none; }
}

/* ---------- Contacto ---------- */
.team { padding: clamp(5rem, 12vw, 9rem) var(--pad) 0; }
.contact { padding: clamp(4rem, 9vw, 7rem) var(--pad) clamp(3rem, 8vw, 6rem); }
.sec-title { margin: 0 0 2.5rem; font-size: 1rem; font-weight: 400; color: var(--gray); }
.sec-title--sub { margin-top: clamp(3rem, 6vw, 4.5rem); }
.founders, .crew { display: grid; gap: 1.8rem; }
.member p { margin: 0; }
.member__name { font-size: clamp(1.2rem, 1.6vw, 1.35rem); font-weight: 500; letter-spacing: -.01em; }
.member__title { display: inline-block; margin-top: .35rem !important; padding-bottom: .55rem; border-bottom: 1px solid #333; font-size: 1rem; font-weight: 500; color: var(--warm); }
.member__roles { list-style: none; margin: .6rem 0 0; padding: 0; font-size: .88rem; color: var(--gray); line-height: 1.6; }
.contact__list { margin: 0; display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -.01em; }
.contact__list a { text-decoration: none; }
.contact__list a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }

/* ---------- Pie ---------- */
.foot {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem 3rem; flex-wrap: wrap;
  margin: 0 var(--pad); padding: 1.5rem 0 2.5rem; border-top: 1px solid var(--rule);
  font-size: .78rem; font-weight: 300; color: var(--muted); line-height: 1.7;
}
.foot p, .foot ul { margin: 0; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--warm); }
.foot__noms { text-align: right; }
.foot__noms-title { color: var(--gray); }
.foot__noms ul { list-style: none; padding: 0; }
@media (max-width: 700px) { .foot__noms { text-align: left; } }

/* ---------- Ficha ---------- */
.case {
  width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--black); color: var(--white); overflow-y: auto; overscroll-behavior: contain;
}
.case::backdrop { background: var(--black); }
.case[open] { animation: case-in .35s ease-out; }
@keyframes case-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .case[open] { animation: none; } }
body.has-case { overflow: hidden; }
.case__top { position: fixed; top: 1.1rem; right: var(--pad); z-index: 5; display: flex; gap: .8rem; align-items: center; }
.lang--case { background: rgba(0,0,0,.45); padding: .45rem .8rem; font-size: .85rem; }
.lb__close { position: fixed; top: 1.1rem; right: var(--pad); z-index: 5; }
.case__close, .lb__close {
  background: rgba(0,0,0,.45); border: 1px solid var(--muted); border-radius: 2rem;
  padding: .45rem 1.1rem; font-size: .9rem; color: var(--warm);
}
.case__close:hover, .lb__close:hover { color: var(--white); border-color: var(--warm); }

.c-hero { height: 82vh; height: 82svh; background: var(--black); overflow: hidden; }
.c-hero img, .c-hero video { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) {
  .c-hero { height: auto; }
  .c-hero img, .c-hero video { height: auto; }
}
.c-head { padding: 3rem var(--pad) 0; }
.c-artist { margin: 0; font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 600; line-height: 1; letter-spacing: -.01em; }
.c-title { margin: .6rem 0 0; font-size: 1.4rem; color: var(--warm); }
.c-svc { margin: 1rem 0 0; font-size: 1.05rem; font-weight: 400; color: #bdb8af; }
.c-desc { margin: 0; padding: 2.2rem var(--pad) 0; max-width: calc(34em + 2 * var(--pad)); font-size: 1.15rem; line-height: 1.6; color: var(--warm); }
.c-section { padding: 2.8rem var(--pad) 0; }
.c-label { margin: 0 0 1rem; font-size: 1rem; font-weight: 400; color: var(--gray); }

.film { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: #111; overflow: hidden; }
.film img, .film video { width: 100%; height: 100%; object-fit: cover; }
.film img { filter: brightness(.8); }
.play {
  position: absolute; inset: 0; margin: auto; width: 5.5rem; height: 5.5rem; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.85); display: grid; place-items: center; pointer-events: none;
}
.play::after { content: ""; border-left: 1.4rem solid #fff; border-top: .85rem solid transparent; border-bottom: .85rem solid transparent; margin-left: .35rem; }

.vgrid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.vid { display: block; text-decoration: none; }
.vid--feat { grid-column: 1 / -1; }
.vid__th { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #111; }
.vid__th img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.82); transition: filter .2s; }
.vid:hover .vid__th img { filter: brightness(1); }
.vid .play { width: 3.6rem; height: 3.6rem; }
.vid--feat .play { width: 5.5rem; height: 5.5rem; }
.vid .play::after { border-left-width: 1rem; border-top-width: .6rem; border-bottom-width: .6rem; margin-left: .25rem; }
.vid__meta { margin: .6rem 0 0; display: flex; justify-content: space-between; gap: 1rem; font-size: .95rem; color: var(--warm); }
.vid__meta small { color: var(--muted); font-size: .78rem; font-weight: 300; }
@media (max-width: 700px) { .vgrid { grid-template-columns: 1fr; } }

.proc { display: flex; gap: .6rem; align-items: flex-start; }
.proc figure { margin: 0; }
.proc img { width: 100%; object-fit: cover; background: #111; }
.proc figcaption { margin-top: .5rem; font-size: .8rem; font-weight: 300; color: var(--gray); }
@media (max-width: 700px) { .proc { flex-direction: column; } .proc figure { width: 100%; } }

.gallery { display: flex; flex-direction: column; gap: .6rem; }
.g-row { display: flex; gap: .6rem; }
.g-it { position: relative; overflow: hidden; background: #111; padding: 0; border: 0; }
.g-it img, .g-it video { width: 100%; height: 100%; object-fit: cover; }
button.g-it { cursor: zoom-in; }
button.g-it img { transition: opacity .2s; }
button.g-it:hover img { opacity: .85; }
@media (max-width: 700px) {
  .g-row { flex-wrap: wrap; }
  .g-it { flex: 1 1 calc(50% - .3rem) !important; aspect-ratio: auto !important; }
  .g-it img, .g-it video { height: 100%; }
  .g-it--full { flex-basis: 100% !important; aspect-ratio: var(--ar) !important; }
}

.c-credits { margin: 0; padding: 1rem var(--pad) 0; font-size: .8rem; font-weight: 300; color: var(--muted); }
.c-nav {
  display: flex; justify-content: space-between; gap: 1.5rem;
  margin: 4rem var(--pad) 0; padding: 1.6rem 0 2.5rem; border-top: 1px solid var(--rule);
}
.c-nav a { text-decoration: none; color: var(--warm); max-width: 48%; }
.c-nav a:hover { color: var(--white); }
.c-nav small { display: block; margin-bottom: .3rem; font-size: .75rem; color: var(--muted); }
.c-nav a:last-child { text-align: right; }

/* ---------- Visor de fotos ---------- */
.lb { position: fixed; inset: 0; z-index: 10; background: rgba(0,0,0,.96); display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
.lb[hidden] { display: none; }
.lb__fig { margin: 0; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 4.5rem 0 1.5rem; min-width: 0; }
.lb__fig img { max-width: 100%; max-height: calc(100% - 2.5rem); object-fit: contain; }
.lb__fig figcaption { margin-top: .8rem; font-size: .8rem; font-weight: 300; color: var(--muted); min-height: 1.2em; }
.lb__nav { background: none; border: 0; font-size: 2.6rem; line-height: 1; color: var(--warm); padding: 1rem clamp(.5rem, 2vw, 1.5rem); }
.lb__nav:hover { color: var(--white); }

.case.lb-on .case__top { visibility: hidden; }
.case__top .case__close, .lang--case { background: rgba(0,0,0,.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.case__close:focus:not(:focus-visible) { outline: none; }
.noms__y { color: var(--muted); font-variant-numeric: tabular-nums; margin-left: 1em; }
.films { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
@media (max-width: 700px) { .films { grid-template-columns: 1fr; } }
.crew { margin-top: clamp(2.5rem, 5vw, 3.5rem); gap: 1.4rem; }
.crew .member__name { font-size: .95rem; font-weight: 400; color: var(--warm); }
.crew .member__roles { margin-top: .2rem; font-size: .8rem; line-height: 1.5; }
.embed { position: relative; width: 100%; background: #0a0a0a; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed__note { margin: .7rem 0 0; font-size: .85rem; color: var(--gray); }
.g-film { position: relative; padding: 0; border: 0; background: #000; cursor: pointer; }
.g-film img, .g-film video { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-film .play { width: 3.6rem; height: 3.6rem; }
.g-film img { filter: brightness(.85); }
