.nav-links a[aria-current="page"] { color: var(--amber); }
.gallery-hero {
  position: relative; overflow: hidden; min-height: 390px; display: grid; align-items: center;
  color: white; background: radial-gradient(ellipse at 79% 45%, #302965 0%, transparent 36%), linear-gradient(118deg, #11142b, #222052);
}
.gallery-hero::before, .gallery-hero::after {
  position: absolute; right: -80px; width: 500px; height: 500px; border: 1px solid rgba(185,173,255,.12);
  border-radius: 50%; content: "";
}
.gallery-hero::before { top: -290px; }
.gallery-hero::after { right: 12%; bottom: -420px; width: 600px; height: 600px; }
.gallery-hero-inner { position: relative; z-index: 1; width: min(1100px, calc(100% - 64px)); margin: 0 auto; padding: 73px 0 92px; }
.gallery-hero .eyebrow { margin-bottom: 19px; }
.gallery-hero h1 { margin: 0 0 18px; font-size: clamp(44px, 6vw, 68px); font-weight: 600; letter-spacing: -.065em; line-height: 1.08; }
.gallery-hero h1 em { color: var(--amber); font-style: normal; }
.gallery-hero-inner > p:not(.eyebrow) { max-width: 500px; margin-bottom: 25px; color: #c4c5d5; font-size: 14px; line-height: 1.8; }
.gallery-hero .button { min-height: 45px; }
.gallery-hero-spark { position: absolute; z-index: 1; color: var(--amber); }
.gallery-hero-spark-one { top: 24%; right: 17%; font-size: 27px; }
.gallery-hero-spark-two { right: 8%; bottom: 23%; color: var(--lilac); font-size: 36px; }
.gallery-hero-bottom { position: absolute; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-between; padding: 14px max(32px, calc((100% - 1100px) / 2)); border-top: 1px solid rgba(255,255,255,.12); color: #b7b7c8; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.gallery-hero-bottom span { color: var(--amber); }
.gallery-section { width: min(1100px, calc(100% - 64px)); margin: 0 auto; padding: 91px 0 96px; }
.gallery-heading { display: flex; justify-content: space-between; align-items: end; gap: 48px; margin-bottom: 37px; }
.gallery-heading .eyebrow { margin-bottom: 19px; }
.gallery-heading h2 { margin: 0; color: var(--midnight); font-size: clamp(37px, 4vw, 51px); font-weight: 600; letter-spacing: -.065em; line-height: 1.12; }
.gallery-heading h2 em { color: var(--violet); font-style: normal; }
.gallery-heading > p { max-width: 345px; margin: 0 0 4px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 18px; border-bottom: 1px solid #e8e4dd; }
.gallery-filter { display: inline-flex; align-items: center; gap: 12px; min-height: 39px; padding: 0 16px; border: 1px solid transparent; border-radius: 3px; background: transparent; color: #656675; font-size: 11px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.gallery-filter:hover { border-color: #d7d1ef; color: var(--violet); }
.gallery-filter.is-active { background: var(--midnight); color: white; }
.gallery-filter span { color: var(--amber); font-size: 9px; }
.gallery-result-count { min-height: 15px; margin: 15px 0 17px; color: #777787; font-size: 10px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 31px 20px; align-items: start; }
.gallery-card { min-width: 0; }
.gallery-media { position: relative; display: block; width: 100%; overflow: hidden; padding: 0; border: 0; border-radius: 4px; background: #211d4d; text-align: left; cursor: zoom-in; }
.gallery-media > img { display: block; width: 100%; height: 224px; object-fit: cover; transition: transform .45s ease, filter .3s ease; }
.gallery-card-tall .gallery-media > img { height: 284px; }
.gallery-media:hover > img { transform: scale(1.045); filter: brightness(.83); }
.visual-placeholder { position: absolute; right: 10px; bottom: 10px; padding: 6px 9px; border: 1px solid rgba(255,255,255,.24); border-radius: 2px; background: rgba(17,20,43,.66); color: white; font-size: 8px; letter-spacing: .06em; text-transform: uppercase; }
.media-open { position: absolute; top: 12px; right: 12px; display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid rgba(255,255,255,.56); border-radius: 50%; background: rgba(17,20,43,.25); color: white; opacity: 0; transform: translateY(3px); transition: opacity .2s, transform .2s; }
.gallery-media:hover .media-open, .gallery-media:focus-visible .media-open { opacity: 1; transform: translateY(0); }
.media-play { position: absolute; top: 50%; left: 50%; display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; background: rgba(17,20,43,.65); color: var(--amber); transform: translate(-50%, -50%); transition: background .2s, transform .2s; }
.media-play svg { width: 20px; height: 20px; margin-left: 3px; }
.gallery-media:hover .media-play { background: var(--violet); transform: translate(-50%, -50%) scale(1.07); }
.gallery-card-copy { display: flex; justify-content: space-between; align-items: start; gap: 12px; padding: 14px 2px 0; }
.gallery-card-category { margin: 0 0 6px; color: var(--violet); font-size: 9px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.gallery-card-copy h3 { margin: 0; color: var(--midnight); font-size: 15px; font-weight: 700; letter-spacing: -.025em; line-height: 1.4; }
.gallery-card-type { flex: 0 0 auto; margin-top: 2px; color: #898897; font-size: 8px; font-weight: 700; letter-spacing: .09em; }
.gallery-card.is-filtered-out { pointer-events: none; }
.gallery-disclaimer { margin: 34px 0 0; padding: 14px 17px; border-left: 2px solid var(--amber); background: #f2efe9; color: #777582; font-size: 10px; line-height: 1.7; }
.gallery-invite { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 46px max(32px, calc((100% - 1100px) / 2)); background: linear-gradient(105deg, #4f41a5, #26224f); color: white; }
.gallery-invite .eyebrow { margin-bottom: 11px; }
.gallery-invite h2 { margin: 0; font-size: clamp(26px, 3vw, 34px); font-weight: 600; letter-spacing: -.05em; }
.gallery-lightbox { width: min(920px, calc(100% - 36px)); max-width: none; max-height: calc(100% - 36px); padding: 0; overflow: auto; border: 1px solid rgba(255,255,255,.16); border-radius: 6px; background: #11142b; color: white; }
.gallery-lightbox::backdrop { background: rgba(8,9,20,.86); backdrop-filter: blur(5px); }
.lightbox-shell { padding: 17px; }
.lightbox-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-bottom: 12px; }
.lightbox-title { margin: 0; font-family: var(--display); font-size: 16px; font-weight: 700; }
.lightbox-close { display: grid; flex: 0 0 auto; width: 39px; height: 39px; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: transparent; color: white; font-size: 26px; line-height: 1; cursor: pointer; transition: color .2s, border-color .2s; }
.lightbox-close:hover { border-color: var(--amber); color: var(--amber); }
.lightbox-content { display: grid; min-height: 220px; max-height: 70vh; place-items: center; overflow: hidden; background: #080a19; }
.lightbox-content img, .lightbox-content video { display: block; max-width: 100%; max-height: 70vh; object-fit: contain; }
.lightbox-content video { width: 100%; }
.video-placeholder { max-width: 470px; padding: 36px 24px; color: #c4c5d5; text-align: center; }
.video-placeholder-mark { display: grid; width: 62px; height: 62px; margin: 0 auto 17px; place-items: center; border: 1px solid rgba(242,189,97,.55); border-radius: 50%; color: var(--amber); font-size: 24px; }
.video-placeholder p { margin: 0; font-size: 12px; line-height: 1.8; }
.lightbox-caption { margin: 13px 2px 2px; color: #b8b8c8; font-size: 11px; line-height: 1.7; }

@media (max-width: 900px) {
  .gallery-section { width: calc(100% - 48px); padding: 75px 0; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-hero-inner { width: calc(100% - 48px); }
}
@media (max-width: 680px) {
  .gallery-hero { min-height: 360px; }
  .gallery-hero-inner { width: calc(100% - 44px); padding: 62px 0 78px; }
  .gallery-hero h1 { font-size: 48px; }
  .gallery-hero-inner > p:not(.eyebrow) { font-size: 13px; }
  .gallery-hero-bottom { padding: 13px 22px; font-size: 8px; }
  .gallery-hero-spark-one { right: 12%; }
  .gallery-section { width: calc(100% - 44px); padding: 66px 0 70px; }
  .gallery-heading { display: block; margin-bottom: 27px; }
  .gallery-heading h2 { font-size: 40px; }
  .gallery-heading > p { margin-top: 18px; }
  .gallery-filters { gap: 4px; }
  .gallery-filter { min-height: 36px; gap: 7px; padding: 0 11px; font-size: 10px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 25px; }
  .gallery-media > img, .gallery-card-tall .gallery-media > img { height: clamp(210px, 68vw, 330px); }
  .media-open { opacity: 1; transform: none; }
  .gallery-invite { align-items: flex-start; flex-direction: column; padding: 38px 23px; }
  .lightbox-shell { padding: 11px; }
  .lightbox-content { min-height: 190px; }
  .lightbox-title { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-media > img { transition: none; }
}
