:root {
  --cream: #f7e3b4;
  --paper: #fff8e8;
  --red: #a51b12;
  --red-dark: #76110b;
  --ink: #151515;
  --muted: #625b50;
  --gold: #d59b2f;
  --wood: #3c2315;
  --shadow: 0 20px 50px rgba(35, 20, 10, 0.2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Source Sans 3", Arial, sans-serif;
}
body.modal-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 17, 15, 0.95);
  color: white;
  border-bottom: 1px solid rgba(255,255,255,0.13);
  backdrop-filter: blur(12px);
}
.header-inner {
  width: min(1180px, calc(100% - 36px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  letter-spacing: .12em;
}
.brand-mark { color: var(--gold); }
.nav-links { display: flex; gap: 28px; }
.nav-links a, .mobile-menu a {
  text-decoration: none;
  font-weight: 600;
  color: rgba(255,255,255,.88);
}
.nav-links a:hover, .mobile-menu a:hover { color: white; }
.menu-button {
  display: none;
  border: 0;
  background: transparent;
  color: white;
  font-size: 1.6rem;
  cursor: pointer;
}
.mobile-menu { display: none; }

.hero {
  position: relative;
  min-height: clamp(560px, 78vh, 850px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #2b1c12;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18,12,8,.92) 0%, rgba(18,12,8,.67) 42%, rgba(18,12,8,.12) 75%),
    linear-gradient(0deg, rgba(18,12,8,.75) 0%, transparent 45%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 130px 0 88px;
  color: white;
}
.eyebrow {
  margin: 0 0 14px;
  color: #ffd77e;
  font-family: "Oswald", sans-serif;
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .18em;
}
.eyebrow.dark { color: var(--red); }
.hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: .98;
  text-transform: uppercase;
  text-shadow: 0 5px 18px rgba(0,0,0,.4);
}
.hero-copy {
  max-width: 670px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.92);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.65;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 4px;
  text-decoration: none;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--red); color: white; }
.button-primary:hover { background: var(--red-dark); }
.button-secondary { border: 1px solid rgba(255,255,255,.55); color: white; background: rgba(0,0,0,.16); }
.button-secondary:hover { background: white; color: var(--ink); }
.button-dark { background: var(--ink); color: white; }

.section { padding: 96px 0; }
.section-heading {
  width: min(850px, calc(100% - 36px));
  margin: 0 auto 48px;
  text-align: center;
}
.section-heading h2 {
  margin: 0 0 14px;
  font-family: "Oswald", sans-serif;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.05;
  text-transform: uppercase;
}
.section-heading p:not(.eyebrow) { margin: 0 auto; color: var(--muted); font-size: 1.1rem; line-height: 1.7; }
.section-heading.light { color: white; }
.section-heading.light p:not(.eyebrow) { color: rgba(255,255,255,.76); }
code { background: rgba(0,0,0,.06); padding: 2px 6px; border-radius: 4px; }

.intro {
  background:
    radial-gradient(circle at top left, rgba(213,155,47,.13), transparent 30%),
    var(--paper);
}
.feature-grid {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  padding: 34px;
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(60,35,21,.12);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(60,35,21,.07);
}
.feature-icon { font-size: 2rem; }
.feature-card h3 { margin: 14px 0 8px; font-family: "Oswald", sans-serif; font-size: 1.55rem; text-transform: uppercase; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.65; }

.clips-section {
  background:
    linear-gradient(rgba(22,18,15,.95), rgba(22,18,15,.95)),
    url("assets/at-the-movies-hero.png") center/cover fixed;
}
.clip-grid {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 24px;
}
.clip-card {
  overflow: hidden;
  background: #f6ead0;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: transform .2s ease;
}
.clip-card:hover { transform: translateY(-5px); }
.clip-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #8d6b42;
}
.clip-thumb img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.18) contrast(1.03); }
.play-button {
  position: absolute;
  inset: 50% auto auto 50%;
  translate: -50% -50%;
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 50%;
  background: rgba(165,27,18,.94);
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
}
.clip-body { padding: 24px; }
.clip-number { color: var(--red); font-family: "Oswald", sans-serif; font-weight: 700; letter-spacing: .12em; font-size: .8rem; }
.clip-body h3 { margin: 7px 0 10px; font-family: "Oswald", sans-serif; font-size: 1.7rem; text-transform: uppercase; }
.clip-body p { margin: 0 0 18px; color: var(--muted); line-height: 1.55; }
.clip-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--red);
  font-weight: 700;
  cursor: pointer;
}
.clip-link:hover { text-decoration: underline; }

