/*!
 * Cloudberry / pinchards.is site theme
 * Built on Bootstrap 5 grid utilities; visual design is custom (DM Sans, brand orange).
 * Earlier iterations used Start Bootstrap Creative / Pinchard (MIT); that heritage is gone
 * from the markup — keep this file as the single theme stylesheet.
 */

:root {
  --color-brand: #F05F40;
  --color-brand-deep: #eb3812;
  --icon-idle: #1a1a1a;
  --icon-active: var(--color-brand);
  --nav-height: 50px;
}

html,
body {
  height: 100%;
  width: 100%;
}
body {
  font-family: "DM Sans", sans-serif;
}
hr {
  border-color: var(--color-brand);
  border-width: 3px;
  max-width: 50px;
}
hr.light {
  border-color: white;
}
a {
  -webkit-transition: all 0.35s;
  -moz-transition: all 0.35s;
  transition: all 0.35s;
  color: var(--color-brand);
}
a:hover,
a:focus {
  color: var(--color-brand-deep);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
}
/* Screen-reader-only titles (Bootstrap utility). Keep local so a11y
   headings stay hidden even if vendor/bootstrap fails to load. */
.visually-hidden,
.visually-hidden-focusable:not(:focus):not(:focus-within) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.visually-hidden-focusable:not(:focus):not(:focus-within):not(caption),
.visually-hidden:not(caption) {
  clip-path: inset(50%) !important;
}
p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
}
.bg-primary {
  background-color: var(--color-brand);
}
.bg-dark {
  background-color: #222222;
  color: white;
}
.text-faded {
  color: rgba(255, 255, 255, 0.7);
}
section {
  padding: 100px 0;
}
aside {
  padding: 50px 0;
}
.no-padding {
  padding: 0;
}
.navbar-default.affix {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}
.navbar-default {
  background-color: white;
  border: none;
  --nav-icon-size: 24px;
  --nav-icon-hit: 24px;
  font-family: "DM Sans", sans-serif;
  -webkit-transition: all 0.35s;
  -moz-transition: all 0.35s;
  transition: all 0.35s;
}
.navbar-default.navbar {
  display: flex;
  padding: 0;
  --bs-navbar-padding-y: 0;
  --bs-navbar-padding-x: 0;
  min-height: var(--nav-height);
}
.navbar-default .nav-bar-inner {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: var(--nav-height);
  padding: 0 16px;
  gap: 8px;
}
.navbar-default .nav-bar-start,
.navbar-default .nav-bar-end {
  display: flex;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
}
.navbar-default .nav-bar-start {
  justify-content: flex-start;
  gap: 12px;
}
.navbar-default .nav-bar-end {
  justify-content: flex-end;
  gap: 12px;
}
.navbar-default .nav-bar-start .title-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 19px;
    color: var(--color-brand);
    text-decoration: none;
    min-width: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition: color 0.2s ease;
}
.navbar-default .nav-bar-start .title-brand-mark {
    display: block;
    width: var(--nav-icon-size);
    height: var(--nav-icon-size);
    flex-shrink: 0;
    background-color: currentColor;
    -webkit-mask: url(../images/icon-cloudberry.svg) center / contain no-repeat;
    mask: url(../images/icon-cloudberry.svg) center / contain no-repeat;
}
.navbar-default .nav-bar-start .title-brand-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.navbar-default .nav-bar-start .title-brand--mark-only .title-brand-text {
    display: none;
}
.navbar-default .nav-bar-start .title-brand:hover,
.navbar-default .nav-bar-start .title-brand:focus {
    color: var(--icon-idle);
}
.navbar-default .nav-bar-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
  min-width: 0;
  max-width: min(100%, 280px);
  gap: 4px;
}
.navbar-default img {
    display: inline-block;
    max-width: 100%;
    cursor: pointer;
}
.navbar-default .img_left {
    float: left;
}
.navbar-default .img_right {
    float: right;
}
.navbar-default .nav-bar-center .title-brand,
.navbar-default .nav-bar-center > a:not(.nav-photo-prev):not(.nav-photo-next) {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 19px;
    color: var(--color-brand);
    text-decoration: none;
    min-width: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.navbar-default .nav-bar-center .title-brand-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.navbar-default .nav-bar-center .title-brand:hover,
.navbar-default .nav-bar-center .title-brand:focus,
.navbar-default .nav-bar-center > a:not(.nav-photo-prev):not(.nav-photo-next):hover,
.navbar-default .nav-bar-center > a:not(.nav-photo-prev):not(.nav-photo-next):focus {
    color: var(--icon-idle);
}
.detail_view-bar .viewer-photo-prev.is-hidden,
.detail_view-bar .viewer-photo-next.is-hidden {
    display: none;
    pointer-events: none;
}
.detail_view-bar .viewer-photo-prev,
.detail_view-bar .viewer-photo-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    color: var(--icon-idle);
    text-decoration: none;
}
.detail_view-bar .viewer-photo-prev:hover,
.detail_view-bar .viewer-photo-prev:focus,
.detail_view-bar .viewer-photo-next:hover,
.detail_view-bar .viewer-photo-next:focus {
    color: var(--icon-active);
}
.detail_view-bar .arrow {
    display: inline-block;
    width: 24px;
    height: 24px;
    vertical-align: top;
    border: none;
    background-color: var(--icon-idle);
    background-image: none;
    -webkit-mask: url(../images/arrow.svg) center / 20px 20px no-repeat;
    mask: url(../images/arrow.svg) center / 20px 20px no-repeat;
    cursor: pointer;
    margin-top: 0;
    transition: background-color 0.2s ease;
}
.detail_view-bar .arrow:hover {
    background-color: var(--icon-active);
}
.detail_view-bar .arrow.left {
    transform: rotate(90deg);
}
.detail_view-bar .arrow.right {
    transform: rotate(-90deg);
}
.navbar-default .nav-photo-prev.is-hidden,
.navbar-default .nav-photo-next.is-hidden {
    display: none;
    pointer-events: none;
}
.navbar-default .nav-photo-prev,
.navbar-default .nav-photo-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: var(--nav-icon-hit);
    height: var(--nav-icon-hit);
    color: var(--icon-idle);
    text-decoration: none;
}
.navbar-default .nav-photo-prev:hover,
.navbar-default .nav-photo-prev:focus,
.navbar-default .nav-photo-next:hover,
.navbar-default .nav-photo-next:focus {
    color: var(--icon-active);
}
.navbar-default .nav-bar-center .arrow {
    display: inline-block;
    width: var(--nav-icon-size);
    height: var(--nav-icon-size);
    vertical-align: top;
    border: none;
    background-color: var(--icon-idle);
    background-image: none;
    -webkit-mask: url(../images/arrow.svg) center / var(--nav-icon-size) no-repeat;
    mask: url(../images/arrow.svg) center / var(--nav-icon-size) no-repeat;
    cursor: pointer;
    margin-top: 0;
    transition: background-color 0.2s ease;
}
.navbar-default .nav-bar-center .arrow:hover {
    background-color: var(--icon-active);
}
.navbar-default .nav-bar-center .arrow.left {
    margin-right: 4px;
    transform: rotate(90deg);
}
.navbar-default .nav-bar-center .arrow.right {
    margin-left: 4px;
    transform: rotate(-90deg);
}

/* Nav icons: one SVG per glyph, color via mask + tokens */
.navbar-default .nav_gallery,
.navbar-default .nav_info,
.navbar-default .nav_maps {
    display: block;
    width: var(--nav-icon-hit);
    height: var(--nav-icon-hit);
    flex-shrink: 0;
    background-color: var(--icon-idle);
    background-image: none;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: var(--nav-icon-size);
    mask-size: var(--nav-icon-size);
    transition: background-color 0.2s ease;
}

