:root {
  --pink: #ff0068;
  --ink: #111;
  --ink-soft: #232126;
  --paper: #ffffff;
  --paper-warm: #f5f5f7;
  --white: #ffffff;
  --accent: #ff0068;
  --accent-dark: #e0005b;
  --pose-pink: #ff0068;
  --muted: #6e6e73;
  --line: #e5e5e7;
  --display:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Arial, sans-serif;
  --serif: var(--display);
  --radius: 1.25rem;
  --shadow: 0 22px 50px rgba(17, 16, 18, 0.16);
}

* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--display);
  -webkit-font-smoothing: antialiased;
}
.wrap {
  width: min(calc(100% - 40px), 1180px);
  margin-left: auto;
  margin-right: auto;
}
body.is-locked {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
img {
  display: block;
  max-width: 100%;
}
button {
  color: inherit;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: 1rem;
  padding: 0.75rem 1rem;
  background: var(--accent);
  transform: translateY(-180%);
}
.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  width: 100%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: saturate(180%) blur(18px);
}
.site-header.is-scrolled {
  padding: 0;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: none;
  backdrop-filter: saturate(180%) blur(18px);
}
.nav {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
}
.brand img {
  width: 118px;
  height: 48px;
  object-fit: contain;
  filter: none;
}
.nav nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
}
.nav nav > a:not(.pill):hover {
  color: var(--pose-pink);
}
.menu {
  display: none;
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #070707;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  color: #fff;
  background: #070707;
  font-weight: 600;
  border: 0;
  cursor: pointer;
}
.pill.small {
  padding: 10px 16px;
}
.text-link {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.text-link::after {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.2s ease;
}
.text-link:hover::after {
  width: 100%;
}

.button {
  min-height: 3.1rem;
  padding: 0.86rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
  cursor: pointer;
}
.button:hover {
  transform: translateY(-2px);
}
.button--compact {
  min-height: 2.6rem;
  padding: 0.68rem 1rem;
}
.button--light {
  color: var(--white);
  background: var(--ink);
}
.site-header.is-scrolled .button--light {
  color: var(--white);
  background: var(--ink);
}
.button--dark {
  color: var(--white);
  background: var(--ink);
}
.button--accent {
  color: var(--ink);
  background: var(--accent);
}
.button--outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
  background: transparent;
}
.button--outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  min-height: min(52rem, 92svh);
  padding: clamp(8rem, 17vh, 11rem) clamp(1.25rem, 7vw, 7rem) 5rem;
  color: var(--white);
  background:
    radial-gradient(
      circle at 82% 12%,
      rgba(255, 0, 104, 0.16),
      transparent 24%
    ),
    linear-gradient(135deg, #0e0d0f 0%, #1e1b20 56%, #111012 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "POSE";
  position: absolute;
  z-index: -1;
  right: -1.2vw;
  bottom: -8.5vw;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.11);
  font-size: clamp(9rem, 27vw, 28rem);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.09em;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.12;
  background-image: url("https://poseph.com/assets/images/booth-close.webp");
  background-size: cover;
  background-position: 70% 45%;
  mix-blend-mode: luminosity;
}
.hero__glow {
  position: absolute;
  z-index: -1;
  width: 32rem;
  height: 32rem;
  right: -15rem;
  top: -12rem;
  border: 1px solid rgba(255, 0, 104, 0.25);
  border-radius: 50%;
  box-shadow:
    0 0 0 6rem rgba(255, 0, 104, 0.025),
    0 0 0 12rem rgba(255, 0, 104, 0.018);
}
.eyebrow {
  margin: 0 0 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.72rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow > span {
  width: 2.8rem;
  height: 2px;
  background: var(--accent);
}
.eyebrow--dark {
  color: var(--muted);
}
.hero h1,
.closing h2 {
  margin: 0;
  max-width: 13ch;
  font-size: clamp(3.8rem, 9vw, 8.8rem);
  line-height: 0.88;
  letter-spacing: -0.068em;
  text-wrap: balance;
}
.hero h1 em,
.closing h2 em {
  color: var(--accent);
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.035em;
}
.hero__copy {
  max-width: 36rem;
  margin: 2.2rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.7;
}
.scroll-cue {
  align-self: flex-start;
  margin-top: 2.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.scroll-cue svg {
  width: 1.2rem;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  animation: bob 1.8s ease-in-out infinite;
}
@keyframes bob {
  50% {
    transform: translateY(4px);
  }
}

.gallery-section {
  padding: clamp(2rem, 3.5vw, 3.5rem) clamp(1.1rem, 5vw, 5rem);
}
.gallery-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 30rem);
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.35rem;
}
.gallery-intro h2 {
  margin: 0;
  font-size: clamp(2.5rem, 4vw, 4.2rem);
  letter-spacing: -0.058em;
  line-height: 0.95;
}
.gallery-intro__copy {
  margin: 0 0 0.4rem;
  color: var(--muted);
  line-height: 1.7;
}
.toolbar {
  display: grid;
  grid-template-columns: minmax(13rem, 1fr) minmax(0, auto) auto;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.5);
}
.search-box {
  min-width: 0;
  height: 2.8rem;
  padding: 0 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 0.75rem;
  background: var(--white);
}
.search-box svg,
.sort-control svg {
  width: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.search-box input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}
