.quick-nav {
  position: fixed; z-index: 15; top: max(8px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 3px; max-width: calc(100% - 12px); padding: 4px;
  border: 1px solid #dbc7a76b; border-radius: 30px; background: #122736eb;
  color: #fff9ed; box-shadow: 0 6px 22px #03142155;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.quick-nav a {
  flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px;
  padding: 0 14px; border-radius: 24px; color: inherit; font: 650 .88rem/1.2 var(--sans);
  text-decoration: none; white-space: nowrap;
}
.quick-nav .quick-nav__book { background: #f2e5ce; color: #172d39; }
.quick-nav a:hover, .quick-nav a:focus-visible { background: #405668; color: white; }
.quick-nav__call { display: none; }
.back-to-top {
  position: fixed;
  z-index: 15;
  left: max(14px, env(safe-area-inset-left));
  bottom: calc(max(16px, env(safe-area-inset-bottom)) + var(--banner-offset, 0px));
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 14px;
  border: 1px solid #c6ae84;
  border-radius: 24px;
  background: #142b39f5;
  color: #fff2d8;
  box-shadow: 0 4px 16px #0617234d;
  font: 650 .85rem/1.2 var(--sans);
  text-decoration: none;
}
.back-to-top:hover { background: #2b4859; }
.back-to-top:focus-visible { outline: 3px solid #f6c47f; outline-offset: 2px; }
.back-to-top[hidden], body:has(dialog[open]) .back-to-top { display: none; }
html:has(.quick-nav) { scroll-padding-top: 76px; }
.contact:has(.maps--wide) { padding-bottom: 0; }
.maps--wide { margin-top: clamp(38px, 6vw, 88px); }
.maps__head { display: flex; align-items: end; justify-content: space-between; gap: 15px; flex-wrap: wrap; margin-bottom: 14px; }
.maps__head h3, .maps__head .map-links { margin-bottom: 0; }
.maps__head a { min-height: 44px; }
.maps--wide .map-frame { width: 100%; border-inline: 0; }
.maps--wide iframe { height: clamp(270px, 33vw, 500px); }
.maps--wide .map-external { display: inline-flex; align-items: center; min-height: 44px; }
.hero__arrows button { min-height: 44px; min-width: 44px; }
@media (min-width: 1001px) {
  .paper__dish { align-self: center; }
  .paper__dish img { height: auto; aspect-ratio: 4 / 3; }
}
@media (min-width: 576px) and (max-width: 1000px) {
  .paper .paper__inside { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 21px; row-gap: 10px; }
  .paper .paper__sections { display: contents; }
  .paper__dish { grid-column: 1 / 3; grid-row: 1 / 3; align-self: center; }
  .paper__dish img { height: auto; aspect-ratio: 4 / 3; }
  .paper .paper__sections article:nth-child(1) { grid-area: 1 / 3 / 2 / 5; }
  .paper .paper__sections article:nth-child(2) { grid-area: 2 / 3 / 3 / 5; }
  .paper .paper__sections article:nth-child(3) { grid-area: 3 / 1 / 4 / 3; }
  .paper .paper__sections article:nth-child(4) { grid-area: 3 / 3 / 4 / 5; }
}
@media (prefers-reduced-motion: no-preference) {
  .quick-nav:not([hidden]) { animation: dock-in .25s ease-out; }
  .back-to-top:not([hidden]) { animation: back-to-top-in .22s ease-out; }
  @keyframes back-to-top-in { from { opacity: 0; translate: 0 6px; } }
  .hero__slide:not([hidden]) img { animation: image-in .75s ease-out; }
  @keyframes dock-in { from { opacity: .1; translate: 0 -8px; } }
  @keyframes image-in { from { opacity: .74; scale: 1.02; } }
}
@media (max-width: 760px) {
  .maps__head { align-items: start; }
}
@media (max-width: 575px) {
  .quick-nav__number { display: none; }
  .quick-nav__call { display: inline; }
  .quick-nav a { padding-inline: 10px; font-size: .79rem; }
}

/* Framed prints, arranged in compact, uneven rows. */
.kitchen-photos { margin: clamp(35px, 5vw, 70px) 0 0; }
.kitchen-photos__spread, .room-photos {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(120px, 18vw, 235px);
  gap: 5px;
  isolation: isolate;
  padding: 8px 7px;
}
.story .story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(19px, 3vw, 37px);
}
.story .story__text { max-width: 57rem; }
.story .story__text > p:not(.kicker) { max-width: 62ch; }
.story .room-photos { grid-auto-rows: clamp(125px, 18vw, 225px); }
:is(.kitchen-photos__spread, .room-photos) > * {
  --tilt: -1deg;
  display: block;
  grid-column: span 3;
  min-width: 0;
  width: 100%;
  height: 100%;
  padding: clamp(4px, .61vw, 9px);
  border: 1px solid #baa787;
  border-radius: 1px;
  background: #f3e8d0;
  box-shadow: inset 0 0 0 2px #fff8e9, 0 5px 14px -4px #071521a6;
  object-fit: cover;
  position: relative;
  rotate: var(--tilt);
}
:is(.kitchen-photos__spread, .room-photos) > :nth-child(4n+2) {
  --tilt: 2.2deg;
  z-index: 1;
  margin-left: -6px;
  margin-top: 5px;
}
:is(.kitchen-photos__spread, .room-photos) > :nth-child(4n+3) { --tilt: -.6deg; }
:is(.kitchen-photos__spread, .room-photos) > :nth-child(4n) {
  --tilt: 1.35deg;
  margin-top: -5px;
}
:is(.kitchen-photos__spread, .room-photos) > :is(:nth-child(1), :nth-child(6), :nth-child(11)) { grid-column: span 4; }
:is(.kitchen-photos__spread, .room-photos) > :is(:nth-child(2), :nth-child(7), :nth-child(9)) { grid-column: span 2; }
:is(.kitchen-photos__spread, .room-photos) > :nth-child(4n+3):last-child { grid-column-end: -1; }
.room-photos > :nth-child(3n+2) { background-color: #fbf3e2; }
.photo-open { cursor: zoom-in; }
.photo-open img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border: 1px solid #85745980;
}
.photo-open:is(:hover, :focus-visible) { z-index: 4; }
.photo-open:focus-visible { outline: 3px solid #dc801b; outline-offset: 2px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .photo-open { transition: scale .25s ease-out, rotate .25s ease-out; }
  .photo-open:hover { rotate: 0deg; scale: 1.045; }
}
@media (max-width: 940px) {
  :is(.kitchen-photos__spread, .room-photos) > :nth-child(n) { grid-column: span 4; }
  :is(.kitchen-photos__spread, .room-photos) > :nth-child(6n+1) { grid-column: span 5; }
  :is(.kitchen-photos__spread, .room-photos) > :nth-child(6n+2) { grid-column: span 3; }
  :is(.kitchen-photos__spread, .room-photos) > :nth-child(3n+2):last-child { grid-column-end: -1; }
}
@media (max-width: 570px) {
  .kitchen-photos__spread, .story .room-photos { grid-auto-rows: clamp(100px, 30vw, 155px); }
  :is(.kitchen-photos__spread, .room-photos) > :nth-child(n) { grid-column: span 6; }
  :is(.kitchen-photos__spread, .room-photos) > :nth-child(4n+1) { grid-column: span 7; }
  :is(.kitchen-photos__spread, .room-photos) > :nth-child(4n+2) { grid-column: span 5; margin-left: -4px; }
  :is(.kitchen-photos__spread, .room-photos) > :nth-child(2n+1):last-child { grid-column-end: -1; }
}

html:has(.photo-viewer[open]) { overflow: hidden; }
dialog.photo-viewer {
  width: min(1110px, calc(100% - 20px));
  max-width: none;
  max-height: calc(100dvh - 20px);
  padding: clamp(10px, 2.2vw, 24px);
  border: 1px solid #a88c61;
  border-radius: 4px;
  background: radial-gradient(ellipse at 53% 28%, #233c4ef5, #142635 68%, #101d2a);
  color: #f8eed9;
  box-shadow: 0 24px 90px #030a12d9;
  overscroll-behavior: contain;
}
.photo-viewer::backdrop { background: #070f18e8; backdrop-filter: blur(5px); }
.photo-viewer__header, .photo-viewer__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.photo-viewer__header {
  padding-bottom: 7px;
  border-bottom: 3px double #b5996d9c;
}
.photo-viewer__header h2 {
  font-size: clamp(1.3rem, 3.2vw, 2.4rem);
  letter-spacing: -.045em;
}
.photo-viewer button {
  flex: none;
  min-width: 44px;
  min-height: 44px;
  color: #fbf1dc;
  border: 1px solid #9d8b6b;
  border-radius: 2px;
  background: #1b3144;
}
.photo-viewer button:hover:enabled { border-color: #eed8ad; background: #2d495c; }
.photo-viewer button:focus-visible { outline-color: #e7b86d; outline-offset: 2px; }
.photo-viewer__close span { margin-left: 4px; font-size: 1.15em; }
.photo-viewer__stage {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: clamp(4px, 1.3vw, 17px);
  margin-top: 10px;
  touch-action: pan-y pinch-zoom;
}
.photo-viewer__stage button { font-size: 1.23rem; padding-inline: 0; }
.photo-viewer__plate {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  place-items: center;
  height: clamp(125px, calc(92dvh - 208px), 650px);
  min-width: 0;
  overflow: hidden;
}
.photo-viewer__plate img {
  display: block;
  width: auto;
  max-width: 100%;
  min-height: 0;
  height: auto;
  max-height: 100%;
  padding: clamp(3px, .65vw, 9px);
  object-fit: contain;
  background: #f3e8d0;
  border: 1px solid #a58f69;
  box-shadow: 0 9px 20px #070f1880;
  user-select: none;
}
.photo-viewer__footer {
  min-height: 40px;
  margin-block: 4px;
  font-size: clamp(.78rem, 2.1vw, .99rem);
}
.photo-viewer__caption { overflow-wrap: anywhere; }
.photo-viewer__position { flex: none; color: #e5cfab; font-variant-numeric: tabular-nums; }
.photo-viewer__rail {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 6px 4px 8px;
  border-top: 1px solid #b5996d7a;
  scrollbar-color: #b5996d #182b3b;
}
.photo-viewer__rail button {
  width: clamp(54px, 7vw, 83px);
  height: clamp(47px, 5.8vw, 67px);
  padding: 2px;
}
.photo-viewer__rail img { width: 100%; height: 100%; object-fit: cover; }
.photo-viewer__rail button[aria-current="true"] {
  border-color: #f3d29a;
  background: #f3d29a;
  box-shadow: inset 0 0 0 1px #101e2b, 0 0 0 1px #f3d29a;
}
@media (max-width: 570px) {
  .photo-viewer__stage {
    grid-template-columns: 1fr 1fr;
    justify-items: stretch;
    gap: 6px;
  }
  .photo-viewer__plate {
    grid-area: 1 / 1 / 2 / -1;
    height: clamp(120px, min(calc(92dvh - 251px), calc(100vw - 20px)), 500px);
  }
  .photo-viewer__stage button { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .photo-viewer[open] { animation: gallery-open .25s ease-out; }
  @keyframes gallery-open { from { opacity: 0; translate: 0 10px; } }
}
