:root {
  --black: #080808;
  --black-soft: #111111;
  --white: #f6f3ed;
  --paper: #ebe7df;
  --muted: #a5a29c;
  --gold: #c9a24f;
  --gold-light: #e1c174;
  --line: rgba(255, 255, 255, .16);
  --ink-line: rgba(8, 8, 8, .16);
  --shadow: 0 24px 80px rgba(0, 0, 0, .28);
  --shell: 1320px;
  --gutter: clamp(1rem, 3vw, 2.75rem);
  --ease: cubic-bezier(.2, .75, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.viewer-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { color: inherit; font: inherit; }
::selection { color: var(--black); background: var(--gold); }

.shell {
  width: min(calc(100% - (var(--gutter) * 2)), var(--shell));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  z-index: 9999;
  top: .75rem;
  left: .75rem;
  padding: .75rem 1rem;
  transform: translateY(-200%);
  color: var(--black);
  background: var(--gold);
  font-weight: 800;
  text-decoration: none;
}
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.gallery-header {
  position: absolute;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: .8rem var(--gutter);
  color: #fff;
  border-bottom: 1px solid var(--line);
}
.gallery-header-solid {
  position: relative;
  color: var(--white);
  background: var(--black);
}
.gallery-brand { display: block; width: clamp(195px, 23vw, 270px); }
.gallery-brand img { width: 100%; height: auto; }
.gallery-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.gallery-nav a {
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}
.gallery-nav a::after {
  display: block;
  width: 0;
  height: 1px;
  margin-top: 4px;
  background: currentColor;
  content: "";
  transition: width .2s var(--ease);
}
.gallery-nav a:hover::after { width: 100%; }

.eyebrow {
  margin: 0 0 1rem;
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .19em;
  line-height: 1.2;
  text-transform: uppercase;
}
h1, h2, p { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.045em; line-height: .95; }
h1 { margin-bottom: 1.25rem; font-size: clamp(3.35rem, 8vw, 8rem); }
h2 { margin-bottom: 1.5rem; font-size: clamp(2.65rem, 5.7vw, 5.8rem); }

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: .85rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.button:hover { transform: translateY(-2px); }
.button-gold { color: var(--black); background: var(--gold); }
.button-gold:hover { background: var(--gold-light); }
.button-glass { color: #fff; border-color: rgba(255, 255, 255, .6); background: rgba(0, 0, 0, .2); backdrop-filter: blur(10px); }
.button-glass:hover { color: #000; background: #fff; }
.button-dark { color: var(--white); background: var(--black); }

.event-hero {
  position: relative;
  min-height: 0;
  padding-top: 82px;
  overflow: hidden;
  color: #fff;
  background: #000;
}
.event-hero-media {
  position: relative;
  width: min(100%, 1600px);
  margin-inline: auto;
  background: #000;
}
.event-hero-image { position: relative; width: 100%; height: auto; object-fit: contain; }
.event-hero-shade { position: absolute; inset: 0; }
.event-hero-shade {
  pointer-events: none;
  background: linear-gradient(0deg, rgba(0, 0, 0, .38) 0%, transparent 24%);
}
.event-hero-content {
  position: relative;
  z-index: 2;
  padding-top: clamp(3rem, 6vw, 5.5rem);
  padding-bottom: clamp(4rem, 7vw, 6.5rem);
}
.event-hero-content h1 { max-width: 930px; }
.event-hero-content .eyebrow { color: var(--gold-light); }
.event-lede { max-width: 680px; margin-bottom: 2rem; font-size: clamp(1.05rem, 2vw, 1.35rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.event-welcome { padding: clamp(5rem, 9vw, 9rem) 0; color: var(--white); background: var(--black); }
.welcome-grid { display: block; }
.welcome-copy { max-width: 900px; }
.welcome-copy .eyebrow { color: var(--gold); }
.welcome-copy p { max-width: 640px; font-size: clamp(1rem, 1.3vw, 1.15rem); }
.usage-note { padding-top: 1rem; color: var(--muted); border-top: 1px solid var(--line); font-size: .92rem !important; }

.photographs { padding: clamp(5rem, 8vw, 8rem) 0; background: var(--white); }
.gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.gallery-heading h2 { margin-bottom: 0; }
.gallery-heading .eyebrow { color: var(--gold); }
.filter-bar { display: flex; flex-wrap: wrap; gap: .55rem; padding: 1.2rem 0; border-top: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line); }
.filter-button {
  min-height: 42px;
  padding: .65rem .95rem;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  color: var(--black);
  background: transparent;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .07em;
  cursor: pointer;
  text-transform: uppercase;
}
.filter-button:hover, .filter-button.is-active { color: var(--white); border-color: var(--black); background: var(--black); }
.result-count { margin: 1rem 0 2rem; color: #555; font-size: .84rem; }
.photo-wall { columns: 360px 3; column-gap: 1rem; }
.photo-card {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 1rem;
  padding: 0;
  break-inside: avoid;
  overflow: hidden;
  border: 0;
  background: #d8d4cc;
  cursor: zoom-in;
}
.photo-card[hidden] { display: none; }
.photo-card img { width: 100%; height: auto; transition: transform .55s var(--ease), filter .55s var(--ease); }
.photo-card::after {
  position: absolute;
  right: .75rem;
  bottom: .75rem;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, .5);
  content: "+";
  font-size: 1.25rem;
  opacity: 0;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.photo-card:hover img { transform: scale(1.025); filter: brightness(.83); }
.photo-card:hover::after { opacity: 1; transform: rotate(90deg); }
.noscript-message { padding: 1rem; background: var(--paper); }

.viewer {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: #fff;
  background: rgba(0, 0, 0, .96);
}
.viewer::backdrop { background: rgba(0, 0, 0, .86); }
.viewer[open] { display: grid; grid-template-columns: 72px minmax(0, 1fr) 72px; place-items: center; }
.viewer-figure { display: grid; max-width: min(1500px, calc(100vw - 180px)); margin: 0; place-items: center; }
.viewer-figure img { max-width: 100%; max-height: calc(100vh - 150px); box-shadow: 0 20px 70px rgba(0, 0, 0, .5); }
.viewer-figure figcaption { margin-top: .8rem; color: #d8d8d8; font-size: .82rem; text-align: center; }
.viewer-download { margin-top: .55rem; color: var(--gold-light); font-size: .73rem; font-weight: 850; letter-spacing: .09em; text-underline-offset: 4px; text-transform: uppercase; }
.viewer-close, .viewer-arrow { border: 0; color: #fff; background: transparent; cursor: pointer; }
.viewer-close { position: fixed; z-index: 3; top: 1rem; right: 1.25rem; width: 48px; height: 48px; font-size: 2.2rem; line-height: 1; }
.viewer-arrow { width: 64px; height: 84px; font-family: Georgia, serif; font-size: 3.5rem; opacity: .8; }
.viewer-arrow:hover, .viewer-close:hover { color: var(--gold-light); opacity: 1; }

.gallery-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem var(--gutter);
  color: var(--muted);
  background: var(--black);
  border-top: 1px solid var(--line);
  font-size: .78rem;
}
.gallery-footer div { display: grid; gap: .2rem; }
.gallery-footer strong { color: var(--white); font-size: .9rem; letter-spacing: .04em; }
.gallery-footer p { margin: 0; font-size: inherit; }

.archive-page { background: var(--paper); }
.archive-main { min-height: calc(100vh - 180px); }
.archive-intro { padding: clamp(5rem, 9vw, 9rem) 0; color: var(--white); background: var(--black); }
.archive-intro h1 { margin-bottom: 1rem; }
.archive-intro p:last-child { max-width: 650px; color: var(--muted); font-size: 1.12rem; }
.archive-list { padding: clamp(4rem, 8vw, 8rem) 0; }
.archive-list h2 { font-size: clamp(2.5rem, 5vw, 4.7rem); }
.event-card { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); color: var(--white); background: var(--black); box-shadow: var(--shadow); text-decoration: none; }
.event-card > img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; transition: filter .35s var(--ease); }
.event-card:hover > img { filter: brightness(.8); }
.event-card-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 5vw, 4rem); }
.event-card-copy strong { margin: .5rem 0 1rem; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.7rem); font-weight: 400; letter-spacing: -.04em; line-height: .98; }
.event-card-copy > span:not(.event-link):not(.event-date) { color: var(--muted); }
.event-date { color: var(--gold-light); font-size: .72rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.event-link { margin-top: 2rem; color: var(--gold-light); font-size: .75rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }

@media (max-width: 900px) {
  .event-card { grid-template-columns: 1fr; }
  .gallery-heading { align-items: start; flex-direction: column; }
  .event-card > img { min-height: 280px; }
  .gallery-footer { align-items: start; flex-direction: column; }
}

@media (max-width: 640px) {
  .gallery-header { min-height: 70px; gap: 1rem; }
  .gallery-brand { width: 180px; }
  .gallery-nav { gap: .85rem; }
  .gallery-nav a { font-size: .61rem; letter-spacing: .08em; }
  .gallery-nav a:last-child { display: none; }
  .event-hero { padding-top: 70px; }
  .event-hero-shade { background: linear-gradient(0deg, rgba(0, 0, 0, .22), transparent 28%); }
  .event-hero-content { padding-top: 2.5rem; padding-bottom: 4rem; }
  .event-hero-content h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .photo-wall { columns: 2 150px; column-gap: .6rem; }
  .photo-card { margin-bottom: .6rem; }
  .photo-card::after { display: none; }
  .viewer[open] { grid-template-columns: 46px minmax(0, 1fr) 46px; }
  .viewer-figure { max-width: calc(100vw - 92px); }
  .viewer-figure img { max-height: calc(100vh - 180px); }
  .viewer-arrow { width: 44px; font-size: 2.6rem; }
  .event-card-copy { padding: 2rem 1.25rem 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
