:root {
  color-scheme: dark;
  --bg: #080504;
  --bg-soft: #130b0a;
  --bg-warm: #20110f;
  --velvet: #4b1118;
  --velvet-deep: #21070a;
  --gold: #d6ad63;
  --gold-soft: #f0d59a;
  --ivory: #f6ead8;
  --muted: #b9a68a;
  --ash: #746652;
  --line: rgba(216, 173, 99, 0.22);
  --line-strong: rgba(216, 173, 99, 0.42);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(63, 8, 12, 0.2), transparent 520px),
    linear-gradient(90deg, rgba(214, 173, 99, 0.035), transparent 38%, rgba(69, 12, 16, 0.12)),
    var(--bg);
  color: var(--ivory);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.1;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.1) 0 1px, transparent 1px 4px);
  mix-blend-mode: soft-light;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  width: min(var(--max), calc(100% - 32px));
  margin: 18px auto 0;
  padding: 8px 10px;
  border: 1px solid rgba(246, 234, 216, 0.1);
  border-radius: 8px;
  background: rgba(9, 5, 4, 0.56);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #020101;
  overflow: hidden;
}

.brand-mark img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 26px;
}

.nav-links a,
.lang-toggle {
  color: rgba(246, 234, 216, 0.78);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 220ms ease, border-color 220ms ease, background 220ms ease;
}

.nav-links a:hover,
.lang-toggle:hover {
  color: var(--gold-soft);
}

.lang-toggle {
  min-width: 46px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(214, 173, 99, 0.08);
  cursor: pointer;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 100svh;
  padding: 124px 20px 34px;
  overflow: hidden;
}

.hero-video,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.12) brightness(0.64);
  transform: scale(1.03);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 5, 4, 0.88), rgba(8, 5, 4, 0.4) 50%, rgba(8, 5, 4, 0.78)),
    linear-gradient(180deg, rgba(8, 5, 4, 0.18), rgba(8, 5, 4, 0.34) 46%, rgba(8, 5, 4, 0.96));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding-bottom: 58px;
}

.hero-logo {
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  margin-bottom: 28px;
  border: 1px solid rgba(216, 173, 99, 0.26);
  border-radius: 50%;
  background: #020101;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.52);
}

.hero-logo img {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.kicker,
.section-label {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 980px;
  color: #fff3df;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 104px;
  font-weight: 500;
  line-height: 0.88;
  text-transform: uppercase;
  text-shadow: 0 16px 70px rgba(0, 0, 0, 0.72);
}

.hero-subtitle {
  margin: 28px 0 0;
  color: rgba(240, 213, 154, 0.9);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1.05;
}

.hero-copy {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(246, 234, 216, 0.82);
  font-size: 18px;
  line-height: 1.7;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 34px;
  padding: 0 24px;
  border: 1px solid rgba(246, 213, 154, 0.58);
  border-radius: 999px;
  background: rgba(246, 234, 216, 0.92);
  color: #160907;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 18px 60px rgba(214, 133, 69, 0.22);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 70px rgba(214, 133, 69, 0.32);
}

.hero-rail {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 2;
  display: flex;
  width: min(var(--max), calc(100% - 40px));
  transform: translateX(-50%);
  border-top: 1px solid rgba(246, 234, 216, 0.14);
  color: rgba(246, 234, 216, 0.52);
}

.hero-rail span {
  flex: 1;
  padding-top: 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 110px 0;
}

.who-section,
.manifesto-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(360px, 1fr);
  align-items: center;
  gap: 56px;
}

h2 {
  margin: 0;
  color: #fff0d2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 64px;
  font-weight: 500;
  line-height: 1;
}

