.tour-home { padding-block: clamp(1.25rem,3vw,3rem); }
.tour-home h1 { max-width: 23ch; margin: .2rem 0 1.2rem; font-size: clamp(2.15rem,4.5vw,4.6rem); }
.tour-home h1 em { display: inline; }
.nursery-tour { position: relative; overflow: hidden; color: white; background: #173d2b; }
.nursery-tour [hidden], .photo-viewer:not([open]) { display: none; }
.nursery-tour figure { margin: 0; }
.nursery-tour img { display: block; width: 100%; height: auto; aspect-ratio: 2.46; object-fit: cover; touch-action: pan-y; }
.nursery-tour figcaption { display: flex; align-items: center; min-height: 3.7rem; padding: .6rem 15rem .6rem 1.2rem; color: white; font-weight: 600; }
.tour-controls { display: flex; align-items: center; gap: .2rem; position: absolute; bottom: .35rem; right: .65rem; }
.tour-controls button,.viewer-bar button { min-height: 44px; min-width: 44px; border: 1px solid #ffffff60; background: transparent; color: white; cursor: pointer; font: inherit; border-radius: .35rem; }
.tour-controls button[data-play] { min-width: 4.7rem; font-size: .9rem; }
.tour-controls button:focus-visible,.viewer-bar button:focus-visible { outline-color: #fff; outline-offset: -3px; }
.tour-count { font-variant-numeric: tabular-nums; font-size: .85rem; margin-right: .45rem; }
.home-panels { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,23rem),1fr)); align-items: start; gap: clamp(1rem,4vw,4rem); margin-top: 1.4rem; }
.home-panels .visit-panel,.home-panels .season-now { margin: 0; }
.season-grid,.product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1rem,2.5vw,2.5rem); padding-block: 1.5rem 3rem; }
.season-card { height: 100%; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.season-card > img,.product-photo img { width: 100%; height: auto; display: block; object-fit: cover; aspect-ratio: 4/3; }
.season-card .period { margin-bottom: .65rem; font-weight: 500; }
.season-card h2 { font-size: clamp(1.55rem,2.4vw,2.3rem); margin: .85rem 0 .2rem; }
.season-action { margin-top: auto; color: var(--green); text-decoration: underline; text-underline-offset: .23em; font-weight: 650; font-size: 1rem; }
.season-card:hover .season-action { text-decoration-thickness: 2px; }
.gallery-main { padding-block: clamp(1.5rem,4vw,4rem); }
.gallery-main h1 { max-width: 23ch; margin: .2rem 0 .8rem; }
.gallery-main .period { margin-top: 1.4rem; }
.gallery-intro { max-width: 63ch; }
.product-grid figure { margin: 0; }
.product-photo { display: block; cursor: zoom-in; }
.product-grid figcaption { font-weight: 600; margin-top: .6rem; }
.gallery-after { border-top: 1px solid var(--rule,var(--line)); padding-top: 1.1rem; display: flex; flex-wrap: wrap; gap: .8rem 1.8rem; align-items: center; }
.gallery-after a { display: inline-flex; min-height: 44px; align-items: center; }
.photo-viewer { max-width: min(96vw,68rem); max-height: 95dvh; padding: .65rem; border: 0; background: #153626; color: white; }
.photo-viewer::backdrop { background: #0a1812db; }
.photo-viewer figure { margin: 0; }
.photo-viewer img { display: block; width: 100%; height: min(65dvh,38rem); object-fit: contain; }
.photo-viewer figcaption { padding: .5rem; }
.viewer-bar { display: flex; justify-content: flex-end; gap: .55rem; }
.viewer-bar button { padding-inline: .7rem; }
@media (max-width: 60rem) { .season-grid,.product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 44rem) {
  .nursery-tour img { aspect-ratio: 1.65; }
  .nursery-tour figcaption { padding: .6rem .8rem .1rem; min-height: 2rem; font-size: 1rem; }
  .tour-controls { position: static; justify-content: flex-end; padding: .15rem .6rem .5rem; }
  .season-grid,.product-grid { grid-template-columns: 1fr; }
  .season-grid { gap: 1.8rem; }
  .product-photo img,.season-card > img { aspect-ratio: 1.43; }
}

.gallery-main .period-nav { margin-block: 1.25rem 2rem; }
.gallery-main section > h2 {
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  scroll-margin-top: 5rem;
}
.gallery-main section > .product-grid { padding-top: .85rem; }
.product-photo .christmas-entrance { object-position: 50% 16%; }
