/* Museum studies, objects and their sources sit on one continuous sheet. */
#collection { padding-bottom: 0; }
.collection-arrival .object-one figcaption { display: block; text-align: center; }
.coin-leaf, .passage {
  --reading-size: clamp(1.24rem, 1.7vw, 1.7rem);
  --leaf-gap: clamp(.75rem, 1.9vw, 2.4rem);
  color: var(--ink);
}
.coin-leaf { margin-inline: calc(-1 * var(--gutter)); padding-top: clamp(7rem, 17svh, 13rem); }
.coin-field, .seal-leaf, .line-leaf, .letters-leaf {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--leaf-gap);
  padding-inline: var(--gutter);
}
.passage-copy :is(h2, h3) {
  margin: 0;
  font: 400 clamp(4.1rem, 6.9vw, 8rem)/.86 var(--serif);
  letter-spacing: -.055em;
}
.passage-copy > p {
  max-width: 33ch;
  margin: .8em 0 0;
  font: 400 var(--reading-size)/1.32 var(--serif);
}
.passage-copy > :is(h2, h3) + p { margin-top: 1.25em; }
.passage-source {
  display: inline-block;
  color: #514b42;
  font: 400 .875rem/1.55 Arial, sans-serif;
  text-decoration: underline;
  text-decoration-color: #938775;
  text-underline-offset: .3em;
}
.passage-copy > .passage-source { padding-block: .5rem; margin-top: .65rem; }
.passage-source:hover { text-decoration-color: currentColor; }
.passage-source:focus-visible,
.passage-object button:focus-visible { outline: 1px solid currentColor; outline-offset: 5px; }
.coin-leaf figcaption, .passage :where(figcaption, .passage-credit) {
  color: #5c564e;
  font: 400 clamp(.81rem, .91vw, .94rem)/1.46 Arial, sans-serif;
}
.passage-study figcaption { margin-top: .85rem; }
.passage-object button {
  position: relative;
  display: block;
  width: 100%;
  appearance: none;
  overflow: clip;
  background: transparent;
  cursor: zoom-in;
}
.passage-object button img { position: absolute; max-width: none; height: auto; inset: 50% auto auto 50%; translate: -50% -50%; }
.passage-object figcaption { text-align: center; margin-top: .65rem; color: var(--ink); }
.coin-field { position: relative; z-index: 1; align-items: center; }
.coin-copy { grid-area: 1 / 5 / 2 / 10; max-width: 27rem; }
.drachma-study { grid-area: 1 / 1 / 2 / 4; justify-self: end; align-self: end; width: min(100%, 16rem); margin-bottom: 1.6rem; }
.drachma-study img { width: 100%; height: auto; mix-blend-mode: multiply; }
.coin-fragment { grid-area: 1 / 10 / 2 / 13; justify-self: center; align-self: end; width: min(100%, 13rem); margin-bottom: -1rem; }
.coin-fragment button { aspect-ratio: .74; }
.coin-fragment button img { width: 251%; clip-path: url(#half-medallion); }
.harbour-impression { position: relative; height: clamp(14rem, 25vw, 27rem); margin-top: .8rem; }
.harbour-impression img, .city-impression img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.harbour-impression img {
  object-position: 53% 60%;
  opacity: .58;
  mix-blend-mode: multiply;
  mask-image: linear-gradient(180deg, transparent, #000 38%, #000 66%, transparent),
    linear-gradient(95deg, transparent, #000 36%);
  mask-composite: intersect;
}
.harbour-impression figcaption, .city-impression figcaption { position: absolute; z-index: 1; width: min(90%, 20rem); }
.harbour-impression figcaption small, .city-impression figcaption small { font-size: .79rem; display: block; margin-top: .4rem; }
.harbour-impression figcaption { left: var(--gutter); bottom: 14%; }
.harbour-impression figcaption span, .city-impression figcaption span { display: block; margin-top: .3rem; }
.harbour-impression figcaption .passage-source, .city-impression figcaption .passage-source {
  font: 400 clamp(1.6rem, 2.25vw, 2.6rem)/1.05 var(--serif);
  text-decoration-thickness: 1px;
  text-underline-offset: .15em;
}
.seal-leaf { padding-top: clamp(4.5rem, 7.2vw, 8rem); align-items: start; }
.hands-study { grid-area: 1 / 1 / 3 / 7; }
.hands-study img, .bracelet-study img, .ear-study img { width: 100%; height: auto; }
.hands-study img { aspect-ratio: .87; object-fit: cover; object-position: 47% 38%; }
.seal-copy { grid-area: 1 / 8 / 2 / 13; align-self: center; padding-top: clamp(.5rem, 2.5vw, 3rem); }
.seal-copy blockquote {
  margin: 1.1em 0 .65em;
  font: 400 clamp(1.65rem, 3.1vw, 3.8rem)/1.02 var(--serif);
  letter-spacing: -.03em;
}
.seal-detail { grid-area: 2 / 8 / 3 / 13; display: flex; align-items: end; gap: clamp(.85rem, 2vw, 2.6rem); align-self: end; margin-top: 2rem; }
.seal-detail-object { position: relative; flex: 0 0 34%; aspect-ratio: .79; overflow: clip; }
.seal-detail-object img {
  position: absolute;
  top: -75%;
  left: -52%;
  width: 205%;
  height: auto;
  max-width: none;
  clip-path: polygon(28.4% 60%, 29.1% 55.6%, 31.1% 52%, 31.9% 49.8%, 34.9% 48.1%, 36% 45.8%, 37.6% 45.8%, 43.7% 38.9%, 44.3% 37%, 45.8% 35.9%, 47.2% 36.2%, 47.7% 37.8%, 50.3% 37.8%, 51.1% 35.8%, 53.4% 35.7%, 54.4% 37.6%, 54.1% 38.8%, 60.4% 45.7%, 62.6% 46.6%, 62.8% 48.5%, 65% 51%, 66.1% 51.9%, 66.8% 54%, 68.4% 55.5%, 69.8% 61%, 69.4% 66%, 68.1% 71.7%, 65% 75.1%, 62.1% 77.4%, 55% 79%, 54% 80.7%, 52% 80.7%, 50.6% 79.8%, 47% 81%, 44% 79.8%, 41.6% 78.1%, 35.5% 77%, 32.6% 74.5%, 30.7% 71%, 29% 65.8%);
}
.seal-detail figcaption { margin-bottom: .7rem; max-width: 17rem; }
.bracelet-study { z-index: 1; grid-area: 3 / 4 / 4 / 8; margin-top: -23%; }
.line-leaf {
  align-items: center;
  margin-block: clamp(3.8rem, 7vw, 8rem) clamp(2.5rem, 5vw, 6rem);
}
.paired-form { grid-area: 1 / 1 / 2 / 5; align-self: start; margin-top: 5%; }
.open-form { grid-area: 1 / 5 / 2 / 8; align-self: end; margin-bottom: 3%; }
.paired-form button { aspect-ratio: 1.5; }
.paired-form button img { width: 120%; clip-path: url(#paired-hoops-outline); }
.open-form button { aspect-ratio: 1; }
.open-form button img { width: 139%; clip-path: url(#open-hoop-outline); }
.ear-study { grid-area: 1 / 9 / 3 / 13; margin-right: calc(-.55 * var(--gutter)); }
.ear-study img { aspect-ratio: .82; object-fit: cover; object-position: 55% 42%; }
.passage-credit { grid-area: 2 / 1 / 3 / 8; margin: clamp(2.5rem, 4.5vw, 5rem) 0 0; }
.city-leaf { position: relative; isolation: isolate; display: grid; }
.city-impression, .letters-leaf { grid-area: 1 / 1; }
.city-impression { position: relative; }
.city-impression img {
  opacity: .42;
  mix-blend-mode: multiply;
  object-position: 56% 56%;
  mask-image: linear-gradient(180deg, transparent, #000 34%, #000 76%, transparent 99%),
    linear-gradient(95deg, rgb(0 0 0 / .40), #000 59%);
  mask-composite: intersect;
}
.city-impression figcaption { right: var(--gutter); bottom: 7%; text-align: right; }
.letters-leaf {
  position: relative;
  pointer-events: none;
  align-items: center;
  padding-block: clamp(5rem, 8vw, 10rem) clamp(8rem, 14vw, 16rem);
}
.letters-leaf .passage-source { pointer-events: auto; }
.letters-copy { grid-area: 1 / 2 / 2 / 7; max-width: 28rem; }
.demetrios-study { grid-area: 1 / 8 / 2 / 11; width: 100%; text-align: center; }
.demetrios-study img {
  margin: auto;
  width: min(100%, 20rem);
  height: auto;
  clip-path: polygon(19% 10.3%, 41% 9.9%, 80% 10.1%, 80.9% 89.2%, 59.2% 89.4%, 57.9% 88.4%, 35.7% 89.7%, 18.3% 90.0%);
}
.demetrios-study figcaption { margin-top: -.8rem; }
.nave-leaf { padding: clamp(3.5rem, 7vw, 8rem) var(--gutter) 0; }
.nave-leaf > img { display: block; width: min(100%, 60rem); height: auto; margin-inline: auto; }

@media (max-width: 800px) {
  .coin-copy { grid-column: 4 / 10; }
  .coin-field { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .drachma-study { margin-bottom: 1rem; }
  .seal-copy { grid-column: 7 / 13; padding-left: 1.15rem; }
  .seal-detail { grid-column: 8 / 13; }
  .letters-copy { grid-column: 1 / 7; }
  .demetrios-study { grid-column: 8 / 12; }
}

@media (max-width: 640px) {
  .coin-leaf, .passage { --reading-size: 1.3rem; }
  .coin-leaf { padding-top: clamp(6rem, 13svh, 9rem); }
  .passage-copy :is(h2, h3) { font-size: clamp(3.65rem, 13.6vw, 5.4rem); }
  .coin-field { row-gap: 1.5rem; }
  .coin-copy { grid-area: 1 / 1 / 2 / -1; }
  .coin-copy h3 br { display: none; }
  .coin-copy h3 { max-width: 10ch; }
  .drachma-study { grid-area: 2 / 1 / 3 / 7; align-self: center; width: min(100%, 12rem); margin: 0; }
  .coin-fragment { grid-area: 2 / 8 / 3 / 13; width: min(100%, 7.5rem); margin: 1.1rem 0 -.5rem; }
  .harbour-impression { height: clamp(12.5rem, 54vw, 17rem); margin-top: .4rem; }
  .harbour-impression figcaption { bottom: 10%; }
  .harbour-impression img { object-position: 69% 55%; opacity: .63; }
  .seal-leaf { padding-top: clamp(3.5rem, 12vw, 5rem); row-gap: 1.3rem; }
  .seal-copy { grid-area: 1 / 1 / 2 / -1; padding: 0; }
  .seal-copy blockquote { font-size: clamp(1.95rem, 7.6vw, 2.8rem); margin-top: .7em; }
  .hands-study { grid-area: 2 / 1 / 4 / 9; }
  .hands-study img { aspect-ratio: .68; }
  .seal-detail { grid-area: 2 / 9 / 3 / 13; display: block; width: 100%; margin: 0; align-self: center; }
  .seal-detail-object { width: 79%; margin: auto; }
  .seal-detail figcaption { margin: .35rem 0 0; font-size: .79rem; }
  .bracelet-study { grid-area: 3 / 7 / 4 / 13; align-self: end; margin: 0 0 -1rem; }
  .line-leaf { row-gap: 1.5rem; margin: 4.4rem 0 1.8rem; }
  .paired-form { grid-area: 1 / 1 / 2 / 7; margin: 0; }
  .open-form { grid-area: 2 / 2 / 3 / 7; margin: 0; max-width: 8.5rem; justify-self: center; }
  .ear-study { grid-area: 1 / 7 / 3 / 13; margin-right: calc(-1 * var(--gutter)); }
  .ear-study img { aspect-ratio: .66; }
  .passage-credit { grid-area: 3 / 1 / 4 / -1; margin: .35rem 0 0; }
  .letters-leaf { align-items: start; padding-block: 4rem 7.5rem; }
  .letters-copy { grid-area: 1 / 1 / 2 / -1; }
  .letters-copy h2 { font-size: clamp(3.8rem, 13.7vw, 5.5rem); }
  .letters-copy p { max-width: 29ch; }
  .demetrios-study { grid-area: 2 / 5 / 3 / 12; margin-top: .5rem; max-width: 16rem; justify-self: end; }
  .city-impression img { object-position: 58% 52%; opacity: .33; }
  .city-impression figcaption { bottom: 4%; right: var(--gutter); }
}