.navbar-default .nav_gallery {
    -webkit-mask-image: url(../images/icon-gallery.svg);
    mask-image: url(../images/icon-gallery.svg);
}
.navbar-default .nav_info {
    -webkit-mask-image: url(../images/icon-info.svg);
    mask-image: url(../images/icon-info.svg);
}
.navbar-default .nav_maps {
    -webkit-mask-image: url(../images/icon-map.svg);
    mask-image: url(../images/icon-map.svg);
}

.navbar-default .nav_gallery:hover,
.navbar-default .nav_gallery:focus,
.navbar-default .nav_gallery.active,
.navbar-default .nav_info:hover,
.navbar-default .nav_info:focus,
.navbar-default .nav_info.active,
.navbar-default .nav_maps:hover,
.navbar-default .nav_maps:focus,
.navbar-default .nav_maps[aria-expanded="true"],
.navbar-default .nav_maps.is-active {
    background-color: var(--icon-active);
}

/* Union */
.navbar-default .union {
    position: absolute;
    width: 21px;
    height: 21px;
    left: 14px;
    top: 14px;
    cursor: pointer;
}
.navbar-default .union_vector {
    position: absolute;
    /*width: 6.61px;*/
    width: 23.607%;
    height: 23.607%;
    background-color: var(--icon-idle);
    border-radius: 1px;

    -webkit-transition: all 0.35s;
    -moz-transition: all 0.35s;
    transition: all 0.35s;
}

.union:hover .union_vector, .union:focus .union_vector {
    background-color: var(--icon-active);
}

.navbar-default .union_vector1 {
    left: 0;
    top: 0;
}
.navbar-default .union_vector2 {
    left: 0;
    right: 0;
    margin: auto;
    top: 0;
}
.navbar-default .union_vector3 {
    right: 0;
    top: 0;
}
.navbar-default .union_vector4 {
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}
.navbar-default .union_vector5 {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}
.navbar-default .union_vector6 {
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}
.navbar-default .union_vector7 {
    left: 0;
    bottom: 0;
}
.navbar-default .union_vector8 {
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}
.navbar-default .union_vector9 {
    right: 0;
    bottom: 0;
}

@media (min-width: 768px) {
  .navbar-default {
    background-color: white;
    border-color: #e5e5e5;
  }
  .navbar-default .navbar-header .navbar-brand {
    color: rgba(255, 255, 255, 0.7);
  }
  .navbar-default .navbar-header .navbar-brand:hover,
  .navbar-default .navbar-header .navbar-brand:focus {
    color: white;
  }
  .navbar-default .nav > li > a,
  .navbar-default .nav > li > a:focus {
    color: rgba(255, 255, 255, 0.7);
  }
  .navbar-default .nav > li > a:hover,
  .navbar-default .nav > li > a:focus:hover {
    color: white;
  }
  .navbar-default.affix {
    background-color: white;
    border-color: rgba(34, 34, 34, 0.05);
  }
  .navbar-default.affix .navbar-header .navbar-brand {
    color: #F05F40;
    font-size: 14px;
  }
  .navbar-default.affix .navbar-header .navbar-brand:hover,
  .navbar-default.affix .navbar-header .navbar-brand:focus {
    color: #eb3812;
  }
  .navbar-default.affix .nav > li > a,
  .navbar-default.affix .nav > li > a:focus {
    color: #222222;
  }
  .navbar-default.affix .nav > li > a:hover,
  .navbar-default.affix .nav > li > a:focus:hover {
    color: #F05F40;
  }
}

.preview {
    position: relative;
    width: 100%;
    height: 100vh;
    padding-top: var(--nav-height);
    box-sizing: border-box;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
}
.preview.overflow_shown{
    overflow-y: auto;
}
/* Paint white only in the under-toolbar band (100vh extends there; 100svh does not). */
body.viewer-page .preview::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - 100svh);
    background: #fff;
    pointer-events: none;
    z-index: 1;
}
.detail_view-bar .viewer-play-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #000;
    cursor: pointer;
    font: inherit;
    line-height: 1;
    appearance: none;
    -webkit-appearance: none;
}

.detail_view-bar .viewer-play-toggle:hover,
.detail_view-bar .viewer-play-toggle:focus {
    color: #000;
    outline: none;
}

.detail_view-bar .viewer-play-toggle:focus-visible {
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12);
}

.detail_view-bar .viewer-play-icons {
    position: relative;
    display: block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.detail_view-bar .viewer-play-icon {
    position: absolute;
    inset: 0;
    display: block;
    background-color: currentColor;
    background-image: none;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.detail_view-bar .viewer-play-icon--pause {
    -webkit-mask-image: url(../images/icon-pause.svg);
    mask-image: url(../images/icon-pause.svg);
}

.detail_view-bar .viewer-play-icon--play {
    -webkit-mask-image: url(../images/icon-play.svg);
    mask-image: url(../images/icon-play.svg);
    opacity: 1;
}

.detail_view-bar .viewer-play-toggle:not(.is-paused) .viewer-play-icon--play {
    opacity: 0;
}

.detail_view-bar .viewer-play-toggle:not(.is-paused) .viewer-play-icon--pause {
    opacity: 1;
}

.detail_view-bar .viewer-fullscreen-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-color: #000;
    background-image: none;
    -webkit-mask: url(../images/icon-expand.svg) center / 24px 24px no-repeat;
    mask: url(../images/icon-expand.svg) center / 24px 24px no-repeat;
}

.detail_view-bar .viewer-fullscreen-toggle:hover,
.detail_view-bar .viewer-fullscreen-toggle:focus,
.detail_view-bar .viewer-fullscreen-toggle.is-active {
    background-color: #000;
    outline: none;
}

.detail_view-bar .viewer-fullscreen-toggle:focus-visible {
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12);
}

.btn_arrow {
    position: relative;
    width: 48px;
    height: 3rem;
    min-height: 48px;
    background-color: white;
    background-image: none;
    cursor: pointer;
    transform: rotate(180deg);
    -webkit-transition: background-color 0.35s;
    -moz-transition: background-color 0.35s;
    transition: background-color 0.35s;
    border: none;
    flex-shrink: 0;
    font-size: 0;
    color: transparent;
    padding: 0;
}
.btn_arrow::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--icon-idle);
    -webkit-mask: url('../images/arrow.svg') center / 22px 22px no-repeat;
    mask: url('../images/arrow.svg') center / 22px 22px no-repeat;
    transition: background-color 0.2s ease;
}
.detail_view-bar {
    display: flex;
    align-items: center;
    height: 3rem;
    min-height: 48px;
    flex-shrink: 0;
    background-color: white;
}
.detail_view.open .detail_view-bar {
    border-bottom: 1px solid #e8e8e8;
}

body.viewer-page--kiosk .navbar-default,
body.viewer-page--kiosk .detail_view {
    display: none !important;
}

body.viewer-page--kiosk .preview {
    padding-top: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    background: #000;
}

body.viewer-page--kiosk .preview::after {
    display: none;
}

body.viewer-page--kiosk #preview_image,
body.viewer-page--kiosk .preview .photo-placeholder {
    top: 0;
    bottom: 0;
    background-color: #000;
    background-size: 112% 112%;
    background-position: center;
    overflow: hidden;
}

