:root {
  --plum: #3b1658;
  --plum-deep: #1c0b2c;
  --gold: #a56b22;
  --cream: #f6f1e8;
  --paper: #fffcf8;
  --ink: #241c22;
  --muted: #5c534c;
  --line: rgba(36, 28, 34, 0.12);
  --serif: "Fraunces", "Iowan Old Style", Palatino, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--plum);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--gold);
  color: var(--plum-deep);
  padding: 0.45rem 0.7rem;
  z-index: 30;
}

.skip:focus {
  top: 0.5rem;
}

.wrap {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  line-height: 0;
}

.brand img {
  height: 72px;
  width: auto;
  background: transparent;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  padding: 0.4rem 0.65rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.94rem;
}

.site-nav a:hover {
  color: var(--plum);
}

.nav-write {
  border: 1px solid var(--plum);
  color: var(--plum);
  padding: 0.35rem 0.7rem;
}

.kicker {
  margin: 0 0 0.35rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 560;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--plum-deep);
}

h1 {
  margin: 0 0 0.7rem;
  font-size: clamp(2rem, 4vw, 3.05rem);
}

h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
}

h3 {
  margin: 0.1rem 0 0.4rem;
  font-size: 1.25rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(260px, 22rem) 1fr;
  min-height: min(72vh, 620px);
  background: #140818;
  color: var(--paper);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2.4rem 1.6rem;
}

.hero .kicker {
  color: #e7c48a;
}

.hero .kicker::before {
  content: "";
  display: block;
  width: 2.6rem;
  height: 2px;
  margin: 0 auto 0.85rem;
  background: #e7c48a;
}

.hero h1 {
  color: var(--paper);
  font-size: clamp(2.35rem, 3.4vw, 3.35rem);
  max-width: 10ch;
  margin-inline: auto;
}

.hero .lede {
  color: rgba(255, 252, 248, 0.88);
  font-size: 1.02rem;
  max-width: 18rem;
  margin-inline: auto;
}

.hero .button {
  background: #c4842f;
  color: #1c0b2c;
}

.hero .button.quiet {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255, 252, 248, 0.42);
}

.hero-mosaic {
  display: grid;
  grid-template-columns: 1.35fr 0.92fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 6px;
  padding: 6px;
  min-height: 100%;
}

.hero-mosaic figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  min-height: 0;
  background: #2a1438;
}

.hero-mosaic .main {
  grid-row: span 3;
}

.hero-mosaic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-mosaic .main img {
  object-position: center 28%;
}

.lede {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.15rem;
}

.button {
  display: inline-block;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  padding: 0.65rem 0.95rem;
  background: var(--plum);
  color: var(--paper);
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
}

.button.quiet {
  background: transparent;
  color: var(--plum-deep);
  border: 1px solid rgba(28, 11, 44, 0.28);
}

.button.ink {
  justify-self: start;
}

.button:hover {
  filter: brightness(1.08);
}

.panel {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.8rem 0 2rem;
}

.block {
  padding: 1.8rem 0 0.2rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.section-head p,
.measure {
  max-width: 34rem;
  margin: 0;
  color: var(--muted);
}

.events {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.event {
  display: grid;
  grid-template-columns: 124px 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 0.75rem;
  background: #fff;
  box-shadow: 0 10px 28px rgba(28, 11, 44, 0.06);
}

.event p {
  margin: 0 0 0.55rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.event p:last-child {
  margin-bottom: 0;
}

.poster {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: #efe8dc;
  cursor: zoom-in;
  aspect-ratio: 4 / 5;
}

.poster img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.work {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.work article {
  padding-top: 0.75rem;
  border-top: 3px solid #c4842f;
}

.work p {
  margin: 0;
  color: var(--muted);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 1.6rem;
}

.frame {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #e6dfd3;
  cursor: zoom-in;
  position: relative;
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.35s ease;
}

.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 8, 24, 0);
  transition: background 0.35s ease;
}

.frame:hover::after,
.frame:focus-visible::after {
  background: rgba(20, 8, 24, 0.18);
}

.lead {
  grid-column: span 2;
  grid-row: span 2;
}

.frame:hover img,
.frame:focus-visible img {
  transform: scale(1.04);
}

.frame:focus-visible,
.poster:focus-visible,
.partner:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.partner {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.85rem 1.1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  color: var(--plum-deep);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.45rem;
}

.partner:hover {
  color: var(--plum);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 1.4rem;
  align-items: start;
}

.facts {
  margin: 0;
}

.facts div {
  margin: 0 0 0.85rem;
}

.facts dt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.facts dd {
  margin: 0.12rem 0 0;
}

form {
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--plum);
  box-shadow: 0 10px 28px rgba(28, 11, 44, 0.06);
}

label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.9rem;
}

input,
textarea,
select {
  font: inherit;
  color: inherit;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0.55rem 0.65rem;
  width: 100%;
}

textarea {
  min-height: 7rem;
  resize: vertical;
}

input[type="file"] {
  background: transparent;
  border: 0;
  padding: 0;
}

.form-note,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-status.error {
  color: #8a2a2a;
}

.form-status.ok {
  color: #1f5c38;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lightbox {
  border: 0;
  padding: 1rem;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  margin: 0;
  background: rgba(16, 8, 24, 0.92);
  color: var(--paper);
}

.lightbox[open] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.lightbox::backdrop {
  background: transparent;
}

.lightbox img {
  max-width: min(1040px, 92vw);
  max-height: calc(100vh - 7rem);
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0;
}

.lightbox-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  border: 0;
  background: var(--paper);
  color: var(--plum-deep);
  font: inherit;
  font-weight: 600;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
}

.lightbox-bar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.lightbox-bar button {
  border: 1px solid rgba(255, 252, 248, 0.45);
  background: transparent;
  color: var(--paper);
  font: inherit;
  padding: 0.35rem 0.65rem;
  cursor: pointer;
}

.lightbox-count {
  margin: 0;
  min-width: 4.5rem;
  text-align: center;
  font-size: 0.9rem;
}

.site-footer {
  background: var(--plum-deep);
  color: rgba(255, 252, 248, 0.86);
  padding: 1.15rem 0 1.3rem;
  margin-top: 1.8rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  align-items: baseline;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #e7c48a;
}

.legal {
  margin-left: auto;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.8rem 1rem 1rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.open {
    display: flex;
  }

  .hero,
  .events,
  .work,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-copy {
    padding: 1.6rem 1.25rem 1.8rem;
  }

  .hero h1,
  .hero .lede {
    max-width: 22rem;
  }

  .hero-mosaic {
    order: -1;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 52vw 30vw;
    gap: 4px;
    padding: 0;
  }

  .hero-mosaic .main {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .section-head {
    align-items: start;
    gap: 0.45rem;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .lead {
    grid-column: span 2;
    grid-row: auto;
    aspect-ratio: 16 / 10;
  }

  .legal {
    margin-left: 0;
    flex-basis: 100%;
  }
}

@media (max-width: 560px) {
  .bar {
    min-height: 68px;
  }

  .brand img {
    height: 56px;
  }

  .event {
    grid-template-columns: 92px 1fr;
    gap: 0.6rem;
  }

  .gallery {
    gap: 4px;
  }

  .lightbox-bar {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .frame img,
  .frame::after {
    transition: none;
  }
}
