/* LAZUZ — redesign. Dark stage, one red accent taken from the hero photo, mobile-first. */

:root {
  --bg: #0b0b0c;
  --surface: #151517;
  --text: #e9e7e4;
  --muted: #a3a09b;
  --white: #fff;
  --red: #e0362c;
  --line: rgba(255, 255, 255, 0.14);
  --header-h: 56px;
  --gutter: clamp(18px, 5vw, 40px);
  --font-ui: "Oswald", "DIN Condensed", "Arial Narrow", sans-serif;
  --font-body: "Jost", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: Georgia, Palatino, "Book Antiqua", "Palatino Linotype", serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
body.nav-open { overflow: hidden; }

a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-weight: 300; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.page { min-height: 100vh; }

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px var(--gutter) 72px;
}

/* ---------- header / menu (mobile first) ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line);
}
/* The blurred background lives on its own layer: backdrop-filter on the header itself
   would make the fixed mobile menu size itself to the header instead of the screen. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(11, 11, 12, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.brand {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: 0.32em;
  text-decoration: none;
  color: var(--white);
  padding: 8px 0;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 4px 0 12px;
  background: none;
  border: 0;
  color: var(--white);
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
.menu-toggle i, .menu-toggle i::before {
  display: block;
  width: 22px; height: 2px;
  background: currentColor;
  transition: transform 0.25s, background 0.25s;
}
.menu-toggle i { position: relative; }
.menu-toggle i::before { content: ""; position: absolute; top: -7px; left: 0; }
.menu-toggle i::after {
  content: ""; position: absolute; top: 7px; left: 0;
  width: 22px; height: 2px; background: currentColor;
  transition: transform 0.25s, opacity 0.25s;
}
.site-header.open .menu-toggle i { background: transparent; }
.site-header.open .menu-toggle i::before { transform: translateY(7px) rotate(45deg); }
.site-header.open .menu-toggle i::after { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--bg);
  overflow-y: auto;
  padding: 8px var(--gutter) 40px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0s 0.2s;
}
.site-header.open .site-nav {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 0.2s, transform 0.2s;
}

.menu { list-style: none; margin: 0; padding: 0; }
.menu a {
  display: block;
  padding: 14px 2px;
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 1.45rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--text);
}
.menu > li { border-bottom: 1px solid var(--line); }
.menu li.active > a, .menu a:hover { color: var(--white); }
.menu > li.active > a { box-shadow: inset 3px 0 0 var(--red); padding-left: 14px; }

.submenu { list-style: none; margin: 0; padding: 0 0 10px 16px; }
.submenu a { padding: 8px 2px; font-size: 1.1rem; color: var(--muted); letter-spacing: 0.06em; }
.submenu li.active a, .submenu a:hover { color: var(--white); }

.langs { display: flex; gap: 14px; margin-top: 28px; }
.flag { display: block; width: 36px; height: 36px; border-radius: 50%; opacity: 0.6; transition: opacity 0.2s; }
.flag:hover, .flag.current { opacity: 1; }
.flag.current { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--red); }
.flag svg { width: 100%; height: 100%; display: block; }

@media (min-width: 980px) {
  :root { --header-h: 68px; }
  .menu-toggle { display: none; }
  .site-header { justify-content: flex-start; gap: 32px; }
  .site-nav {
    position: static;
    inset: auto;
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
    gap: 28px;
    padding: 0;
    background: none;
    overflow: visible;
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
  }
  .menu { display: flex; gap: clamp(2px, 1vw, 14px); }
  .menu > li { position: relative; border: 0; }
  .menu a {
    padding: 8px clamp(8px, 0.9vw, 14px);
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    white-space: nowrap;
    color: var(--muted);
    transition: color 0.2s;
  }
  .menu > li.active > a { box-shadow: inset 0 -2px 0 var(--red); padding-left: clamp(8px, 0.9vw, 14px); color: var(--white); }
  .menu > li:hover > a, .menu > li:focus-within > a { color: var(--white); }

  .submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 100%;
    padding: 6px 0;
    background: rgba(21, 21, 23, 0.98);
    border: 1px solid var(--line);
    display: none;
  }
  .has-sub:hover .submenu, .has-sub:focus-within .submenu { display: block; }
  .submenu a { padding: 8px 18px; font-size: 0.9rem; text-align: center; }
  .langs { margin: 0; gap: 12px; }
  .flag { width: 22px; height: 22px; }
  .flag.current { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--red); }
}

/* ---------- shared titles ---------- */

