/* Dot-matrix typography (Doto, OFL; roundness pinned at 100 in the file) and a continuous dark surface around the VGA bonfire. */
@font-face {
  font-family: 'Sutan Dot';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/Doto-latin-wght.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: 'Sutan Dot';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/Doto-latin-ext-wght.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;
}
/* Handjet (OFL): rejilla de elementos de trazo fino, solo para los titulares grandes. */
@font-face {
  font-family: 'Sutan Grid';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/Handjet-latin-wght.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: 'Sutan Grid';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/Handjet-latin-ext-wght.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;
}
/* IBM Plex Mono (OFL): cuerpo de texto, igual en todos los sistemas. */
@font-face {
  font-family: 'Sutan Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/IBMPlexMono-latin-400.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: 'Sutan Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/IBMPlexMono-latin-ext-400.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: 'Sutan Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/IBMPlexMono-latin-600.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: 'Sutan Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/IBMPlexMono-latin-ext-600.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;
}
:root {
  --fondo: #000;
  --tinta: #e2dbd1;
  --suave: #bdb2a7;
  --tenue: #a29386;
  --fuego: #dda36e;
  --linea: #32271f;
  --mono: 'Sutan Mono', "Cascadia Code", "Consolas", "Lucida Console", ui-monospace, monospace;
  --pixel: 'Sutan Dot', "Consolas", monospace;
  --titular: 'Sutan Grid', 'Sutan Dot', "Consolas", monospace;
  --display: var(--pixel);
  --body: var(--mono);
  --header-height: 80px;
  --crt-capa: radial-gradient(ellipse at center, transparent 58%, rgba(0, 0, 0, .5) 100%),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .24) 0 1px, transparent 1px 3px);
}
html { scrollbar-gutter: stable; scroll-padding-top: calc(var(--header-height) + 1rem); }
body { background: var(--fondo); color: var(--tinta); font-size: 1rem; }
.article-page, .gallery-page { padding-top: var(--header-height); }
a, button { transition: none; }
a:focus-visible, button:focus-visible, #escena:focus-visible {
  outline: 2px solid var(--fuego);
  outline-offset: 5px;
}

