@charset "UTF-8";
:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #20201e;
  background: #fff;
  font-synthesis: none;
  --muted: #747470;
  --line: #deded8;
  --side: 218px;
  --gutter: clamp(24px, 4.2vw, 76px);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: transparent;
  border: 0;
}
a,
button {
  touch-action: manipulation;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
figure,
p,
h1,
h2,
h3 {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 400;
}
h1 {
  font-size: clamp(44px, 5vw, 78px);
  letter-spacing: -0.058em;
  line-height: 1.04;
  max-width: 1050px;
}
h2 {
  font-size: clamp(30px, 3.1vw, 48px);
  letter-spacing: -0.045em;
  line-height: 1.12;
}
h3 {
  font-size: 18px;
  letter-spacing: -0.02em;
  line-height: 1.35;
}
p {
  line-height: 1.6;
}
a:hover {
  color: #77776f;
}
a img {
  transition: opacity 0.3s;
}
a:hover img {
  opacity: 0.88;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid #555;
  outline-offset: 5px;
}
main:focus {
  outline: none;
}
::selection {
  background: #e6e5dc;
}
.sr-only,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  background: white;
  padding: 15px;
  z-index: 100;
}
.header {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--side);
  padding: 43px 28px 30px 34px;
  border-right: 1px solid var(--line);
  background: #fff;
  z-index: 20;
  display: flex;
  flex-direction: column;
}
.brand {
  font-size: 25px;
  letter-spacing: -0.06em;
  line-height: 1.05;
}
.brand span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.13em;
  margin-top: 12px;
  color: var(--muted);
}
#nav {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-top: 69px;
  font-size: 14px;
  line-height: 1.3;
}
#nav a {
  position: relative;
  width: fit-content;
}
#nav a[aria-current] {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}
#nav a[data-nav="artista"] {
  margin-top: 24px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
}

