/* Wide engraved plates alternate with small photographic studies on the brand's ivory paper. */
.header {
  position: relative;
  margin: 0 var(--gutter);
  height: clamp(5rem, 10svh, 7rem);
  color: var(--ink);
}
.collection-cover {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(2rem, 5vw, 6rem);
  padding: clamp(1.25rem, 3svh, 3rem) var(--gutter) clamp(4.5rem, 10vw, 11rem);
  background: var(--paper);
  color: var(--ink);
}
.collection-cover-copy { padding-left: clamp(0rem, 3vw, 3rem); }
.collection-cover-copy .print-label { color: #59544e; }
.collection-cover h1 {
  font: 400 clamp(4.2rem, 8.2vw, 9.7rem)/.86 var(--serif);
  letter-spacing: -.06em;
  margin-block: clamp(1.3rem, 2.7vw, 3rem) clamp(1.5rem, 3vw, 3.6rem);
}
.collection-cover-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: .94rem;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .45em;
}
.collection-portrait {
  width: min(100%, max(56svh, 22rem));
  justify-self: center;
}
.collection-portrait img { width: 100%; height: auto; }
@media (max-width: 640px) {
  .collection-cover {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1.25rem, 4svh, 2.5rem);
    padding-block: clamp(1.25rem, 3svh, 2.75rem) clamp(4rem, 13vw, 6rem);
  }
  .collection-cover-copy { padding: 0; }
  .collection-cover h1 { font-size: clamp(3.6rem, 13vw, 5.2rem); margin: .85rem 0 .4rem; }
  .collection-portrait { width: min(100%, 29rem); }
}
.header .line-link { min-height: 2.75rem; font-size: .875rem; }
.header-contact.line-link { font-size: .8rem; }
.print-label { display: block; font: 400 .75rem/1.45 Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.edition-cover {
  position: relative; isolation: isolate; overflow: hidden; margin: 0;
  height: 100svh; min-height: 36rem; background: #37332f; color: var(--paper);
}
.flight-view, .flight-poster, .flight-poster img, .flight-view canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.flight-view { touch-action: pan-y; cursor: crosshair; }
.flight-view:focus-visible { outline: 2px solid #e3c99e; outline-offset: -5px; }
.flight-poster img { object-fit: cover; object-position: 58% 50%; }
.flight-view canvas { display: block; pointer-events: none; }
.edition-cover[data-renderer='poster'] canvas { visibility: hidden; }
.edition-cover[data-renderer='webgl'] .flight-poster { visibility: hidden; }
.edition-cover::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgb(15 14 13 / 64%), transparent 19%, transparent 69%, rgb(15 14 13 / 81%)),
    linear-gradient(90deg, rgb(16 14 13 / 51%), rgb(20 18 16 / 14%) 45%, transparent 72%);
}
.flight-words {
  position: absolute; left: var(--gutter); top: 43%; z-index: 2; pointer-events: none;
}
.flight-words .print-label { color: #f1e2ca; letter-spacing: .22em; }
.flight-words h1 { margin: 1.65rem 0 0; font: 400 clamp(4.5rem, 6.5vw, 8rem)/.89 var(--serif); letter-spacing: -.045em; }
.flight-links { display: flex; align-items: center; gap: 1.5rem; margin-top: clamp(1.35rem, 3svh, 2.6rem); }
.flight-links a { min-height: 2.75rem; display: inline-flex; align-items: center; pointer-events: auto; font-size: .875rem; text-decoration: underline; text-underline-offset: .45rem; text-decoration-color: #d3c5b6; }
.flight-links #return-to-countdown { color: #e0d8cf; }
.flight-dock { position: absolute; z-index: 2; inset: auto var(--gutter) clamp(1.4rem, 4svh, 3.5rem); display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; pointer-events: none; }
.flight-caption .print-label { font-size: .73rem; color: #e0d0b7; }
#flight-help, #flight-keys { margin-top: .6rem; font-size: .875rem; line-height: 1.5; }
#flight-keys { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.edition-cover:has(.flight-view:focus-visible) #flight-keys { position: static; width: auto; height: auto; clip-path: none; display: block; }
.flight-controls { display: flex; align-items: center; gap: .75rem; pointer-events: auto; }
#guardian-call, #flight-motion { display: inline-flex; align-items: center; justify-content: center; min-height: 2.85rem; border: 1px solid rgb(242 238 232 / 54%); background: rgb(28 26 23 / 50%); color: var(--paper); }
#guardian-call { padding: .6rem 1.1rem; gap: .75rem; font-size: .88rem; border-radius: 2rem; }
.call-light { flex: none; width: .46rem; height: .46rem; border-radius: 50%; background: #efcc8e; box-shadow: 0 0 .75rem #edb76e; }
#guardian-call[aria-pressed='true'] { border-color: #e9cd9e; background: #463a2d; }
#flight-motion { width: 2.85rem; border-radius: 50%; }
#flight-motion::before { content: ''; box-sizing: border-box; width: 8px; height: 11px; border-inline: 2px solid currentColor; }
#flight-motion[aria-pressed='false']::before { width: 0; height: 0; border: solid transparent; border-width: 5px 0 5px 8px; border-left-color: currentColor; margin-left: 2px; }
#flight-motion:disabled { opacity: .6; cursor: default; }
#guardian-call:hover, #flight-motion:enabled:hover { background: #2f2d2d; border-color: #f2eee8; }
.flight-index { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem clamp(1rem, 2.4vw, 3rem); margin: 0 var(--gutter); padding-block: 1.4rem; border-bottom: 1px solid var(--rule); }
.flight-index .print-label { margin-right: auto; color: #635f5a; }
.flight-index a, .flight-index button { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .875rem; text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: .36em; }
.flight-index a:hover, .flight-index button:hover { text-decoration-color: currentColor; }
.imprint-photo { width: 3.1rem; height: 3.25rem; overflow: hidden; }
.imprint-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 69% 61%; }

.plate-open { display: block; position: relative; isolation: isolate; overflow: hidden; width: 100%; background: #b6aa98; cursor: zoom-in; }
.plate-open img { display: block; width: 100%; height: 100%; object-fit: cover; }
.plate-open:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.plate-enlarge {
  display: grid;
  place-items: center;
  position: absolute;
  right: clamp(.75rem, 1.4vw, 1.5rem);
  bottom: clamp(.75rem, 1.4vw, 1.5rem);
  width: 2.5rem;
  height: 2.5rem;
  color: var(--ink);
  background: var(--paper);
  border-radius: 50%;
  pointer-events: none;
}
.plate-enlarge::before, .plate-enlarge::after { grid-area: 1 / 1; content: ''; width: .87rem; height: 1px; background: currentColor; }
.plate-enlarge::after { transform: rotate(90deg); }
.plate-open:hover .plate-enlarge, .plate-open:focus-visible .plate-enlarge { background: var(--ink); color: var(--paper); }
#main .section-top .eyebrow, #main .object-interlude .eyebrow { font-size: .75rem; }
#main .object figcaption { font-size: .875rem; }
#main .index, #main .visual-note, #main .ring-note { font-size: .75rem; }

.harbour-spread {
  grid-area: 2 / 1 / 3 / -1;
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 2fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 9rem);
  margin-block: clamp(7rem, 14vw, 16rem);
}
.harbour-caption { padding-block: 1.75rem; border-block: 1px solid var(--rule); }
.harbour-caption h3, .sanctuary-caption h3 { font: 400 clamp(2.6rem, 4.3vw, 5.5rem)/1 var(--serif); letter-spacing: -.045em; margin: 0; }
.harbour-caption h3 { margin: clamp(1.75rem, 3.2vw, 3.6rem) 0 1rem; }
.harbour-caption p { max-width: 28ch; font: 400 clamp(1.2rem, 1.6vw, 1.6rem)/1.3 var(--serif); }
.harbour-caption .print-label { font-size: .7rem; }
.harbour-spread .plate-open { aspect-ratio: 1.72; }
.harbour-spread img { object-position: 68% 48%; }
.sanctuary-spread {
  margin: 0 calc(0px - var(--gutter)) var(--section-space);
  padding: clamp(3.5rem, 7.5vw, 9rem) var(--gutter) clamp(4rem, 8vw, 10rem);
  background: var(--ink);
  color: var(--paper);
}
.sanctuary-caption { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(2rem, 4vw, 5rem); }
.sanctuary-caption p { font-size: .875rem; line-height: 1.6; color: #dfd9d1; }
.sanctuary-spread .plate-open { aspect-ratio: 2.16; }
.sanctuary-spread img { object-position: 73% 56%; }
.sanctuary-spread .plate-open:focus-visible { outline-color: var(--paper); }
.stories .story-caption small { font-size: .72rem; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .js-motion .plate-open img {
      animation: pass-engraving linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
    @keyframes pass-engraving { from { transform: scale(1.055) translateX(-.7%); } to { transform: scale(1.01); } }
  }
}

/* Panoramas open as a wide print with a separate caption beneath. */
.viewer.is-panorama { width: min(calc(100% - 2.5rem), 88rem); max-width: none; max-height: calc(100svh - 2.5rem); }
.is-panorama .viewer-layout { display: flex; flex-direction: column; min-height: 0; }
.is-panorama .viewer-media { min-height: 0; height: auto; display: block; }
.is-panorama .zoom-toggle {
  height: min(59svh, 45vw); max-height: none; background: var(--ink); touch-action: pan-y;
}
.is-panorama .zoom-toggle img { height: 100%; max-height: none; mix-blend-mode: normal; }
.is-panorama .zoom-toggle.is-zoomed { touch-action: none; }
.is-panorama .viewer-copy {
  align-self: stretch;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1.6fr) auto;
  gap: .5rem clamp(1.5rem, 4vw, 4.5rem);
  align-items: center;
  padding: 1.5rem clamp(1.5rem, 3.8vw, 3.75rem) 1.8rem;
}
.is-panorama #viewer-kicker { grid-area: 1 / 1; font-size: .7rem; }
.is-panorama #viewer-title { grid-area: 2 / 1; align-self: start; margin: 0; font-size: clamp(1.8rem, 2.65vw, 3.2rem); }
.is-panorama #viewer-description { grid-area: 1 / 2 / 3; max-width: 53ch; font-size: .9rem; line-height: 1.55; color: #514e49; }
.is-panorama #viewer-source { grid-area: 3 / 2; margin: 0; justify-self: start; font-size: .8rem; }
.is-panorama .viewer-navigation { grid-area: 1 / 3 / 3; gap: .7rem; margin: 0; }
.is-panorama .viewer-navigation button, .is-panorama .viewer-close { min-height: 2.75rem; min-width: 2.75rem; }
.is-panorama .viewer-hint { grid-area: 3 / 1; margin: 0; font-size: .75rem; }
.is-panorama .viewer-close { position: absolute; top: .75rem; right: .75rem; bottom: auto; margin: 0; padding-inline: .75rem; font-size: .8rem; }

@media (min-width: 641px) {
  .objects { align-items: start; }
  .object-one, .object-two { grid-row: 1; }
  .object-three { grid-row: 3; margin-top: clamp(2.5rem, 6vw, 7rem); }
  .object-four { grid-row: 3 / 5; margin-top: 0; }
  .object-interlude { grid-row: 4; }
}
@media (max-width: 900px) {
  .is-panorama .viewer-copy { grid-template-columns: 1fr auto; }
  .is-panorama #viewer-kicker { grid-area: 1 / 1; }
  .is-panorama #viewer-title { grid-area: 2 / 1; }
  .is-panorama .viewer-navigation { grid-area: 1 / 2 / 3; }
  .is-panorama #viewer-description { grid-area: 3 / 1 / 4 / -1; max-width: 65ch; }
  .is-panorama #viewer-source { grid-area: 4 / 1; }
  .is-panorama .viewer-hint { grid-area: 5 / 1 / 6 / -1; }
}
@media (max-width: 640px) {
  .header { height: 4.8rem; }
  .header nav { gap: clamp(.7rem, 3.6vw, 1.7rem); }
  .header nav .line-link { font-size: .78rem; }
  .edition-cover { min-height: 35rem; }
  .edition-cover::after { background: linear-gradient(180deg, rgb(15 14 13 / 69%), transparent 18%, transparent 42%, rgb(15 14 13 / 41%) 70%, rgb(15 14 13 / 89%)); }
  .flight-words { top: auto; bottom: clamp(8.4rem, 18svh, 11rem); }
  .flight-words h1 { font-size: clamp(3.15rem, 11.5vw, 4.6rem); margin-top: 1rem; }
  .flight-words .print-label { font-size: .69rem; }
  .flight-links { margin-top: .65rem; }
  .flight-dock { inset: auto var(--gutter) 1.35rem; align-items: start; flex-direction: column; gap: .75rem; }
  .flight-caption .print-label { font-size: .66rem; }
  #flight-help, #flight-keys { font-size: .81rem; margin-top: .2rem; }
  .flight-view:focus-visible ~ .flight-dock #flight-help { display: none; }
  .flight-controls { gap: .6rem; }
  .flight-index { gap: .15rem 1rem; padding-block: 1.1rem; }
  .flight-index .print-label { flex-basis: 100%; margin: 0; font-size: .67rem; }
  .flight-index a, .flight-index button { font-size: .8rem; }
  .flight-index .imprint-photo { margin-left: auto; width: 2.75rem; height: 2.75rem; }
  .harbour-spread { grid-area: 3 / 1 / 4 / -1; grid-template-columns: 1fr; gap: 1.6rem; margin: clamp(5.75rem, 18vw, 8rem) 0 0; }
  .harbour-caption { border-bottom: 0; padding: 1.5rem 0 0; }
  .harbour-caption h3 { margin: .8rem 0; }
  .harbour-caption p { max-width: 32ch; }
  .harbour-spread .plate-open { aspect-ratio: 1.26; }
  .object-interlude { grid-area: 4 / 1 / 5 / -1; }
  .object-three { grid-row: 5; }
  .object-four { grid-row: 6; }
  .sanctuary-spread { padding-block: 3.75rem 4.5rem; }
  .sanctuary-caption { display: block; margin-bottom: 1.75rem; }
  .sanctuary-caption h3 { font-size: clamp(2.45rem, 9.8vw, 4rem); }
  .sanctuary-caption p { margin-top: .85rem; font-size: .84rem; }
  .sanctuary-spread .plate-open { aspect-ratio: 1.05; }
  .viewer.is-panorama { width: calc(100% - 1rem); max-height: calc(100svh - 1.5rem); }
  .is-panorama .zoom-toggle { height: clamp(13rem, 40svh, 22rem); }
  .is-panorama .viewer-copy { padding: 1.2rem 1.15rem; column-gap: .5rem; }
  .is-panorama .viewer-navigation { gap: .05rem; }
  .is-panorama .viewer-hint { margin-top: .5rem; }
  .is-panorama .viewer-close { top: .5rem; right: .5rem; }
}
