/* A lived-in garden scene closes the collection before the quieter footer. */
.closing {
  position: relative;
  isolation: isolate;
  z-index: 2;
  height: 86svh;
  min-height: 650px;
  max-height: 1050px;
  overflow: hidden;
  background: #49392E;
  color: #EFE7D7;
  scroll-margin-top: 76px;
}
.closing-media { position: absolute; inset: 0; overflow: hidden; margin: 0; }
.closing-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 65%;
}
.closing.closing-motion .closing-media { clip-path: inset(var(--closing-inset, 0%)); transition: clip-path 160ms linear; }
.closing.closing-motion .closing-photo { transform: translateY(var(--closing-y, 0px)) scale(1.06); transition: transform 160ms linear; }
.closing-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #172015aa, #17201533 58%, transparent 80%), linear-gradient(0deg, #17201566, transparent 65%);
}
.closing-copy {
  position: absolute;
  left: var(--nav-gutter);
  right: var(--nav-gutter);
  bottom: clamp(65px, 6.5vw, 105px);
  z-index: 1;
}
.closing h2 {
  font: 700 clamp(78px, 8vw, 150px)/.93 var(--nav-display);
  letter-spacing: -.065em;
  margin: 0;
  max-width: 1050px;
  text-shadow: 0 2px 25px #17201522;
}
.closing h2 span { display: block; }
.closing-copy>p { font: 400 clamp(22px, 2vw, 29px)/1.35 var(--nav-reading); letter-spacing: -.02em; margin: 27px 0 27px; }
.closing-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 19px 23px;
  min-height: 62px;
  border: 1px solid #EFE7D7;
  background: #EFE7D7;
  color: #49392E;
  text-decoration: none;
  font: 700 16px/1.3 var(--nav-display);
  letter-spacing: -.025em;
  transition: background-color .2s, color .2s;
}
.closing-action svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1; }
.closing-action:hover { background: #D9C9B3; border-color: #D9C9B3; }
.closing :focus-visible { outline: 2px solid #EFE7D7; outline-offset: 7px; }
.closing-place-note { position: absolute; z-index: 1; right: var(--nav-gutter); bottom: 28px; margin: 0; font: 400 16px/1.3 var(--nav-reading); }
.site-footer {
  --footer-gutter: var(--nav-gutter);
  position: relative;
  z-index: 2;
  isolation: isolate;
  padding: 85px var(--footer-gutter) 28px;
  background: #EFE7D7;
  color: #49392E;
}
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url('assets/navigation/nav-shell-plaster.webp') center top/1400px auto repeat; opacity: .13; }
.footer-main { display: grid; grid-template-columns: 1.2fr .8fr .8fr 1.1fr; gap: clamp(35px, 5vw, 85px); align-items: start; }
.footer-brand { display: inline-block; padding: 0 6px 0 0; }
.footer-brand img { display: block; width: 63px; height: 90px; object-fit: contain; }
.footer-identity>p { font: 400 21px/1.35 var(--nav-reading); margin: 24px 0 0; max-width: 235px; letter-spacing: -.02em; }
.footer-group { min-width: 0; }
.footer-group h2 { font: 400 20px/1.3 var(--nav-reading); letter-spacing: -.01em; margin: 0 0 21px; }
.footer-nav { display: flex; flex-direction: column; align-items: start; gap: 0; }
.site-footer a { color: inherit; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; text-decoration: none; font: 600 14px/1.3 var(--nav-display); letter-spacing: -.015em; }
.footer-nav a:hover, .footer-legal a:hover, .footer-email:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.footer-contact-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; padding: 0 0 9px; border-bottom: 1px solid #49392E80; text-decoration: none; font: 600 23px/1.3 var(--nav-display); letter-spacing: -.045em; }
.footer-contact-link svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1; }
.footer-email { display: block; width: fit-content; min-height: 44px; padding: 14px 0 8px; font: 400 18px/1.4 var(--nav-reading); text-decoration: none; overflow-wrap: anywhere; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 30px; margin-top: 65px; padding-top: 19px; border-top: 1px solid #49392E44; }
.footer-copyright { margin: 0; font: 400 14px/1.3 var(--nav-reading); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 12px 30px; }
.footer-legal a { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; text-decoration: none; font: 600 11px/1.3 var(--nav-display); letter-spacing: .025em; }
.footer-legal svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1; }
.site-footer :focus-visible { outline: 2px solid #49392E; outline-offset: 5px; }
@media (min-width: 1800px) {
  .closing-copy { left: max(var(--nav-gutter), calc((100vw - 1680px)/2)); right: max(var(--nav-gutter), calc((100vw - 1680px)/2)); }
  .closing-place-note { right: max(var(--nav-gutter), calc((100vw - 1680px)/2)); }
  .site-footer { --footer-gutter: max(var(--nav-gutter), calc((100vw - 1680px)/2)); }
}
@media (max-width: 1050px) {
  .footer-main { grid-template-columns: 1.1fr 1fr 1fr; gap: 42px; }
  .footer-contact { grid-column: 2 / 4; }
  .footer-contact-link { font-size: 25px; }
}
@media (max-width: 760px) {
  .closing { height: 88svh; min-height: 700px; max-height: 900px; }
  .closing-photo { object-position: 67% 65%; }
  .closing-copy { top: 65px; bottom: auto; left: 24px; right: 24px; }
  .closing h2 { font-size: clamp(48px, 12.7vw, 76px); line-height: .98; letter-spacing: -.06em; }
  .closing-copy>p { max-width: 245px; font-size: 22px; margin: 22px 0 23px; }
  .closing-action { min-height: 56px; padding: 16px 20px; gap: 37px; font-size: 15px; }
  .closing-shade { background: linear-gradient(180deg, #172015cc, #17201522 55%, #17201522 85%, #17201566); }
  .closing-place-note { left: 24px; right: 24px; bottom: 22px; font-size: 15px; }
  .site-footer { --footer-gutter: 24px; padding-block: 56px 22px; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  .footer-identity { grid-column: 1 / -1; display: flex; align-items: center; gap: 25px; }
  .footer-brand img { width: 47px; height: 67px; }
  .footer-identity>p { max-width: 220px; font-size: 22px; margin: 0; }
  .footer-group h2 { font-size: 20px; margin-bottom: 16px; }
  .footer-nav a { font-size: 14px; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-contact-link { font-size: 26px; }
  .footer-email { font-size: 20px; }
  .footer-bottom { display: block; margin-top: 40px; padding-top: 24px; }
  .footer-legal { margin-top: 13px; column-gap: 21px; }
  .footer-legal a { font-size: 10px; }
}
@media (max-width: 360px) {
  .closing-copy { left: 20px; right: 20px; }
  .closing h2 { font-size: 43px; }
  .closing-copy>p { font-size: 21px; }
  .closing-place-note { left: 20px; right: 20px; }
  .site-footer { --footer-gutter: 20px; }
  .footer-identity { gap: 20px; }
  .footer-identity>p { font-size: 21px; }
}
@media (max-height: 580px) and (min-width: 761px) {
  .closing { min-height: 540px; }
  .closing h2 { font-size: clamp(70px, 7vw, 110px); }
  .closing-copy { bottom: 55px; }
}
@media (prefers-reduced-motion: reduce) {
  .closing-action { transition: none; }
  .closing.closing-motion .closing-media { clip-path: none; }
  .closing.closing-motion .closing-photo { transform: none; }
}
@media(prefers-reduced-motion:reduce){.closing.closing-motion .closing-media,.closing.closing-motion .closing-photo{transition:none}}