.language-switcher select {
  min-width: 8.8rem;
  padding: 0.55rem 2rem 0.55rem 0.7rem;
  border: 1px solid var(--line, #cfcac0);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}

.language-switcher select:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.sidebar-note {
  margin-top: auto;
  font-size: 10px;
  line-height: 1.8;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.menu-toggle {
  display: none;
}
main {
  margin-left: var(--side);
  padding: 48px var(--gutter) 70px;
  min-height: 80vh;
  max-width: 2000px;
}
.footer {
  margin-left: var(--side);
  border-top: 1px solid var(--line);
  padding: 30px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
  color: var(--muted);
}
.footer-brand {
  font-size: 18px;
  letter-spacing: -0.04em;
  color: #222;
}
.eyebrow {
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.page-head {
  padding: 20px 0 49px;
}
.page-head .lead {
  max-width: 710px;
  margin-top: 25px;
}
.lead {
  font-size: 19px;
  line-height: 1.5;
  letter-spacing: -0.015em;
}
.reference {
  font-size: 10px;
  letter-spacing: 0.07em;
  color: var(--muted);
  line-height: 1.6;
}
.text-link {
  display: inline-flex;
  gap: 35px;
  padding: 12px 0;
  border-bottom: 1px solid #aaa;
  font-size: 13px;
  line-height: 1.4;
}
.text-link span {
  margin-left: auto;
}
.section {
  margin-top: 100px;
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-bottom: 36px;
}
.section-head h2 {
  font-size: 30px;
}
.section-head > a {
  font-size: 12px;
  white-space: nowrap;
}
.section-head > a span {
  margin-left: 16px;
}
.section-intro {
  max-width: 650px;
  color: #62625d;
  font-size: 16px;
  margin: -10px 0 35px;
}
.caption {
  padding-top: 18px;
}
.caption h3 {
  margin: 6px 0 5px;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: -0.015em;
}
.caption p {
  font-size: 11px;
  color: var(--muted);
}
.caption p span {
  float: right;
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px 32px;
}
.works-grid + .works-grid {
  margin-top: 56px;
}
.work-card .image-space {
  height: clamp(200px, 23vw, 380px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 0;
}
.image-space img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.work-card > a {
  display: block;
}
.albums-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 54px 38px;
}
.album-image {
  height: clamp(200px, 26vw, 430px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.album-image img {
  max-height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: left center;
}
.album-card h3 {
  font-size: 21px;
}
.album-card .caption {
  border-top: 1px solid var(--line);
  margin-top: 16px;
}
.exhibition-list {
  border-top: 1px solid var(--line);
}
.exhibition-results.is-grid .exhibition-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 22px; padding-top: 26px; }
.exhibition-results.is-grid .exhibition-card > a { display: block; padding: 0 0 18px; }
.exhibition-results.is-grid .exhibition-copy { padding-top: 15px; }
.exhibition-results.is-grid .exhibition-copy h2 { font-size: clamp(21px, 1.7vw, 29px); }
.exhibition-results.is-grid .exhibition-details { margin-top: 9px; }
.exhibition-results.is-grid .exhibition-text { margin-top: 12px; font-size: 12px; line-height: 1.5; }
.exhibition-results.is-grid .exhibition-link { margin-top: 16px; }
.exhibition-results.is-grid .exhibition-arrow { display: none; }
.exhibition-card > a {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(255px, 0.82fr) 28px;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.exhibition-image {
  position: relative;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f4f3ef;
}
.exhibition-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.exhibition-results.is-grid .exhibition-image { aspect-ratio: 4 / 3; }
.exhibition-card > a:hover .exhibition-image img,
.exhibition-card > a:focus-visible .exhibition-image img {
  transform: scale(1.018);
}
.exhibition-count {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 8px 11px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--muted);
  font-size: 10px;
}
.exhibition-copy .eyebrow {
  margin-bottom: 13px;
}
.exhibition-copy h2 {
  max-width: 470px;
  font-size: clamp(25px, 2.35vw, 38px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.exhibition-details {
  margin-top: 15px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.exhibition-text {
  max-width: 430px;
  margin-top: 20px;
  color: #5c5c56;
  font-size: 13px;
  line-height: 1.65;
}
.exhibition-link {
  display: flex;
  gap: 18px;
  width: fit-content;
  margin-top: 25px;
  padding-bottom: 7px;
  border-bottom: 1px solid #aaa;
  font-size: 12px;
}
.exhibition-link b {
  font-weight: 400;
}
.exhibition-arrow {
  color: var(--muted);
  font-size: 16px;
  justify-self: end;
}
.home-intro {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  min-height: 600px;
  align-items: center;
}
.home-intro h1 {
  font-size: clamp(48px, 4.3vw, 76px);
}
.home-intro .lead {
  max-width: 320px;
  margin-top: 28px;
  margin-bottom: 27px;
  font-size: 17px;
}
.hero-work img {
  width: 100%;
  height: 510px;
  object-fit: contain;
}
.hero-work figcaption {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: var(--muted);
  font-size: 10px;
  padding-top: 30px;
}
.category-index {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.category-index a {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.category-index h3 {
  font-size: 24px;
}
.category-index a > span:not(.reference) {
  font-size: 11px;
  color: var(--muted);
}
.category-index img {
  height: 220px;
  width: 100%;
  object-fit: contain;
  margin-top: 16px;
}
.feature {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 65px;
  align-items: center;
}
.feature > div > img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
}
.feature p:not(.eyebrow) {
  max-width: 400px;
  margin-top: 26px;
  color: #5c5c56;
  font-size: 16px;
}
.feature .text-link {
  margin-top: 25px;
}
.tabs {
  display: flex;
  gap: 29px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 35px;
  overflow-x: auto;
  scrollbar-width: thin;
  white-space: nowrap;
  padding: 0 0 1px;
}
.tabs a {
  font-size: 13px;
  padding: 13px 0 17px;
}
.tabs a.active {
  border-bottom: 1px solid #222;
  color: #111;
}
.tabs sup {
  font-size: 9px;
  color: var(--muted);
  margin-left: 5px;
}
.sculpture-families {
  margin: 48px 0 54px;
  padding: 28px 0 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.sculpture-families .section-head { align-items: end; margin-bottom: 25px; }
.sculpture-families h2 { margin-top: 8px; }
.sculpture-families-note { max-width: 310px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.family-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 20px; }
.family-card { display: grid; grid-template-rows: auto 1fr; gap: 17px; align-items: stretch; min-width: 0; border-top: 1px solid var(--line); padding-top: 13px; }
.family-card:hover .family-image img, .family-card.active .family-image img { transform: scale(1.035); }
.family-image { height: clamp(190px, 17vw, 260px); overflow: hidden; background: #f3f2ee; }
.family-slideshow { position: relative; width: 100%; height: 100%; overflow: hidden; }
.family-slide { position: absolute; inset: 0; display: block; opacity: 0; transition: opacity 650ms ease; }
.family-slide.is-visible { opacity: 1; }
.family-slide img { width: 100%; height: 100%; object-fit: contain; transition: transform 900ms ease; }
.family-card:hover .family-slide.is-visible img, .family-card:focus-visible .family-slide.is-visible img { transform: scale(1.035); }
.family-copy { display: flex; flex-direction: column; min-width: 0; }
.family-copy h3 { margin: 8px 0 12px; font-size: 17px; line-height: 1.12; }
.family-link { margin-top: auto; color: var(--muted); font-size: 10px; }
.family-card.active .family-link, .family-card:hover .family-link { color: #111; }
@media (prefers-reduced-motion: reduce) {
  .family-slide { transition: none; }
  .family-slide img { transition: none; }
}
@media (max-width: 900px) {
  .family-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .sculpture-families { margin: 36px 0 42px; padding: 24px 0 28px; }
  .sculpture-families .section-head { display: block; }
  .sculpture-families-note { margin-top: 14px; }
  .family-grid { grid-template-columns: 1fr; gap: 22px; }
  .family-image { height: min(72vw, 330px); }
}
.catalogue-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.search {
  display: flex;
  max-width: 310px;
  width: 35%;
  border-bottom: 1px solid var(--line);
}
.search input {
  border: 0;
  width: 100%;
  min-width: 0;
  background: transparent;
  padding: 12px 0;
  font-size: 12px;
}
.search button {
  width: 36px;
  flex-shrink: 0;
}
.select-label {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: center;
}
.select-label select {
  max-width: 200px;
  border: 0;
  background: #fff;
  font-size: 12px;
  padding: 12px 5px;
  color: #222;
}
.view-toggle {
  display: flex;
  gap: 14px;
  white-space: nowrap;
}
.view-toggle button {
  padding: 12px 0;
  font-size: 11px;
  color: var(--muted);
}
.view-toggle button[aria-pressed="true"] {
  color: #222;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.result-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 0 35px;
  color: var(--muted);
  font-size: 10px;
}
.load-more {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 25px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 60px;
  text-align: left;
  font-size: 14px;
}
.load-more span {
  font-size: 11px;
  color: var(--muted);
}
.empty {
  padding: 90px 0;
}
.empty h2 {
  margin-bottom: 20px;
}
.work-walk {
  display: grid;
  gap: 85px;
}
.work-walk + .work-walk {
  margin-top: 85px;
}
.walk-item {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 55px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.walk-item img {
  height: 560px;
  width: 100%;
  object-fit: contain;
}
.walk-item h2 {
  font-size: 30px;
  margin: 16px 0;
}
.walk-item p {
  font-size: 13px;
  color: var(--muted);
}
.walk-item .text-link {
  margin-top: 25px;
}
.breadcrumb {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--muted);
  margin: 7px 0 47px;
}
.work-detail {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 65px;
  align-items: start;
}
.work-stage {
  min-width: 0;
}
.photo-button {
  display: block;
  width: 100%;
  position: relative;
  padding: 0;
}
.photo-button img {
  margin: auto;
}
.main-photo {
  height: 570px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.main-photo img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}
.zoom-mark {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: #fff;
  padding: 8px;
  line-height: 1;
  font-size: 16px;
  opacity: 0;
  transition: opacity 0.2s;
}
.photo-button:hover .zoom-mark,
.photo-button:focus-visible .zoom-mark {
  opacity: 1;
}
.thumbnails {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.thumbnails button {
  height: 64px;
  width: 64px;
  padding: 5px;
  opacity: 0.55;
  border: 1px solid transparent;
}
.thumbnails button[aria-pressed="true"] {
  border-color: #444;
  opacity: 1;
}
.thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.work-info {
  padding-top: 30px;
}
.work-info h1 {
  font-size: clamp(32px, 3.2vw, 48px);
  letter-spacing: -0.04em;
}
.work-info .eyebrow {
  font-size: 10px;
  margin-bottom: 22px;
}
.work-series {
  color: var(--muted);
  font-size: 13px;
  margin-top: 20px;
}
.work-info .prose {
  margin-top: 32px;
  font-size: 14px;
}
.work-info .text-link {
  margin-top: 24px;
}
.work-info dl {
  font-size: 11px;
  margin: 35px 0 15px;
}
.work-info dl > div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 13px 0;
}
.work-info dt {
  color: var(--muted);
}
.work-info dd {
  margin: 0;
}
.note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
}
.prose {
  max-width: 740px;
  font-size: 18px;
  line-height: 1.75;
}
.prose p + p {
  margin-top: 23px;
}
.prose h2 {
  font-size: 30px;
  margin: 55px 0 23px;
}
.album-intro {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 75px;
  margin-bottom: 70px;
}
.album-intro .prose {
  font-size: 15px;
}
.album-intro aside {
  font-size: 12px;
}
.album-intro aside .eyebrow {
  font-size: 10px;
  margin: 0 0 9px;
}
.album-intro aside p:not(.eyebrow) {
  margin-bottom: 25px;
}
.credit {
  color: var(--muted);
  max-width: 280px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 45px 28px;
}
.gallery-group {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 18px;
  max-width: 760px;
}
.gallery-group .eyebrow {
  margin: 0 0 8px;
}
.gallery-group p:last-child {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  margin: 0;
}
.gallery-item .photo-button {
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gallery-item figcaption {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 11px;
}
.source-note {
  border-top: 1px solid var(--line);
  padding-top: 25px;
  margin-top: 65px;
  font-size: 12px;
  color: var(--muted);
  max-width: 750px;
}
.source-note .eyebrow {
  margin-bottom: 12px;
}
.end-link {
  border-top: 1px solid var(--line);
  padding-top: 25px;
  margin-top: 65px;
  font-size: 14px;
}
.education-hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 55px;
  align-items: center;
  margin: 50px 0 80px;
}
.education-hero > img {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
}
.education-hero p:not(.eyebrow) {
  font-size: 15px;
  color: #65655e;
  margin: 24px 0;
}
.principles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  margin-top: 55px;
}
.principles article {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.principles h3 {
  font-size: 20px;
  margin: 16px 0;
}
.principles p {
  font-size: 13px;
  color: #66665f;
}
.principles a {
  font-size: 12px;
}
.reading-index > a {
  display: grid;
  grid-template-columns: 0.7fr 2fr 30px;
  gap: 30px;
  border-top: 1px solid var(--line);
  padding: 30px 0;
}
.reading-index h2 {
  font-size: 27px;
}
.reading-index p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}
.article-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 70px;
}
.article-layout aside {
  font-size: 12px;
  color: var(--muted);
}
.article-layout aside img {
  max-height: 360px;
  object-fit: contain;
  margin-bottom: 30px;
}
.article-layout aside p {
  margin: 14px 0;
}
.reading-body {
  max-width: 650px;
  font-size: 16px;
  line-height: 1.75;
}
.reading-body .article-intro {
  font-size: 21px;
}
.reading-body section {
  margin-top: 40px;
}
.reading-body h2 {
  font-size: 28px;
  margin-bottom: 20px;
}
.reading-body .text-link {
  margin-top: 40px;
}
.timeline {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 50px;
  padding-top: 30px;
}
.chapter-rail {
  align-self: start;
  position: sticky;
  top: 45px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  font-size: 11px;
}
.chapter-rail a {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 7px;
  line-height: 1.5;
}
.chapter-rail span {
  color: #8a8a82;
  font-size: 9px;
}
.timeline-step {
  margin-bottom: 110px;
  scroll-margin-top: 35px;
}
.step-top {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-bottom: 30px;
}
.timeline-step > a > img {
  width: 100%;
  max-height: 510px;
  object-fit: contain;
  object-position: left;
}
.step-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 35px;
  margin-top: 35px;
}
.step-copy h2 {
  font-size: 35px;
}
.step-copy p {
  font-size: 14px;
  color: #65655e;
}
.step-copy > a {
  grid-column: 2;
  font-size: 12px;
}
.archive-index > a {
  display: grid;
  grid-template-columns: 40px 1fr 1fr 20px;
  gap: 30px;
  align-items: start;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.archive-index h2 {
  font-size: 26px;
}
.archive-index p {
  font-size: 13px;
  color: var(--muted);
}
.archive-index > a > span:first-child {
  font-size: 11px;
  color: var(--muted);
}
.chapter-hero {
  margin: 0 0 55px;
  max-width: 950px;
}
.chapter-hero img {
  max-height: 550px;
  width: 100%;
  object-fit: contain;
  object-position: left;
}
.chapter-hero figcaption {
  font-size: 11px;
  color: var(--muted);
  max-width: 680px;
  margin-top: 18px;
  line-height: 1.6;
}
.chapter-pagination {
  border-top: 1px solid var(--line);
  margin-top: 80px;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  font-size: 13px;
}
.process-opening {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 100px;
}
.process-opening img {
  height: 450px;
  width: 100%;
  object-fit: contain;
  object-position: left;
}
.process-opening figcaption {
  font-size: 10px;
  color: var(--muted);
  margin-top: 20px;
}
.process-opening p:not(.eyebrow) {
  margin-top: 25px;
  font-size: 15px;
  color: #65655e;
}
.process-opening .text-link {
  margin-top: 20px;
}
.process-sequence {
  display: grid;
  gap: 75px;
}
.process-step {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 40px;
}
.process-step h2 {
  margin: 15px 0 20px;
}
.process-step p {
  max-width: 350px;
  font-size: 15px;
  color: #65655e;
}
.process-step img {
  height: 440px;
  width: 100%;
  object-fit: contain;
}
.process-step .text-link {
  margin-top: 20px;
}
.closing-note {
  border-top: 1px solid var(--line);
  padding-top: 45px;
}
.closing-note p {
  max-width: 430px;
  margin: 25px 0;
  font-size: 16px;
}
.artist-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 45px;
  align-items: start;
}
.artist-layout > img {
  max-height: 600px;
  object-fit: contain;
}
.artist-layout .prose {
  font-size: 16px;
}
.artist-layout .text-link {
  margin-top: 30px;
}
.will-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.will-reveal.entered {
  opacity: 1;
  transform: none;
}
dialog {
  border: 0;
  max-width: none;
  width: 100vw;
  height: 100dvh;
  max-height: none;
  background: #fff;
  padding: 60px 60px 80px;
  margin: 0;
  overflow: hidden;
}
dialog::backdrop {
  background: #fff;
}
dialog[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}
dialog #large-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.close-image {
  position: absolute;
  top: 22px;
  right: 28px;
  padding: 12px;
  display: flex;
  gap: 28px;
  font-size: 12px;
}
.dialog-bottom {
  position: absolute;
  bottom: 0;
  left: 35px;
  right: 35px;
  display: grid;
  grid-template-columns: 130px 1fr 130px;
  align-items: center;
  gap: 20px;
  height: 65px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  background: #fff;
}
.dialog-bottom p {
  text-align: center;
}
.dialog-bottom button {
  font-size: 12px;
  padding: 15px 0;
}
.dialog-bottom button:first-child {
  text-align: left;
}
.dialog-bottom button:last-child {
  text-align: right;
}
.dialog-bottom button:disabled {
  opacity: 0.25;
}
body:has(dialog[open]) {
  overflow: hidden;
}
@media (min-width: 1600px) {
  :root {
    --side: 250px;
  }
  .header {
    padding-left: 45px;
  }

  .language-switcher {
    margin-left: 0;
    margin-right: 3.2rem;
  }

  .language-switcher select {
    min-width: 7.6rem;
    padding: 0.45rem 1.6rem 0.45rem 0.55rem;
    font-size: 0.76rem;
  }
  .works-grid {
    gap: 70px 50px;
  }
  .main-photo {
    height: 700px;
  }
  .gallery-item .photo-button {
    height: 350px;
  }
}
@media (max-width: 1100px) {
  :root {
    --side: 190px;
    --gutter: 30px;
  }
  .header {
    padding: 35px 20px 25px 26px;
  }
  .brand {
    font-size: 23px;
  }
  .home-intro {
    gap: 25px;
    min-height: 500px;
  }
  .hero-work img {
    height: 420px;
  }
  .home-intro h1 {
    font-size: 57px;
  }
  .works-grid {
    gap: 42px 22px;
  }
  .catalogue-tools {
    flex-wrap: wrap;
    gap: 12px;
  }
  .search {
    width: 45%;
    max-width: none;
  }
  .view-toggle {
    margin-left: auto;
  }
  .work-detail {
    gap: 30px;
    grid-template-columns: 1.2fr 1fr;
  }
  .main-photo {
    height: 450px;
  }
  .feature,
  .process-opening,
  .education-hero {
    gap: 32px;
  }
  .timeline {
    grid-template-columns: 130px 1fr;
    gap: 30px;
  }
  .principles {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .article-layout {
    gap: 35px;
  }
  .album-intro {
    gap: 40px;
  }
  .category-index {
    grid-template-columns: repeat(2, 1fr);
  }
  .category-index img {
    height: 230px;
  }
  .footer > p {
    display: none;
  }
}
@media (max-width: 760px) {
  :root {
    --side: 0px;
    --gutter: 23px;
  }
  html {
    scroll-padding-top: 105px;
  }
  .header {
    position: sticky;
    top: 0;
    inset: auto;
    width: 100%;
    padding: 22px 23px;
    height: 88px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .brand {
    font-size: 23px;
  }
  .brand span {
    font-size: 8px;
    margin-top: 7px;
  }
  .sidebar-note {
    display: none;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 0;
    font-size: 12px;
  }
  #nav {
    display: none;
    position: absolute;
    top: 87px;
    left: 0;
    right: 0;
    margin: 0;
    background: #fff;
    padding: 25px 23px 40px;
    border-bottom: 1px solid var(--line);
    gap: 22px;
    max-height: calc(100dvh - 88px);
    overflow: auto;
    font-size: 18px;
  }
  .menu-open #nav {
    display: flex;
  }
  #nav a[data-nav="artista"] {
    margin-top: 10px;
  }
  main {
    padding-top: 28px;
    padding-bottom: 55px;
  }
  .page-head {
    padding: 15px 0 35px;
  }
  h1 {
    font-size: 48px;
  }
  .page-head .lead {
    font-size: 16px;
    margin-top: 22px;
  }
  .eyebrow {
    font-size: 9px;
    margin-bottom: 20px;
  }
  .home-intro {
    grid-template-columns: 1fr;
    gap: 25px;
    min-height: 0;
  }
  .home-intro h1 {
    font-size: 60px;
  }
  .home-intro .lead {
    max-width: 300px;
    margin-top: 22px;
  }
  .hero-work img {
    height: 420px;
  }
  .hero-work figcaption {
    padding-top: 15px;
  }
  .section {
    margin-top: 70px;
  }
  .section-head {
    padding-top: 20px;
    margin-bottom: 28px;
    gap: 15px;
  }
  .section-head h2 {
    font-size: 26px;
  }
  .section-head > a {
    font-size: 10px;
  }
  .section-head > a span {
    margin-left: 5px;
  }
  .section-intro {
    font-size: 14px;
  }
  .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 20px;
  }
  .work-card .image-space {
    height: 235px;
  }
  .caption h3 {
    font-size: 13px;
  }
  .caption p {
    font-size: 10px;
  }
  .reference {
    font-size: 9px;
  }
  .albums-grid {
    gap: 38px 20px;
  }
  .album-image {
    height: 220px;
  }
  .album-card h3 {
    font-size: 17px;
  }
  .exhibition-card > a {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 25px 0;
  }
  .exhibition-results.is-grid .exhibition-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .exhibition-results.is-grid .exhibition-card > a { display: block; }
  .exhibition-image {
    aspect-ratio: 16 / 10;
  }
  .exhibition-copy h2 {
    font-size: 30px;
  }
  .exhibition-text {
    margin-top: 16px;
    font-size: 12px;
  }
  .exhibition-link {
    margin-top: 20px;
  }
  .exhibition-arrow {
    display: none;
  }
  .tabs {
    gap: 24px;
    margin-bottom: 24px;
  }
  .tabs a {
    font-size: 12px;
  }
  .catalogue-tools {
    gap: 15px;
  }
  .search {
    width: 100%;
  }
  .select-label {
    flex: 1;
  }
  .select-label select {
    width: 100%;
    max-width: 190px;
  }
  .view-toggle {
    gap: 14px;
  }
  .view-toggle button {
    font-size: 10px;
  }
  .result-line {
    font-size: 9px;
    padding: 24px 0 30px;
    align-items: center;
  }
  .result-line p:last-child {
    max-width: 130px;
    text-align: right;
  }
  .feature,
  .education-hero,
  .process-opening,
  .process-step,
  .article-layout,
  .artist-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .feature h2,
  .education-hero h2 {
    font-size: 39px;
  }
  .feature > div > img {
    max-height: 430px;
  }
  .education-hero {
    margin: 35px 0 55px;
  }
  .education-hero > img {
    max-height: 350px;
  }
  .education-hero p:not(.eyebrow) {
    max-width: 400px;
  }
  .prose {
    font-size: 16px;
  }
  .principles {
    gap: 30px 22px;
    margin-top: 40px;
  }
  .principles h3 {
    font-size: 18px;
  }
  .principles p {
    font-size: 12px;
  }
  .reading-index > a {
    grid-template-columns: 1fr 20px;
    gap: 14px;
    padding: 24px 0;
  }
  .reading-index > a > .reference {
    grid-column: 1/-1;
  }
  .reading-index h2 {
    font-size: 24px;
  }
  .reading-index p {
    font-size: 11px;
  }
  .article-layout aside {
    display: grid;
    grid-template-columns: 120px 1fr;
    column-gap: 25px;
  }
  .article-layout aside img {
    grid-row: 1/4;
    margin: 0;
    max-height: 170px;
  }
  .article-layout aside p {
    margin: 0 0 12px;
  }
  .reading-body {
    font-size: 15px;
  }
  .reading-body .article-intro {
    font-size: 19px;
  }
  .work-detail {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .work-info {
    padding-top: 15px;
  }
  .work-info h1 {
    font-size: 37px;
  }
  .main-photo {
    height: 470px;
  }
  .work-info .prose {
    max-width: 600px;
  }
  .breadcrumb {
    margin: 0 0 30px;
    font-size: 10px;
    gap: 10px;
  }
  .work-walk {
    gap: 65px;
  }
  .walk-item {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .walk-item > a {
    grid-row: 1;
  }
  .walk-item img {
    height: 450px;
  }
  .walk-item h2 {
    font-size: 26px;
  }
  .walk-item .text-link {
    margin-top: 15px;
  }
  .album-intro {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
  }
  .album-intro .prose {
    font-size: 14px;
  }
  .album-intro aside {
    border-top: 1px solid var(--line);
    padding-top: 20px;
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 10px;
  }
  .album-intro aside p:not(.eyebrow) {
    margin-bottom: 8px;
  }
  .album-intro aside .credit {
    grid-column: 1/-1;
    max-width: none;
    margin-top: 10px;
  }
  .gallery-grid {
    gap: 30px 18px;
  }
  .gallery-item .photo-button {
    height: 230px;
  }
  .gallery-item figcaption {
    font-size: 8px;
  }
  .timeline {
    display: block;
    padding-top: 10px;
  }
  .chapter-rail {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 55px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
  }
  .timeline-step {
    scroll-margin-top: 115px;
    margin-bottom: 70px;
  }
  .timeline-step > a > img {
    max-height: 450px;
  }
  .step-copy {
    gap: 15px;
    grid-template-columns: 1fr;
  }
  .step-copy > a {
    grid-column: 1;
  }
  .step-copy h2 {
    font-size: 31px;
  }
  .archive-index > a {
    grid-template-columns: 25px 1fr 20px;
    gap: 15px;
  }
  .archive-index p {
    grid-column: 2;
  }
  .archive-index > a > span:last-child {
    grid-column: 3;
    grid-row: 1;
  }
  .archive-index h2 {
    font-size: 23px;
  }
  .chapter-hero img {
    max-height: 430px;
  }
  .process-opening {
    margin-bottom: 65px;
  }
  .process-opening img {
    height: auto;
    max-height: 400px;
  }
  .process-opening h2 {
    font-size: 38px;
  }
  .process-step img {
    height: auto;
    max-height: 430px;
  }
  .process-step {
    padding-top: 30px;
  }
  .process-step h2 {
    font-size: 35px;
  }
  .artist-layout > img {
    max-height: 420px;
    object-position: left;
  }
  .footer {
    padding: 25px 23px;
    align-items: flex-start;
    flex-wrap: wrap;
    font-size: 10px;
    gap: 20px;
  }
  .footer small {
    width: 100%;
    font-size: 9px;
  }
  .category-index {
    gap: 30px 20px;
  }
  .category-index img {
    height: 200px;
  }
  .category-index h3 {
    font-size: 23px;
  }
  dialog {
    padding: 65px 15px 100px;
  }
  .dialog-bottom {
    left: 20px;
    right: 20px;
    grid-template-columns: 80px 1fr 80px;
    gap: 10px;
    height: 90px;
    font-size: 9px;
  }
  .dialog-bottom button {
    font-size: 11px;
  }
  .close-image {
    right: 12px;
    top: 15px;
  }
}
@media (max-width: 420px) {
  .work-card .image-space {
    height: 180px;
  }
  .album-image {
    height: 170px;
  }
  .album-card h3 {
    font-size: 16px;
  }
  .gallery-item .photo-button {
    height: 175px;
  }
  .main-photo {
    height: 380px;
  }
  .hero-work img {
    height: 360px;
  }
  .category-index img {
    height: 160px;
  }
  .select-label {
    font-size: 9px;
  }
  .select-label select {
    font-size: 11px;
    max-width: 170px;
  }
  .view-toggle {
    gap: 9px;
  }
  .tabs {
    gap: 20px;
  }
  .album-card .caption .reference {
    font-size: 8px;
  }
}
@media (max-width: 420px) {
  h1 {
    font-size: 42px;
  }
  .home-intro h1 {
    font-size: 52px;
  }
  h1,
  h2,
  h3 {
    overflow-wrap: break-word;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
  .will-reveal {
    opacity: 1;
    transform: none;
  }
}

/* Archivo amplio: navegación continua, imágenes completas y páginas sin entradas animadas. */
html {
  scroll-behavior: auto;
  scroll-padding-top: 120px;
}
a img,
.reveal,
.will-reveal,
.entered {
  transition: none;
  transform: none;
  opacity: 1;
}
a:hover img {
  opacity: 1;
}
.header {
  inset: 0 0 auto;
  width: 100%;
  height: 100px;
  padding: 25px var(--gutter);
  border-right: 0;
  border-bottom: 1px solid #eee;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand {
  flex-shrink: 0;
  font-size: 27px;
}
.brand span {
  font-size: 9px;
  margin-top: 8px;
}
#nav {
  margin: 0;
  flex-direction: row;
  gap: clamp(14px, 1.5vw, 25px);
  font-size: 12px;
}
#nav a[data-nav="artista"] {
  margin: 0;
}
.sidebar-note {
  display: none;
}
main {
  margin: 0 auto;
  padding: 143px var(--gutter) 80px;
  max-width: 1600px;
}
.footer {
  margin-left: 0;
}
.welcome {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9%;
  padding: 28px 0 70px;
  align-items: center;
}
.welcome h1 {
  font-size: clamp(45px, 5vw, 72px);
  margin-bottom: 27px;
}
.welcome-role {
  font-size: 23px;
  line-height: 1.4;
  margin-bottom: 25px;
  letter-spacing: -0.03em;
}
.welcome-copy > p:not(.eyebrow):not(.welcome-role) {
  max-width: 510px;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 17px;
}
.welcome-links {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  font-size: 13px;
  margin-top: 28px;
}
.welcome-image img {
  width: 100%;
  height: 480px;
  object-fit: contain;
}
.welcome-image figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  color: #666;
  margin-top: 19px;
}
.home-doors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  padding: 50px 0 0;
  border-top: 1px solid var(--line);
}
.door-image img {
  height: 235px;
  width: 100%;
  object-fit: contain;
}
.door-title {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 26px 0 14px;
}
.door-title h2 {
  flex: 1;
  font-size: 29px;
}
.home-doors article > p {
  font-size: 14px;
  max-width: 340px;
  margin-bottom: 19px;
}
.archive-invitation {
  padding: 60px 0 20px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12%;
}
.archive-invitation h2 {
  font-size: 40px;
}
.archive-invitation p {
  margin-top: 24px;
  max-width: 480px;
  font-size: 14px;
}
.archive-links > a {
  display: block;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.archive-links > a:first-child {
  padding-top: 0;
}
.archive-links p {
  margin-top: 7px;
}
.education-opening {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 10%;
  padding: 35px 0 65px;
}
.education-opening .prose {
  max-width: 670px;
  margin: 0;
}
.education-opening .prose p {
  font-size: 17px;
}
.education-opening aside {
  padding-top: 10px;
  font-size: 14px;
}
.education-directory {
  border-top: 1px solid var(--line);
}
.education-directory > a {
  display: grid;
  grid-template-columns: 190px 38px 1fr 24px;
  gap: 35px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}
.education-directory img {
  width: 190px;
  height: 150px;
  object-fit: contain;
}
.education-directory h2 {
  font-size: 32px;
  margin-bottom: 13px;
}
.education-directory p {
  max-width: 690px;
  font-size: 14px;
  color: #555;
}
.directory-count {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 18px;
}
.subfilters {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  font-size: 13px;
  padding: 10px 0 24px;
}
.subfilters .active {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.image-filters {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr auto;
  gap: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  align-items: end;
}
.image-filters label {
  display: grid;
  gap: 12px;
  min-width: 0;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #555;
}
.image-filters input,
.image-filters select {
  width: 100%;
  min-width: 0;
  border: 0;
  border-bottom: 1px solid #aaa;
  background: white;
  height: 35px;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
  border-radius: 0;
}
.archive-search-button {
  border-bottom: 1px solid #aaa;
  height: 35px;
  padding: 0;
  font-size: 13px;
}
.photo-archive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px 30px;
}
.archive-photo {
  min-width: 0;
}
.archive-photo .photo-button {
  height: 235px;
  width: 100%;
}
.archive-photo .photo-button img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}
.archive-photo figcaption {
  padding-top: 16px;
  display: grid;
  gap: 7px;
}
.archive-photo figcaption a {
  font-size: 13px;
  line-height: 1.45;
}
.archive-context {
  font-size: 10px;
  color: var(--muted);
}
#image-context {
  font-size: 10px;
  margin-top: 7px;
  max-height: 65px;
  overflow-y: auto;
}
#image-context a {
  display: inline-block;
  margin: 0 8px 3px;
  text-decoration: underline;
  text-underline-offset: 2px;
}
#image-context span {
  display: block;
  color: #666;
}
.exhibition-search {
  max-width: 500px;
  margin: 25px 0;
}
.journey-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 50px;
  padding-bottom: 25px;
}
.journey-heading h1 {
  font-size: 33px;
  letter-spacing: -0.04em;
}
.journey-heading p {
  font-size: 12px;
  max-width: 450px;
  color: #777;
  line-height: 1.6;
}
.journey {
  display: grid;
  grid-template-columns: 44% 49%;
  gap: 7%;
  align-items: start;
}
.journey-preview {
  position: sticky;
  top: 125px;
  align-self: start;
}
#journey-search {
  display: flex;
  border-bottom: 1px solid #b5b5b0;
  width: min(260px, 100%);
}
#journey-query {
  background: white;
  border: 0;
  padding: 8px 0;
  width: 100%;
  font-size: 18px;
  min-width: 0;
}
#journey-search button {
  padding: 8px;
}
.journey-help {
  font-size: 10px;
  color: #777;
  margin: 9px 0 24px;
}
.journey-image {
  height: min(44vh, 420px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.journey-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}
.journey-preview figcaption {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  font-size: 13px;
  margin-top: 22px;
}
.journey-controls {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 22px;
  font-size: 10px;
  color: #777;
}
.journey-controls button {
  padding: 8px;
  font-size: 17px;
}
.journey-controls[hidden] {
  display: none;
}
.journey-entry {
  border-bottom: 1px solid #d8d8d4;
  scroll-margin-top: 135px;
}
.journey-entry > a {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 28px 0;
  min-height: 147px;
  color: #777;
}
.journey-entry:first-child > a {
  padding-top: 0;
}
.journey-entry h2 {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}
.journey-entry h3 {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 9px;
  font-weight: 500;
  letter-spacing: 0;
}
.journey-entry p {
  font-size: 14px;
  line-height: 1.75;
}
.journey-entry.selected > a,
.journey-entry > a:hover,
.journey-entry > a:focus-visible {
  color: #20201e;
}
.journey-entry.selected h2 {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}
#journey-empty {
  padding: 30px 0;
  font-size: 16px;
}
.chapter-top {
  display: flex;
  gap: 30px;
  font-size: 12px;
  align-items: center;
}
.chapter-top > div {
  margin-left: auto;
  display: flex;
  gap: 25px;
}
.chapter-title {
  margin: 60px 0;
  max-width: 1000px;
}
.chapter-title h1 {
  font-size: 58px;
}
.chapter-reader {
  display: grid;
  grid-template-columns: 185px minmax(0, 1fr);
  gap: 70px;
}
.chapter-contents {
  position: sticky;
  top: 140px;
  align-self: start;
  font-size: 12px;
}
.chapter-contents button {
  display: block;
  text-align: left;
  padding: 10px 0;
  line-height: 1.5;
}
.chapter-reader .prose {
  margin: 0;
  max-width: 760px;
}
.chapter-reader .chapter-hero {
  margin-bottom: 50px;
}
.chapter-reader .chapter-hero img {
  max-height: 570px;
  object-position: left;
}
.chapter-reader .works-grid {
  gap: 45px 28px;
}
.chapter-reader .work-card .image-space {
  height: 220px;
}
.chapter-reader .album-image {
  height: 250px;
}
@media (max-width: 1200px) and (min-width: 761px) {
  .header {
    height: 115px;
    align-items: flex-start;
    gap: 25px;
    padding-top: 24px;
  }
  #nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 750px;
    gap: 15px 21px;
    padding-top: 6px;
  }
  main {
    padding-top: 150px;
  }
  .journey-preview {
    top: 139px;
  }
  .journey-entry > a {
    grid-template-columns: 95px 1fr;
    gap: 20px;
  }
  .image-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .photo-archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .welcome-image img {
    height: 430px;
  }
}
@media (max-width: 760px) {
  .header {
    height: 84px;
    padding: 18px 23px;
    align-items: center;
  }
  .brand {
    font-size: 24px;
  }
  .menu-toggle {
    display: block;
  }
  #nav {
    display: none;
    position: absolute;
    top: 83px;
    left: 0;
    right: 0;
    background: white;
    margin: 0;
    padding: 25px 23px 32px;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 19px;
    font-size: 15px;
  }
  .header.menu-open #nav {
    display: flex;
  }
  main {
    margin: 0;
    padding: 112px 23px 60px;
  }
  .footer {
    margin: 0;
  }
  .welcome {
    grid-template-columns: 1fr;
    padding: 12px 0 45px;
    gap: 35px;
  }
  .welcome h1 {
    font-size: 49px;
  }
  .welcome-role {
    font-size: 22px;
  }
  .welcome-image img {
    height: 360px;
  }
  .welcome-copy > p:not(.eyebrow):not(.welcome-role) {
    font-size: 14px;
  }
  .welcome-links {
    font-size: 12px;
    gap: 22px;
  }
  .home-doors {
    grid-template-columns: 1fr;
    gap: 43px;
    padding-top: 40px;
  }
  .door-image img {
    height: 250px;
  }
  .door-title {
    margin-top: 20px;
  }
  .home-doors article > p {
    max-width: none;
  }
  .archive-invitation {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 40px;
  }
  .archive-invitation h2 {
    font-size: 34px;
  }
  .education-opening {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 12px 0 38px;
  }
  .education-directory > a {
    grid-template-columns: 90px 1fr 15px;
    gap: 18px;
    padding: 25px 0;
  }
  .education-directory > a > .reference {
    display: none;
  }
  .education-directory img {
    height: 105px;
    width: 90px;
  }
  .education-directory h2 {
    font-size: 24px;
  }
  .education-directory p {
    font-size: 12px;
  }
  .directory-count {
    margin-top: 12px;
  }
  .image-filters {
    grid-template-columns: 1fr 1fr;
    gap: 20px 15px;
  }
  .image-filters .image-search {
    grid-column: 1 / -1;
  }
  .image-filters label {
    font-size: 9px;
  }
  .archive-search-button {
    align-self: end;
  }
  .image-filters label:has([name="coleccion"]) {
    grid-column: 1 / -1;
  }
  .photo-archive-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px 18px;
  }
  .archive-photo .photo-button {
    height: 180px;
  }
  .archive-photo figcaption a {
    font-size: 12px;
  }
  .result-line {
    gap: 20px;
    align-items: flex-start;
  }
  .result-line a {
    font-size: 11px;
    text-align: right;
  }
  .journey-heading {
    display: block;
    padding-bottom: 25px;
  }
  .journey-heading h1 {
    font-size: 35px;
    margin-bottom: 15px;
  }
  .journey-heading p {
    font-size: 11px;
  }
  .journey {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .journey-preview {
    top: 83px;
    z-index: 5;
    padding: 14px 0 12px;
    background: white;
    border-bottom: 1px solid var(--line);
  }
  #journey-search {
    width: 100%;
  }
  #journey-query {
    font-size: 15px;
    padding-top: 0;
  }
  .journey-help {
    margin: 5px 0 10px;
    font-size: 9px;
  }
  .journey-image {
    height: min(26vh, 190px);
  }
  .journey-image img {
    object-position: center;
  }
  .journey-preview figcaption {
    font-size: 11px;
    margin-top: 10px;
  }
  .journey-controls {
    margin-top: 2px;
    gap: 15px;
    justify-content: flex-end;
  }
  .journey-controls button {
    padding: 3px 8px;
  }
  .journey-entry > a {
    grid-template-columns: 84px 1fr;
    gap: 18px;
    min-height: 140px;
    padding: 25px 0;
  }
  .journey-entry:first-child > a {
    padding-top: 25px;
  }
  .journey-entry h2 {
    font-size: 18px;
  }
  .journey-entry p {
    font-size: 13px;
  }
  .journey-entry h3 {
    font-size: 13px;
  }
  .journey-entry {
    scroll-margin-top: 390px;
  }
  .chapter-title {
    margin: 35px 0;
  }
  .chapter-title h1 {
    font-size: 40px;
  }
  .chapter-top {
    font-size: 10px;
    gap: 12px;
  }
  .chapter-top > div {
    gap: 15px;
  }
  .chapter-reader {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .chapter-contents {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
  }
  .chapter-contents .eyebrow {
    width: 100%;
    margin-bottom: 0;
  }
  .chapter-reader .work-card .image-space {
    height: 175px;
  }
  .chapter-reader .album-image {
    height: 180px;
  }
  #image-context {
    max-height: 55px;
    font-size: 9px;
  }
}
@media (max-width: 380px) {
  .archive-photo .photo-button {
    height: 140px;
  }
  .education-directory > a {
    grid-template-columns: 66px 1fr 12px;
    gap: 12px;
  }
  .education-directory img {
    width: 66px;
  }
  .journey-entry > a {
    grid-template-columns: 73px 1fr;
    gap: 13px;
  }
  .welcome h1 {
    font-size: 43px;
  }
}

