/* Align the reading column, photographs and footer to the same page margins. */
:root {
  --page-gutter: max(clamp(1.25rem, 6vw, 7rem), calc((100vw - 96rem) / 2));
  --reading-space: clamp(3rem, 7vw, 7rem);
}
.detail .section, .breadcrumbs, .related-links, .next-section {
  padding-inline: var(--page-gutter);
}
.detail :is(h1, h2, h3, summary), .next-section > a {
  overflow-wrap: anywhere;
}
.detail :is(.eyebrow, .shop-note), .related-links h2 { font-size: .75rem; }
.detail :is(.intro p, .place p, .faq p) {
  font-size: 1rem;
  line-height: 1.75;
  max-width: 65ch;
}
.intro .intro-content, .collection-layout > *, .place > * { min-width: 0; }
.detail .intro { padding-block: var(--reading-space); }
.detail .intro h2 { text-wrap: balance; }
.intro-actions { gap: .75rem 1.75rem; }
.detail :is(.button-link, .text-link), .related-links a {
  min-height: 2.75rem;
  max-width: 100%;
  align-items: center;
  font-size: .875rem;
  overflow-wrap: anywhere;
}
.detail :is(.button-link, .text-link) span, .related-links a span { flex: none; }
.detail :is(.section, .breadcrumbs, .related-links) :focus-visible, .petito-newsletter a:focus-visible {
  outline: 2px solid #725528;
  outline-offset: 4px;
}
.breadcrumbs { padding-top: 1.25rem; font-size: .8125rem; }
.breadcrumbs ol { gap: .4rem .75rem; align-items: baseline; }
.breadcrumbs a { display: inline-block; padding-block: .4rem; }

/* The title remains in the normal grid flow, even when a translation wraps. */
.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(1rem, 3vw, 3rem);
  height: auto;
  min-height: clamp(24rem, 72svh, 49rem);
  max-height: none;
  padding: clamp(4rem, 12vh, 9rem) var(--page-gutter) clamp(2rem, 5vw, 5rem);
}
.detail-hero .hero-title, .detail-hero .scroll-cue {
  position: static;
  max-width: 100%;
}
.hero-title h1 {
  margin-block-start: .8rem;
  font-size: clamp(2.7rem, 7.5vw, 7.5rem);
  text-wrap: balance;
}
.detail-hero .scroll-cue { flex: none; width: 2.875rem; height: 2.875rem; }
.scroll-cue:hover { background: rgb(0 0 0 / .35); }
.detail-image::after {
  background: linear-gradient(0deg, rgb(0 0 0 / .8), rgb(0 0 0 / .08) 76%);
}
.detail-millebolle .detail-image img { transform: scale(1.22); }
.legal .legal-title { padding-block: clamp(2.5rem, 6vw, 5.5rem); }
.legal-title h1 { margin-block-start: .7rem; font-size: clamp(2.75rem, 7vw, 6rem); }
.legal .intro { min-height: 0; }
.legal .petito-group-privacy {
  margin: 0;
  padding: clamp(2rem, 5vw, 4.5rem) var(--page-gutter);
  background: #e7e1d6;
  color: var(--ink);
  border-radius: 0;
  font-family: inherit;
  overflow-wrap: anywhere;
}
.legal .petito-group-privacy h2 {
  font: 400 clamp(1.5rem, 3vw, 2.5rem)/1.2 Outfit, Arial, sans-serif;
}
.legal .petito-group-privacy p { max-width: 68ch; }
.legal .petito-group-privacy a { text-underline-offset: .25em; }

.collection-photo { height: auto; aspect-ratio: 1; }
.place > img { height: auto; aspect-ratio: 6 / 5; }
.gallery img { height: auto; aspect-ratio: 3 / 4; }
.gallery figcaption, .timeline span { font-size: .875rem; line-height: 1.5; }
.timeline > div { min-width: 0; overflow-wrap: anywhere; }
.flavor { grid-template-columns: auto minmax(0, 1fr) auto; }
.flavor h3 { text-wrap: pretty; }
.related-links > div { gap: .5rem 2rem; }
.related-links a { justify-content: space-between; }
.contact-details > a { font-size: clamp(1.3rem, 4.3vw, 4rem); }
.next-section > a { align-items: baseline; }