.rich-copy,
.section-intro,
.manifesto-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.rich-copy {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.rich-copy p,
.manifesto-copy p,
.contact-copy p {
  margin: 0;
}

.cinema-frame {
  position: relative;
  margin: 0;
  border: 1px solid rgba(214, 173, 99, 0.2);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.cinema-frame::after,
.gallery-item::after,
.manifesto-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(8, 5, 4, 0.18));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.cinema-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ensemble-frame {
  aspect-ratio: 16 / 11;
}

.section-heading {
  display: grid;
  gap: 16px;
  max-width: 850px;
  margin-bottom: 38px;
}

.work-grid {
  display: grid;
  border-top: 1px solid var(--line);
}

.work-card {
  appearance: none;
  width: 100%;
  display: grid;
  grid-template-columns: 84px minmax(220px, 0.65fr) minmax(0, 1fr);
  gap: 26px;
  align-items: baseline;
  padding: 28px 0;
  border: 0;
  border-bottom: 1px solid rgba(246, 234, 216, 0.11);
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 240ms ease, padding-left 240ms ease, background 240ms ease;
}

.work-card:hover,
.work-card:focus-visible {
  padding-left: 18px;
  border-bottom-color: rgba(216, 173, 99, 0.42);
  background: linear-gradient(90deg, rgba(216, 173, 99, 0.08), transparent 58%);
  outline: none;
}

.card-index {
  color: rgba(214, 173, 99, 0.72);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.work-card h3 {
  margin: 0;
  color: #fff1d5;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.08;
}

.work-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.work-card::after {
  content: "+";
  justify-self: end;
  grid-column: 3;
  color: rgba(216, 173, 99, 0.72);
  font-size: 28px;
  font-weight: 850;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 240ms ease, transform 240ms ease;
}

.work-card:hover::after,
.work-card:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.image-break {
  position: relative;
  min-height: 76svh;
  overflow: hidden;
  display: grid;
  align-items: end;
}

.image-break img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.74);
}

.image-break::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 5, 4, 0.18), rgba(8, 5, 4, 0.78));
}

.image-break-copy {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 66px;
}

.image-break-copy p {
  max-width: 760px;
  margin: 0;
  color: #fff0d2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 56px;
  line-height: 1.02;
}

.venue-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 36px;
  border-top: 1px solid var(--line);
  border-left: 1px solid rgba(246, 234, 216, 0.08);
}

.venue-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  min-height: 76px;
  gap: 14px;
  padding: 14px;
  border-right: 1px solid rgba(246, 234, 216, 0.08);
  border-bottom: 1px solid rgba(246, 234, 216, 0.08);
}

.venue-item span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 900;
}

.venue-item p {
  margin: 0;
  color: rgba(246, 234, 216, 0.82);
  font-size: 15px;
  font-weight: 650;
}

.gallery-section {
  padding: 110px 0;
}

.gallery-heading {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto 36px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 220px;
  gap: 12px;
  width: min(1380px, calc(100% - 24px));
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  grid-column: span 4;
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  background: #050303;
}

.gallery-large {
  grid-column: span 7;
  grid-row: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 5;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms ease, filter 900ms ease;
}

.gallery-item:hover img,
.gallery-item:hover video {
  transform: scale(1.04);
  filter: saturate(1.05);
}

.manifesto-section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 110px 0;
  grid-template-columns: minmax(340px, 0.88fr) minmax(0, 1fr);
}

.manifesto-media {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.manifesto-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.manifesto-copy {
  display: grid;
  gap: 22px;
}

.contact-section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 110px 0 92px;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 34px;
}

.email-link,
.icon-button,
.instagram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(246, 234, 216, 0.04);
  color: rgba(246, 234, 216, 0.86);
}

.email-link {
  padding: 0 18px;
  word-break: break-word;
}

.icon-button {
  padding: 0 16px;
  cursor: pointer;
}

.icon-button span {
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.instagram-link {
  width: 46px;
}

.instagram-link svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold-soft);
  fill: none;
  stroke-width: 1.7;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(214, 173, 99, 0.2);
  border-radius: 8px;
  background: rgba(12, 7, 6, 0.72);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: var(--gold-soft);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(246, 234, 216, 0.16);
  border-radius: 6px;
  background: rgba(8, 5, 4, 0.76);
  color: var(--ivory);
  padding: 13px 14px;
  outline: none;
  transition: border-color 220ms ease, background 220ms ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 132px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  background: rgba(8, 5, 4, 0.96);
}

.form-button {
  width: fit-content;
  margin-top: 10px;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--gold-soft);
  font-size: 13px;
}