.title-futura, .title-times {
  font-size: clamp(2.6rem, 8vw, 5rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: clamp(24px, 5vw, 48px);
}
.title-futura { font-family: var(--font-body); font-style: italic; font-weight: 300; }
.title-times { font-family: var(--font-serif); font-style: italic; font-weight: 400; text-align: center; }

/* ---------- home ---------- */

.home main { max-width: none; padding: 0; }
.hero {
  position: relative;
  height: calc(100vh - var(--header-h));
  height: calc(100svh - var(--header-h));
  min-height: 380px;
  max-height: 960px;
  overflow: hidden;
  background: #000;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 47% 35%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 11, 12, 0.85), rgba(11, 11, 12, 0) 38%);
  pointer-events: none;
}
.hero-logo {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: clamp(20px, 6vh, 56px);
  transform: translateX(-50%);
  width: clamp(130px, 38vw, 200px);
  height: auto;
}

/* ---------- about ---------- */

.about-text { font-size: 1.0625rem; max-width: 62ch; }
.about-text p + p { margin-top: 1.2em; }
.about-img { width: 100%; height: auto; margin-top: 32px; border-radius: 4px; }

@media (min-width: 860px) {
  .about main {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    column-gap: 64px;
    align-items: start;
  }
  .about .title-futura { grid-column: 1 / -1; }
  .about-img { margin-top: 6px; position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ---------- bio ---------- */

.bio-grid { display: grid; gap: 56px; }
.bio-card h2 { font-size: 1.9rem; color: var(--white); margin-bottom: 22px; }
.oval {
  width: min(250px, 62vw);
  aspect-ratio: 250 / 325;
  height: auto;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 26px;
}
.bio-card:first-child .oval { object-position: 2% 50%; }
.bio-text { font-size: 1.0625rem; }
.bio-text p + p { margin-top: 1.1em; }

@media (min-width: 820px) {
  .bio-grid { grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); }
}

/* ---------- shows ---------- */

.show-grid { display: grid; gap: 28px; }
.show-media { order: -1; }
.show-text { font-size: 1.0625rem; }
.show-text p + p { margin-top: 1.15em; }
.show-img { width: 100%; height: auto; border-radius: 4px; }

.video { position: relative; aspect-ratio: 16 / 9; background: #111; border-radius: 4px; overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.support {
  max-width: 680px;
  margin: 56px auto 0;
  padding: 4px 0 4px 20px;
  border-left: 2px solid var(--red);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.6;
}
.support ul { margin: 6px 0 0; padding-left: 20px; }
.support li + li { margin-top: 8px; }

.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px 28px;
  margin: 64px 0 0;
}
.logos img { height: 64px; width: auto; max-width: 42vw; object-fit: contain; }

.shows-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 36px; }
.shows-list a { display: block; text-decoration: none; }
.shows-list .thumb { overflow: hidden; border-radius: 4px; }
.shows-list img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.5s; }
.shows-list a:hover img { transform: scale(1.04); }
/* The LAZUZ photo is a tall portrait: keep the crop near the top so both faces stay in frame */
.shows-list .show-lazuz img { object-position: 50% 12%; }
.shows-list span {
  display: block;
  margin-top: 14px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.7rem;
  color: var(--white);
  text-align: center;
}

