:root {
  --pc-gallery-navy: #061a3a;
  --pc-gallery-blue: #0b4ba3;
  --pc-gallery-cyan: #38bdf8;
  --pc-gallery-gold: #f7c948;
  --pc-gallery-ink: #dceaff;
  --pc-gallery-muted: #9fb4d1;
  --pc-gallery-line: rgba(148, 184, 224, 0.18);
  --pc-gallery-radius: 24px;
}

.pc-gallery-home {
  position: relative;
  overflow: hidden;
  color: var(--pc-gallery-ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(56, 189, 248, 0.15), transparent 28%),
    radial-gradient(circle at 88% 78%, rgba(247, 201, 72, 0.11), transparent 25%),
    linear-gradient(145deg, #07172f 0%, #092650 52%, #071a37 100%);
}

.pc-gallery-home::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.24;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent);
}

.pc-gallery-shell {
  position: relative;
  z-index: 1;
}

.pc-gallery-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
  color: var(--pc-gallery-cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pc-gallery-kicker::before {
  content: '';
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--pc-gallery-gold), var(--pc-gallery-cyan));
}

.pc-gallery-heading {
  max-width: 760px;
  color: #fff;
  font-size: clamp(2rem, 4.3vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.pc-gallery-heading em {
  color: var(--pc-gallery-gold);
  font-style: normal;
}

.pc-gallery-intro {
  max-width: 610px;
  color: var(--pc-gallery-muted);
  font-size: 1.03rem;
  line-height: 1.75;
}

.pc-gallery-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.78rem 1.15rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.pc-gallery-link:hover {
  color: #fff;
  border-color: rgba(56, 189, 248, 0.58);
  background: rgba(56, 189, 248, 0.12);
  transform: translateY(-2px);
}

.pc-gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 92px;
  gap: 14px;
}

.pc-gallery-card {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--pc-gallery-radius);
  padding: 0;
  color: inherit;
  text-align: left;
  background: #0a2146;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.25);
  cursor: zoom-in;
  isolation: isolate;
}

.pc-gallery-mosaic .pc-gallery-card--1 {
  grid-column: 1 / 7;
  grid-row: span 4;
}

.pc-gallery-mosaic .pc-gallery-card--2 {
  grid-column: 7 / 10;
  grid-row: span 2;
}

.pc-gallery-mosaic .pc-gallery-card--3 {
  grid-column: 10 / 13;
  grid-row: span 2;
}

.pc-gallery-mosaic .pc-gallery-card--4 {
  grid-column: 7 / 13;
  grid-row: span 2;
}

.pc-gallery-mosaic .pc-gallery-card--5 {
  grid-column: 1 / 5;
  grid-row: span 2;
}

.pc-gallery-mosaic .pc-gallery-card--6 {
  grid-column: 5 / 13;
  grid-row: span 2;
}

.pc-gallery-mosaic--count-1 .pc-gallery-card--1 {
  grid-column: 1 / 13;
  grid-row: span 5;
}

.pc-gallery-mosaic--count-2 .pc-gallery-card--1 {
  grid-column: 1 / 8;
  grid-row: span 4;
}

.pc-gallery-mosaic--count-2 .pc-gallery-card--2 {
  grid-column: 8 / 13;
  grid-row: span 4;
}

.pc-gallery-mosaic--count-3 .pc-gallery-card--1 {
  grid-column: 1 / 8;
  grid-row: span 4;
}

.pc-gallery-mosaic--count-3 .pc-gallery-card--2,
.pc-gallery-mosaic--count-3 .pc-gallery-card--3 {
  grid-column: 8 / 13;
  grid-row: span 2;
}

.pc-gallery-mosaic--count-5 .pc-gallery-card--5 {
  grid-column: 1 / 13;
}

.pc-gallery-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.002);
  transition: transform 650ms cubic-bezier(0.2, 0.75, 0.2, 1), filter 350ms ease;
}

.pc-gallery-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 38%, rgba(2, 10, 25, 0.88) 100%);
  transition: opacity 250ms ease;
}

.pc-gallery-card__meta {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.45rem);
}

.pc-gallery-card__category {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--pc-gallery-cyan);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pc-gallery-card__title {
  display: block;
  color: #fff;
  font-size: clamp(0.92rem, 1.6vw, 1.22rem);
  font-weight: 750;
  line-height: 1.25;
}

.pc-gallery-card__open {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  transition: transform 200ms ease, background 200ms ease;
}

.pc-gallery-card:hover .pc-gallery-card__image,
.pc-gallery-card:focus-visible .pc-gallery-card__image {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.06);
}