/* Overscale slightly so archive edge defects (esp. top-right) stay off-screen. */
body.viewer-page--kiosk .photo-placeholder img.viewer-photo-main {
    top: 50%;
    left: 50%;
    width: 112%;
    height: 112%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    transform: translate(-50%, -50%);
}
.detail_view-divider {
    display: none;
}
.btn_arrow.down_arrow {
    transform: rotate(0deg);
}
.btn_arrow:hover::before,
.btn_arrow.down_arrow:hover::before {
    background-color: var(--icon-active);
}
.detail_view {
    width: 100%;
    background-color: white;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1020;
    max-height: min(85vh, 720px);
    display: flex;
    flex-direction: column;
    transform: translateY(calc(100% - 3rem));
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
}
.detail_view.open {
    transform: translateY(0);
}
.detail_view.open .detail_drawer-inner {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.detail_view .detail_drawer-inner {
    flex: 1;
    min-height: 0;
    max-height: inherit;
}
/* Side-by-side metadata + map on desktop (do not rely on Bootstrap grid loading). */
.detail_view .detail_drawer-inner > .row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin: 0;
}
.detail_view .detail_container,
.detail_view .mapcontainer {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
}
@media (min-width: 768px) {
    .detail_view .detail_container {
        flex: 0 0 41.6667%;
        max-width: 41.6667%;
    }
    .detail_view .mapcontainer {
        flex: 0 0 58.3333%;
        max-width: 58.3333%;
    }
}
.detail_view .detail_container {
    padding: 32px;
}
.detail_content_view .title {
    display: inline-block;
    font-weight: 700;
    font-size: 48px;
    width: calc(100% - 40px);
    word-break: break-all;
}

.detail_content_view .detail_rect {
    display: inline-block;
    width: 24px;
    height: 24px;
    vertical-align: top;
    margin-right: 8px;
    border-radius: 2px;
    text-align: center;
}
.detail_content_view .detail_rect img {
    display: block;
    width: 24px;
    height: 24px;
}
.detail_content_view .detail_rect.title_rect {
    margin-top: 16px;
}
.detail_content_view .datetime_area {
    margin-top: 8px;
}
.detail_content_view .inner_data {
    display: inline-block;
    font-weight: 300;
    font-size: 16px;
    vertical-align: top;
    line-height: 24px;
}
@media (max-width: 768px) {
    .detail_content_view .inner_data {
        width: calc(100% - 40px);
    }
    .detail_content_view .title {
        width: calc(100% - 40px);
    }
}
.detail_content_view .inner_area {
    margin-top: 16px;
}
.detail_content_view .inner_area.is-hidden {
    display: none;
}
.detail_content_view .detail-citation-copy {
    margin-left: 32px;
}

.detail_view .mapcontainer {
    padding: 32px;
    text-align: center;
}
.detail_view .mapcontainer #photoMap {
    width: 100%;
    aspect-ratio: 2 / 1;
    min-height: 200px;
}

.photos_container {
    padding-top: 20px;
}
.photoElement {
    margin-bottom: 32px;
}
.photoBox {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
}
.photo-box-caption {
    color: black;
    opacity: 0;
    font-weight: 700;
    display: block;
    background: rgba(255,255,255,0.7);
    position: absolute;
    bottom: 0;
    text-align: center;
    width: 100%;
    height: 100%;
    transition: all .35s;
}
.photoBox .photo-box-caption .photo-box-caption-content {
    width: 100%;
    text-align: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
}
.photoBox:hover .photo-box-caption {
    opacity: 1;
}

.ui-datepicker-calendar {
    display: none;
}

.ui-datepicker {
    margin: 0 auto;
    margin-top: 2px;
}

.ui-widget-header {
    border: none !important;
    background: transparent !important;
}

.ui-widget.ui-widget-content {
    border: none !important;
    width: 260px;
}

.ui-widget-content {
    background-color: transparent !important;
}

.ui-corner-all:hover {
    border: none !important;
    background-color: transparent !important;
}

.ui-icon, .ui-widget-content .ui-icon {
    display: none !important;
}

.ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year {
    height: 32px;
    margin: 0px 2px;
    /*text-align-last: center;*/
    border-color: #d4d4d4;
    border-radius: 3px;
    color: rgba(0, 0, 0, 0.8);
}

.ui-datepicker select.ui-datepicker-month {
    /*color: transparent;*/
}


/*#monthpicker:after{
    width: 0;
    height: 0;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 6px solid #797979;
    position: absolute;
    top: 42%;
    left: calc(50% + 3px);
    content: "";
    z-index: 98;
 }


.ui-datepicker-title:after {
    width: 0;
    height: 0;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 6px solid #797979;
    position: absolute;
    top: 42%;
    left: calc(50% + 72px);
    content: "";
    z-index: 98;
 }    */


.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next {
    top: 3px;
    width: 32px !important;
    height: 32px !important;
    border: solid 1px #000000 !important;
    background: transparent;
    cursor: pointer;
    opacity: .15;
    display: none;
    position: relative;
}

.ui-datepicker .ui-datepicker-prev::before,
.ui-datepicker .ui-datepicker-next::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: #000;
    -webkit-mask: url('../images/arrow.svg') center / 16px no-repeat;
    mask: url('../images/arrow.svg') center / 16px no-repeat;
}

.ui-datepicker .ui-datepicker-prev:hover, .ui-datepicker .ui-datepicker-next:hover {
    opacity: 1;
    border: solid 1px var(--color-brand) !important;
}

.ui-datepicker .ui-datepicker-prev:hover::before,
.ui-datepicker .ui-datepicker-next:hover::before {
    background-color: var(--icon-active);
}

.ui-datepicker .ui-datepicker-prev {
    transform: rotate(90deg);
}

.ui-datepicker .ui-datepicker-next {
    transform: rotate(-90deg);
}

.ui-datepicker-year {
    width: 65px !important;
    padding-left: 3px;
}

.ui-datepicker-month {
    width: 100px !important;
    padding-left: 4px !important;
    text-align-last: center;
}

option {
    font-weight:bold;
    /*text-align: center;*/
    /*text-indent: 10px;*/
}


/*five column*/
.col-5ths,
.col-sm-5ths,
.col-md-5ths,
.col-lg-5ths {
  position: relative;
  width: 100%;
}

.col-5ths {
  flex: 0 0 auto;
  width: 20%;
}

.day {
    display: inline-block;
    width: 20px;
    vertical-align: top;
    font-weight: 700;
    font-size: 18px;
    text-align: right;
}

.photos {
    width: 100%;
}

.day.floating {
    position: fixed;
    top: 132px;
}

.photos.floating {
    display: inline-block;
    width: calc(100% - 25px);
    margin-left: 20px;
}

.photoBox img {
    /*border-radius: 4px;*/
    width: 104% !important;
    max-width: 104% !important;
/*    background-size: contain;
    height: 200px;*/
    /*opacity: 0;*/
    /*transition: opacity .3s ease-in;*/
/*    -webkit-transition: opacity 1s ease-in-out;
  -moz-transition: opacity 1s ease-in-out;
  -ms-transition: opacity 1s ease-in-out;
  -o-transition: opacity 1s ease-in-out;
  transition: opacity 1s ease-in-out;*/
}

#photo_container {
    width: 100%;
    padding-left: 32px;
    padding-right: 32px;
    margin-top: 100px;
}

#preview_image {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 3rem;
    width: 100%;
}

.viewer-timeline {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    gap: 12px;
    padding: 0 4px;
    touch-action: none;
}

.viewer-timeline-date {
    flex-shrink: 0;
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, "Courier New", monospace;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
    line-height: 1;
    color: rgba(0, 0, 0, 0.55);
    white-space: nowrap;
    min-width: 11ch;
}

.viewer-timeline-track {
    position: relative;
    flex: 1;
    min-width: 0;
    height: 14px;
    display: flex;
    align-items: center;
}

.viewer-timeline-track::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    margin-top: -1px;
    background: #ddd;
    border-radius: 1px;
    pointer-events: none;
}

.viewer-timeline-range {
    -webkit-appearance: none;
    appearance: none;
    position: relative;
    z-index: 1;
    width: 100%;
    height: 14px;
    margin: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    touch-action: none;
}

.viewer-timeline-range:focus {
    outline: none;
}

.viewer-timeline-range:focus-visible::-webkit-slider-thumb {
    box-shadow: 0 0 0 3px rgba(240, 95, 64, 0.35);
}

.viewer-timeline-range:focus-visible::-moz-range-thumb {
    box-shadow: 0 0 0 3px rgba(240, 95, 64, 0.35);
}

.viewer-timeline-range::-webkit-slider-runnable-track {
    height: 2px;
    background: transparent;
}

