.place-jumps { display: flex; align-items: center; flex-wrap: wrap; gap: .2rem 1.5rem; border-bottom: 1px solid var(--line); padding-block: 1rem; }
.place-jumps a { display: inline-flex; min-height: 2.75rem; align-items: center; text-decoration-thickness: 1px; }
.place-section { padding-top: clamp(3.5rem, 6vw, 6rem); scroll-margin-top: 1rem; }
.place-heading { display: flex; align-items: end; justify-content: space-between; gap: .75rem 2rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.place-heading h2 { font-size: clamp(2.15rem, 4vw, 3.9rem); }
.place-controls { display: flex; align-items: center; }
.place-controls[hidden], .place-preview { display: none; }
.place-controls button { border: 0; padding: 0; background: transparent; color: var(--ink); cursor: pointer; }
.place-controls [data-shift] { width: 2.8rem; height: 2.8rem; border: 1px solid var(--line); border-radius: 50%; font-size: 1.3rem; }
.place-controls [data-shift]:hover { background: #e8e6d9; }
.place-dot { min-width: 1.65rem; height: 2.8rem; display: grid; place-items: center; }
.place-dot::after { content: ""; width: .38rem; height: .38rem; border: 1px solid currentColor; border-radius: .4rem; }
.place-dot[aria-current]::after { width: .95rem; background: currentColor; }
.place-track { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); gap: 1.15rem; }
.place-card { overflow: hidden; background: #eae8db; color: var(--ink); border-radius: .6rem; }
.place-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.place-caption { padding: 1.35rem; }
.place-caption p { margin: .8rem 0 0; }
.place-trip { display: grid; gap: .23rem; margin-block-start: .8rem; line-height: 1.35; font-size: .9rem; }
.place-caption .place-trip a { margin: 0; width: fit-content; }
.trip-note { font-size: .9rem; color: var(--muted); padding-block-start: .8rem; }
.place-caption a { display: inline-block; margin-top: .75rem; }
.place-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.place-credits { margin-top: 2rem; color: var(--muted); font-size: .85rem; }
.place-credits summary { cursor: pointer; width: fit-content; }
.place-credits ul { padding-left: 1.25rem; }

@media (min-width: 48.001rem) {
  .is-gallery .place-track { display: block; position: relative; isolation: isolate; overflow: hidden; height: clamp(35rem, 46vw, 40rem); border-radius: .65rem; background: #26352c; }
  .is-gallery .place-card { position: absolute; top: 26%; left: 64%; width: 16%; height: 48%; z-index: 1; border-radius: .65rem; box-shadow: 0 .45rem 1.5rem #13191266; }
  .is-gallery .place-card[data-slot="2"] { left: 82%; }
  .is-gallery .place-card:not([data-slot="0"]):not([data-slot="1"]):not([data-slot="2"]) { left: 102%; visibility: hidden; }
  .is-gallery .place-card[data-slot="0"] { inset: 0; width: 100%; height: 100%; z-index: 0; border-radius: 0; }
  .is-gallery .place-card img { height: 100%; }
  .is-gallery .place-card[data-slot="0"]::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0e1c16dc, #14221bad 36%, #15221b52 62%, transparent 83%); pointer-events: none; }
  .is-gallery .place-caption { visibility: hidden; }
  .is-gallery [data-slot="0"] .place-caption { visibility: visible; position: absolute; z-index: 1; left: clamp(1.65rem, 4vw, 4.2rem); top: 50%; transform: translateY(-50%); width: 48%; padding: 0; color: #fffbef; }
  .is-gallery .place-caption h3 { font-size: clamp(2.4rem, 4.6vw, 4.6rem); line-height: 1; text-wrap: balance; }
  .is-gallery .place-caption p { max-width: 40ch; margin-top: 1rem; }
  .is-gallery .place-caption a { font-weight: 600; }
  .is-gallery .place-card:not([data-slot="0"]) { display: flex; flex-direction: column; }
  .is-gallery .place-card:not([data-slot="0"]) img { flex: 1 1 0; min-height: 0; }
  .is-gallery .place-card:not([data-slot="0"]) .place-caption { display: none; }
  .is-gallery .place-card:not([data-slot="0"]) .place-preview {
    display: grid; gap: .3rem; flex: none; width: 100%; padding: .55rem clamp(.4rem, .8vw, .85rem);
    border: 0; background: var(--paper); color: var(--ink); cursor: pointer; text-align: start;
    font: 600 clamp(.78rem, 1.1vw, 1rem)/1.2 var(--sans); overflow-wrap: anywhere;
  }
  /* The hit target spans the photograph and the caption below it. */
  .is-gallery .place-preview::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
  .is-gallery .place-preview-action { display: flex; gap: .4em; align-items: center; color: var(--muted); font-size: .78em; font-weight: 500; }
  .is-gallery .place-preview-action::after { content: ""; width: .5em; height: .5em; border-top: 1.5px solid; border-right: 1.5px solid; transform: rotate(45deg); }
  .is-gallery .place-preview:is(:hover,:focus-visible) .place-preview-action { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }
  .is-gallery .place-preview:focus-visible::before { outline: 3px solid #a35024; outline-offset: -3px; }
  @media (prefers-reduced-motion: no-preference) {
    .is-gallery .place-card { transition: left .45s ease, top .45s ease, width .45s ease, height .45s ease, border-radius .45s; }
    .is-gallery [data-slot="0"] .place-caption { animation: place-appear .55s ease both; }
    @keyframes place-appear { 0%, 45% { opacity: 0; } 100% { opacity: 1; } }
  }
}
@media (max-width: 48rem) {
  .place-heading { align-items: center; }
  .place-controls { max-width: 100%; min-width: 0; }
  .place-controls [data-shift] { flex: 0 0 44px; width: 44px; height: 44px; }
  .place-dot { flex: 0 1 1.65rem; width: 1.65rem; min-width: 0; }
  .is-gallery .place-track { position: relative; display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #a7a593 transparent; padding-bottom: .65rem; }
  .is-gallery .place-card { flex: 0 0 88%; scroll-snap-align: start; }
  .is-gallery .place-caption { padding: 1.1rem 1rem 1.3rem; }
  .place-heading h2 { max-width: 16ch; }
}
@media (max-width: 22rem) {
  .site-header .bar { gap: .4rem; }
  .site-header .wordmark span { font-size: 1.05rem; }
}