.search-box input::placeholder {
  color: #8f8991;
}
.filter-scroller {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.filter-scroller::-webkit-scrollbar {
  display: none;
}
.filter {
  height: 2.8rem;
  padding: 0 0.85rem;
  flex: 0 0 auto;
  border: 0;
  border-radius: 0.75rem;
  color: var(--muted);
  background: transparent;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}
.filter:hover,
.filter.is-active {
  color: var(--white);
  background: var(--ink);
}
.sort-control {
  position: relative;
  height: 2.8rem;
  min-width: 9.2rem;
  border-left: 1px solid var(--line);
}
.sort-control select {
  width: 100%;
  height: 100%;
  padding: 0 2rem 0 1rem;
  border: 0;
  outline: 0;
  appearance: none;
  color: var(--ink);
  background: transparent;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}
.sort-control svg {
  position: absolute;
  pointer-events: none;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
}
.results-line {
  min-height: 2.4rem;
  margin: 0.55rem 0 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.results-line p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}
.gallery-ad {
  min-height: 7.5rem;
  margin: clamp(2.5rem, 5vw, 4.5rem) 0 0;
  padding: 0.7rem 1rem 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.48);
  text-align: center;
}
.gallery-ad__label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.gallery-ad:has(.adsbygoogle[data-ad-status="unfilled"]) {
  display: none;
}
.view-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}
.view-toggle svg {
  width: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.gallery-state,
.collection-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(0.7rem, 1.5vw, 1.25rem);
}
.skeleton {
  grid-column: span 3;
  height: clamp(14rem, 28vw, 25rem);
  border-radius: var(--radius);
  background: linear-gradient(100deg, #e7e2d9 15%, #f4f0e8 35%, #e7e2d9 55%);
  background-size: 200% 100%;
  animation: shimmer 1.25s infinite;
}
.skeleton--wide {
  grid-column: span 5;
}
.skeleton--tall {
  height: clamp(19rem, 37vw, 32rem);
}
@keyframes shimmer {
  to {
    background-position-x: -200%;
  }
}
.collection-card {
  --span: 4;
  grid-column: span var(--span);
  min-width: 0;
}
.collection-card:nth-child(6n + 1),
.collection-card:nth-child(6n + 5) {
  --span: 5;
}
.collection-card:nth-child(6n + 2),
.collection-card:nth-child(6n + 6) {
  --span: 3;
}
.collection-card__button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.collection-card__media {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  background: #dfdad1;
  box-shadow: 0 0 0 0 rgba(17, 16, 18, 0);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.collection-card:nth-child(3n + 1) .collection-card__media {
  aspect-ratio: 5 / 6;
}
.collection-card:nth-child(3n + 2) .collection-card__media {
  aspect-ratio: 4 / 5.35;
}
.collection-card__button:hover .collection-card__media {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.collection-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.3s ease;
}
.collection-card__button:hover img {
  transform: scale(1.035);
}
.collection-card__media::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(9, 8, 9, 0.72));
  pointer-events: none;
}
.collection-card__badge {
  position: absolute;
  z-index: 2;
  top: 0.8rem;
  right: 0.8rem;
  padding: 0.45rem 0.66rem;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  font-size: 0.68rem;
  font-weight: 700;
}
.collection-card__peek {
  position: absolute;
  z-index: 2;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.7rem;
  color: var(--white);
}
.collection-card__peek strong {
  max-width: 16ch;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.05;
}
.collection-card__peek span {
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--accent);
  font-size: 1rem;
  transition: transform 0.25s ease;
}
.collection-card__button:hover .collection-card__peek span {
  transform: rotate(-18deg);
}
.collection-card__meta {
  padding: 0.75rem 0.18rem 0;
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  color: var(--muted);
  font-size: 0.75rem;
}
.collection-grid.is-compact .collection-card {
  --span: 3;
}
.collection-grid.is-compact .collection-card__media {
  aspect-ratio: 1 / 1;
}
.collection-grid.is-compact .collection-card__meta {
  display: none;
}