.site-footer {
  border-top: 1px solid rgba(246, 234, 216, 0.1);
  padding: 28px 20px 34px;
  color: rgba(246, 234, 216, 0.54);
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.detail-modal[hidden] {
  display: none;
}

.detail-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 3, 3, 0.82);
  backdrop-filter: blur(18px);
}

.detail-dialog {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 1.04fr) minmax(280px, 0.78fr);
  width: min(1040px, 100%);
  max-height: min(760px, calc(100svh - 48px));
  border: 1px solid rgba(216, 173, 99, 0.28);
  border-radius: 8px;
  overflow: hidden;
  background: #090504;
  box-shadow: 0 38px 120px rgba(0, 0, 0, 0.68);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(246, 234, 216, 0.24);
  border-radius: 50%;
  background: rgba(8, 5, 4, 0.72);
  color: var(--ivory);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.detail-media {
  min-height: 520px;
  background: #050303;
}

.detail-media img,
.detail-media video {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.detail-copy {
  display: grid;
  align-content: center;
  gap: 20px;
  padding: 48px;
  background:
    linear-gradient(180deg, rgba(64, 12, 16, 0.24), transparent),
    #0b0605;
}

.detail-copy h2 {
  font-size: 48px;
}

.detail-copy p:not(.section-label) {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 900ms ease, transform 900ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .hero h1 {
    font-size: 76px;
  }

  .hero-subtitle {
    font-size: 28px;
  }

  h2 {
    font-size: 52px;
  }

  .who-section,
  .manifesto-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .venue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-card {
    grid-template-columns: 64px minmax(180px, 0.72fr) minmax(0, 1fr);
    gap: 20px;
  }

  .work-card h3 {
    font-size: 24px;
  }

  .gallery-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .gallery-item,
  .gallery-item.wide {
    grid-column: span 3;
  }

  .gallery-large {
    grid-column: span 6;
  }

  .detail-dialog {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .detail-media,
  .detail-media img,
  .detail-media video {
    min-height: 360px;
  }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: auto auto;
    width: calc(100% - 20px);
    margin-top: 10px;
  }

  .nav-links {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-mark img {
    width: 27px;
    height: 27px;
  }

  .hero {
    min-height: 100svh;
    padding: 112px 16px 28px;
  }

  .hero-content {
    padding-bottom: 76px;
  }

  .hero h1 {
    font-size: 56px;
  }

  .hero-logo {
    width: 82px;
    height: 82px;
    margin-bottom: 22px;
  }

  .hero-logo img {
    width: 62px;
    height: 62px;
  }

  .hero-subtitle {
    font-size: 24px;
  }

  .hero-copy,
  .rich-copy,
  .section-intro,
  .manifesto-copy p,
  .contact-copy p {
    font-size: 16px;
  }

  .hero-rail {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: calc(100% - 28px);
  }

  .hero-rail span {
    font-size: 10px;
  }

  .section,
  .manifesto-section,
  .contact-section {
    width: calc(100% - 28px);
    padding: 72px 0;
  }

  h2 {
    font-size: 40px;
  }

  .venue-grid {
    grid-template-columns: 1fr;
  }

  .work-card {
    grid-template-columns: 48px 1fr;
    gap: 12px 16px;
    padding: 24px 0;
  }

  .work-card:hover,
  .work-card:focus-visible {
    padding-left: 8px;
  }

  .work-card p {
    grid-column: 2;
  }

  .work-card::after {
    grid-column: 2;
    justify-self: start;
  }

  .image-break {
    min-height: 66svh;
  }

  .image-break-copy {
    width: calc(100% - 28px);
  }

  .image-break-copy p {
    font-size: 36px;
  }

  .gallery-section {
    padding: 72px 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 360px;
    width: calc(100% - 16px);
  }

  .gallery-item,
  .gallery-large,
  .gallery-item.wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-item.tall {
    grid-row: span 1;
  }

  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .email-link,
  .icon-button,
  .instagram-link {
    width: 100%;
  }

  .detail-modal {
    padding: 12px;
  }

  .detail-copy {
    padding: 28px;
  }

  .detail-copy h2 {
    font-size: 36px;
  }

  .detail-media,
  .detail-media img,
  .detail-media video {
    min-height: 320px;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 34px;
  }

  .primary-button {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
