:root {
  --navy-950: #061824;
  --navy-900: #071d2d;
  --navy-800: #0d2c41;
  --navy-700: #173d55;
  --cream-50: #fffdf8;
  --cream-100: #f8f3e9;
  --cream-200: #eee5d4;
  --gold-500: #e8aa45;
  --gold-400: #f5c66d;
  --ink: #142433;
  --muted: #677585;
  --border: #e2ddd2;
  --good: #249554;
  --good-bg: #eaf7ef;
  --bad: #d84d4d;
  --bad-bg: #fdeeee;
  --unknown: #7d8790;
  --unknown-bg: #eef1f3;
  --focus: #2787c8;
  --shadow-sm: 0 8px 24px rgba(11, 31, 45, .08);
  --shadow-lg: 0 24px 70px rgba(6, 24, 36, .16);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream-100);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button:focus-visible, input:focus-visible, a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 29, 45, .96);
  color: white;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: white;
  text-decoration: none;
}
.brand img { width: 42px; height: 42px; flex: 0 0 auto; }
.brand-copy strong,
.brand-copy small { display: block; }
.brand-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.06rem;
  letter-spacing: -.015em;
}
.brand-copy small {
  margin-top: 1px;
  color: rgba(255,255,255,.67);
  font-size: .66rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a,
.nav-button {
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.82);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 650;
  padding: 10px 0;
}
.site-nav a:hover,
.nav-button:hover { color: white; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 77% 20%, rgba(245,198,109,.19), transparent 27%),
    radial-gradient(circle at 86% 68%, rgba(232,170,69,.11), transparent 30%),
    linear-gradient(135deg, #071d2d 0%, #0b293d 58%, #102b3b 100%);
  color: white;
  min-height: 430px;
  padding: 70px max(16px, calc((100% - 1180px) / 2));
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr);
  gap: 80px;
  align-items: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -100px -170px auto;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(245,198,109,.13);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(245,198,109,.025), 0 0 0 110px rgba(245,198,109,.015);
  pointer-events: none;
}
.hero-copy { position: relative; z-index: 1; max-width: 720px; }
.hero h1 {
  margin: 0;
  max-width: 680px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 600;
}
.hero-copy > p {
  margin: 23px 0 0;
  max-width: 650px;
  color: rgba(255,255,255,.78);
  font-size: clamp(1rem, 2vw, 1.16rem);
}
.hero-search {
  margin-top: 30px;
  max-width: 690px;
  height: 58px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  background: white;
  border-radius: 999px;
  padding: 6px 6px 6px 18px;
  box-shadow: 0 16px 38px rgba(0,0,0,.18);
}
.hero-search svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: #6b7885;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.hero-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  font-size: .96rem;
}
.hero-search input::placeholder { color: #8e9aa5; }
.hero-search button {
  height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 0 25px;
  background: linear-gradient(180deg, var(--gold-400), var(--gold-500));
  color: #1c2630;
  font-weight: 800;
}
.filter-group { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 15px; }
.filter {
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.055);
  color: rgba(255,255,255,.79);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: .76rem;
  font-weight: 720;
}
.filter:hover,
.filter.active {
  color: var(--navy-950);
  background: var(--gold-400);
  border-color: var(--gold-400);
}