/* Photo-first gallery — mirrors the editorial rhythm of poseph.com. */
.gallery-nav {
  position: sticky;
  z-index: 12;
  top: 68px;
  margin: 0 0 0.55rem;
  padding: 0.5rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}
.gallery-filter-toggle {
  display: none;
}
.gallery-controls-panel {
  display: contents;
}
.event-filters {
  padding-bottom: 0.4rem;
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.event-filters::-webkit-scrollbar {
  display: none;
}
.event-filter {
  min-height: 2.25rem;
  padding: 0.45rem 0.78rem;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease;
}
.event-filter:hover {
  border-color: var(--ink);
}
.event-filter.is-active {
  color: var(--ink);
  border-color: var(--accent);
  background: var(--accent);
}
.gallery-tools {
  padding-top: 0.4rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) auto auto;
  align-items: center;
  gap: 0.5rem;
}
.gallery-tools .search-box {
  height: 2.55rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: var(--paper-warm);
}
.gallery-tools .sort-control {
  height: 2.55rem;
  min-width: 8rem;
  border-left: 0;
  border-radius: 0.65rem;
  background: var(--paper-warm);
}
.gallery-tools .sort-control select {
  padding-left: 0.8rem;
}
.media-filter {
  padding: 0.22rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.12rem;
  background: var(--paper-warm);
}
.media-filter button {
  min-height: 2.1rem;
  padding: 0 0.62rem;
  border: 0;
  border-radius: 0.58rem;
  color: var(--muted);
  background: transparent;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}
