:root {
  color-scheme: light;
  --paper: #f8f4ea;
  --ink: #1b1b1b;
  --muted: #6c655c;
  --line: rgba(27, 27, 27, 0.14);
  --red: #b5342e;
  --red-dark: #842720;
  --teal: #0b6f70;
  --gold: #c48a2c;
  --white: #fffdf8;
  --shadow: 0 18px 50px rgba(26, 22, 17, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 48px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));
}

.brand,
.header-action,
.button,
.event-detail,
.perks li {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, serif;
}

.nav-links {
  display: flex;
  gap: clamp(14px, 3vw, 32px);
  font-size: 0.92rem;
  font-weight: 700;
}

.header-action {
  justify-self: end;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  font-weight: 800;
}

.header-action svg,
.button svg,
.event-detail svg,
.rhythm-grid svg,
.perks svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?auto=format&fit=crop&w=2200&q=80");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.28) 58%, rgba(0, 0, 0, 0.2)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.72));
}

.hero-content {
  position: relative;
  width: min(780px, calc(100% - 36px));
  margin: 0 auto;
  padding: 150px 0 12vh;
}

.eyebrow,
.label,
.film-card span {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 8vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.filter:hover,
.header-action:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(181, 52, 46, 0.24);
}

.button.primary:hover {
  background: var(--red-dark);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.44);
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.quick-bar {
  width: min(1120px, calc(100% - 36px));
  margin: -46px auto 0;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.quick-bar div {
  min-width: 0;
  padding: 22px clamp(16px, 3vw, 28px);
  border-right: 1px solid var(--line);
}

.quick-bar div:last-child {
  border-right: 0;
}

.quick-bar span,
.capacity span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.quick-bar strong {
  display: block;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(70px, 9vw, 112px) 0 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.22fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading.compact {
  display: block;
  max-width: 660px;
}

h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
  line-height: 1.15;
}

.screening-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  gap: 22px;
  align-items: stretch;
}

.feature-panel,
.event-panel,
.rhythm-grid article,
.film-card,
.join-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.feature-panel {
  overflow: hidden;
}

.feature-panel img {
  width: 100%;
  height: clamp(260px, 38vw, 430px);
  object-fit: cover;
}

.feature-copy {
  padding: clamp(20px, 3vw, 30px);
}

.feature-copy p:last-child,
.rhythm-grid p,
.film-card p,
.join-copy p {
  color: var(--muted);
  line-height: 1.6;
}

.event-panel {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.event-date {
  display: grid;
  place-items: center;
  width: 96px;
  min-height: 96px;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal);
}

.event-date span {
  font-weight: 900;
  text-transform: uppercase;
}

.event-date strong {
  font-family: Georgia, serif;
  font-size: 3.1rem;
  line-height: 0.85;
}

.event-detail {
  gap: 10px;
  color: #312e2a;
  font-weight: 700;
}

.capacity {
  margin-top: auto;
}

.meter {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5ded1;
}

.meter span {
  display: block;
  width: 71%;
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--gold));
}

.capacity strong {
  display: block;
  margin-top: 8px;
}

.rhythm-grid,
.film-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.rhythm-grid article {
  padding: 24px;
}

.rhythm-grid svg {
  margin-bottom: 34px;
  color: var(--teal);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.filter {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.filter.active {
  color: var(--white);
  border-color: var(--teal);
  background: var(--teal);
}

.film-card {
  overflow: hidden;
}

.film-card.is-hidden {
  display: none;
}

.film-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.film-card div {
  padding: 20px;
}

.join-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.48fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
  padding-bottom: clamp(70px, 10vw, 120px);
}

.join-copy {
  padding-top: 12px;
}

.perks {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.perks li {
  gap: 10px;
  font-weight: 800;
}

.perks svg {
  color: var(--teal);
}

.join-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.join-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 900;
}

.join-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  background: #fffaf0;
  color: var(--ink);
}

.join-form input:focus {
  outline: 3px solid rgba(11, 111, 112, 0.18);
  border-color: var(--teal);
}

.join-form .button {
  width: 100%;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--teal);
  font-weight: 900;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 48px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
}

.site-footer div {
  display: flex;
  gap: 18px;
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

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

  .quick-bar,
  .screening-layout,
  .rhythm-grid,
  .film-grid,
  .join-section,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .quick-bar div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-bar div:last-child {
    border-bottom: 0;
  }

  .site-footer,
  .site-footer div {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand span:last-child {
    max-width: 104px;
    line-height: 1.05;
  }

  .header-action {
    min-width: 44px;
    padding: 0 12px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content,
  .quick-bar,
  .section {
    width: calc(100% - 28px);
  }

  .button {
    width: 100%;
  }
}