@media (min-width: 760px) {
  .shows-list { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .show-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
  .show-media { order: 0; position: sticky; top: calc(var(--header-h) + 24px); }
  .logos img { height: 80px; max-width: 280px; }
}

/* ---------- gallery ---------- */

.gallery-grid { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 10px; }
.gallery-grid li { break-inside: avoid; margin-bottom: 10px; }
.gallery-item { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 3px; overflow: hidden; }
.gallery-item img { width: 100%; height: auto; transition: transform 0.4s, opacity 0.2s; }
.gallery-item { position: relative; }
.gallery-item:hover img { transform: scale(1.03); opacity: 0.9; }

/* Caption shown over the photo on hover / keyboard focus (touch screens see it in the lightbox) */
.gallery-item[data-caption]:not([data-caption=""])::after {
  content: attr(data-caption);
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 36px 14px 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-align: left;
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}
.gallery-item[data-caption]:not([data-caption=""]):focus-visible::after { opacity: 1; }
@media (hover: hover) {
  .gallery-item[data-caption]:not([data-caption=""]):hover::after { opacity: 1; }
}

@media (min-width: 760px) {
  .gallery-grid { columns: 3; column-gap: 14px; }
  .gallery-grid li { margin-bottom: 14px; }
}

.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  color: var(--text);
}
.lightbox::backdrop { background: rgba(0, 0, 0, 0.95); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; padding: 0 8px; }
.lightbox img { max-width: 100vw; max-height: 82vh; max-height: 82dvh; object-fit: contain; }
.lightbox figcaption { margin-top: 12px; font-size: 0.95rem; letter-spacing: 0.04em; text-align: center; min-height: 1.5em; }
.lightbox button {
  position: absolute; z-index: 1;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(11, 11, 12, 0.55); border: 0; border-radius: 50%;
  color: var(--text); font-size: 2rem; line-height: 1; cursor: pointer; padding: 0 0 4px;
  font-family: var(--font-body); font-weight: 300;
}
.lightbox button:hover { color: var(--white); background: rgba(11, 11, 12, 0.85); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
@media (min-width: 760px) {
  .lightbox img { max-width: 88vw; }
  .lb-prev { left: 20px; } .lb-next { right: 20px; }
}

/* ---------- tour ---------- */

.tour .video { max-width: 760px; margin: 0 auto; }
.tour-list { max-width: 860px; margin: 48px auto 0; }
.tour-year { margin-top: 56px; }
.tour-year:first-child { margin-top: 0; }
.tour-year[hidden] { display: none; }
.tour-year h2 {
  position: sticky;
  top: var(--header-h);
  z-index: 5;
  padding: 10px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.3;
  color: var(--white);
}
.tour-upcoming h2 { color: var(--red); }
.tour-year ul { list-style: none; margin: 0; padding: 0; }
.tour-year li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  line-height: 1.5;
}
.tour-year li .sep { display: none; }
.tour-date { font-family: var(--font-ui); font-size: 0.92rem; letter-spacing: 0.08em; color: var(--muted); font-variant-numeric: tabular-nums; }
.tour-show { font-family: var(--font-ui); font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); }
.tour-event { color: var(--white); }
.tour-year a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.4); text-underline-offset: 3px; }
.tour-year a:hover { text-decoration-color: var(--red); }

@media (min-width: 700px) {
  .tour-year li { grid-template-columns: 10.5rem 1fr; column-gap: 24px; }
  .tour-year .tour-date { grid-column: 1; grid-row: 1 / span 2; padding-top: 2px; }
  .tour-year .tour-show, .tour-year .tour-event { grid-column: 2; }
  .tour-year h2 { font-size: 2.3rem; }
}

/* ---------- contact ---------- */

.contact main { text-align: center; padding-top: clamp(36px, 8vw, 90px); }
.contact-emails { font-family: var(--font-body); font-weight: 300; }
.contact-emails a { text-decoration: none; overflow-wrap: anywhere; }
.contact-emails a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--red); }
.contact-main { font-size: clamp(1.45rem, 6.2vw, 3.2rem); line-height: 1.3; color: var(--white); }
.contact-spain { font-size: clamp(1.05rem, 4.2vw, 1.9rem); line-height: 1.4; margin-top: 28px; color: var(--muted); }
.contact-spain a { display: block; color: var(--text); margin-top: 4px; }
.contact-logo { width: min(262px, 70%); height: auto; margin: 48px auto 0; }
.facebook { display: block; width: 44px; height: 44px; margin: 40px auto 0; }
.facebook svg { width: 100%; height: 100%; display: block; }
.facebook:hover { opacity: 0.8; }

@media (min-width: 700px) {
  .contact-spain a { display: inline; margin-top: 0; }
}

/* ---------- 404 ---------- */

.nf-text { font-size: 1.2rem; margin-top: 8px; }
.nf-text a { text-decoration-color: var(--red); text-underline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