.viewer-timeline-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 11px;
    height: 11px;
    margin-top: -4.5px;
    border-radius: 50%;
    background: #F05F40;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #F05F40;
    transition: transform 0.15s;
}

.viewer-timeline-range:active::-webkit-slider-thumb {
    transform: scale(1.15);
}

.viewer-timeline-range::-moz-range-track {
    height: 2px;
    background: transparent;
    border: none;
}

.viewer-timeline-range::-moz-range-thumb {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #F05F40;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #F05F40;
    transition: transform 0.15s;
}

.viewer-timeline-range:active::-moz-range-thumb {
    transform: scale(1.15);
}

@media (max-width: 767px) {
    .navbar-default {
        --nav-icon-size: 28px;
        --nav-icon-hit: 44px;
    }

    .navbar-default .nav-bar-inner {
        gap: 4px;
        padding: 0 12px;
    }

    .navbar-default .nav-bar-start,
    .navbar-default .nav-bar-end {
        flex: 0 0 auto;
    }

    .navbar-default .nav-bar-inner:not(:has(.nav-bar-center)) {
        justify-content: space-between;
    }

    .navbar-default .nav-bar-start {
        gap: 8px;
    }

    .navbar-default .nav-bar-center {
        flex: 1 1 auto;
        max-width: none;
    }

    .navbar-default .nav-bar-start .title-brand,
    .navbar-default .nav-bar-center .title-brand,
    .navbar-default .nav-bar-center > a:not(.nav-photo-prev):not(.nav-photo-next) {
        font-size: clamp(13px, 4.2vw, 17px);
    }

    .navbar-default .nav-bar-end {
        gap: 8px;
    }

    .detail_view-bar .viewer-photo-prev,
    .detail_view-bar .viewer-photo-next,
    .detail_view-bar .viewer-play-toggle,
    .detail_view-bar .viewer-fullscreen-toggle,
    .detail_view-bar .btn_arrow {
        width: 44px;
        height: 44px;
        min-height: 44px;
    }

    .detail_view-bar .viewer-play-icons {
        width: 22px;
        height: 22px;
    }

    .detail_view-bar .viewer-fullscreen-toggle {
        -webkit-mask-size: 22px 22px;
        mask-size: 22px 22px;
    }

    .detail_view-bar .arrow {
        width: 28px;
        height: 28px;
        -webkit-mask-size: 24px 24px;
        mask-size: 24px 24px;
    }

    .viewer-timeline {
        gap: 6px;
        padding: 0 4px;
    }

    .viewer-timeline-date {
        font-size: 11px;
    }

}

.preview .photo-placeholder {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 3rem;
}

.picker_area {
    width: 100%;
    height: 50px;
    background-color: #fbfbfb;
    border-bottom: solid 1px #e5e5e5;
    position: fixed;
    right: 0;
    left: 0;
    top: 50px;
    z-index: 1030;
}
.picker_area #monthpicker {
    margin: 0 auto;
}
.content_area {
    padding: 32px 8px 8px 8px;
    /*display: none;*/
}

.about_section {
    padding-top: 100px;
}
.about_section .left_label, .how_section .left_label, .who_section .left_label, .contact_section .left_label {
    font-weight: 700;
    padding-bottom: 24px;
}
@media (min-width: 768px) {
    .about_section .left_label {
        margin-left: -10px;
    }
    .contact_section .left_label {
        margin-left: -24px;
    }
}

.about_section .sub_container {
    padding: 32px 14%;
}
.about_section .sub_container .sub_content {
    font-style: italic;
    font-size: 115%;
}
.about_section .sub_container .sub_content_name {
    text-align: right;
    margin-top: 24px;
}


@media (min-width: 992px) {
    .about_section .about_images {
        margin-left: 10%;
        margin-right: 10%;
    }
}

.about_section .info_img, .how_section .info_img {
    border-radius: 0;
}
.how_section, .who_section {
    padding: 16px 0px;
}
.how_section .code_area {
    font-family: "Courier New", Courier, monospace;
    font-size: 14px;
    padding-top: 16px;
    padding-bottom: 24px;
    padding-left: 32px;
    padding-right: 32px;
}

@media (max-width: 768px) {
    .how_section .code_area {
        padding-left: 6%;
        padding-right: 6%;
    }
}
.who_section .people-list {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
}
.who_section .people-list-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
}
.who_section .people-list-item + .people-list-item {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.who_section .people-list-photo {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}
.who_section .people-list-body {
    min-width: 0;
}
.who_section .people-list-name {
    font-weight: 700;
    font-size: 16px;
    line-height: 1.3;
}
.who_section .people-list-role {
    margin-top: 2px;
    font-size: 15px;
    line-height: 1.4;
    color: #555;
}
.who_section .people-list .link,
.how_section .link,
.contact_section .link {
    color: #F05F40;
    font-size: 15px;
}
.who_section .people-list .link {
    display: inline-block;
    margin-top: 4px;
}
.who_section .people-list .link:hover,
.how_section .link:hover,
.contact_section .link:hover {
    color: #F05F40;
    border-bottom: 2px;
}
.contact_section {
    padding: 16px 0px;
    padding-bottom: 100px;
}
.how_section .copyright,
.contact_section .copyright {
    margin-top: 45px;
    color: #959595;
    font-size: 12px;
}

.citation-block {
    margin: 24px 0 0;
    padding: 16px 18px;
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-left: 3px solid #F05F40;
    border-radius: 4px;
}
.citation-block--spaced-below {
    margin-bottom: 40px;
}
.citation-block-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}
.citation-block-label {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #666;
}
.citation-copy-btn {
    flex-shrink: 0;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 1;
    padding: 7px 12px;
    border-radius: 3px;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
.citation-copy-btn:hover,
.citation-copy-btn:focus {
    border-color: #F05F40;
    color: #F05F40;
    outline: none;
}
.citation-copy-btn.is-copied {
    border-color: #2e7d32;
    color: #2e7d32;
}
.citation-block-text {
    margin: 0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    line-height: 1.55;
    color: #222;
    user-select: all;
    white-space: pre-wrap;
    word-break: break-word;
}
.citation-block-hint {
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.45;
    color: #777;
}

/* Center the loader */
#loader {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 150px;
  height: 150px;
  /*margin: -75px 0 0 -75px;*/
  border: 4px solid #f3f3f3;
  border-radius: 50%;
  border-top: 4px solid #3498db;
  width: 40px;
  height: 40px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Add animation to "page content" */
.animate-bottom {
  position: relative;
  -webkit-animation-name: animatebottom;
  -webkit-animation-duration: 1s;
  animation-name: animatebottom;
  animation-duration: 1s
}

@-webkit-keyframes animatebottom {
  from { bottom:-100px; opacity:0 }
  to { bottom:0px; opacity:1 }
}

@keyframes animatebottom {
  from{ bottom:-100px; opacity:0 }
  to{ bottom:0; opacity:1 }
}

@media (min-width: 768px) {
  .col-sm-5ths {
    flex: 0 0 auto;
    width: 20%;
  }
}

@media (min-width: 992px) {
  .col-md-5ths {
    flex: 0 0 auto;
    width: 20%;
  }
}

@media (min-width: 1200px) {
  .col-lg-5ths {
    flex: 0 0 auto;
    width: 20%;
  }
}
/*file column end*/

.info_img {
    margin: 20px 0px;
}

body.info-page {
    padding-top: 50px;
    overflow-x: clip;
}

body.info-page .info-hero {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin: 0 0 20px;
}

body.info-page .info-hero img {
    display: block;
    width: 100%;
    height: 60vh;
    min-height: 280px;
    max-height: 70vh;
    margin: 0;
    object-fit: cover;
    object-position: center;
}

body.info-page img.info_img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 0;
}

body.info-page a > img.info_img {
    width: 100%;
}

body.info-page .info-reveal-img.is-pending {
    opacity: 0;
}