.media-filter button.is-active {
  color: var(--white);
  background: var(--ink);
}
.results-line__note {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
}
.event-collection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 1.6vw, 1.4rem);
}
.event-card {
  min-width: 0;
}
.event-card__button {
  width: 100%;
  padding: 0;
  border: 0;
  display: block;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.event-card__cover,
.event-card--2 .event-card__cover,
.event-card--3 .event-card__cover {
  min-height: 0;
  aspect-ratio: 4 / 3;
  border-radius: 1.1rem;
  display: block;
  position: relative;
  overflow: hidden;
  background: #ddd7cd;
  box-shadow: 0 0 0 rgba(17, 16, 18, 0);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.event-card__cover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.3s ease;
}
.event-card__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.16);
  background: linear-gradient(135deg, #141216, #2c252c);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.08em;
}
.event-card__shade {
  position: absolute;
  inset: 32% 0 0;
  background: linear-gradient(transparent, rgba(8, 7, 9, 0.88));
  pointer-events: none;
}
.event-card__type {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  color: var(--ink);
  background: var(--accent);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.event-card__title {
  position: absolute;
  left: 1.15rem;
  right: 1.15rem;
  bottom: 1.15rem;
  color: var(--white);
}
.event-card__title strong {
  max-width: 19ch;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  font-size: clamp(1.2rem, 1.45vw, 1.65rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.event-card__footer {
  min-height: 3.65rem;
  padding: 0.72rem 0.15rem 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.7rem;
}
.event-card__meta {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.4;
}
.event-card__meta strong {
  color: var(--ink);
}
.event-card__cta {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}
.event-card__button:hover .event-card__cover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.event-card__button:hover .event-card__cover > img {
  transform: scale(1.045);
  filter: saturate(1.05) contrast(1.02);
}
.event-card__button:focus-visible {
  outline: 3px solid var(--pose-pink);
  outline-offset: 5px;
  border-radius: 1.25rem;
}
.collection-loading {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.collection-loading .skeleton {
  grid-column: auto;
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
}
.photo-masonry {
  columns: 4 16rem;
  column-gap: clamp(0.65rem, 1.25vw, 1rem);
}
.photo-tile {
  width: 100%;
  margin: 0 0 clamp(0.65rem, 1.25vw, 1rem);
  break-inside: avoid;
  overflow: hidden;
  border-radius: 1rem;
  background: #ddd7cd;
}
.photo-tile__button {
  width: 100%;
  min-height: 9rem;
  padding: 0;
  border: 0;
  display: block;
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: #ddd7cd;
  cursor: zoom-in;
  text-align: left;
}
.photo-tile__button img {
  width: 100%;
  height: auto;
  min-height: 10rem;
  display: block;
  object-fit: cover;
  transition:
    transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.3s ease;
}
.photo-tile__button:hover img {
  transform: scale(1.025);
  filter: saturate(1.04) contrast(1.02);
}
.photo-tile__overlay {
  position: absolute;
  inset: 45% 0 0;
  padding: 1rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  background: linear-gradient(transparent, rgba(9, 8, 9, 0.78));
  opacity: 0;
  transition: opacity 0.25s ease;
}
.photo-tile__button:hover .photo-tile__overlay,
.photo-tile__button:focus-visible .photo-tile__overlay {
  opacity: 1;
}
.photo-tile__overlay span {
  min-width: 0;
}
.photo-tile__overlay strong,
.photo-tile__overlay small {
  display: block;
}
.photo-tile__overlay strong {
  max-width: 22ch;
  font-size: 0.86rem;
  line-height: 1.15;
}
.photo-tile__overlay small {
  margin-top: 0.28rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.65rem;
}
.photo-tile__overlay i {
  width: 2.2rem;
  height: 2.2rem;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--accent);
  font-style: normal;
}
.masonry-loading {
  display: block;
  columns: 4 16rem;
  column-gap: 1rem;
}
.masonry-loading .skeleton {
  width: 100%;
  height: 18rem;
  margin: 0 0 1rem;
  display: inline-block;
  break-inside: avoid;
}
.masonry-loading .skeleton:nth-child(3n + 2) {
  height: 24rem;
}

.empty-state {
  min-height: 24rem;
  padding: 3rem 1rem;
  text-align: center;
  border: 1px dashed rgba(17, 16, 18, 0.2);
  border-radius: var(--radius);
  place-items: center;
  align-content: center;
}
.empty-state[hidden] {
  display: none;
}
.empty-state__mark {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
}
.empty-state h3 {
  margin: 0 0 0.5rem;
  font-size: 1.55rem;
}
.empty-state p {
  margin: 0 0 1.4rem;
  color: var(--muted);
}

.closing {
  min-height: 38rem;
  padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 7vw, 7rem);
  color: var(--white);
  background: var(--ink);
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: center;
}
.closing::after {
  content: "✦";
  position: absolute;
  right: clamp(1rem, 8vw, 8rem);
  top: 50%;
  color: var(--accent);
  font-size: clamp(7rem, 18vw, 18rem);
  line-height: 1;
  transform: translateY(-52%) rotate(9deg);
  opacity: 0.9;
}
.closing h2 {
  max-width: 11ch;
  font-size: clamp(3.4rem, 7vw, 7rem);
  position: relative;
  z-index: 1;
}
.closing__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  position: relative;
  z-index: 1;
}
.site-footer {
  padding: 55px 0 28px;
  color: var(--ink);
  background: #fff;
  border-top: 0;
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
}
.site-footer .footer-grid img {
  width: 150px;
}
.site-footer .footer-grid p {
  max-width: 350px;
  color: #777;
  line-height: 1.5;
}
.site-footer .footer-grid > div:not(:first-child) {
  display: grid;
  align-content: start;
  gap: 12px;
}
.site-footer .footer-grid strong {
  margin-bottom: 6px;
}
.site-footer .footer-grid a:hover {
  color: var(--pink);
}
.site-footer .copyright {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: #888;
  font-size: 12px;
}

.viewer {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--white);
  background: transparent;
}
.viewer::backdrop {
  background: rgba(6, 5, 7, 0.92);
  backdrop-filter: blur(18px);
}
.viewer__backdrop {
  position: absolute;
  inset: 0;
}
.viewer__panel {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: max(1rem, env(safe-area-inset-top))
    max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom))
    max(1rem, env(safe-area-inset-left));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}