/* Presentación visual del índice de arte infantil. */
.education-directory > a { grid-template-columns: minmax(290px, .8fr) 1.2fr; gap: clamp(24px, 5vw, 72px); align-items: stretch; }
.education-directory-image { position: relative; min-height: 235px; overflow: hidden; background: #f1f0ec; }
.education-directory-image img { width: 100%; height: 100%; min-height: 235px; object-fit: cover; display: block; }
.education-directory-image .directory-count { position: absolute; left: 14px; bottom: 12px; margin: 0; padding: 6px 9px; color: #fff; background: rgba(0,0,0,.7); }
.education-directory-copy { padding: 8px 38px 8px 0; }
.education-directory-copy .reference { display: block; margin-bottom: 26px; }
.education-directory-copy h2 { font-size: clamp(30px, 3.4vw, 48px); margin-bottom: 16px; }
.education-directory-copy p { max-width: 560px; font-size: 15px; color: #555; }
.directory-link, .reading-link { display: inline-block; margin-top: 28px; font-size: 12px; border-bottom: 1px solid currentColor; padding-bottom: 7px; }
.reading-index > a { grid-template-columns: minmax(270px, .9fr) 1.5fr; gap: clamp(24px, 5vw, 72px); padding: 34px 0; }
.reading-image { height: 230px; overflow: hidden; background: #f1f0ec; }
.reading-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.reading-copy { padding: 8px 38px 8px 0; }
.reading-index h2 { font-size: clamp(28px, 3.2vw, 44px); margin-top: 22px; }
@media (max-width: 760px) {
  .education-directory > a, .reading-index > a { grid-template-columns: 1fr; gap: 18px; }
  .education-directory-image, .education-directory-image img { min-height: 190px; height: 190px; }
  .education-directory-copy, .reading-copy { padding-right: 0; }
  .education-directory-copy .reference { margin-bottom: 14px; }
  .education-directory-copy h2, .reading-index h2 { font-size: 29px; }
  .reading-image { height: 190px; }
}

/* Las obras infantiles se recorren como salas, conservando siempre el encuadre completo. */
.education-photo-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 18px;
}
.education-photo-grid .gallery-group { margin-top: 12px; }
.education-photo-grid .gallery-item .photo-button {
  height: auto;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f4f3ef;
}
.education-photo-grid .gallery-item img { object-fit: contain; }
.education-photo-grid .gallery-item figcaption { margin-top: 9px; padding-top: 7px; }
@media (max-width: 760px) {
  .education-photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 13px; }
}
@media (max-width: 520px) {
  .education-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 11px; }
}

/* Portada: una composición de imágenes, no una única obra representativa. */
.home-cover {
  display: grid;
  grid-template-columns: minmax(225px, 0.62fr) minmax(0, 1.55fr);
  gap: clamp(36px, 6vw, 112px);
  align-items: end;
  padding: 18px 0 clamp(72px, 9vw, 138px);
}
.home-cover-copy {
  padding-bottom: 8px;
}
.home-cover-copy h1 {
  margin: 0 0 27px;
  font-size: clamp(64px, 7.3vw, 132px);
  letter-spacing: -0.085em;
  line-height: 0.8;
}
.home-cover-copy > p:not(.eyebrow) {
  max-width: 245px;
  font-size: 16px;
  line-height: 1.45;
}
.home-cover-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 29px;
  margin-top: 30px;
  font-size: 12px;
}
.home-cover-actions a {
  border-bottom: 1px solid currentColor;
  padding-bottom: 5px;
}
.cover-mosaic {
  display: grid;
  grid-template-columns: 0.96fr 0.73fr 1.12fr;
  grid-template-rows: minmax(230px, 0.93fr) minmax(220px, 0.72fr);
  gap: 12px;
  min-height: min(62vw, 660px);
}
.cover-mosaic > a {
  min-width: 0;
  overflow: hidden;
  background: #eeede8;
}
.cover-tile {
  position: relative;
  height: 100%;
  overflow: hidden;
}
.cover-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease, opacity 0.35s ease;
}
.cover-mosaic > a:hover img,
.cover-mosaic > a:focus-visible img {
  transform: scale(1.035);
  opacity: 0.94;
}
.cover-tile figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  min-width: 125px;
  padding: 8px 10px 7px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 10px;
  letter-spacing: 0.01em;
}
.cover-portrait { grid-area: 1 / 1 / 3 / 2; }
.cover-portrait img { object-position: 57% center; }
.cover-mobile { grid-area: 1 / 2 / 2 / 4; }
.cover-mobile img { object-position: center 54%; }
.cover-sculpture { grid-area: 2 / 2 / 3 / 3; }
.cover-sculpture img { object-position: center 38%; }
.cover-landscape { grid-area: 2 / 3 / 3 / 4; }
.cover-landscape img { object-position: 52% center; }
.home-routes {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.home-routes > header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 25px;
  margin-bottom: 34px;
}
.home-routes .eyebrow {
  margin: 0;
}
.home-routes h2 {
  font-size: clamp(27px, 3vw, 42px);
}
.route-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}
.route-grid > a {
  min-width: 0;
}
.route-1 { grid-column: span 4; }
.route-2 { grid-column: span 3; }
.route-3 { grid-column: span 5; }
.route-4 { grid-column: span 5; }
.route-5 { grid-column: span 7; }
.route-card {
  position: relative;
  height: clamp(210px, 22vw, 340px);
  overflow: hidden;
  background: #eeede8;
  color: #fff;
}
.route-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease, opacity 0.35s ease;
}
.route-grid > a:hover .route-card img,
.route-grid > a:focus-visible .route-card img {
  transform: scale(1.035);
  opacity: 0.9;
}
.route-card::after {
  position: absolute;
  inset: 42% 0 0;
  content: "";
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.58));
  pointer-events: none;
}
.route-card > div {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 12px;
  padding: 18px;
}
.route-card .reference {
  color: inherit;
  font-size: 10px;
}
.route-card h3 {
  font-size: clamp(21px, 2vw, 30px);
  line-height: 1;
}
.route-card > div > span:last-child {
  font-size: 17px;
}
.route-2 img { object-position: center 44%; }
.route-4 img { object-position: 50% 31%; }