body.info-page .info-map {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 1.25rem 0 0;
}

body.info-page .info-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (prefers-reduced-motion: reduce) {
    body.info-page .info-reveal-img.is-pending {
        opacity: 1;
    }
}

header {
  position: relative;
  width: 100%;
  min-height: auto;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
  background-position: center;
  background-image: url('../images/header.jpg');
  text-align: center;
  color: white;
  height: calc(100% - 16px);
}
header .header-content {
  position: relative;
  text-align: center;
  padding: 100px 15px 100px;
  width: 100%;
}
header .header-content .header-content-inner h1 {
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 30px;
}
header .header-content .header-content-inner hr {
  margin: 30px auto;
}
header .header-content .header-content-inner p {
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  margin-bottom: 50px;
}
@media (min-width: 768px) {
  header {
    /*min-height: calc(100% - 16px);*/
  }
  header .header-content {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    padding: 0 50px;
  }
  header .header-content .header-content-inner {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }
  header .header-content .header-content-inner h1 {
    font-size: 50px;
  }
  header .header-content .header-content-inner p {
    font-size: 18px;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
}
.section-heading {
  margin-top: 0;
}
.service-box {
  max-width: 400px;
  margin: 50px auto 0;
}
@media (min-width: 768px) {
  .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
    font-size: 16px;
  }
  .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
    font-size: 22px;
  }
}
.call-to-action h2 {
  margin: 0 auto 20px;
}
.text-primary {
  color: #F05F40;
}
.no-gutter > [class*='col-'] {
  padding-right: 0;
  padding-left: 0;
}
.btn-default {
  color: #222222;
  background-color: white;
  border-color: white;
  -webkit-transition: all 0.35s;
  -moz-transition: all 0.35s;
  transition: all 0.35s;
}
.btn-default:hover,
.btn-default:focus,
.btn-default.focus,
.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
  color: #222222;
  background-color: #f2f2f2;
  border-color: #ededed;
}
.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
  background-image: none;
}
.btn-default.disabled,
.btn-default[disabled],
fieldset[disabled] .btn-default,
.btn-default.disabled:hover,
.btn-default[disabled]:hover,
fieldset[disabled] .btn-default:hover,
.btn-default.disabled:focus,
.btn-default[disabled]:focus,
fieldset[disabled] .btn-default:focus,
.btn-default.disabled.focus,
.btn-default[disabled].focus,
fieldset[disabled] .btn-default.focus,
.btn-default.disabled:active,
.btn-default[disabled]:active,
fieldset[disabled] .btn-default:active,
.btn-default.disabled.active,
.btn-default[disabled].active,
fieldset[disabled] .btn-default.active {
  background-color: white;
  border-color: white;
}
.btn-default .badge {
  color: white;
  background-color: #222222;
}
.btn-primary {
  color: white;
  background-color: #F05F40;
  border-color: #F05F40;
  -webkit-transition: all 0.35s;
  -moz-transition: all 0.35s;
  transition: all 0.35s;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
  color: white;
  background-color: #ee4b28;
  border-color: #ed431f;
}
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
  background-image: none;
}
.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled] .btn-primary,
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled.focus,
.btn-primary[disabled].focus,
fieldset[disabled] .btn-primary.focus,
.btn-primary.disabled:active,
.btn-primary[disabled]:active,
fieldset[disabled] .btn-primary:active,
.btn-primary.disabled.active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary.active {
  background-color: #F05F40;
  border-color: #F05F40;
}
.btn-primary .badge {
  color: #F05F40;
  background-color: white;
}
.btn {
  font-family: 'DM Sans', sans-serif;
  border: none;
  border-radius: 300px;
  font-weight: 700;
  text-transform: uppercase;
}
.btn-xl {
  padding: 15px 30px;
}
::-moz-selection {
  color: white;
  text-shadow: none;
  background: #222222;
}
::selection {
  color: white;
  text-shadow: none;
  background: #222222;
}
img::selection {
  color: white;
  background: transparent;
}
img::-moz-selection {
  color: white;
  background: transparent;
}
body {
  webkit-tap-highlight-color: #222222;
}

.about_section, .how_section, .who_section, .contact_section {
    font-size: 120%;
}

.photo-placeholder {
  /* White only for the first intro; once a photo is underlaid it covers this. */
  background-color: #fff;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  overflow: hidden;
  cursor: default;
}

.photo-placeholder img {
  position: absolute;
  opacity: 0;
  top: 0;
  left: 0;
  width: 100%;
  /* Never CSS-transition the base rule — it fights overlay dissolves. */
  transition: none;
}

.photo-placeholder img.viewer-photo-main {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: none;
  /* Avoid a blank/white paint while the next layer decodes. */
  background-color: transparent;
}

.photo-placeholder img.loaded {
  opacity: 1;
}

.photo-placeholder img.viewer-photo-main.is-fading-in {
  opacity: 1;
  transition: opacity 1s ease-in-out;
}

/* Viewer transitions must not fade the outgoing photo out — that flashes white. */
.photo-placeholder img.viewer-photo-main.is-fading-out {
  opacity: 1;
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .photo-placeholder img.viewer-photo-main.is-fading-in,
  .photo-placeholder img.viewer-photo-main.is-fading-out {
    transition: none;
  }
}

/* —— Gallery page (horizontal day columns) —— */
body.gallery-page {
    --gallery-days-nav-offset: var(--nav-height);
    --gallery-days-column-pad: 12px;
    --gallery-days-date-line: 11px;
    --gallery-days-date-band: calc(var(--gallery-days-date-line) + var(--gallery-days-column-pad) + 1px);
    --gallery-days-max-photos: 12;
    --gallery-days-photo-height: calc((100dvh - var(--gallery-days-nav-offset) - var(--gallery-days-column-pad) - var(--gallery-days-date-band)) / var(--gallery-days-max-photos));
    --gallery-days-column-width: calc(var(--gallery-days-photo-height) * 288 / 224);
    padding-top: 0;
    overflow: hidden;
}

/* Keep desktop day columns to a fixed row budget; mobile still shows all. */
@media (min-width: 768px) {
    body.gallery-page .gallery-day-photo:nth-child(n+13) {
        display: none;
    }
}

body.gallery-page .gallery-days-layout {
    position: fixed;
    top: var(--gallery-days-nav-offset);
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
}

body.gallery-page .gallery-feed-date {
    display: none;
}

body.gallery-page .gallery-days-scroll {
    width: 100%;
    height: 100%;
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    cursor: grab;
    outline: none;
    border-top: 1px solid #ececec;
}

body.gallery-page .gallery-days-scroll.is-dragging {
    cursor: grabbing;
    user-select: none;
}

body.gallery-page .gallery-days-scroll.is-dragging .gallery-day-photo {
    pointer-events: none;
}

body.gallery-page .gallery-days-track {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: max-content;
    min-height: 100%;
    padding: 0;
    gap: 0;
}

body.gallery-page .gallery-day-column {
    display: flex;
    flex-direction: column;
    flex: 0 0 var(--gallery-days-column-width);
    width: var(--gallery-days-column-width);
    height: auto;
    padding-top: var(--gallery-days-column-pad);
    scroll-margin-left: 0;
    contain: layout style;
}

body.gallery-page .gallery-day-stack {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    gap: 0;
    width: 100%;
    border-right: 1px solid #ececec;
}

body.gallery-page .gallery-day-column:last-child .gallery-day-stack {
    border-right: none;
}

body.gallery-page .gallery-day-label {
    flex: 0 0 auto;
    box-sizing: border-box;
    margin: 0;
    padding: 0 4px var(--gallery-days-column-pad);
    font-family: 'DM Sans', sans-serif;
    font-size: 10px;
    font-weight: 400;
    line-height: var(--gallery-days-date-line);
    min-height: var(--gallery-days-date-line);
    text-align: center;
    color: rgba(0, 0, 0, 0.38);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-bottom: 1px solid #e8e8e8;
    background: #fff;
}