/* Both invitation panels retain their separate sign-up destinations. */
.petito-newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: center;
  gap: 2rem 7vw;
  padding: var(--reading-space) var(--page-gutter);
  background: #eae3d5;
  color: var(--ink);
}
.newsletter-copy .eyebrow { display: inline-block; font-size: .75rem; color: #655640; }
.newsletter-copy h2 {
  font: 400 clamp(2.15rem, 4.7vw, 4.75rem)/1.06 Outfit, Arial, sans-serif;
  letter-spacing: -.035em;
  margin: .8rem 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.newsletter-copy p { max-width: 48ch; margin: 0; font-size: 1rem; line-height: 1.55; }
.newsletter-action { justify-self: end; max-width: 24rem; }
.newsletter-action a {
  display: inline-flex;
  align-items: center;
  min-height: 2.875rem;
  padding: .8rem 1.35rem;
  color: white;
  background: var(--ink);
  border: 1px solid var(--ink);
  font-size: 1rem;
}
.newsletter-action a:hover { color: var(--ink); background: transparent; }
.newsletter-action p { max-width: 37ch; margin: .75rem 0 0; color: #514a3e; font-size: .875rem; line-height: 1.5; }
body .petito-group-registration {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "title action" "description action";
  column-gap: 4vw;
  align-items: center;
  padding: clamp(1.8rem, 4vw, 3.5rem) var(--page-gutter);
  background: var(--paper);
  color: var(--ink);
  text-align: start;
  border: 0;
  border-top: 1px solid #c8bdac;
}
body .petito-group-registration h2 {
  grid-area: title;
  font: 400 clamp(1.45rem, 2.4vw, 2.25rem)/1.2 Outfit, Arial, sans-serif;
  margin: 0;
}
body .petito-group-registration p {
  grid-area: description;
  margin: .5rem 0 0;
  max-width: 64ch;
  font: 400 1rem/1.6 'DM Sans', Arial, sans-serif;
  color: #514b43;
}
body .petito-group-registration a {
  grid-area: action;
  justify-self: start;
  padding: .65rem 0;
  min-height: 2.75rem;
  color: var(--ink);
  background: none;
  border-radius: 0;
  border-bottom: 1px solid currentColor;
  font: inherit;
}
body .petito-group-registration a:hover { color: #775a2d; }
.group-sites a:hover, .back-home:hover { color: var(--gold); }
[dir="rtl"] .newsletter-copy h2 { letter-spacing: normal; line-height: 1.35; }

.home-page .home-footer, .site-footer {
  display: block;
  padding: clamp(2rem, 4vw, 4rem) var(--page-gutter) 1.4rem;
  color: var(--white);
  background: var(--ink);
}
.home-footer .footer-top, .site-footer .footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 2rem;
  margin: 0;
}
.footer-top .languages { display: flex; flex-wrap: wrap; gap: .25rem .7rem; }
.footer-top .languages a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  min-width: 2rem;
  padding-inline: .15rem;
  opacity: 1;
  color: #c0bdb7;
  font-size: .875rem;
}
.footer-top .languages a[aria-current], .footer-top .languages a:hover { color: white; }
.group-sites { margin-block: 1.5rem; padding-block: 1.5rem; }
.group-sites h2 { margin-bottom: .75rem; font-size: .75rem; color: #d4bc93; }
.group-sites > div { display: flex; flex-wrap: wrap; gap: .25rem 2rem; }
.group-sites a, .back-home { min-height: 2.75rem; font-size: .875rem; align-content: center; }
.home-footer .footer-bottom, .site-footer .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  padding: 0;
  border: 0;
  font-size: .8125rem;
}
.footer-bottom > div { flex-wrap: wrap; gap: .2rem 1.25rem; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 2.5rem; }

@media (max-width: 700px) {
  .detail-hero {
    min-height: clamp(21rem, 60svh, 34rem);
    padding-bottom: 1.75rem;
    grid-template-columns: minmax(0, 1fr);
    align-content: end;
    gap: 1rem;
  }
  .detail-hero .scroll-cue { justify-self: end; }
  .hero-title h1 { margin-block-start: .65rem; }
  .detail .hero-title .eyebrow, .detail .intro > .eyebrow, .detail .place .eyebrow { font-size: .75rem; }
  .detail .intro .intro-content h2 { font-size: clamp(1.8rem, 7.5vw, 2.4rem); }
  .place > img { aspect-ratio: 4 / 3; }
  .faq > * { min-width: 0; }
  .gallery img { aspect-ratio: 4 / 5; }
  .next-section > a { font-size: clamp(1.7rem, 8vw, 2.8rem); }
  .petito-newsletter, body .petito-group-registration { grid-template-columns: minmax(0, 1fr); }
  .petito-newsletter { gap: 1.4rem; }
  .newsletter-action { justify-self: start; }
  body .petito-group-registration { grid-template-areas: "title" "description" "action"; }
  body .petito-group-registration a { margin-top: .65rem; }
  .home-footer .footer-top, .site-footer .footer-top { align-items: flex-start; flex-direction: column; }
  .group-sites > div { gap: .25rem 1.25rem; }
}

@media (max-width: 480px) {
  .timeline { grid-template-columns: 1fr; gap: 1rem; }
  .timeline > div {
    display: grid;
    grid-template-columns: 4.7rem minmax(0, 1fr);
    align-items: baseline;
    gap: .875rem;
    padding-top: 1rem;
  }
}

.careers-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  padding: clamp(2rem, 5vw, 5rem) var(--page-gutter);
  background: #171716;
  color: var(--white);
  border-block: 1px solid #ffffff28;
}
.careers-band h2 { margin: 0; font: 400 clamp(1.85rem, 4vw, 3.75rem)/1.12 Outfit, Arial, sans-serif; }
.careers-band p { max-width: 48ch; margin: .6rem 0 0; color: #d1cec7; line-height: 1.6; }
.careers-band a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .6rem 1.1rem; border: 1px solid var(--gold); color: var(--gold); }
.careers-band a:hover { background: var(--gold); color: var(--ink); }
