/* Compilado desde src/css. Edita las fuentes y vuelve a lanzar compile-css.bat. */

/* 01-base.css */
@font-face {
  font-family: "Roboto Serif";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/roboto-serif-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Roboto Serif";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/roboto-serif-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("fonts/source-sans-3-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("fonts/source-sans-3-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #3d3131;
  --burgundy: #5f0214;
  --rust: #c2654a;
  --line: #efeae7;
  --paper: #ffffff;
  --header-h: 72px;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --serif: "Roboto Serif", "Palatino Linotype", Palatino, serif;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}

body.scroll-lock {
  overflow: hidden;
}

img {
  max-width: 100%;
}

button {
  font: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 50;
  padding: 8px 12px;
  background: var(--paper);
  color: var(--burgundy);
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--burgundy);
  outline-offset: 3px;
}

/* 02-header.css */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 72px 1fr 72px;
  align-items: center;
  height: var(--header-h);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.logo {
  justify-self: start;
  margin-left: 14px;
  line-height: 0;
}

.logo img {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: cover;
}

.site-title {
  margin: 0;
  color: var(--burgundy);
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 100;
  letter-spacing: 0.14em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.menu-toggle {
  justify-self: end;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-right: 14px;
  padding: 0;
  border: 0;
  background: var(--rust);
  color: #fff;
  cursor: pointer;
}

.menu-toggle-icon,
.menu-toggle-icon::before,
.menu-toggle-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.menu-toggle-icon {
  position: relative;
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  transition: transform 0.15s ease, top 0.15s ease;
}

.menu-toggle-icon::before {
  top: -6px;
}

.menu-toggle-icon::after {
  top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 640px) {
  :root {
    --header-h: 64px;
  }

  .site-title {
    font-size: 24px;
    letter-spacing: 0.12em;
  }

  .logo img {
    width: 38px;
    height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu-toggle-icon::before,
  .menu-toggle-icon::after {
    transition: none;
  }
}

/* 03-menu.css */
.site-menu {
  position: fixed;
  top: var(--header-h);
  right: 0;
  left: 0;
  z-index: 25;
  max-height: calc(100vh - var(--header-h));
  overflow: auto;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(61, 49, 49, 0.08);
}

.site-menu[hidden] {
  display: none !important;
}

.menu-section + .menu-section {
  border-top: 1px solid var(--line);
}

.menu-section-title {
  margin: 0;
  padding: 22px 28px 2px;
  color: var(--burgundy);
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 100;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.menu-option {
  display: block;
  width: 100%;
  padding: 14px 28px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--rust);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}

.menu-options .menu-option:last-child {
  border-bottom: 0;
}

.menu-option:hover {
  background: #faf7f6;
}

.menu-option.is-active {
  color: var(--burgundy);
  box-shadow: inset 3px 0 0 var(--burgundy);
}

@media (max-width: 640px) {
  .menu-section-title,
  .menu-option {
    padding-right: 18px;
    padding-left: 18px;
  }
}

/* 04-stage.css */
.stage {
  width: min(1480px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 80px;
}

.stage-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: left;
  gap: 0.75em 0;
  margin: 0 0 20px;
  text-align: center;
}

.stage-section {
  margin: 0;
  color: var(--rust);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  padding: 3px 0 0 0;
}

.stage-section:not(:empty)::after {
  content: "·";
  margin: 0 0.5em;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: 0;
}

.stage-title {
  margin: 0;
  color: var(--burgundy);
  font-family: var(--serif);
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 100;
  line-height: 1.2;
}

.mosaic {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.mosaic-group-title {
  margin: 0 0 14px;
  color: var(--burgundy);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 100;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
  border-top: 1px solid var(--line);
  padding: 14px 0 0 0;
}

.mosaic-group-empty {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
}

.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  align-items: start;
}

@media (min-width: 560px) {
  .mosaic-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .mosaic-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .mosaic-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 1280px) {
  .mosaic-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.mosaic-item {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: #f6f3f1;
  cursor: zoom-in;
}

.mosaic-item img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.mosaic-item:hover img {
  opacity: 0.92;
}

.mosaic-empty,
.mosaic-note {
  margin: 0;
}

.mosaic-empty {
  padding: 56px 12px;
  color: var(--burgundy);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 100;
  text-align: center;
}

.mosaic-note {
  color: var(--ink);
  font-size: 14px;
}

@media (max-width: 640px) {
  .stage {
    width: min(1240px, calc(100% - 28px));
    padding-top: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mosaic-item:hover img {
    opacity: 1;
  }
}

/* 05-lightbox.css */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 72px 1fr 72px;
  grid-template-rows: 64px 1fr;
  background: #140c0c;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox-bar {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 0 22px;
}

.lightbox-count {
  margin: 0;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.lightbox-close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: var(--rust);
  color: #fff;
  cursor: pointer;
}

.lightbox-close-icon,
.lightbox-close-icon::before,
.lightbox-close-icon::after {
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
}

.lightbox-close-icon {
  position: relative;
  background: transparent;
}

.lightbox-close-icon::before,
.lightbox-close-icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
}

.lightbox-close-icon::before {
  transform: rotate(45deg);
}

.lightbox-close-icon::after {
  transform: rotate(-45deg);
}

.lightbox-figure {
  display: flex;
  grid-column: 2;
  grid-row: 2;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  margin: 0;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: calc(100vh - 88px);
  object-fit: contain;
}

.lightbox-nav {
  place-self: center;
  width: 48px;
  height: 72px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.lightbox-nav[hidden] {
  display: none !important;
}

.lightbox-prev {
  grid-column: 1;
  grid-row: 2;
}

.lightbox-next {
  grid-column: 3;
  grid-row: 2;
}

.lightbox-nav::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  margin: auto;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.lightbox-prev::before {
  transform: rotate(-135deg);
}

.lightbox-next::before {
  transform: rotate(45deg);
}

@media (max-width: 700px) {
  .lightbox {
    grid-template-columns: 1fr;
  }

  .lightbox-figure {
    grid-column: 1;
    padding: 0 12px 24px;
  }

  .lightbox-prev,
  .lightbox-next {
    position: absolute;
    top: 50%;
    z-index: 1;
    background: rgba(22, 12, 12, 0.35);
  }

  .lightbox-prev {
    left: 0;
  }

  .lightbox-next {
    right: 0;
  }
}

/*# sourceMappingURL=main.css.map */