body.gallery-page .gallery-day-label-feed {
    display: none;
}

body.gallery-page .gallery-day-photo {
    display: block;
    flex: 0 0 var(--gallery-days-photo-height);
    width: 100%;
    height: var(--gallery-days-photo-height);
    min-height: var(--gallery-days-photo-height);
    overflow: hidden;
    position: relative;
    background: #fff;
    border-radius: 0;
}

/* Desktop-only placeholder pulse — thousands of infinite animations jank mobile scroll. */
@media (hover: hover) and (pointer: fine) {
    body.gallery-page .gallery-day-photo:not(.is-loaded) {
        animation: gallery-day-photo-breathe 3s ease-in-out infinite;
    }
}

@keyframes gallery-day-photo-breathe {
    0%, 100% {
        background-color: #f8f8f8;
    }
    50% {
        background-color: #f3f3f3;
    }
}

body.gallery-page .gallery-day-photo img.gallery-photo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 106% !important;
    max-width: 106% !important;
    height: 106%;
    object-fit: cover;
    object-position: center;
    transform: translate(-50%, -50%);
    display: block;
    opacity: 0;
    transition: opacity 0.25s ease-out;
    pointer-events: none;
}

body.gallery-page .gallery-day-photo.is-loaded {
    animation: none;
    background: #fff;
}

body.gallery-page .gallery-day-photo.is-loaded img.gallery-photo {
    opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
    body.gallery-page .gallery-day-photo.is-loaded img.gallery-photo {
        transition: opacity 0.25s ease-out;
    }
}

body.gallery-page .gallery-day-photo.is-keyboard-focus,
body.gallery-page .gallery-day-photo:focus-visible {
    outline: 2px solid #F05F40;
    outline-offset: -2px;
    z-index: 2;
}

body.gallery-page .gallery-day-photo .photo-box-caption {
    font-size: 12px;
    background: transparent;
    transition: opacity 0.28s ease;
    pointer-events: none;
}

body.gallery-page .gallery-day-photo .photo-box-caption-content {
    top: auto;
    right: 4px;
    bottom: 3px;
    left: auto;
    width: auto;
    max-width: calc(100% - 8px);
    padding: 0;
    text-align: right;
    transform: none;
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, "Courier New", monospace;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.2;
    color: #fff;
    opacity: 0;
    transition: opacity 0.28s ease;
}

body.gallery-page .gallery-day-photo.is-keyboard-focus .photo-box-caption,
body.gallery-page .gallery-day-photo:focus-visible .photo-box-caption,
body.gallery-page .gallery-day-photo.is-keyboard-focus .photo-box-caption-content,
body.gallery-page .gallery-day-photo:focus-visible .photo-box-caption-content {
    opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
    body.gallery-page .gallery-day-photo:hover .photo-box-caption,
    body.gallery-page .gallery-day-photo:hover .photo-box-caption-content {
        opacity: 1;
    }
}

/* Touch: always show the brief time stamp (hover never fires). */
@media (hover: none), (pointer: coarse) {
    body.gallery-page .gallery-day-photo .photo-box-caption,
    body.gallery-page .gallery-day-photo .photo-box-caption-content {
        opacity: 1;
    }
}

@media (max-width: 767px) {
    body.gallery-page {
        --gallery-days-column-pad: 10px;
        --gallery-days-date-line: 14px;
    }

    body.gallery-page .gallery-feed-date {
        display: flex;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 4;
        align-items: center;
        padding: 10px 12px;
        font-family: ui-monospace, "SF Mono", Menlo, Consolas, "Courier New", monospace;
        font-size: 11px;
        font-weight: 500;
        letter-spacing: 0.04em;
        line-height: var(--gallery-days-date-line);
        min-height: calc(var(--gallery-days-date-line) + 20px);
        color: rgba(0, 0, 0, 0.55);
        border-top: 1px solid #ececec;
        border-bottom: 1px solid #e8e8e8;
        background: #fff;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-100%);
    }

    body.gallery-page .gallery-feed-date.is-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    body.gallery-page .gallery-days-scroll {
        overflow-x: hidden;
        overflow-y: auto;
        touch-action: pan-y;
        cursor: default;
        border-top: 1px solid #ececec;
    }

    body.gallery-page .gallery-days-track {
        flex-direction: column;
        width: 100%;
        min-height: 0;
        padding-top: 0;
    }

    body.gallery-page .gallery-day-column {
        flex: 0 0 auto;
        width: 100%;
        padding-top: 0;
        contain: none;
    }

    /* Match the band between one day's last photo and the next date label
       (the date header height) as empty space above the first date. */
    body.gallery-page .gallery-day-column:first-child {
        padding-top: calc(var(--gallery-days-date-line) + 20px);
    }

    body.gallery-page .gallery-day-label {
        display: flex;
        position: static;
        align-items: center;
        padding: 10px 12px;
        font-family: ui-monospace, "SF Mono", Menlo, Consolas, "Courier New", monospace;
        font-size: 11px;
        font-weight: 500;
        letter-spacing: 0.04em;
        line-height: var(--gallery-days-date-line);
        min-height: calc(var(--gallery-days-date-line) + 20px);
        text-align: left;
        color: rgba(0, 0, 0, 0.55);
        border-bottom: 1px solid #e8e8e8;
        background: #fff;
    }

    body.gallery-page .gallery-day-label-compact {
        display: none;
    }

    body.gallery-page .gallery-day-label-feed {
        display: inline;
    }

    body.gallery-page .gallery-day-stack {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1px;
        border-right: none;
    }

    body.gallery-page .gallery-day-photo {
        flex: none;
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 288 / 224;
        overflow-anchor: none;
    }

    body.gallery-page .gallery-day-photo img.gallery-photo {
        top: 50%;
        left: 50%;
        width: 112% !important;
        max-width: 112% !important;
        height: 112%;
        transform: translate(-50%, -50%);
        transition: none;
    }

    body.gallery-page .gallery-day-photo.is-loaded img.gallery-photo {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.gallery-page .gallery-day-photo:not(.is-loaded) {
        animation: none;
    }

    body.gallery-page .gallery-day-photo img.gallery-photo,
    body.gallery-page .gallery-day-photo .photo-box-caption,
    body.gallery-page .gallery-day-photo .photo-box-caption-content {
        transition: none;
    }
}

/* —— Info page TOC & status —— */
body.info-page .info-layout {
    display: grid;
    grid-template-columns: minmax(140px, 168px) minmax(0, 1fr);
    gap: 0 40px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px 80px;
    align-items: start;
}

body.info-page .info-main {
    min-width: 0;
    max-width: none;
}

body.info-page .info-main .container {
    max-width: 48rem;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

body.info-page .info-main .row {
    margin-left: 0;
    margin-right: 0;
}

body.info-page .info-main .row > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

body.info-page .info-main [id] {
    scroll-margin-top: 72px;
}

body.info-page .info-main .how_section[id],
body.info-page .info-main .who_section[id],
body.info-page .info-main .contact_section[id] {
    padding-top: 40px;
    padding-bottom: 24px;
}

body.info-page .info-main #about {
    padding-top: 24px;
}

body.info-page .info-main #more {
    padding-bottom: 24px;
}

body.info-page .info-main h2 {
    margin-top: 0;
    margin-bottom: 1rem;
}

body.info-page .info-main h2:not(:first-child) {
    margin-top: 3.5rem;
}

body.info-page .info-main .info-system-diagram {
    margin-top: 0;
    margin-bottom: 2.5rem;
}

body.info-page .info-main .info-system-diagram + h2 {
    margin-top: 0;
}

body.info-page .info-main h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.1em;
}

body.info-page .info-main > .container {
    margin-top: 64px;
}

body.info-page .info-main > .how_section[id] + .container {
    margin-top: 48px;
}

body.info-page .info-toc {
    position: sticky;
    top: 70px;
    z-index: 100;
    padding: 28px 16px 28px 0;
    align-self: start;
}

