html {
  scroll-padding-top: 6.25rem;
}
.hero-gallery {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}
.hero-inner-gallery {
  align-items: stretch;
}
.hero-main-gallery {
  max-width: 38rem;
}
.hero-actions-gallery .button,
.hero-actions-gallery .btn {
  max-width: 100%;
}
.hero-composition-gallery {
  align-self: stretch;
}
.hero-panel-main-gallery {
  display: flex;
  flex-direction: column;
}
.hero-panel-main-media {
  margin-top: var(--space-md);
}
.hero-gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-panel-secondary-gallery {
  align-self: center;
}
.section-gallery-grid {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}
.section-gallery-header {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
}
.section-gallery-label-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}
.section-gallery-heading-row {
  margin-top: var(--space-sm);
}
.section-gallery-intro {
  font-size: var(--font-size-md);
  color: var(--color-ink-subtle);
}
.section-gallery-aside-safe {
  min-width: min(100%, 16rem);
}
.section-gallery-aside-card {
  border-radius: var(--radius-card);
  background-color: var(--color-bg-elevated);
  padding: var(--space-md);
  box-shadow: var(--shadow-subtle);
}
.section-gallery-aside-list {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}
.section-gallery-aside-list li + li {
  margin-top: 0.35rem;
}
.gallery-grid {
  margin-top: var(--space-2xl);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-lg);
}
.gallery-item {
  position: relative;
  grid-column: span 4;
  min-width: 0;
}
.gallery-item--wide {
  grid-column: span 6;
}
.gallery-item--tall {
  grid-column: span 4;
}
.gallery-item--square {
  grid-column: span 3;
}
@media (max-width: 1023.98px) {
  .gallery-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .gallery-item,
  .gallery-item--wide,
  .gallery-item--tall,
  .gallery-item--square {
    grid-column: span 3;
  }
}
@media (max-width: 767.98px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-md);
  }
  .gallery-item,
  .gallery-item--wide,
  .gallery-item--tall,
  .gallery-item--square {
    grid-column: span 2;
  }
}
.gallery-item-button {
  display: block;
  width: 100%;
  text-align: left;
  border-radius: var(--radius-editorial);
  overflow: hidden;
  background-color: var(--color-bg-elevated);
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--color-border-subtle);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.gallery-item-button:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}
.gallery-item-button:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: var(--color-border-strong);
}
.gallery-item-media {
  position: relative;
  overflow: hidden;
}
.gallery-item-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent 40%);
  opacity: 0;
  transition: opacity var(--transition-base);
}
.gallery-item-button:hover .gallery-item-media::after {
  opacity: 1;
}
.gallery-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform var(--transition-slow);
}
.gallery-item-button:hover .gallery-item-media img {
  transform: scale(1.06);
}
.gallery-item--tall .gallery-item-media {
  aspect-ratio: 3 / 4;
}
.gallery-item--wide .gallery-item-media {
  aspect-ratio: 16 / 9;
}
.gallery-item--square .gallery-item-media {
  aspect-ratio: 1 / 1;
}
.gallery-item:not(.gallery-item--tall):not(.gallery-item--wide):not(.gallery-item--square) .gallery-item-media {
  aspect-ratio: 4 / 3;
}
.gallery-item-caption {
  padding: var(--space-md);
  background: linear-gradient(135deg, rgba(169, 230, 47, 0.08), rgba(255, 75, 92, 0.08));
}
.gallery-item-caption-main {
  font-family: var(--font-display);
  font-size: var(--font-size-lg);
  line-height: var(--line-height-snug);
  letter-spacing: var(--letter-spacing-tight);
  color: var(--color-ink-strong);
}
.gallery-item-caption-meta {
  margin-top: 0.25rem;
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  color: var(--color-text-soft);
}
.section-gallery-footer {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
}
.section-gallery-footer-actions .button,
.section-gallery-footer-actions .btn {
  max-width: 100%;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0 0, rgba(169, 230, 47, 0.16), transparent 55%), radial-gradient(circle at 100% 0, rgba(255, 75, 92, 0.18), transparent 55%), rgba(0, 0, 0, 0.78);
}
.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: var(--space-md);
}
.lightbox-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-figure {
  width: 100%;
  max-height: calc(100vh - 8rem);
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-editorial);
  overflow: hidden;
  background-color: #000000;
  box-shadow: var(--shadow-ambient);
}
.lightbox-image {
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 12rem);
  object-fit: contain;
  background-color: #000000;
}
.lightbox-caption {
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.86);
  color: #ffffff;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-xs);
}
.lightbox-caption-title {
  font-family: var(--font-display);
  font-size: var(--font-size-md);
  letter-spacing: var(--letter-spacing-tight);
}
.lightbox-caption-meta {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  color: rgba(255, 255, 255, 0.7);
}
.lightbox-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background-color: rgba(0, 0, 0, 0.78);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
}
.lightbox-close-icon {
  position: relative;
  width: 16px;
  height: 16px;
}
.lightbox-close-icon::before,
.lightbox-close-icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1.5px;
  border-radius: 999px;
  background-color: #ffffff;
}
.lightbox-close-icon::before {
  transform: translateY(-50%) rotate(45deg);
}
.lightbox-close-icon::after {
  transform: translateY(-50%) rotate(-45deg);
}
.lightbox-controls {
  margin-top: var(--space-sm);
  display: flex;
  justify-content: space-between;
  gap: var(--space-sm);
}
.lightbox-nav {
  flex: 1 1 0;
  min-width: 0;
  border-radius: var(--radius-pill);
  padding: 0.55rem 0.9rem;
  background-color: rgba(0, 0, 0, 0.86);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
}
.lightbox-nav-icon {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
}
.lightbox-nav-prev .lightbox-nav-icon {
  border-left-width: 3px;
}
.lightbox-nav-next .lightbox-nav-icon {
  border-right-width: 3px;
}
.lightbox-nav:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}
@media (max-width: 767.98px) {
  .hero-gallery {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
  }
  .hero-main-gallery {
    max-width: 100%;
  }
  .section-gallery-grid {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
  }
  .section-gallery-aside-safe {
    width: 100%;
  }
  .lightbox-dialog {
    padding: var(--space-sm);
  }
  .lightbox-figure {
    max-height: calc(100vh - 6rem);
  }
  .lightbox-image {
    max-height: calc(100vh - 9rem);
  }
  .lightbox-controls {
    flex-direction: column;
  }
}