.site-header, .article-page .site-header {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: var(--header-height);
  padding: .5rem clamp(1.5rem, 5vw, 5rem);
  background: #000f;
  border: 0;
  font: 400 .9rem/1.5 var(--mono);
  letter-spacing: .015em;
}
.site-home { display: inline-flex; align-items: center; justify-content: center; width: 44px; min-height: 44px; flex-shrink: 0; text-decoration: none; }
.home-page .site-home { visibility: hidden; opacity: 0; pointer-events: none; }
.home-page.has-archive .site-home { visibility: visible; opacity: 1; pointer-events: auto; }
.site-home:hover { color: var(--fuego); filter: drop-shadow(0 0 5px #dda36e80); }
.header-nav a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
.header-nav { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }
.header-nav a { text-decoration: none; color: var(--tinta); }
.header-nav a[aria-current] { text-decoration: underline; text-decoration-color: var(--fuego); text-underline-offset: .45em; }
.header-nav a:hover { color: var(--fuego); }
.site-header .languages { gap: .1rem; }
.site-header .languages a, .article-aside .languages a {
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  font: 400 .875rem/1.5 var(--mono);
  color: var(--suave);
  text-decoration: none;
}
.site-header .languages [aria-current], .article-aside .languages [aria-current] {
  color: var(--fuego);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .55em;
}

.portada {
  position: relative;
  min-height: 760px;
  height: 100svh;
  max-height: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto 4.5rem;
  align-items: stretch;
  justify-content: stretch;
  padding: var(--header-height) 0 0;
  overflow: hidden;
  isolation: isolate;
  background: #000;
}
.fire-stage {
  position: relative;
  grid-row: 2;
  min-height: 0;
  overflow: hidden;
  background: #000 url('/hoguera-poster.webp') center / cover no-repeat;
}
.fire-stage::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  height: 16%;
  background: linear-gradient(transparent, #000 72%);
  pointer-events: none;
}
.portada #escena {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity .6s ease;
  touch-action: pan-y;
  cursor: crosshair;
  outline-offset: -6px;
}
.fire-ready .portada #escena { opacity: 1; cursor: none; }
.hero-title {
  position: relative;
  grid-row: 1;
  justify-self: center;
  z-index: 2;
  margin-top: 1rem;
  width: max-content;
  max-width: calc(100% - 3rem);
  text-align: center;
  transform: translateY(var(--title-drift, 0px));
  opacity: var(--title-alpha, 1);
  text-shadow: 0 2px 12px #000, 0 0 36px #0009;
}
.portada h1 {
  margin: 0;
  padding: 0 0 0 .045em;
  font: 300 clamp(5rem, 10vw, 9rem)/1 var(--titular);
  letter-spacing: .04em;
}
.portada h1 a { color: var(--tinta); transition: color .6s ease; }
.portada h1 a:hover { color: var(--fuego); }
.portada .subtitle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: .55em;
  width: 100%;
  margin: 0;
  font: 500 clamp(1.65rem, 3vw, 2.25rem)/1.4 var(--pixel);
  letter-spacing: .01em;
  color: var(--suave);
}
.portada .subtitle a { color: var(--tinta); }
.portada .subtitle a:hover { color: var(--fuego); }
.subtitle-side { display: flex; align-items: center; gap: .55em; white-space: nowrap; }
.subtitle-side:first-child { justify-content: flex-end; }
.subtitle-side:last-child { justify-content: flex-start; }
.subtitle-separator { color: var(--tenue); }
.hero-bottom {
  position: static;
  grid-row: 3;
  padding: 0 1rem;
  z-index: 2;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: .25rem;
  text-align: center;
}
.descend {
  position: relative;
  grid-row: 4;
  justify-self: center;
  align-self: center;
  z-index: 3;
  left: auto;
  bottom: auto;
  perspective: 120px;
  transform-style: preserve-3d;
  margin: 0;
  width: 56px;
  height: 56px;
  justify-content: center;
  color: var(--fuego);
}
.descend .arrow-glyph {
  display: block;
  transform: translateZ(0);
  font: 600 2.25rem/1 var(--pixel);
  transition: transform .18s ease-out, color .18s ease-out, filter .18s ease-out;
}
.descend:focus-visible .arrow-glyph {
  color: #ffe2af;
  transform: translateY(5px) scale(1.15);
  filter: drop-shadow(0 0 7px #e99443);
}
@media (hover: hover) {
  .descend:hover .arrow-glyph {
    color: #ffe2af;
    transform: translateY(5px) scale(1.15);
    filter: drop-shadow(0 0 7px #e99443);
  }
}
.descend:active .arrow-glyph { color: #fff0d5; transform: translateY(8px) scale(.95); }
.arrow-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform-style: preserve-3d;
  transform: rotateZ(-12deg) rotateX(78deg);
  transition: transform .2s ease-out;
}
.arrow-orbit i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3px;
  height: 3px;
  margin: -1.5px;
  background: #ffc37c;
  box-shadow: 0 0 3px #ed9a4266;
  animation: arrow-ember-orbit 3.8s linear infinite;
}
.arrow-orbit i:nth-child(2) { width: 2px; height: 2px; margin: -1px; background: #e88639; animation-delay: -1.27s; }
.arrow-orbit i:nth-child(3) { background: #f8daa4; animation-delay: -2.54s; }
.embers-released .arrow-orbit { visibility: hidden; }
.embers-released .arrow-orbit i { animation-play-state: paused; }
.cursor-embers { position: fixed; inset: 0; z-index: 20; pointer-events: none; overflow: hidden; }
.cursor-embers i { position: absolute; left: 0; top: 0; display: block; will-change: transform; }
.curation-open .cursor-embers { visibility: hidden; }
@keyframes arrow-ember-orbit {
  0% { transform: rotateZ(0deg) translateX(27px) rotateZ(0deg) rotateX(-78deg) rotateZ(12deg); opacity: .65; }
  25% { opacity: 1; }
  50% { opacity: .65; }
  75% { opacity: .3; }
  100% { transform: rotateZ(360deg) translateX(27px) rotateZ(-360deg) rotateX(-78deg) rotateZ(12deg); opacity: .65; }
}
.descend:focus-visible .arrow-orbit { transform: rotateZ(-12deg) rotateX(78deg) scale(1.15); }
@media (hover: hover) {
  .descend:hover .arrow-orbit { transform: rotateZ(-12deg) rotateX(78deg) scale(1.15); }
}
.fire-fallback { display: none; }
.fire-unavailable #escena { display: none; }
.fire-unavailable .fire-fallback {
  display: block;
  position: absolute;
  z-index: 2;
  left: clamp(1.5rem, 5vw, 5rem);
  bottom: 8rem;
  width: 24rem;
  max-width: 55vw;
  margin: 0;
  color: var(--tenue);
  text-align: left;
  font: .64rem/1.6 var(--mono);
  pointer-events: none;
}

#contenido { max-width: 76rem; margin: auto; }
.bloque {
  max-width: none;
  padding: clamp(4.5rem, 8vw, 8rem) clamp(1.5rem, 5vw, 4rem);
  border: 0;
}
.section-kicker {
  display: inline-block;
  margin-bottom: 1.5rem;
  font: 500 1.25rem/1.3 var(--pixel);
  letter-spacing: .025em;
  text-transform: none;
  color: var(--fuego);
  vertical-align: top;
}
.cabeceira > .section-kicker { color: var(--fuego); }
.section-kicker::before { content: '> '; }
.section-kicker::after, .error-page .prompt::after {
  content: '';
  display: inline-block;
  width: .55em;
  height: .55em;
  margin-left: .35em;
  vertical-align: .02em;
  border-radius: 50%;
  background: currentColor;
  opacity: 0;
}
.has-cursor::after { opacity: 1; animation: parpadeo 1.06s step-end infinite; }
.section-kicker.is-typing { animation: teclear .8s steps(20, end) both; }
@keyframes teclear { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes parpadeo { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }
h2 { font: 300 clamp(2.9rem, 6.2vw, 5.2rem)/1 var(--titular); letter-spacing: .01em; }
.intro {
  display: grid;
  grid-template-columns: minmax(10rem, .7fr) minmax(0, 1.6fr);
  gap: clamp(2rem, 7vw, 7rem);
  padding-top: 4rem;
  font: 1rem/1.85 var(--body);
}
.intro-heading { position: sticky; top: calc(var(--header-height) + 1rem); align-self: start; }
.intro h2 { margin: 0; }
.bio > p { max-width: 65ch; }
.bio > p:first-child { font-size: clamp(1.1rem, 1.8vw, 1.25rem); line-height: 1.75; color: var(--tinta); }
.bio > p:not(:first-child) { color: var(--suave); }
.inline-links, .project-links, .back-link, .next-project span {
  font: 400 .9rem/1.6 var(--mono);
  letter-spacing: .005em;
}
.inline-links a, .project-links a { text-decoration-color: var(--linea); }
.inline-links a:hover, .project-links a:hover { text-decoration-color: var(--fuego); }
.cabeceira { margin-bottom: 3rem; }
.cabeceira > p { max-width: 63ch; }
.archive-intro { gap: 2rem; align-items: baseline; }
.archive-count, .project-meta, .press time, .press small {
  font: 400 .875rem/1.65 var(--mono);
  color: var(--suave);
  letter-spacing: .01em;
}
.archive-count { white-space: nowrap; }
.ano {
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 2.5rem;
  padding: 2.5rem 0;
  border-top: 3px double var(--linea);
}
.ano > h3 { position: sticky; top: calc(var(--header-height) + 1rem); align-self: start; margin: .3rem 0; font: 500 1.6rem/1.1 var(--pixel); }
.crono > li {
  grid-template-columns: minmax(0, 1fr) clamp(9rem, 20vw, 15rem);
  gap: 1.5rem 3rem;
  padding: 0 0 3rem;
  margin: 0 0 3rem;
  border: 0;
  border-bottom: 1px solid #241d18;
  background: none;
}
.crono > li:last-child { border: 0; margin: 0; padding-bottom: 0; }
.crono h4 { margin: .65rem 0 1rem; font: 500 clamp(2rem, 3.7vw, 3rem)/1.05 var(--pixel); letter-spacing: 0; }
.crono h4 a:hover { color: var(--fuego); }
.crono .project-copy > p { max-width: 63ch; line-height: 1.8; }
.crono .project-artists strong { color: var(--suave); font-weight: 600; }
.project-links { gap: .8rem; }
.project-links a:not(.primary) { min-width: 44px; justify-content: center; }
.project-links .primary { color: var(--fuego); gap: .4rem; }
.cartel img, .cartel video { display: block; width: 100%; height: auto; opacity: 1; border: 0; }
.cartel a:hover img { opacity: 1; }
.motion-toggle { padding: .5rem 0; min-height: 44px; border: 0; background: none; color: var(--fuego); font: 400 .875rem/1.5 var(--mono); }
.music { max-width: 48rem; margin-left: 0; }
.music h2 { margin-bottom: 2rem; }
.music > p:not(.section-kicker) { color: var(--suave); }
.press li { grid-template-columns: 7rem minmax(0, 1fr); padding-block: 1.75rem; border-color: #241d18; }
.press a { text-decoration: none; }
.press a:hover { color: var(--fuego); }
.site-footer {
  max-width: 76rem;
  padding: clamp(5rem, 9vw, 9rem) clamp(1.5rem, 5vw, 4rem) 2rem;
  border: 0;
  background: none;
}
.site-footer h2 { margin-bottom: 1.5rem; }
.site-footer .inline-links a { color: var(--fuego); }
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  padding: 0;
  min-height: 44px;
  max-width: 100%;
  border: 0;
  background: none;
  color: var(--fuego);
  font: inherit;
  letter-spacing: inherit;
  text-decoration: none;
}
.contact-email[hidden] { display: none; }
.footer-bottom {
  padding: .3rem .8rem;
  margin-top: 5rem;
  border: 0;
  background: var(--fuego);
  color: #000;
  font: 600 1.15rem/1.4 var(--pixel);
  letter-spacing: .02em;
}

.article-layout {
  max-width: 76rem;
  grid-template-columns: clamp(12rem, 22vw, 16rem) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 5vw, 4rem);
  border: 0;
}
.article-aside { font: 400 .875rem/1.7 var(--mono); color: var(--suave); }
.article-aside dt { color: var(--fuego); }
.article-aside dd { overflow-wrap: anywhere; }
.article-title { font: 300 clamp(3.2rem, 6.8vw, 5.8rem)/1 var(--titular); letter-spacing: .01em; }
.article-heading .lead { font-size: 1.05rem; line-height: 1.75; }
.article-heading { border-bottom: 3px double var(--linea); }
.essay { max-width: 72ch; font-size: 1rem; line-height: 1.9; }
.essay .essay-label { font: 400 .875rem/1.6 var(--mono); color: var(--fuego); }
.programme .project-meta { font: 400 .875rem/1.65 var(--mono); color: var(--fuego); }
.programme h2, .article-sources h2 { font-size: 2rem; }
.programme h3 { font: 500 1.75rem/1.1 var(--pixel); }
.back-link { color: var(--fuego); text-decoration: none; }
.next-project a { font: 500 2rem/1.2 var(--pixel); text-decoration: none; }
.article-aside video { display: block; width: 100%; height: auto; }

.curation-open { overflow: hidden; }
#curation-dialog, #help-window {
  padding: 0;
  width: min(76rem, calc(100% - 3rem));
  max-width: none;
  max-height: calc(100svh - 3rem);
  border: 4px double #b8845a;
  background: #090806;
  color: var(--tinta);
  box-shadow: 12px 12px 0 #000;
  overscroll-behavior: contain;
}
#curation-dialog::backdrop, #help-window::backdrop { background: repeating-conic-gradient(#000 0 25%, #000c 0 50%) 0 0 / 4px 4px; }
#curation-dialog[open], #help-window[open] { transition: transform .15s steps(3, end), opacity .15s steps(3, end); }
@starting-style { #curation-dialog[open], #help-window[open] { transform: scale(.5); opacity: 0; } }
#curation-dialog::after, #help-window::after { content: ''; position: fixed; inset: 0; z-index: 3; pointer-events: none; background: var(--crt-capa); }
.window-bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 52px;
  padding: .25rem 1rem .25rem 1.5rem;
  border-bottom: 3px double #58402c;
  background: #17110c;
  color: var(--fuego);
  font: 400 .875rem/1.5 var(--mono);
}
.window-path { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-transform: uppercase; }
.window-languages { display: flex; gap: .1rem; margin-left: auto; flex-shrink: 0; }
.window-languages a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--suave);
  text-decoration: none;
  font: 400 .875rem/1.5 var(--mono);
}
.window-languages a:hover { color: var(--fuego); }
.window-languages [aria-current] { color: var(--fuego); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .4em; }
.window-close { min-width: 48px; min-height: 44px; padding: 0; flex-shrink: 0; border: 0; background: none; font: 600 1.6rem/1 var(--pixel); }
.window-close:hover { background: var(--fuego); color: #090806; }
.curation-layout { display: grid; grid-template-columns: minmax(12rem, .65fr) minmax(0, 1.5fr); gap: clamp(2rem, 4vw, 4rem); padding: clamp(1.5rem, 4vw, 3.5rem); }
.curation-layout > article { min-width: 0; }
.curation-layout .article-aside { align-self: start; }
.curation-layout .article-aside > img, .curation-layout .article-aside > video { max-height: 55svh; object-fit: contain; object-position: top; margin: 0; }
.curation-layout .article-title { margin: 0 0 1.5rem; }
.curation-layout .article-heading { padding-bottom: 1.5rem; margin-bottom: 2rem; }
.curation-layout .project-artists { font-size: .85rem; color: var(--suave); overflow-wrap: anywhere; }
.curation-layout .article-sources a { overflow-wrap: anywhere; }

@media (max-width: 700px) {
  :root { --header-height: 104px; }
  .site-header, .article-page .site-header { display: grid; grid-template-columns: 1fr auto; padding: .5rem 1.25rem; gap: 0 1rem; }
  .site-home { grid-column: 1; grid-row: 1; justify-self: start; }
  .header-nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: .5rem; margin: 0; font-size: .8125rem; }
  .site-header .languages { grid-column: 2; grid-row: 1; }
  .portada { min-height: 700px; }
  .fire-stage { background-image: url('/hoguera-poster-mobile.webp'); }
  .hero-title { max-width: calc(100% - 2.5rem); }
  .portada h1 { font-size: clamp(5rem, 23vw, 7.5rem); }
  .portada .subtitle { font-size: clamp(1.05rem, 5.3vw, 1.5rem); letter-spacing: 0; }
  .portada .subtitle, .subtitle-side { gap: .35em; }
  .hero-bottom { gap: .15rem; }
  .fire-unavailable .fire-fallback { left: 1.5rem; font-size: .6rem; max-width: 52vw; }
  .bloque { padding: 4rem 1.5rem; }
  .intro { grid-template-columns: 1fr; gap: 2rem; padding-top: 2.5rem; }
  .intro-heading { position: static; }
  .intro-heading .section-kicker { margin-bottom: .8rem; }
  .ano { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem 0; }
  .ano > h3 { position: static; }
  .crono > li { grid-template-columns: minmax(0, 1fr) 7rem; gap: .7rem 1rem; padding-bottom: 2rem; margin-bottom: 2rem; }
  .crono .project-copy > p { font-size: .88rem; }
  .crono .project-copy > .project-artists { font-size: .875rem; }
  .crono h4 { font-size: 2rem; margin-top: .3rem; }
  .archive-count { margin-bottom: 1rem; }
  .press li { grid-template-columns: 1fr; gap: .5rem; }
  .article-layout { grid-template-columns: 1fr; gap: 2.5rem; padding: 2rem 1.5rem 4rem; }
  .article-aside { grid-template-columns: 5rem minmax(0, 1fr); }
  .article-title { font-size: clamp(2.5rem, 11vw, 3.8rem); }
  .site-footer { padding: 4.5rem 1.5rem 2rem; }
  #curation-dialog { width: calc(100% - 1.2rem); max-height: calc(100svh - 1.2rem); }
  .window-bar { padding-left: 1rem; }
  .curation-layout { grid-template-columns: minmax(0, 1fr); gap: 2rem; padding: 1.25rem; }
  .curation-layout .article-aside { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
  .curation-layout .article-aside dl { margin: 0; }
  .curation-layout .article-aside dt:first-child { margin-top: 0; }
  .curation-layout .article-aside .languages { grid-column: 1 / -1; margin: 0; }
  .curation-layout .essay { font-size: .94rem; line-height: 1.8; }
}
@media (max-aspect-ratio: 1/1) {
  .fire-stage { background-image: url('/hoguera-poster-mobile.webp'); }
}
@media (max-width: 370px) {
  .crono > li { grid-template-columns: minmax(0, 1fr) 6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .cursor-embers { display: none; }
  .hero-title { transform: none; opacity: 1; }
  .descend .arrow-glyph, .arrow-orbit { transition: none; }
  .descend:is(:hover, :focus-visible, :active) .arrow-glyph { transform: none; }
  .arrow-orbit i { animation-play-state: paused; }
}
@media print {
  .cursor-embers { display: none; }
  .article-layout, #contenido { max-width: none; }
  .intro { display: block; }
  .intro-heading { position: static; }
}

/* ── Consola: toda la página se comporta como una pantalla de texto ── */
::selection { background: var(--seleccion, var(--fuego)); color: #000; }
.crt {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  background: var(--crt-capa);
  opacity: var(--crt, 1);
}
.home-page .crt { opacity: var(--crt, 0); }
.curation-open .crt, .gallery-open .crt, html:has(dialog[open]) .crt { visibility: hidden; }
h2, .crono h4, .article-title, .gallery-intro h1, .press-title, .next-project a, .ano > h3 {
  text-shadow: 0 0 12px rgba(221, 163, 110, .22);
}
/* Barra inversa al pasar por encima, como la selección en un menú de texto */
.inline-links a, .project-links a, .back-link, .portada .subtitle a, .gallery-filters a {
  padding-inline: .3em;
  margin-inline: -.3em;
}
.header-nav a:hover, .inline-links a:hover, .project-links a:hover, .back-link:hover, .portada .subtitle a:hover, .gallery-filters a:hover {
  color: transparent;
  text-decoration: none;
  background: var(--reflejo) 100% 0 / 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 1px rgba(255, 170, 90, .9)) drop-shadow(0 0 9px rgba(255, 110, 40, .55));
  animation: reflejo 2.8s cubic-bezier(.3, .6, .3, 1) infinite;
}
.gallery-filters a:hover span { color: transparent; }
/* Barras de desplazamiento de modo texto: pista tramada y tirador macizo */
::-webkit-scrollbar { width: 14px; height: 14px; }
::-webkit-scrollbar-track { background: repeating-conic-gradient(#1b1510 0 25%, #000 0 50%) 0 0 / 4px 4px; }
::-webkit-scrollbar-thumb { background: var(--fuego); border: 3px solid #000; }
::-webkit-scrollbar-corner { background: #000; }
@supports not selector(::-webkit-scrollbar) {
  html, #curation-dialog, #art-dialog { scrollbar-color: var(--fuego) #0d0a08; }
}
/* 404 como sesión de MS-DOS */
.error-page { display: block; min-height: 100svh; padding: clamp(2rem, 7vw, 6rem) clamp(1.5rem, 7vw, 6rem); text-align: left; }
.error-page main { max-width: 60ch; font: 500 clamp(1.25rem, 2.4vw, 1.6rem)/1.45 var(--pixel); }
.error-page h1 { margin: 0 0 1.2em; font: inherit; color: var(--tinta); }
.error-page p { margin: 0 0 1.2em; }
.error-page .prompt { color: var(--fuego); }
.error-page a { color: var(--fuego); text-decoration-color: var(--linea); }
.error-page a:hover { color: #000; text-decoration: none; background: var(--fuego); }
@media (prefers-contrast: more) {
  .crt, #curation-dialog::after, #art-dialog::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .has-cursor::after { animation: none; }
  .section-kicker.is-typing { animation: none; }
  #curation-dialog[open], #help-window[open], #art-dialog[open] { transition: none; }
  .is-lighting { animation: none; }
}
@media print {
  .crt, .section-kicker::after, .status-controls { display: none; }
}

/* ── La luz del fuego respira en la página: --brasa la escribe el motor de la hoguera ── */
.has-cursor::after { box-shadow: 0 0 calc(3px + 9px * var(--brasa, .6)) rgba(221, 163, 110, calc(.2 + .5 * var(--brasa, .6))); }
.section-kicker { text-shadow: 0 0 calc(16px * var(--brasa, .6)) rgba(221, 163, 110, .3); }
.footer-bottom { filter: brightness(calc(.85 + .3 * var(--brasa, .6))); }
.bloque { position: relative; isolation: isolate; }
.is-entering { animation: section-enter .65s ease-out both; }
@keyframes section-enter {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .is-entering { animation: none; }
}
.bloque::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 56vh;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(55% 40% at 50% 40%, rgba(221, 120, 50, calc(.04 + .09 * var(--brasa, .6))) 0%, transparent 100%);
}
/* ── Carteles y obras se encienden como un panel LED ── */
@property --p { syntax: '<percentage>'; inherits: false; initial-value: 100%; }
.is-lighting {
  --p: 100%;
  -webkit-mask-image: radial-gradient(circle, #000 var(--p), transparent calc(var(--p) + .5%));
  -webkit-mask-size: 7px 7px;
  mask-image: radial-gradient(circle, #000 var(--p), transparent calc(var(--p) + .5%));
  mask-size: 7px 7px;
  animation: encender .7s steps(9, end) both;
}
@keyframes encender { from { --p: 0%; } to { --p: 100%; } }
/* ── Cambio de página como un CLS: la pantalla se vacía y se vuelve a pintar ── */
@view-transition { navigation: auto; }
::view-transition { background: #000; }
::view-transition-old(root) { animation: crt-off .34s cubic-bezier(.3, 0, .8, 1) both; transform-origin: 50% 50%; }
::view-transition-new(root) { animation: cls-in .5s steps(2, end) both; }
@keyframes crt-off {
  0% { transform: scale(1, 1); filter: brightness(1); }
  55% { transform: scale(1, .006); filter: brightness(2.4); opacity: 1; }
  100% { transform: scale(0, .006); filter: brightness(3); opacity: 0; }
}
@keyframes cls-in { from { opacity: 0; } 60% { opacity: 0; } to { opacity: 1; } }
/* ── Controles de estado y ventana de ayuda ── */
.status-controls {
  position: fixed;
  right: 1rem;
  bottom: .6rem;
  z-index: 25;
  display: flex;
  align-items: center;
  gap: .15rem;
  font: 500 .78rem/1 var(--pixel);
  text-shadow: 0 0 6px #000, 0 0 2px #000;
}
.status-controls button {
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  min-height: 36px;
  padding: 0 .35em;
  border: 0;
  background: none;
  color: var(--fuego);
  font: inherit;
  cursor: pointer;
}
.status-controls button:hover, .status-controls button:focus-visible { background: var(--fuego); color: #000; text-shadow: none; }
.status-clock { display: inline-flex; align-items: center; gap: .55em; padding: 0 .4em; color: var(--tenue); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.status-phase { color: var(--fuego); }
.status-phase:empty { display: none; }
.sound-toggle svg { width: 16px; height: 12px; fill: currentColor; shape-rendering: crispEdges; overflow: visible; }
.sound-toggle .mudo { display: none; }
.sound-toggle[aria-pressed="false"] .ondas { display: none; }
.sound-toggle[aria-pressed="false"] .mudo { display: inline; }
.sound-toggle[aria-pressed="false"] { color: var(--tenue); }
.sound-toggle .ondas { transform-box: fill-box; transform-origin: 0 50%; animation: ondas-vu 1.1s steps(4) infinite; }
.status-controls .is-waiting .ondas { animation: none; opacity: .45; }
@keyframes ondas-vu { 0% { clip-path: inset(0 66% 0 0); } 40% { clip-path: inset(0 0 0 0); } 70% { clip-path: inset(0 33% 0 0); } 100% { clip-path: inset(0 66% 0 0); } }
.help-toggle kbd { display: inline-block; min-width: 1.35em; padding: .18em .3em .1em; border: 1px solid currentColor; box-shadow: 1px 1px 0 currentColor; font: inherit; line-height: 1; }
.usa-teclado .help-toggle:not([hidden]) { animation: tecla-aparece .9s steps(6) both; }
@keyframes tecla-aparece { 0%, 50% { opacity: 0; } 51%, 70% { opacity: 1; } 71%, 85% { opacity: 0; } 86%, 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sound-toggle .ondas, .usa-teclado .help-toggle:not([hidden]) { animation: none; } }
#help-window { width: min(36rem, calc(100% - 3rem)); }
.help-content { padding: 1.5rem 2rem 2rem; font: 500 1.1rem/1.6 var(--pixel); }
.help-content h2 { margin: 0 0 1.25rem; font-size: 2.4rem; }
.help-content dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .5rem 1.5rem; margin: 0; }
.help-content dt { color: var(--fuego); white-space: nowrap; }
.help-content dd { margin: 0; color: var(--suave); }
.help-hint { margin: 1.5rem 0 0; color: var(--tenue); font-size: 1rem; }
@media (hover: none) and (pointer: coarse) { .help-toggle { display: none; } }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ── Vida bajo la hoguera (vida.js): titulares que se descifran y semitono ámbar ── */
.descifrando .cifra { position: relative; color: transparent; }
.descifrando .cifra::after {
  content: attr(data-g); position: absolute; inset: 0; text-align: center;
  color: var(--fuego); text-shadow: 0 0 calc(10px * var(--brasa, .6)) rgba(241, 154, 90, .45);
}
#sonido { position: relative; isolation: isolate; }
#sonido > .semitono { position: absolute; top: 0; z-index: -1; pointer-events: none; opacity: .9; }

/* La barra de estado no tapa el pie al final de la página; en pantallas estrechas solo quedan los iconos. */
.home-page .site-footer { padding-bottom: 3.75rem; }
@media (max-width: 600px) { .status-clock { display: none; } }

/* ── Reflejo: al pasar el ratón las letras se encienden en blanco cálido y un destello de fuego las
   recorre de izquierda a derecha; descansa y vuelve a pasar. Solo el texto, sin barra de fondo. ── */
:root {
  --reflejo: linear-gradient(100deg, #ff8f3d 0 38%, #ffc45a 43%, #fff4dc 48%, #ffd45a 52%, #ff5a4a 56%, #ff8f3d 61% 100%);
}
@keyframes reflejo { 0% { background-position-x: 100%; } 42%, 100% { background-position-x: 0%; } }
.header-nav a, .inline-links a, .project-links a, .back-link, .portada .subtitle a, .site-home, .gallery-filters a,
.press a, .crono h4 a, .window-languages a, .contact-email { transition: filter .25s ease; }
.press a:hover, .crono h4 a:hover, .window-languages a:hover, .portada h1 a:hover,
.contact-email:hover, .contact-email:focus-visible {
  color: transparent;
  text-decoration: none;
  background: var(--reflejo) 100% 0 / 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 1px rgba(255, 170, 90, .9)) drop-shadow(0 0 9px rgba(255, 110, 40, .55));
  animation: reflejo 2.8s cubic-bezier(.3, .6, .3, 1) infinite;
}
/* Solo cambia el color de las letras, sin desplazar nada: se mantiene también con movimiento reducido. */