body.info-page .info-toc nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

body.info-page .info-toc a {
    display: block;
    font-size: 14px;
    line-height: 1.35;
    padding: 7px 0 7px 12px;
    margin-left: -12px;
    border-left: 2px solid transparent;
    color: rgba(0, 0, 0, 0.65);
    text-decoration: none;
}

body.info-page .info-toc a:hover,
body.info-page .info-toc a:focus {
    color: #F05F40;
}

body.info-page .info-toc a.is-active {
    color: #F05F40;
    border-left-color: #F05F40;
}

body.info-page .hardware-accordion .hardware-details {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    margin-bottom: 8px;
    background: #fff;
}

body.info-page .hardware-accordion .hardware-details summary {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.35;
    padding: 12px 40px 12px 16px;
    cursor: pointer;
    list-style: none;
    position: relative;
    color: inherit;
    background-color: #fff;
    border-bottom: 1px solid transparent;
    transition: color 0.3s ease, background-color 0.3s ease, border-bottom-color 0.3s ease;
}

body.info-page .hardware-accordion .hardware-details summary::-webkit-details-marker {
    display: none;
}

body.info-page .hardware-accordion .hardware-details summary::after {
    content: '+';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 1.35rem;
    line-height: 1;
    color: #666;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
}

body.info-page .hardware-accordion .hardware-details[open] summary {
    color: #F05F40;
    background-color: #fff8f6;
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

body.info-page .hardware-accordion .hardware-details[open] summary::after {
    content: '+';
    transform: translateY(-50%) rotate(45deg);
    color: #F05F40;
}

body.info-page .hardware-accordion .hardware-details-body {
    box-sizing: border-box;
    font-size: 17px;
    line-height: 1.55;
    padding: 16px 20px;
}

/* Native <details> height animation when GSAP is unavailable (Chromium 131+). */
@supports (interpolate-size: allow-keywords) {
    html:not(.js-gsap) body.info-page .hardware-accordion .hardware-details {
        interpolate-size: allow-keywords;
    }

    html:not(.js-gsap) body.info-page .hardware-accordion .hardware-details::details-content {
        block-size: 0;
        overflow: hidden;
        transition:
            block-size 0.4s cubic-bezier(0.4, 0, 0.2, 1),
            content-visibility 0.4s allow-discrete;
    }

    html:not(.js-gsap) body.info-page .hardware-accordion .hardware-details[open]::details-content {
        block-size: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.info-page .hardware-accordion .hardware-details summary,
    body.info-page .hardware-accordion .hardware-details summary::after {
        transition: none;
    }

    html:not(.js-gsap) body.info-page .hardware-accordion .hardware-details::details-content {
        transition: none;
    }
}

body.info-page .hardware-accordion .hardware-details-body h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

body.info-page .keyboard-shortcuts {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 100%;
    font-size: 16px;
    line-height: 1.5;
}

body.info-page .source-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.45;
}

body.info-page .source-list li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0.65rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

body.info-page .source-list li:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

body.info-page .source-list .link {
    font-weight: 600;
    text-decoration: none;
}

body.info-page .source-list-desc {
    color: #555;
    font-size: 15px;
}

body.info-page .keyboard-shortcuts li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 1rem;
    margin: 0;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    line-height: 1.45;
    min-width: 0;
    max-width: 100%;
}

body.info-page .keyboard-shortcuts li:last-child {
    border-bottom: 0;
}

body.info-page .keyboard-shortcuts-keys {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem;
    min-width: 0;
}

body.info-page .keyboard-shortcuts-action {
    min-width: 0;
}

body.info-page .keyboard-shortcuts kbd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 1.75rem;
    height: 1.75rem;
    padding: 0 0.45rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    background: #f3f3f3;
    color: #111;
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, "Courier New", monospace;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

@media (max-width: 575px) {
    body.info-page .keyboard-shortcuts li {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 0.35rem;
    }
}

/* —— Slideshow page —— */
body.slideshow-page {
    padding-top: 0;
    background: #000;
    overflow: hidden;
}

body.slideshow-page .slideshow-shell {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    padding-top: var(--nav-height);
    box-sizing: border-box;
}

body.slideshow-page--kiosk .slideshow-shell {
    padding-top: 0;
}

body.slideshow-page--kiosk .navbar-default,
body.slideshow-page--kiosk .slideshow-bar {
    display: none;
}

body.slideshow-page .slideshow-viewport {
    position: relative;
    flex: 1;
    min-height: 0;
    width: 100%;
    background: #000;
    overflow: hidden;
}

body.slideshow-page .slideshow-bar {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    height: 3rem;
    min-height: 48px;
    padding: 0 12px;
    background-color: #fff;
}

body.slideshow-page .slideshow-bar .viewer-timeline {
    width: 100%;
}

body.slideshow-page .slideshow-viewport img {
    position: absolute;
    inset: 0;
    left: 50%;
    width: 104%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity var(--slideshow-fade, 8s) ease-in-out;
    will-change: opacity;
    z-index: 1;
}

body.slideshow-page .slideshow-viewport img.is-visible {
    opacity: 1;
    z-index: 2;
}

body.slideshow-page .slideshow-viewport img.is-fading-out {
    opacity: 0;
    z-index: 1;
}

/* —— Jam exhibition slideshow (direct URL, no nav) —— */
body.jam-page {
    margin: 0;
    padding: 0;
    background: #000;
    overflow: hidden;
}

body.jam-page .jam-slideshow-shell {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    padding-top: 0;
}

body.jam-page .slideshow-viewport {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    overflow: hidden;
}

body.jam-page .slideshow-viewport img {
    position: absolute;
    opacity: 0;
    transition: opacity var(--slideshow-fade, 6s) ease-in-out;
    will-change: opacity;
    z-index: 1;
}

body.jam-page--fill .slideshow-viewport img {
    inset: 0;
    left: 50%;
    width: 110%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: translateX(-50%);
}

body.jam-page--crop .slideshow-viewport img {
    top: -180px;
    left: 0;
    width: 100%;
    height: auto;
    max-width: none;
}

body.jam-page .slideshow-viewport img.is-visible {
    opacity: 1;
    z-index: 2;
}

body.jam-page .slideshow-viewport img.is-fading-out {
    opacity: 0;
    z-index: 1;
}

@media (max-width: 991px) {
    body.info-page .info-layout {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0 0 60px;
        max-width: none;
    }

    body.info-page .info-main {
        padding: 0 20px;
    }

    body.info-page .info-toc {
        position: fixed;
        top: 50px;
        left: 0;
        right: 0;
        z-index: 100;
        width: 100%;
        max-width: none;
        height: 56px;
        max-height: 56px;
        padding: 0;
        margin: 0;
        border-right: none;
        border-top: 1px solid #e5e5e5;
        border-bottom: 1px solid #e5e5e5;
        background: rgba(255, 255, 255, 0.97);
        align-self: stretch;
        overflow: hidden;
        box-sizing: border-box;
        display: flex;
        align-items: stretch;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.28s ease, visibility 0.28s;
    }

    body.info-page .info-toc.is-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    body.info-page .info-toc nav {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 6px;
        width: 100%;
        max-width: 100%;
        height: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        scroll-padding-inline: 20px;
        scrollbar-width: none;
        touch-action: pan-x;
        padding: 0 20px;
        box-sizing: border-box;
    }

    body.info-page .info-toc nav::-webkit-scrollbar {
        display: none;
    }

    body.info-page .info-toc a {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        height: 100%;
        white-space: nowrap;
        font-size: 13px;
        line-height: 1;
        padding: 2px 14px 0;
        margin-left: 0;
        border-left: none;
        border-bottom: none;
        box-sizing: border-box;
    }

    body.info-page .info-toc a::after {
        content: '';
        position: absolute;
        left: 14px;
        right: 14px;
        bottom: 0;
        height: 2px;
        background: transparent;
    }

    body.info-page .info-toc a:hover::after,
    body.info-page .info-toc a:focus::after,
    body.info-page .info-toc a.is-active::after {
        background: #F05F40;
    }

    body.info-page .info-toc a:hover,
    body.info-page .info-toc a:focus,
    body.info-page .info-toc a.is-active {
        border-left-color: transparent;
        border-bottom-color: transparent;
    }

    body.info-page .info-main [id] {
        /* Fixed nav (50) + mobile TOC bar (56) + breathing room */
        scroll-margin-top: 118px;
    }
}

