/* Keep the first photograph in its original position. */
header { column-gap: clamp(16px, 2.4vw, 34px); }
header .site-links {
  margin: 0 0 0 auto;
  column-gap: clamp(18px, 2.35vw, 34px);
}
.site-links a {
  color: #d2cbbc;
  font: 16px/1.3 "Iowan Old Style", Baskerville, Georgia, serif;
  white-space: nowrap;
}
.languages { position: relative; }
.languages::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -9px;
  height: 14px;
  border-left: 1px solid #d4bf8352;
}
.return-short { display: none; }
#inicio:focus, .artist-end section:focus { outline: none; }
.artist-end {
  width: min(960px, var(--room));
  margin: 0 auto;
  padding-bottom: clamp(22px, 4svh, 54px);
  color: #d3cfc6;
  --gold: #dec780;
  --rule: 1px solid rgba(201, 185, 141, .25);
}
.artist-end h2 {
  margin: 0;
  font: 400 14px/1.4 var(--interface);
  letter-spacing: .045em;
  color: #bab9b6;
}
.artist, .biography {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(36px, 6vw, 90px);
  padding-block: clamp(46px, 8svh, 100px) clamp(44px, 7.4svh, 96px);
}
.biography {
  align-items: start;
  padding-block: clamp(32px, 5.5svh, 62px) clamp(26px, 4.5svh, 50px);
  border-top: var(--rule);
  scroll-margin-top: 26px;
}
.biography h2 {
  font: 400 clamp(24px, 2.1vw, 30px)/1.2 "Iowan Old Style", Baskerville, Georgia, serif;
  letter-spacing: -.018em;
  color: var(--gold);
}
.bio-copy p {
  margin: 0;
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.52;
  text-wrap: pretty;
}
.bio-copy p + p { margin-top: .85em; }
.portrait { display: block; width: 100%; height: auto; }
.artist-text p {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.53;
  margin: .85em 0 0;
  text-wrap: pretty;
}
.artist-text .artist-signature {
  color: var(--gold);
  margin-top: 1.35em;
  font-size: clamp(19px, 1.58vw, 23px);
  line-height: 1.35;
  text-wrap: balance;
}
.artist-signature em { font-style: italic; }
.artist-text .artist-name {
  margin: 0 0 .4em;
  font-family: "Iowan Old Style", Baskerville, Georgia, serif;
  font-size: clamp(31px, 3.25vw, 45px);
  line-height: 1.12;
  letter-spacing: -.036em;
  color: var(--gold);
  text-wrap: balance;
}
.artist-end a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: .4em;
  text-decoration: none;
  text-underline-offset: .27em;
  text-decoration-thickness: 1px;
}
.artist-end a:is(:hover,:focus-visible) { text-decoration-line: underline; color: #fff9eb; }
.journey, .to-start { color: #ccc8bf; font: 14px/1.4 var(--interface); }
.journey { margin-top: 14px; }
.file-type { font-size: 11px; letter-spacing: .05em; color: #b6b3ac; }
.journey [aria-hidden], .to-start [aria-hidden] {
  color: var(--gold);
  font: 16px/1 var(--interface);
}
.end-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: var(--rule);
  padding-top: clamp(16px, 3svh, 36px);
}
.about-link, .contact-link { color: var(--gold); font-size: 20px; }
.about-link span, .contact-link span { font: 17px/1 var(--interface); }
@media (orientation: landscape) and (min-width: 761px) and (max-height: 560px) {
  .artist-end { width: min(880px, calc(100% - 88px)); }
  .artist, .biography { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 32px; }
  .artist-text .artist-name { font-size: 31px; }
}
@media (max-width: 760px) {
  .artist-end { width: min(480px, calc(100% - 44px)); }
  .artist { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; padding: 36px 0; }
  .biography { display: block; padding-block: 30px 24px; }
  .biography h2 { margin-bottom: .7em; }
  .bio-copy p { line-height: 1.48; }
  .portrait { width: min(76%, 290px); align-self: center; }
  .artist-text p { line-height: 1.48; }
  .artist-text .artist-name { font-size: clamp(28px, 7.7vw, 36px); }
}
@media (max-width: 610px), (max-height: 445px) {
  header { column-gap: 16px; }
  .site-links a { font-size: 15px; }
  header .site-links { column-gap: 16px; }
  .return-full { display: none; }
  .return-short { display: inline; }
  .languages a { min-width: 36px; }
  .languages::before { left: -3px; }
  .languages { margin-right: -7px; }
}
@media (max-width: 380px), (max-height: 280px) {
  header { column-gap: 8px; }
  header .site-links { column-gap: 12px; }
  .site-links a { font-size: 14px; }
  .languages::before { display: none; }
  .languages a { min-width: 32px; }
  header h1 { font-size: 21px; }
  .projection .return, .book-page .return-link { gap: 3px; font-size: 13px; }
}
@media (max-width: 319px), (max-height: 235px) {
  header { flex-wrap: wrap; }
  header .site-links { order: 3; width: 100%; justify-content: space-between; }
}


/* Artist page and the two exits from the gallery. */
.profile-page { --room: min(1100px, calc(100% - 88px)); min-height: 100svh; }
.profile-page .return-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 8px;
  font: 14px/1.3 var(--interface);
  color: #c6c0b3;
  text-decoration: none;
}
.profile-page .return-link:hover { text-decoration: underline; text-underline-offset: .3em; }
.profile-page main { padding-bottom: 0; }
.profile-page .artist { padding-top: clamp(22px, 5svh, 68px); }
.profile-page .artist-name { margin-bottom: .32em; }
.profile-page .statement-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.7em;
  color: #c7c2b8;
}
.statement-title::after { content: ""; width: 36px; height: 1px; background: #dec78085; }
.gallery-links { flex-wrap: wrap; column-gap: clamp(20px, 4vw, 56px); row-gap: 4px; }
.gallery-links .to-start { margin-left: auto; }
@media (max-width: 760px) {
  .profile-page { --room: calc(100% - 36px); }
  .profile-page .portrait { width: min(68%, 250px); }
  .profile-page .artist { padding-top: 16px; }
  .profile-page .statement-title { margin-bottom: 1.3em; }
}
@media (max-width: 480px) {
  .gallery-links .to-start { flex-basis: 100%; }
}
@media (max-width: 380px) {
  .profile-page .return-link { font-size: 13px; gap: 3px; }
}