.rating-key {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  width: min(100%, 320px);
  justify-self: end;
}
.rating-key-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(3, 16, 25, .73);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 15px;
  padding: 13px 15px;
  box-shadow: 0 12px 30px rgba(0,0,0,.15);
}
.status-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  font-size: 1.35rem;
  font-weight: 900;
}
.rating-key-item.good .status-icon { background: var(--good); }
.rating-key-item.bad .status-icon { background: #ec3f4e; }
.rating-key-item.unknown .status-icon { background: #9aa2a9; }
.rating-key-item strong,
.rating-key-item small { display: block; }
.rating-key-item strong { font-size: .91rem; }
.rating-key-item small { margin-top: 2px; color: rgba(255,255,255,.62); font-size: .75rem; }

.content-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0 42px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 21px;
}
.section-heading h2,
.why-panel h2,
.dialog-header h2,
.detail-top h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -.025em;
}
.section-heading h2 { margin: 1px 0 0; font-size: 2rem; }
.section-kicker {
  margin: 0;
  color: #a36e22;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
#resultCount { margin: 0; color: var(--muted); font-size: .84rem; }
.movie-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 26px;
  align-items: start;
}
.movie-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.movie-card {
  min-width: 0;
  overflow: hidden;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.movie-open {
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  text-align: left;
}
.movie-open:hover .proof-link { color: #b8791f; }
.movie-open:hover .poster-placeholder { transform: scale(1.015); }
.poster-placeholder {
  position: relative;
  isolation: isolate;
  min-height: 225px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: white;
  transition: transform .18s ease;
}
.poster-placeholder::before,
.poster-placeholder::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.poster-placeholder::before { width: 130px; height: 130px; right: -50px; top: 12px; }
.poster-placeholder::after { width: 85px; height: 85px; left: -34px; top: 72px; }
.poster-film {
  align-self: flex-start;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 999px;
  padding: 3px 7px;
  font-size: .54rem;
  font-weight: 850;
  letter-spacing: .16em;
  opacity: .85;
}
.poster-title {
  margin-top: auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  line-height: 1.04;
  text-shadow: 0 2px 12px rgba(0,0,0,.22);
}
.poster-year { margin-top: 8px; font-size: .7rem; opacity: .72; }
.movie-card-body { min-width: 0; padding: 18px 17px 16px; display: flex; flex-direction: column; }
.movie-title-line { display: flex; align-items: flex-start; gap: 9px; justify-content: space-between; }
.movie-title { margin: 0; font-size: 1.06rem; line-height: 1.16; letter-spacing: -.015em; }
.movie-meta { margin: 4px 0 0; color: var(--muted); font-size: .75rem; }
.movie-summary {
  margin: 11px 0 0;
  color: #5f6e7b;
  font-size: .81rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.verdict {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .035em;
  text-transform: uppercase;
  white-space: nowrap;
}
.verdict.good { background: var(--good-bg); color: var(--good); }
.verdict.bad { background: var(--bad-bg); color: var(--bad); }
.verdict.unknown { background: var(--unknown-bg); color: #68717a; }
.counts {
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
  margin-top: 15px;
  color: #62707d;
  font-size: .72rem;
}
.counts span { display: inline-flex; align-items: center; gap: 4px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot.good { background: var(--good); }
.dot.bad { background: var(--bad); }
.dot.unknown { background: var(--unknown); }
.proof-link {
  margin-top: auto;
  padding-top: 13px;
  color: #94651f;
  font-size: .76rem;
  font-weight: 800;
}

.why-panel {
  position: sticky;
  top: 96px;
  background: rgba(255,255,255,.7);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
}
.why-panel h2 { margin: 0 0 18px; font-size: 1.35rem; }
.why-item { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 11px; }
.why-item + .why-item { margin-top: 18px; }
.why-icon {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #fff2d7;
  color: #ad741e;
  font-size: .74rem;
  font-weight: 900;
}
.why-item strong { font-size: .85rem; }
.why-item p { margin: 2px 0 0; color: var(--muted); font-size: .76rem; line-height: 1.45; }

.empty-state {
  grid-column: 1 / -1;
  padding: 64px 20px;
  text-align: center;
}
.empty-mark {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--unknown-bg);
  color: var(--unknown);
  font-weight: 900;
}
.empty-state h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; }
.empty-state p { margin: 6px 0 0; color: var(--muted); }

.method-strip {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 60px;
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  background: var(--navy-900);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  box-shadow: var(--shadow-lg);
}
.method-strip strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; }
.method-strip span { display: block; margin-top: 4px; color: rgba(255,255,255,.68); font-size: .84rem; }
.method-strip button {
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(255,255,255,.07);
  color: white;
  font-weight: 750;
}

.site-footer {
  min-height: 82px;
  padding: 20px max(16px, calc((100% - 1180px) / 2));
  border-top: 1px solid #ded8cc;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: .78rem;
}
.site-footer span:first-child { color: var(--ink); font-weight: 800; }

.movie-dialog,
.about-dialog {
  width: min(980px, calc(100% - 24px));
  max-height: calc(100vh - 36px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: var(--cream-50);
  color: var(--ink);
  box-shadow: 0 34px 100px rgba(0,0,0,.28);
}
.about-dialog { width: min(760px, calc(100% - 24px)); }
.movie-dialog::backdrop,
.about-dialog::backdrop { background: rgba(3, 15, 24, .7); backdrop-filter: blur(3px); }
.movie-dialog[open] { animation: dialog-in .16s ease-out; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(8px) scale(.99); } }

.detail-top {
  padding: 26px 28px 22px;
  background: linear-gradient(135deg, var(--navy-900), #12354b);
  color: white;
}
.detail-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.detail-top h2 { margin: 0; font-size: clamp(1.6rem, 4vw, 2.45rem); }
.detail-meta { margin: 5px 0 0; color: rgba(255,255,255,.63); font-size: .85rem; }
.icon-button {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: inherit;
  font-size: 1.35rem;
  line-height: 1;
}
.detail-overview { padding: 24px 28px; border-bottom: 1px solid var(--border); }
.detail-overview h3,
.proof-heading h3 { margin: 0; font-size: .84rem; letter-spacing: .08em; text-transform: uppercase; }
.aggregate { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.aggregate-item {
  min-height: 92px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 9px;
  align-items: center;
  border-radius: 15px;
  padding: 15px;
}
.aggregate-item.good { background: var(--good-bg); color: var(--good); }
.aggregate-item.bad { background: var(--bad-bg); color: var(--bad); }
.aggregate-item.unknown { background: var(--unknown-bg); color: #66717a; }
.aggregate-item .dot { width: 11px; height: 11px; }
.aggregate-item strong { font-size: 1.7rem; line-height: 1; }
.aggregate-item span { grid-column: 1 / -1; color: currentColor; font-size: .75rem; font-weight: 750; }
.count-note { margin: 13px 0 0; color: var(--muted); font-size: .77rem; }
.demo-warning {
  margin: 0 0 18px;
  border: 1px solid #ead5a8;
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff8e9;
  color: #71531f;
  font-size: .76rem;
}
.proof-section { padding: 24px 28px 30px; }
.proof-heading { display: flex; justify-content: space-between; gap: 18px; }
.proof-heading p { margin: 5px 0 0; color: var(--muted); font-size: .79rem; }
.loading-note,
.load-error,
.no-evidence { color: var(--muted); font-size: .84rem; }
.no-evidence--sources { padding: 0 16px 14px; }
.clergy-group { margin-top: 22px; }
.clergy-group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--border);
}
.clergy-group-title span { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; font-weight: 820; }
.clergy-group-title strong { color: var(--muted); font-size: .77rem; }
.clergy-list { display: grid; gap: 11px; margin-top: 11px; }
.clergy-card {
  border: 1px solid var(--border);
  border-radius: 15px;
  background: white;
  overflow: hidden;
}
.clergy-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 16px;
}
.clergy-card h4 { margin: 0; font-size: .96rem; }
.clergy-meta { margin: 3px 0 0; color: var(--muted); font-size: .73rem; }
.discussion-count {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff4de;
  color: #8a5d1c;
  font-size: .68rem;
  font-weight: 800;
}
.source-list { border-top: 1px solid var(--border); }
.source-item { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 11px; padding: 14px 16px; }
.source-item + .source-item { border-top: 1px solid #eeeae2; }
.source-number {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--cream-100);
  color: #8b754f;
  font-size: .68rem;
  font-weight: 850;
}
.source-title-row { display: flex; justify-content: space-between; gap: 10px; }
.source-title-row strong { font-size: .8rem; }
.locator { color: var(--muted); font-size: .68rem; white-space: nowrap; }
.source-meta { margin: 2px 0 0; color: #87919a; font-size: .67rem; }
.evidence-note { margin: 7px 0 0; color: #586675; font-size: .77rem; }
.source-body a { display: inline-block; margin-top: 8px; color: #9b651a; font-size: .73rem; font-weight: 800; text-decoration: none; }
.source-body a:hover { text-decoration: underline; }

.dialog-shell { padding: 28px; }
.dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.dialog-header h2 { margin: 2px 0 0; font-size: 2rem; }
.dialog-header p:not(.section-kicker) { margin: 6px 0 0; color: var(--muted); }
.about-dialog .icon-button { border-color: var(--border); background: white; color: var(--ink); }
.principles { margin: 24px 0 0; padding: 0; list-style: none; counter-reset: steps; display: grid; gap: 11px; }
.principles li {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 36px minmax(0,1fr);
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: white;
}
.principles li::before {
  content: counter(steps);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #fff1d2;
  color: #9e6719;
  font-size: .72rem;
  font-weight: 900;
}
.principles strong,
.principles span { display: block; }
.principles strong { font-size: .84rem; }
.principles span { margin-top: 2px; color: var(--muted); font-size: .76rem; }

@media (max-width: 920px) {
  .site-nav a { display: none; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 54px; padding-bottom: 54px; }
  .rating-key { width: 100%; grid-template-columns: repeat(3, 1fr); justify-self: stretch; }
  .rating-key-item { align-items: flex-start; }
  .status-icon { width: 36px; height: 36px; }
  .movie-layout { grid-template-columns: 1fr; }
  .why-panel { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .why-panel h2 { grid-column: 1 / -1; margin-bottom: 0; }
  .why-item + .why-item { margin-top: 0; }
}

@media (max-width: 680px) {
  .header-inner { min-height: 68px; }
  .brand img { width: 36px; height: 36px; }
  .brand-copy strong { font-size: .94rem; }
  .brand-copy small { display: none; }
  .nav-button { font-size: .8rem; }
  .hero { min-height: auto; padding-top: 43px; padding-bottom: 43px; }
  .hero h1 { font-size: clamp(2.55rem, 13vw, 4rem); }
  .hero-search { grid-template-columns: 21px minmax(0, 1fr); height: auto; padding: 12px 14px; border-radius: 17px; }
  .hero-search button { grid-column: 1 / -1; width: 100%; height: 44px; margin-top: 2px; }
  .rating-key { grid-template-columns: 1fr; }
  .rating-key-item { padding: 10px 12px; }
  .movie-grid { grid-template-columns: 1fr; }
  .movie-open { grid-template-columns: 102px minmax(0, 1fr); }
  .poster-placeholder { min-height: 196px; padding: 13px 11px; }
  .movie-card-body { padding: 15px 14px; }
  .movie-summary { -webkit-line-clamp: 2; }
  .why-panel { grid-template-columns: 1fr; }
  .why-panel h2 { grid-column: auto; }
  .method-strip { align-items: flex-start; flex-direction: column; padding: 22px; }
  .method-strip button { width: 100%; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 4px; }
  .aggregate { grid-template-columns: 1fr; }
  .aggregate-item { min-height: auto; grid-template-columns: auto auto 1fr; grid-template-rows: 1fr; justify-content: start; }
  .aggregate-item span { grid-column: auto; }
  .detail-top, .detail-overview, .proof-section { padding-left: 18px; padding-right: 18px; }
  .source-title-row { flex-direction: column; gap: 3px; }
  .locator { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}


.evidence-tags{display:flex;flex-wrap:wrap;gap:6px;margin:7px 0 3px}.evidence-tags span{font-size:.73rem;font-weight:700;letter-spacing:.01em;padding:4px 8px;border-radius:999px;background:#eef1f3;color:#475462;border:1px solid #d9dee3}

/* 404 page */
.not-found {
  max-width: 34rem;
  margin: 0 auto;
  padding: 18vh 24px 64px;
  text-align: center;
  color: var(--navy-900);
}
.not-found img { display: block; margin: 0 auto; }
.not-found h1 { margin: 18px 0 8px; font-size: 1.6rem; }
.not-found p { margin: 8px 0; color: var(--muted); }
.not-found a { color: var(--navy-800); font-weight: 600; }