.details-section {
  background:
    linear-gradient(120deg, rgba(213,155,47,.13), transparent 45%),
    #f9edcf;
}
.details-card {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.details-copy { padding: clamp(34px, 6vw, 70px); }
.details-copy h2 { margin: 0; font-family: "Oswald", sans-serif; font-size: clamp(2.5rem, 5vw, 4.2rem); text-transform: uppercase; }
.details-intro { color: var(--muted); line-height: 1.65; }
.event-list { margin: 28px 0; }
.event-list div { display: grid; grid-template-columns: 100px 1fr; gap: 18px; padding: 13px 0; border-top: 1px solid rgba(0,0,0,.09); }
.event-list dt { font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .05em; }
.event-list dd { margin: 0; }
.details-art {
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 36px;
  background:
    linear-gradient(rgba(49,29,17,.35), rgba(49,29,17,.35)),
    url("assets/at-the-movies-hero.png") 78% center/cover;
}
.ticket {
  width: min(330px, 90%);
  padding: 34px 26px;
  text-align: center;
  color: #382011;
  background: #f4d88f;
  border: 4px double #6c3e1d;
  transform: rotate(-3deg);
  box-shadow: 0 20px 40px rgba(0,0,0,.3);
}
.ticket span, .ticket small { display: block; font-family: "Oswald", sans-serif; letter-spacing: .16em; }
.ticket strong { display: block; margin: 18px 0; font-family: "Oswald", sans-serif; font-size: 2.4rem; line-height: 1; }

.scripture-banner { padding: 52px 18px; text-align: center; color: white; background: var(--red); }
.scripture-banner p { margin: 0; font-family: Georgia, serif; font-size: clamp(1.35rem, 3vw, 2.2rem); font-style: italic; }
.scripture-banner span { display: block; margin-top: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.site-footer {
  min-height: 150px;
  padding: 34px max(18px, calc((100% - 1180px)/2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: #151515;
  color: rgba(255,255,255,.72);
}
.site-footer strong { display: block; color: white; font-family: "Oswald", sans-serif; font-size: 1.4rem; text-transform: uppercase; }
.site-footer span { display: block; margin-top: 4px; }

.video-modal { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 20px; }
.video-modal.is-open { display: grid; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.82); }
.modal-panel {
  position: relative;
  z-index: 2;
  width: min(980px, 100%);
  max-height: 92vh;
  overflow: auto;
  padding: 28px;
  background: var(--paper);
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 2.2rem;
  cursor: pointer;
}
.modal-heading h2 { margin: 0 0 20px; font-family: "Oswald", sans-serif; font-size: 2.2rem; text-transform: uppercase; }
.video-frame-wrap { aspect-ratio: 16/9; background: black; }
.video-frame-wrap iframe, .video-frame-wrap video { width: 100%; height: 100%; border: 0; }
.modal-note { color: var(--muted); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-button { display: block; }
  .mobile-menu.is-open { display: grid; gap: 14px; padding: 0 18px 18px; }
  .feature-grid, .clip-grid { grid-template-columns: 1fr 1fr; }
  .details-card { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero { min-height: 700px; }
  .hero-image { object-position: 57% center; }
  .hero-overlay { background: linear-gradient(rgba(18,12,8,.58), rgba(18,12,8,.9)); }
  .hero-content { padding-bottom: 58px; }
  .hero h1 { font-size: 3.35rem; }
  .section { padding: 72px 0; }
  .feature-grid, .clip-grid { grid-template-columns: 1fr; }
  .event-list div { grid-template-columns: 1fr; gap: 4px; }
  .site-footer { flex-direction: column; align-items: flex-start; }
  .modal-panel { padding: 22px 16px; }
}

.video-fallback {
  margin: 0;
  padding: 0.8rem 1rem 1rem;
  text-align: center;
  font-size: 0.95rem;
  background: #111;
  color: #eee;
}

.video-fallback a {
  color: #ffd166;
  font-weight: 700;
}