@media (max-width: 1100px) {
  .home-cover {
    grid-template-columns: minmax(195px, 0.57fr) minmax(0, 1.43fr);
    gap: 34px;
  }
  .home-cover-copy h1 { font-size: clamp(58px, 7vw, 94px); }
  .cover-mosaic { min-height: 500px; }
  .route-card { height: 260px; }
}
@media (max-width: 760px) {
  .home-cover {
    display: block;
    padding: 4px 0 66px;
  }
  .home-cover-copy {
    padding: 0 0 38px;
  }
  .home-cover-copy h1 {
    margin-bottom: 22px;
    font-size: clamp(65px, 19vw, 94px);
  }
  .home-cover-copy > p:not(.eyebrow) { font-size: 15px; }
  .cover-mosaic {
    grid-template-columns: 1.02fr 0.98fr;
    grid-template-rows: 330px 205px 190px;
    gap: 8px;
    min-height: 0;
  }
  .cover-portrait { grid-area: 1 / 1 / 2 / 2; }
  .cover-mobile { grid-area: 1 / 2 / 2 / 3; }
  .cover-sculpture { grid-area: 2 / 1 / 3 / 2; }
  .cover-landscape { grid-area: 2 / 2 / 4 / 3; }
  .cover-tile figcaption {
    min-width: 0;
    padding: 7px 8px;
    font-size: 9px;
  }
  .home-routes { padding-top: 18px; }
  .home-routes > header { margin-bottom: 22px; }
  .home-routes h2 { font-size: 31px; }
  .route-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .route-1, .route-2, .route-3, .route-4, .route-5 { grid-column: auto; }
  .route-1, .route-4 { grid-column: span 2; }
  .route-card { height: 205px; }
  .route-1 .route-card, .route-4 .route-card { height: 250px; }
  .route-card > div { padding: 13px; gap: 9px; }
  .route-card h3 { font-size: 22px; }
}
@media (max-width: 380px) {
  .cover-mosaic { grid-template-rows: 280px 180px 160px; }
  .route-card { height: 174px; }
  .route-1 .route-card, .route-4 .route-card { height: 220px; }
}
/* Ajustes comprobados en la revisión móvil. */
.education-opening > figure {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f4f3ef url("assets/arc-000043.webp") center / cover no-repeat;
}
.education-opening > figure img {
  opacity: 0;
  position: absolute;
  inset: 0;
}
.education-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 22px;
  padding: 26px 0 18px;
}
.education-directory > a {
  display: block;
  min-width: 0;
  padding: 0 0 18px;
}
.education-directory-image {
  min-height: 0;
  aspect-ratio: 16 / 10;
}
.education-directory-image img {
  min-height: 0;
  width: 100%;
  height: 100%;
}
.education-directory-copy {
  padding: 15px 0 0;
}
.education-directory-copy .reference {
  margin-bottom: 13px;
}
.education-directory-copy h2 {
  font-size: clamp(21px, 1.7vw, 29px);
  margin-bottom: 12px;
}
.education-directory-copy p {
  font-size: 12px;
  line-height: 1.5;
}
.education-directory-copy .directory-link {
  margin-top: 16px;
}
@media (max-width: 760px) {
  .education-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
}
@media (max-width: 520px) {
  .education-directory { grid-template-columns: 1fr; gap: 26px; }
}
.education-opening {
  grid-template-columns: 1fr 1.35fr;
  gap: 8%;
  align-items: center;
}
.education-opening > figure img {
  width: 100%;
  max-height: 350px;
  object-fit: contain;
}
.education-opening > figure figcaption {
  font-size: 11px;
  margin-top: 20px;
  color: var(--muted);
}
.education-opening .prose p {
  font-size: 15px;
}
.journey-entry > a {
  grid-template-columns: 120px 1fr;
}
.journey-entry h2 {
  font-size: 20px;
  overflow-wrap: normal;
}
@media (max-width: 760px) {
  .header {
    position: fixed;
  }
  .education-opening {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .education-opening > figure img {
    max-height: 250px;
  }
  .journey-entry > a {
    grid-template-columns: 92px 1fr;
  }
  .journey-entry h2 {
    font-size: 16px;
  }
}
@media (max-width: 380px) {
  .journey-entry > a {
    grid-template-columns: 84px 1fr;
  }
  .journey-entry h2 {
    font-size: 15px;
  }
}

/* Portada: una imagen de encuentro antes de entrar en la selección de obra. */
.home-opening {
  position: relative;
  aspect-ratio: 3 / 2;
  min-height: 0;
  overflow: hidden;
  background: #20211f;
}
.opening-photo-link,
.opening-photo,
.opening-photo img {
  display: block;
  width: 100%;
  height: 100%;
}
.opening-photo-link {
  position: absolute;
  inset: 0;
}
.opening-photo img {
  object-fit: cover;
  object-position: center top;
  transition: transform 0.8s ease, opacity 0.35s ease;
}
.opening-photo-link:hover img,
.opening-photo-link:focus-visible img {
  transform: scale(1.018);
  opacity: 0.94;
}
.opening-photo::after {
  position: absolute;
  inset: 45% 0 0;
  content: "";
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.48));
  pointer-events: none;
}
.opening-photo figcaption {
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  padding: 7px 9px;
  background: rgba(255, 255, 255, 0.92);
  color: #222;
  font-size: 10px;
}
.opening-title {
  position: absolute;
  z-index: 1;
  bottom: clamp(34px, 5vw, 80px);
  left: clamp(24px, 4vw, 62px);
  color: #fff;
}
.opening-title .eyebrow {
  margin-bottom: 19px;
  color: rgba(255, 255, 255, 0.76);
}
.opening-title h1 {
  margin: 0;
  max-width: 750px;
  font-size: clamp(62px, 8.7vw, 156px);
  letter-spacing: -0.09em;
  line-height: 0.75;
  text-transform: uppercase;
}
.opening-title > p:not(.eyebrow) {
  margin-top: 29px;
  font-size: 14px;
}
.home-opening-link {
  display: inline-block;
  margin-top: 20px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 6px;
  font-size: 12px;
}
.home-carousel {
  padding-top: clamp(65px, 8vw, 118px);
}
.home-carousel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 29px;
}
.home-carousel-head .eyebrow {
  margin-bottom: 15px;
}
.home-carousel-head h2 {
  font-size: clamp(32px, 3.6vw, 54px);
}
.carousel-controls {
  display: flex;
  gap: 7px;
}
.carousel-controls button {
  width: 43px;
  height: 43px;
  border: 1px solid var(--line);
  font-size: 20px;
}
.carousel-controls button:hover,
.carousel-controls button:focus-visible {
  border-color: #222;
  color: #222;
}
.carousel-viewport {
  overflow-x: auto;
  scrollbar-width: thin;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 16px;
}
.carousel-track {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  width: max-content;
}
.carousel-track > a {
  width: min(67vw, 850px);
  scroll-snap-align: start;
}
.carousel-slide {
  position: relative;
  height: min(48vw, 600px);
  overflow: hidden;
  background: #f1f1ee;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease, opacity 0.35s ease;
}
.carousel-track > a:hover img,
.carousel-track > a:focus-visible img {
  transform: scale(1.022);
  opacity: 0.92;
}
.carousel-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 18px;
  padding: 17px 20px;
  background: rgba(255, 255, 255, 0.94);
}
.carousel-caption h3 {
  font-size: clamp(24px, 2.4vw, 38px);
  line-height: 0.95;
}
.carousel-caption > span:last-child {
  font-size: 17px;
}
@media (max-width: 760px) {
  .home-opening {
    min-height: 560px;
    margin-top: -28px;
  }
  .opening-photo img { object-position: 58% center; }
  .opening-title {
    right: 23px;
    bottom: 37px;
    left: 23px;
  }
  .opening-title h1 { font-size: clamp(58px, 18vw, 92px); }
  .opening-title > p:not(.eyebrow) { margin-top: 23px; }
  .opening-photo figcaption { display: none; }
  .home-carousel { padding-top: 58px; }
  .home-carousel-head { margin-bottom: 22px; }
  .home-carousel-head h2 { font-size: 31px; }
  .carousel-controls button { width: 38px; height: 38px; }
  .carousel-track > a { width: 84vw; }
  .carousel-slide { height: 108vw; }
  .carousel-caption { padding: 14px; gap: 12px; }
  .carousel-caption h3 { font-size: 29px; }
}