.pc-gallery-card:hover .pc-gallery-card__open,
.pc-gallery-card:focus-visible .pc-gallery-card__open {
  background: var(--pc-gallery-blue);
  transform: rotate(-8deg) scale(1.08);
}

.pc-gallery-card:focus-visible,
.pc-gallery-filter:focus-visible,
.pc-gallery-lightbox button:focus-visible {
  outline: 3px solid var(--pc-gallery-gold);
  outline-offset: 3px;
}

.pc-gallery-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.pc-gallery-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pc-gallery-page {
  min-height: 100vh;
  color: var(--pc-gallery-ink);
  background: #05142d;
}

.pc-gallery-page .layout-navbar,
.pc-gallery-page .landing-navbar {
  background: rgba(5, 20, 45, 0.88) !important;
  border-color: rgba(148, 184, 224, 0.13) !important;
  backdrop-filter: blur(18px);
}

.pc-gallery-hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  padding: 10rem 0 6rem;
  background:
    radial-gradient(circle at 82% 15%, rgba(56, 189, 248, 0.22), transparent 24%),
    radial-gradient(circle at 12% 75%, rgba(247, 201, 72, 0.14), transparent 22%),
    linear-gradient(135deg, #05142d 0%, #0a2b5b 56%, #071a38 100%);
}

.pc-gallery-hero::before {
  content: 'MOMENTS';
  position: absolute;
  inset: auto -0.04em -0.24em auto;
  color: rgba(255, 255, 255, 0.035);
  font-size: clamp(7rem, 18vw, 18rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1;
  pointer-events: none;
}

.pc-gallery-hero__orb {
  position: absolute;
  top: 15%;
  right: 8%;
  width: min(34vw, 430px);
  aspect-ratio: 1;
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 50%;
  box-shadow: inset 0 0 80px rgba(56, 189, 248, 0.08), 0 0 80px rgba(56, 189, 248, 0.08);
}

.pc-gallery-hero__orb::before,
.pc-gallery-hero__orb::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}

.pc-gallery-hero__orb::before {
  inset: 14%;
  border: 1px dashed rgba(247, 201, 72, 0.34);
}

.pc-gallery-hero__orb::after {
  inset: 35%;
  background: rgba(56, 189, 248, 0.12);
  box-shadow: 0 0 55px rgba(56, 189, 248, 0.26);
}

.pc-gallery-hero__content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.pc-gallery-hero__title {
  margin-bottom: 1.5rem;
  color: #fff;
  font-size: clamp(3.2rem, 8vw, 7.8rem);
  font-weight: 850;
  letter-spacing: -0.065em;
  line-height: 0.86;
}

.pc-gallery-hero__title span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(220, 234, 255, 0.5);
}

