body > .site-footer {
  display: block;
  min-height: 0;
  padding: 20px clamp(12px, 3vw, 44px) 14px;
  border-top: 1px solid #b8a079;
  text-align: center;
  color: #40382b;
}
body > .site-footer::before,
body > .site-footer::after {
  display: none;
}
.site-footer-row,
.site-footer-identity,
.site-footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.site-footer-row {
  gap: clamp(12px, 2vw, 28px);
}
.site-footer-identity {
  gap: clamp(10px, 2vw, 24px);
}
.site-footer-row .site-footer-clover {
  flex: none;
  width: clamp(32px, 4vw, 58px);
  height: auto;
}
.site-footer-row .brand {
  border-inline-start: 1px solid #9a8b6c;
  padding-inline-start: clamp(10px, 2vw, 24px);
  color: #254632;
  font-family: 'Uncial Antiqua', Georgia, serif;
  font-size: clamp(20px, 2.7vw, 36px);
  line-height: 1.2;
}
.site-footer-row a {
  color: inherit;
  text-decoration: none;
}
.site-footer-row a:hover {
  text-decoration: underline;
}
.site-footer-links {
  border-inline-start: 1px solid #9a8b6c;
  padding-inline-start: clamp(8px, 1.4vw, 18px);
}
.site-footer-links a {
  padding-inline: clamp(8px, 1.4vw, 18px);
  white-space: nowrap;
}
.site-footer-links a + a {
  border-inline-start: 1px solid #9a8b6c;
}
body > .site-footer > small {
  display: block;
  margin: 15px 0 0;
  padding: 0;
  border: 0;
  background: none;
  font-size: 14px;
}
.site-footer > small a {
  color: inherit;
  text-decoration: underline;
}
body.ornament-credits-page {
  max-width: none;
  margin: 0;
  padding: 0;
}
.ornament-credits-copy {
  max-width: 700px;
  margin: 60px auto;
  padding: 0 20px;
}
@media (max-width: 56rem) {
  .site-footer-row {
    flex-direction: column;
  }
  .site-footer-links {
    border: 0;
    padding: 0;
  }
}

/* Replace the legacy section ornaments with one watermark per panel. */
main > :is(.hero, .world, .stories, .inspiration, .formats, .archive, .booking, .studio-note)::before,
main > :is(.hero, .world, .stories, .inspiration, .formats, .archive, .booking, .studio-note)::after,
main .section-heading::before,
main .section-heading::after,
main .programme-photo::after,
main .expanded-album button:nth-child(5n)::after,
main .booking-offer-grid article:nth-child(3)::after {
  content: none;
}

.page-watermark {
  display: flex;
  grid-column: 1 / -1;
  justify-content: flex-end;
  clear: both;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  margin-block-start: clamp(16px, 2vw, 24px);
  padding: 0 clamp(14px, 4vw, 58px);
  box-sizing: border-box;
  pointer-events: none;
}

.page-watermark svg {
  display: block;
  width: clamp(65px, 11.5vw, 175px);
  max-width: 100%;
  height: auto;
}

body main > section:has(> .page-watermark).section,
body main > section:has(> .page-watermark) {
  overflow: clip;
  padding-bottom: clamp(16px, 2vw, 24px);
}

body main > .hero:has(> .page-watermark) {
  row-gap: clamp(16px, 3vw, 36px);
}

.page-watermark {
  overflow: hidden;
}

body main > section:has(> #page-watermark) {
  padding-block-end: 16px;
  margin-block-end: 0;
  min-height: 0;
}