/* La obra ocupa la portada; la identidad editorial queda deliberadamente discreta. */
.home-cover {
  display: block;
  padding: 12px 0 clamp(70px, 8vw, 125px);
}
.home-cover-copy {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: baseline;
  gap: 18px 28px;
  padding: 0 0 19px;
}
.home-cover-copy .eyebrow {
  grid-column: 1 / -1;
  margin: 0 0 2px;
}
.home-cover-copy h1 {
  margin: 0;
  font-size: clamp(33px, 3.6vw, 56px);
  letter-spacing: -0.07em;
  line-height: 0.92;
}
.home-cover-copy > p:not(.eyebrow) {
  max-width: none;
  font-size: 12px;
  color: var(--muted);
}
.home-cover-link {
  border-bottom: 1px solid currentColor;
  padding-bottom: 5px;
  font-size: 12px;
}
.cover-mosaic {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: minmax(260px, 1fr) minmax(230px, 0.84fr);
  gap: 10px;
  min-height: min(56vw, 670px);
}
.cover-mobile { grid-area: 1 / 1 / 3 / 5; }
.cover-sculpture { grid-area: 1 / 5 / 2 / 8; }
.cover-painting { grid-area: 1 / 8 / 2 / 13; }
.cover-landscape { grid-area: 2 / 5 / 3 / 10; }
.cover-structure { grid-area: 2 / 10 / 3 / 13; }
.cover-mobile img { object-position: center 57%; }
.cover-sculpture img { object-position: center 44%; }
.cover-painting img { object-position: center 52%; }
.cover-landscape img { object-position: center; }
.cover-structure img { object-position: center 62%; }
@media (max-width: 760px) {
  .home-cover { padding: 4px 0 66px; }
  .home-cover-copy {
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 13px 20px;
    padding-bottom: 18px;
  }
  .home-cover-copy .eyebrow { grid-column: 1 / -1; }
  .home-cover-copy h1 { font-size: 39px; }
  .home-cover-copy > p:not(.eyebrow) { display: none; }
  .home-cover-link { font-size: 11px; }
  .cover-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 300px 190px 180px;
    gap: 7px;
    min-height: 0;
  }
  .cover-mobile { grid-area: 1 / 1 / 2 / 2; }
  .cover-sculpture { grid-area: 1 / 2 / 2 / 3; }
  .cover-painting { grid-area: 2 / 1 / 3 / 3; }
  .cover-landscape { grid-area: 3 / 1 / 4 / 2; }
  .cover-structure { grid-area: 3 / 2 / 4 / 3; }
}
@media (max-width: 380px) {
  .cover-mosaic { grid-template-rows: 255px 165px 150px; }
}