@media (max-width: 991px) and (prefers-reduced-motion: reduce) {
    body.info-page .info-toc {
        transition: none;
    }
}

@media (max-width: 767px) {
    .detail_content_view .title {
        font-size: 32px;
    }
    .detail_view .detail_container,
    .detail_view .mapcontainer {
        padding: 20px 16px;
    }
}

/* —— Main route page transitions —— */
@media (prefers-reduced-motion: no-preference) {
    body.pinchard-route-enter {
        opacity: 0;
    }

    body.pinchard-route-enter.is-ready {
        opacity: 1;
        transition: opacity 0.28s ease;
    }

    body.pinchard-route-leave {
        opacity: 0;
        transition: opacity 0.22s ease;
        pointer-events: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.slideshow-page .slideshow-viewport img,
    body.jam-page .slideshow-viewport img {
        transition: none;
    }

    .detail_view-bar .viewer-play-icon,
    body.gallery-page .gallery-day-photo .photo-box-caption,
    body.gallery-page .gallery-day-photo .photo-box-caption-content,
    body.gallery-page .gallery-day-photo.is-loaded img.gallery-photo {
        transition: none;
    }
}

/* —— Maps embeds (Google My Maps) —— */
body.maps-embed-page {
    padding-top: 0;
    margin: 0;
    background: #fff;
    overflow: hidden;
}

body.maps-embed-page .maps-embed-shell {
    position: fixed;
    top: 50px;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    background: #fff;
}

html.js-gsap body.maps-embed-page .maps-embed-shell {
    opacity: 0;
}

/* Crop the Google My Maps title bar (no official embed option to hide it). */
body.maps-embed-page .maps-embed-frame {
    position: absolute;
    top: -68px;
    left: 0;
    width: 100%;
    height: calc(100% + 68px);
    border: 0;
}

/* —— Maps subsite nav —— */
.maps-nav-dropdown {
    position: relative;
    flex-shrink: 0;
}

.navbar-default .nav-bar-end .maps-nav-dropdown-menu {
    left: auto;
    right: 0;
}

.maps-nav-dropdown-trigger {
    margin: 0;
    padding: 0;
    border: 0;
    cursor: pointer;
    line-height: 0;
    appearance: none;
    -webkit-appearance: none;
}

.maps-nav-dropdown-item {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--icon-idle);
    text-decoration: none;
    white-space: nowrap;
}

.maps-nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1040;
    margin: 0;
    padding: 8px 0 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.maps-nav-dropdown-panel {
    min-width: 11rem;
    padding: 6px 0;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.maps-nav-dropdown:hover .maps-nav-dropdown-menu,
.maps-nav-dropdown.is-open .maps-nav-dropdown-menu,
.maps-nav-dropdown:focus-within .maps-nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.maps-nav-dropdown-item {
    display: block;
    padding: 8px 16px;
}

.maps-nav-dropdown-item:hover,
.maps-nav-dropdown-item:focus {
    color: var(--icon-active);
    background: rgba(240, 95, 64, 0.06);
    text-decoration: none;
}

.maps-nav-dropdown-item.is-active {
    color: rgba(0, 0, 0, 0.85);
    background: rgba(0, 0, 0, 0.04);
}

@media (prefers-reduced-motion: reduce) {
    .maps-nav-dropdown-menu {
        transition: none;
        transform: none;
    }
}

/* —— Maps satellite (exhibition / kiosk) —— */
body.maps-satellite-page {
    padding-top: 0;
    margin: 0;
    background: #0b1a24;
    overflow: hidden;
}

body.maps-satellite-page .maps-satellite-shell {
    position: fixed;
    top: 50px;
    right: 0;
    bottom: 0;
    left: 0;
}

body.maps-satellite-page--kiosk .maps-satellite-shell {
    top: 0;
}

body.maps-satellite-page #map {
    width: 100%;
    height: 100%;
}

.maps-kiosk-marker {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #F05F40;
    box-shadow: 0 0 0 0 rgba(240, 95, 64, 0.55);
    animation: maps-kiosk-pulse 2.8s ease-out infinite;
}

@keyframes maps-kiosk-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(240, 95, 64, 0.55);
        transform: scale(1);
    }
    70% {
        box-shadow: 0 0 0 16px rgba(240, 95, 64, 0);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(240, 95, 64, 0);
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .maps-kiosk-marker {
        animation: none;
    }
}

.pinchard-empty-state {
    opacity: 0;
}

html:not(.js-gsap) .pinchard-empty-state {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .pinchard-empty-state {
        opacity: 1;
    }

    html.js-gsap body.maps-embed-page .maps-embed-shell {
        opacity: 1;
    }
}

/* —— Light House mini-site (ambient Vimeo) —— */
body.light-house-page {
    padding-top: 0;
    background: #000;
    overflow: hidden;
}

body.light-house-page .light-house-shell {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100dvh;
    padding-top: 50px;
    box-sizing: border-box;
}

body.light-house-page .light-house-viewport {
    position: relative;
    flex: 1;
    min-height: 0;
    width: 100%;
    background: #000;
    overflow: hidden;
}

body.light-house-page .light-house-viewport iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* —— GSAP motion hooks —— */
html.js-gsap body.pinchard-route-enter.is-ready,
html.js-gsap body.pinchard-route-leave {
    transition: none;
}

html.js-gsap body.gallery-page .gallery-days-track {
    opacity: 0;
}

html.js-gsap body.gallery-page .gallery-day-photo img.gallery-photo {
    transition: none;
}

/* GSAP owns the reveal — keep CSS from flashing opacity:1 on .is-loaded. */
html.js-gsap body.gallery-page .gallery-day-photo.is-loaded img.gallery-photo {
    opacity: 0;
}

html.js-gsap body.slideshow-page .slideshow-viewport img,
html.js-gsap body.jam-page .slideshow-viewport img {
    transition: none;
}

/* GSAP owns viewer dissolves — keep CSS .loaded from snapping opacity mid-fade. */
html.js-gsap .photo-placeholder img.viewer-photo-main {
    transition: none;
}

html.js-gsap .maps-nav-dropdown-menu {
    transition: none;
}

html.js-gsap .maps-nav-dropdown:hover .maps-nav-dropdown-menu,
html.js-gsap .maps-nav-dropdown:focus-within .maps-nav-dropdown-menu {
    /* Open state is JS-driven (.is-open) so GSAP can stagger the panel. */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: none;
}

html.js-gsap .maps-nav-dropdown.is-open .maps-nav-dropdown-menu,
html.js-gsap .maps-nav-dropdown.is-open:hover .maps-nav-dropdown-menu,
html.js-gsap .maps-nav-dropdown.is-open:focus-within .maps-nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
}

body.info-page .info-toc nav {
    position: relative;
}

body.info-page .info-toc-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 1.2em;
    background: #F05F40;
    border-radius: 1px;
    pointer-events: none;
    opacity: 0;
    z-index: 1;
    /* Desktop uses the CSS border only — the sliding marker fights it. */
    display: none;
}

@media (max-width: 991px) {
    body.info-page .info-toc-marker {
        display: block;
        top: auto;
        bottom: 0;
        left: 0;
    }

    html.js-gsap body.info-page .info-toc a::after {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html.js-gsap body.slideshow-page .slideshow-viewport img,
    html.js-gsap body.jam-page .slideshow-viewport img {
        transition: none;
    }
}