.viewer__topbar {
  width: min(100%, 92rem);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.viewer__topbar h2 {
  margin: 0.18rem 0 0;
  font-size: 1rem;
}
.viewer__counter {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.viewer__actions {
  display: flex;
  gap: 0.5rem;
}
.album-download {
  min-height: 2.8rem;
  padding: 0 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}
.album-download:hover {
  color: var(--ink);
  background: var(--accent);
  border-color: var(--accent);
}
.album-download:disabled {
  opacity: 0.55;
  cursor: wait;
}
.album-download svg {
  width: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.icon-button,
.viewer__nav {
  width: 2.8rem;
  height: 2.8rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  cursor: pointer;
}
.icon-button:hover,
.viewer__nav:hover {
  color: var(--ink);
  background: var(--accent);
  border-color: var(--accent);
}
.icon-button svg,
.viewer__nav svg {
  width: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.viewer__stage {
  min-height: 0;
  width: min(100%, 96rem);
  margin: 1rem auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
}
.viewer__stage figure {
  height: 100%;
  min-height: 0;
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  place-items: center;
}
.viewer__stage img {
  width: auto;
  max-width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  opacity: 1;
  transition: opacity 0.18s ease;
}
.viewer__stage iframe {
  width: min(100%, 72rem);
  height: 100%;
  min-height: 24rem;
  border: 0;
  border-radius: 0.75rem;
  background: #000;
}
.viewer__stage img.is-changing {
  opacity: 0.2;
}
.viewer__stage figcaption {
  min-height: 1.8rem;
  padding-top: 0.6rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.75rem;
}
.viewer__thumbs {
  width: min(100%, 92rem);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.viewer__thumbs::-webkit-scrollbar {
  display: none;
}
.viewer__thumb {
  width: 3.4rem;
  height: 3.4rem;
  flex: 0 0 auto;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 0.5rem;
  overflow: hidden;
  opacity: 0.58;
  background: #222;
  cursor: pointer;
}
.viewer__thumb {
  position: relative;
}
.viewer__thumb-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.28);
  font-size: 0.7rem;
}
.viewer__thumb.is-active {
  border-color: var(--accent);
  opacity: 1;
}
.viewer__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.toast {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: 1.5rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  color: var(--ink);
  background: var(--accent);
  box-shadow: var(--shadow);
  font-size: 0.82rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 1rem);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.pin-dialog {
  width: min(calc(100% - 2rem), 27rem);
  padding: 0;
  border: 0;
  border-radius: 1.35rem;
  color: var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.pin-dialog::backdrop {
  background: rgba(8, 7, 9, 0.78);
  backdrop-filter: blur(12px);
}
.pin-dialog__card {
  padding: 2rem;
  position: relative;
}
.pin-dialog__close {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(17, 16, 18, 0.08);
  font-size: 1.35rem;
  cursor: pointer;
}
.pin-dialog__mark {
  display: inline-block;
  color: var(--pose-pink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}
.pin-dialog h2 {
  margin: 0.7rem 0 0.55rem;
  font-size: 2rem;
  letter-spacing: -0.045em;
}
.pin-dialog p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  line-height: 1.55;
}
.pin-dialog label span {
  display: block;
  margin-bottom: 0.42rem;
  font-size: 0.78rem;
  font-weight: 800;
}
.pin-dialog input {
  width: 100%;
  height: 3.2rem;
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  color: var(--ink);
  background: var(--white);
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  outline: 0;
}
.pin-dialog input:focus {
  border-color: var(--pose-pink);
  box-shadow: 0 0 0 3px rgba(240, 10, 102, 0.12);
}
.pin-dialog .pin-dialog__error {
  min-height: 1.2rem;
  margin: 0.55rem 0;
  color: #a81943;
  font-size: 0.78rem;
}
.pin-dialog .button {
  width: 100%;
}

@media (max-width: 1280px) {
  .event-collection-grid,
  .collection-loading {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .toolbar {
    grid-template-columns: 1fr auto;
  }
  .filter-scroller {
    grid-column: 1 / -1;
    grid-row: 2;
    order: 3;
  }
  .sort-control {
    grid-column: 2;
    grid-row: 1;
  }
  .collection-card,
  .collection-card:nth-child(n) {
    --span: 6;
  }
  .collection-grid.is-compact .collection-card {
    --span: 4;
  }
  .skeleton,
  .skeleton--wide {
    grid-column: span 6;
  }
  .photo-masonry,
  .masonry-loading {
    columns: 3 13rem;
  }
  .event-collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .event-card {
    grid-column: auto;
  }
  .collection-loading {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .collection-loading .skeleton:nth-child(3) {
    display: none;
  }
  .gallery-tools {
    grid-template-columns: minmax(12rem, 1fr) auto;
  }
  .media-filter {
    grid-column: 1 / -1;
  }
}

@media (max-width: 850px) {
  .wrap {
    width: min(calc(100% - 28px), 1180px);
  }
  .menu {
    display: block;
  }
  .nav nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    padding: 22px;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .nav nav.open {
    display: flex;
  }
  .nav nav .pill {
    width: 100%;
  }
  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer .footer-grid > div:first-child {
    grid-column: span 2;
  }
}

@media (max-width: 680px) {
  .button--compact {
    min-height: 2.35rem;
    padding: 0.6rem 0.8rem;
    font-size: 0.73rem;
  }
  .hero {
    min-height: 42rem;
    padding: 7.5rem 1.1rem 4rem;
  }
  .hero h1 {
    font-size: clamp(3.45rem, 17vw, 5.5rem);
  }
  .hero__copy {
    max-width: 28rem;
  }
  .gallery-section {
    padding-top: 1.5rem;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }
  .gallery-intro {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    margin-bottom: 1rem;
    padding: 0 0.3rem;
  }
  .gallery-intro h2 {
    font-size: 2.6rem;
  }
  .toolbar {
    padding: 0.55rem;
    grid-template-columns: minmax(0, 1fr) 8.5rem;
    gap: 0.55rem;
    position: sticky;
    z-index: 12;
    top: 3.75rem;
    background: rgba(244, 241, 235, 0.93);
    backdrop-filter: blur(14px);
  }
  .gallery-nav {
    top: 68px;
    margin-left: -0.05rem;
    margin-right: -0.05rem;
    padding: 0.45rem 0.5rem;
    border-radius: 0.8rem;
  }
  .gallery-filter-toggle {
    width: 100%;
    min-height: 2.5rem;
    padding: 0 0.7rem;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--ink);
    background: transparent;
    font-size: 0.8rem;
    font-weight: 800;
    cursor: pointer;
  }
  .gallery-filter-toggle span:last-child {
    font-size: 1.2rem;
    font-weight: 500;
  }
  .gallery-controls-panel {
    display: none;
  }
  .gallery-controls-panel.is-open {
    display: block;
  }
  .gallery-controls-panel .event-filters {
    padding-top: 0.35rem;
  }
  .gallery-tools {
    grid-template-columns: minmax(0, 1fr) 7.2rem;
  }
  .gallery-tools .search-box {
    padding-left: 0.65rem;
  }
  .event-filter {
    min-height: 2.15rem;
    padding: 0.4rem 0.66rem;
    font-size: 0.7rem;
  }
  .media-filter {
    overflow-x: auto;
  }
  .media-filter button {
    flex: 1 0 auto;
  }
  .results-line__note {
    display: none;
  }
  .search-box {
    padding-left: 0.65rem;
  }
  .sort-control {
    min-width: 0;
  }
  .filter {
    padding: 0 0.72rem;
  }
  .results-line {
    padding: 0 0.3rem;
  }
  .gallery-ad {
    min-height: 5.5rem;
    margin-top: 2rem;
    margin-bottom: 0;
    padding-left: 0.55rem;
    padding-right: 0.55rem;
    border-radius: 0.8rem;
  }
  .view-toggle span {
    display: none;
  }
  .collection-grid,
  .gallery-state {
    gap: 0.7rem;
  }
  .collection-card,
  .collection-card:nth-child(n) {
    --span: 6;
  }
  .collection-card__media,
  .collection-card:nth-child(n) .collection-card__media {
    aspect-ratio: 4 / 5.25;
    border-radius: 0.85rem;
  }
  .collection-card__badge {
    top: 0.55rem;
    right: 0.55rem;
    padding: 0.38rem 0.5rem;
    font-size: 0.6rem;
  }
  .collection-card__peek {
    left: 0.7rem;
    right: 0.7rem;
    bottom: 0.7rem;
    display: block;
  }
  .collection-card__peek strong {
    display: block;
    font-size: 0.96rem;
  }
  .collection-card__peek span {
    display: none;
  }
  .collection-card__meta {
    padding-top: 0.48rem;
    display: block;
    font-size: 0.67rem;
  }
  .collection-card__meta span:last-child {
    display: none;
  }
  .collection-grid.is-compact .collection-card {
    --span: 4;
  }
  .collection-grid.is-compact .collection-card__peek strong {
    font-size: 0.78rem;
  }
  .photo-masonry,
  .masonry-loading {
    columns: 2;
    column-gap: 0.6rem;
  }
  .event-collection-grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }
  .event-card {
    grid-column: auto;
  }
  .event-card__cover,
  .event-card--2 .event-card__cover,
  .event-card--3 .event-card__cover {
    min-height: 0;
    aspect-ratio: 4 / 3;
    border-radius: 1rem;
  }
  .event-card__title {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
  .event-card__title strong {
    font-size: 1.55rem;
  }
  .event-card__footer {
    padding-left: 0.1rem;
    padding-right: 0.1rem;
  }
  .event-card__cta {
    font-size: 0.72rem;
  }
  .collection-loading {
    grid-template-columns: 1fr;
  }
  .collection-loading .skeleton {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
  .collection-loading .skeleton:not(:first-child) {
    display: none;
  }
  .photo-tile {
    margin-bottom: 0.6rem;
    border-radius: 0.72rem;
  }
  .photo-tile__button img {
    min-height: 7.5rem;
  }
  .photo-tile__overlay {
    inset: 35% 0 0;
    padding: 0.65rem;
    opacity: 1;
  }
  .photo-tile__overlay strong {
    font-size: 0.72rem;
  }
  .photo-tile__overlay small,
  .photo-tile__overlay i {
    display: none;
  }
  .masonry-loading .skeleton,
  .masonry-loading .skeleton:nth-child(3n + 2) {
    height: 13rem;
    margin-bottom: 0.6rem;
  }
  .skeleton,
  .skeleton--wide {
    grid-column: span 6;
    height: 15rem;
    border-radius: 0.85rem;
  }
  .closing {
    min-height: 34rem;
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }
  .closing::after {
    right: -2.5rem;
    top: 21%;
    opacity: 0.45;
  }
  .closing h2 {
    font-size: clamp(3.2rem, 15vw, 5.5rem);
  }
  .closing__actions {
    align-items: stretch;
    flex-direction: column;
  }
  .viewer__panel {
    padding-left: 0.55rem;
    padding-right: 0.55rem;
  }
  .viewer__topbar {
    padding: 0 0.25rem;
  }
  .album-download {
    width: 2.8rem;
    padding: 0;
    justify-content: center;
  }
  .album-download span {
    display: none;
  }
  .viewer__stage {
    grid-template-columns: 1fr;
  }
  .viewer__nav {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 14, 16, 0.65);
  }
  .viewer__nav--prev {
    left: 0.7rem;
  }
  .viewer__nav--next {
    right: 0.7rem;
  }
  .viewer__stage figure {
    width: 100%;
  }
  .viewer__stage img {
    max-height: 72svh;
  }
  .viewer__stage iframe {
    min-height: 55svh;
    max-height: 72svh;
  }
  .pin-dialog__card {
    padding: 1.6rem;
  }
}

@media (max-width: 560px) {
  .brand img {
    width: 105px;
  }
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }
  .site-footer .footer-grid > div:first-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