.pc-gallery-hero__copy {
  max-width: 610px;
  color: var(--pc-gallery-muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.75;
}

.pc-gallery-content {
  position: relative;
  padding: 5rem 0 7rem;
  background:
    linear-gradient(rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    #061731;
}

.pc-gallery-filter-bar {
  position: sticky;
  top: 84px;
  z-index: 20;
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  margin-bottom: 2rem;
  border: 1px solid var(--pc-gallery-line);
  border-radius: 18px;
  padding: 0.65rem;
  background: rgba(6, 23, 49, 0.88);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
  scrollbar-width: none;
}

.pc-gallery-filter-bar::-webkit-scrollbar {
  display: none;
}

.pc-gallery-filter {
  flex: 0 0 auto;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.65rem 1rem;
  color: var(--pc-gallery-muted);
  font-weight: 700;
  background: transparent;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.pc-gallery-filter:hover {
  color: #fff;
  border-color: var(--pc-gallery-line);
}

.pc-gallery-filter[aria-pressed='true'] {
  color: #061731;
  background: var(--pc-gallery-gold);
}

.pc-gallery-grid--page {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.pc-gallery-grid--page .pc-gallery-card {
  grid-column: span 4;
  min-height: 360px;
  aspect-ratio: 4 / 5;
}

.pc-gallery-grid--page .pc-gallery-card:nth-child(7n + 1) {
  grid-column: span 8;
  aspect-ratio: 16 / 9;
}

.pc-gallery-grid--page .pc-gallery-card:nth-child(7n + 5) {
  grid-column: span 5;
}

.pc-gallery-grid--page .pc-gallery-card:nth-child(7n + 6) {
  grid-column: span 7;
  aspect-ratio: 16 / 10;
}

.pc-gallery-empty {
  border: 1px dashed rgba(148, 184, 224, 0.25);
  border-radius: 28px;
  padding: clamp(3rem, 8vw, 6rem) 1.5rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.025);
}

.pc-gallery-empty__icon {
  display: grid;
  width: 74px;
  height: 74px;
  margin: 0 auto 1.2rem;
  place-items: center;
  border-radius: 50%;
  color: var(--pc-gallery-gold);
  font-size: 2rem;
  background: rgba(247, 201, 72, 0.1);
}

.pc-gallery-lightbox[hidden] {
  display: none;
}

.pc-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 11050;
  display: grid;
  place-items: center;
  padding: clamp(0.8rem, 3vw, 2rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.pc-gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.pc-gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(1, 7, 18, 0.94);
  backdrop-filter: blur(18px);
}

.pc-gallery-lightbox__panel {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  max-height: calc(100vh - 2rem);
}

.pc-gallery-lightbox__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  color: var(--pc-gallery-muted);
}

.pc-gallery-lightbox__counter {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pc-gallery-lightbox__close,
.pc-gallery-lightbox__nav {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.pc-gallery-lightbox__close {
  width: 44px;
  height: 44px;
  font-size: 1.55rem;
}

.pc-gallery-lightbox__nav {
  position: absolute;
  top: 42%;
  z-index: 3;
  width: 50px;
  height: 50px;
  font-size: 2rem;
  transform: translateY(-50%);
}

.pc-gallery-lightbox__nav:disabled {
  opacity: 0.28;
  cursor: default;
}

.pc-gallery-lightbox__nav--prev {
  left: -70px;
}

.pc-gallery-lightbox__nav--next {
  right: -70px;
}

.pc-gallery-lightbox__figure {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  overflow: hidden;
  max-height: calc(100vh - 7rem);
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  background: #071932;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.42);
}

.pc-gallery-lightbox__image-wrap {
  display: grid;
  min-height: 420px;
  place-items: center;
  overflow: hidden;
  background: #020817;
}

.pc-gallery-lightbox__image {
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 7rem);
  object-fit: contain;
}

.pc-gallery-lightbox__caption {
  align-self: stretch;
  overflow-y: auto;
  padding: clamp(1.4rem, 3vw, 2.5rem);
  color: var(--pc-gallery-muted);
  background:
    radial-gradient(circle at 100% 0, rgba(56, 189, 248, 0.12), transparent 38%),
    #071932;
}

.pc-gallery-lightbox__eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
  color: var(--pc-gallery-cyan);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.pc-gallery-lightbox__eyebrow time:not(:empty)::before {
  content: '•';
  margin-right: 0.6rem;
  color: rgba(255, 255, 255, 0.35);
}

.pc-gallery-lightbox__caption h2 {
  margin-bottom: 1rem;
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.pc-gallery-lightbox__caption p {
  margin: 0;
  white-space: pre-line;
  line-height: 1.75;
}

body.pc-gallery-scroll-lock {
  overflow: hidden;
}

@media (min-width: 992px) and (min-height: 600px) {
  .pc-gallery-home {
    display: flex;
    align-items: center;
    min-height: 100svh;
    padding: 6.5rem 0 1rem;
    scroll-margin-top: 0;
  }

  .pc-gallery-home .pc-gallery-shell {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 1rem;
    height: calc(100svh - 7.5rem);
  }

  .pc-gallery-home .pc-gallery-home-header {
    --bs-gutter-y: 0;
    margin-bottom: 0 !important;
  }

  .pc-gallery-home .pc-gallery-kicker {
    margin-bottom: 0.5rem;
  }

  .pc-gallery-home .pc-gallery-heading {
    margin-bottom: 0.5rem !important;
    font-size: clamp(2rem, 3.1vw, 3.25rem);
    letter-spacing: -0.04em;
    line-height: 1.05;
  }

  .pc-gallery-home .pc-gallery-intro {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .pc-gallery-home .pc-gallery-mosaic {
    min-height: 0;
    grid-template-rows: repeat(6, minmax(0, 1fr));
    grid-auto-rows: minmax(0, 1fr);
    gap: 12px;
  }

  .pc-gallery-home .pc-gallery-mosaic--count-1 {
    grid-template-rows: repeat(5, minmax(0, 1fr));
  }

  .pc-gallery-home .pc-gallery-mosaic--count-6 .pc-gallery-card--1 {
    grid-row: span 6;
  }

  .pc-gallery-home .pc-gallery-mosaic--count-6 .pc-gallery-card--4 {
    grid-column: 7 / 10;
  }

  .pc-gallery-home .pc-gallery-mosaic--count-6 .pc-gallery-card--5 {
    grid-column: 10 / 13;
  }

  .pc-gallery-home .pc-gallery-mosaic--count-6 .pc-gallery-card--6 {
    grid-column: 7 / 13;
  }

  .pc-gallery-home .pc-gallery-mosaic--count-2,
  .pc-gallery-home .pc-gallery-mosaic--count-3,
  .pc-gallery-home .pc-gallery-mosaic--count-4 {
    grid-template-rows: repeat(4, minmax(0, 1fr));
  }

  .pc-gallery-home .pc-gallery-card {
    min-height: 0;
  }

  .pc-gallery-home .pc-gallery-card__meta {
    gap: 0.5rem;
    padding: 0.75rem;
  }

  .pc-gallery-home .pc-gallery-card__title {
    font-size: clamp(0.85rem, 1.1vw, 1rem);
    line-height: 1.25;
  }

  .pc-gallery-home .pc-gallery-card--1 .pc-gallery-card__title {
    font-size: clamp(1rem, 1.6vw, 1.4rem);
  }

  .pc-gallery-home .pc-gallery-card__open {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 1199.98px) {
  .pc-gallery-lightbox__nav--prev {
    left: 12px;
  }

  .pc-gallery-lightbox__nav--next {
    right: 12px;
  }
}

@media (max-width: 991.98px) {
  .pc-gallery-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 220px;
  }

  .pc-gallery-mosaic .pc-gallery-card {
    grid-column: auto;
    grid-row: auto;
  }

  .pc-gallery-mosaic .pc-gallery-card--1,
  .pc-gallery-mosaic .pc-gallery-card--4,
  .pc-gallery-mosaic .pc-gallery-card--6 {
    grid-column: span 2;
  }

  .pc-gallery-hero {
    min-height: 560px;
  }

  .pc-gallery-hero__orb {
    opacity: 0.55;
  }

  .pc-gallery-grid--page .pc-gallery-card,
  .pc-gallery-grid--page .pc-gallery-card:nth-child(7n + 1),
  .pc-gallery-grid--page .pc-gallery-card:nth-child(7n + 5),
  .pc-gallery-grid--page .pc-gallery-card:nth-child(7n + 6) {
    grid-column: span 6;
    min-height: 340px;
    aspect-ratio: 4 / 5;
  }

  .pc-gallery-lightbox__figure {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .pc-gallery-lightbox__image-wrap {
    min-height: min(58vh, 520px);
  }

  .pc-gallery-lightbox__image {
    max-height: 58vh;
  }
}

@media (max-width: 575.98px) {
  .pc-gallery-mosaic {
    display: flex;
    overflow-x: auto;
    margin-right: -1rem;
    padding-right: 1rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .pc-gallery-mosaic::-webkit-scrollbar {
    display: none;
  }

  .pc-gallery-mosaic .pc-gallery-card {
    flex: 0 0 84vw;
    height: 360px;
    scroll-snap-align: start;
  }

  .pc-gallery-hero {
    min-height: 520px;
    padding-top: 8.5rem;
  }

  .pc-gallery-hero__orb {
    top: 24%;
    right: -24%;
    width: 88vw;
  }

  .pc-gallery-filter-bar {
    top: 72px;
    margin-inline: -0.75rem;
    border-radius: 0;
  }

  .pc-gallery-grid--page {
    display: flex;
    flex-direction: column;
  }

  .pc-gallery-grid--page .pc-gallery-card,
  .pc-gallery-grid--page .pc-gallery-card:nth-child(n) {
    min-height: 390px;
    aspect-ratio: 4 / 5;
  }

  .pc-gallery-lightbox {
    padding: 0;
  }

  .pc-gallery-lightbox__panel {
    max-height: 100vh;
  }

  .pc-gallery-lightbox__toolbar {
    position: absolute;
    inset: 0.7rem 0.7rem auto;
    z-index: 5;
  }

  .pc-gallery-lightbox__counter {
    border-radius: 999px;
    padding: 0.45rem 0.7rem;
    background: rgba(0, 0, 0, 0.52);
  }

  .pc-gallery-lightbox__figure {
    max-height: 100vh;
    border: 0;
    border-radius: 0;
  }

  .pc-gallery-lightbox__image-wrap {
    min-height: 62vh;
  }

  .pc-gallery-lightbox__image {
    max-height: 62vh;
  }

  .pc-gallery-lightbox__caption {
    min-height: 38vh;
    padding: 1.5rem 1.25rem 2rem;
  }

  .pc-gallery-lightbox__nav {
    top: 31vh;
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pc-gallery-card,
  .pc-gallery-card__image,
  .pc-gallery-card__open,
  .pc-gallery-link,
  .pc-gallery-lightbox,
  .pc-gallery-reveal {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .pc-gallery-reveal {
    opacity: 1;
    transform: none;
  }
}