/* Portada: selección de obra en un único formato de galería. */
.home-carousel-hero {
  position: relative;
  padding: 0 0 clamp(44px, 6vw, 88px);
}
.home-carousel-stage {
  position: relative;
  overflow: hidden;
  background: #fff;
  /* La portada usa imágenes 3:2: mantenemos su encuadre completo sin bandas. */
  aspect-ratio: 3 / 2;
}
.home-carousel-slides,
.home-carousel-slide {
  position: absolute;
  inset: 0;
}
.home-carousel-slide {
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 600ms ease;
}
.home-carousel-slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}
.home-carousel-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #fff;
}
.home-carousel-intro {
  position: absolute;
  z-index: 1;
  left: clamp(28px, 5vw, 82px);
  top: 50%;
  transform: translateY(-50%);
  color: #171816;
  max-width: 360px;
}
.home-carousel-intro .eyebrow {
  margin-bottom: 22px;
  color: #4f6871;
}
.home-carousel-intro h1 {
  margin: 0;
  font-size: clamp(42px, 5.5vw, 86px);
  line-height: .86;
  letter-spacing: -.08em;
}
.home-carousel-intro > p:not(.eyebrow) {
  margin: 27px 0 0;
  max-width: 235px;
  font-size: 15px;
  line-height: 1.4;
}
.home-carousel-intro a {
  display: inline-block;
  margin-top: 24px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 6px;
  font-size: 12px;
}
.home-carousel-label {
  position: absolute;
  z-index: 1;
  left: 18px;
  bottom: 16px;
  margin: 0;
  padding: 0;
  background: transparent;
  color: #222;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.home-carousel-nav {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 15px;
}
.home-carousel-nav button {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #222;
  font-size: 24px;
  line-height: 1;
}
.home-carousel-nav button:hover,
.home-carousel-nav button:focus-visible {
  transform: translateX(3px);
  text-decoration: underline;
  text-underline-offset: 5px;
}
@media (max-width: 760px) {
  .home-carousel-stage {
    aspect-ratio: 4 / 3;
  }
  .home-carousel-hero {
    padding-bottom: 34px;
  }
  .home-carousel-intro {
    left: 23px;
    top: 43%;
  }
  .home-carousel-intro h1 { font-size: clamp(42px, 14vw, 72px); }
  .home-carousel-intro > p:not(.eyebrow) { font-size: 14px; }
  .home-carousel-nav { right: 12px; bottom: 12px; }
  .home-carousel-label { left: 12px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-carousel-slide { transition: none; }
}
/* Deja espacio para la cabecera fija al revelar una familia filtrada. */
#catalogue-results {
  scroll-margin-top: 110px;
}
