/* TRAILER */
.trailer-section { background: var(--ink); }
.trailer-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}
.trailer-head h2 { font-size: clamp(34px, 4vw, 52px); }
.trailer-head .meta { text-align: right; }
.trailer-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #000;
  border: 1px solid var(--rule);
  overflow: hidden;
  cursor: pointer;
}
.trailer-frame .placeholder {
  position: absolute; inset: 0;
  background: url("img/trailer-thumb.jpg") center/cover no-repeat;
  filter: brightness(0.55) contrast(1.1);
  transition: transform .8s ease, filter .4s ease;
}
.trailer-frame:hover .placeholder { transform: scale(1.02); filter: brightness(0.7); }
.play-button {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 96px; height: 96px;
  border: 1px solid var(--bone);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10,9,8,0.4);
  backdrop-filter: blur(4px);
  transition: all .3s ease;
}
.trailer-frame:hover .play-button {
  background: var(--blood);
  border-color: var(--blood);
  transform: translate(-50%, -50%) scale(1.06);
}
.play-button::after {
  content: "";
  width: 0; height: 0;
  border-left: 18px solid var(--bone);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 5px;
}
.duration-tag {
  position: absolute; bottom: 18px; right: 18px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.2em;
  color: var(--bone);
  background: rgba(10,9,8,0.7);
  padding: 6px 10px;
  border: 1px solid rgba(232,226,213,0.2);
}
.rec-tag {
  position: absolute; top: 18px; left: 18px;
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.22em;
  color: var(--bone); text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
}
.rec-tag .rec {
  width: 7px; height: 7px;
  background: var(--blood-bright);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* trailer modal */
.trailer-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 32px;
}
.trailer-modal[hidden] { display: none !important; }
.trailer-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(10,9,8,0.92);
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.trailer-modal-frame {
  position: relative;
  width: min(1100px, 100%);
  aspect-ratio: 16/9;
  background: #000;
  border: 1px solid var(--rule);
  z-index: 1;
}
.trailer-modal-embed {
  position: absolute; inset: 0;
}
.trailer-modal-embed iframe {
  width: 100%; height: 100%;
}
.trailer-modal-close {
  position: absolute;
  top: -44px; right: 0;
  width: 36px; height: 36px;
  background: transparent;
  border: 1px solid var(--bone-dim);
  color: var(--bone);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: all .2s ease;
}
.trailer-modal-close:hover { background: var(--blood); border-color: var(--blood); }
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.story-bg {
  position: relative;
  overflow: hidden;
}
.story-bg .story-grid {
  grid-template-columns: minmax(0, 560px);
  position: relative;
  z-index: 2;
}
.story-bg-image {
  position: absolute;
  inset: 0;
  background: url('img/synopsis-iglesia.jpg') right center / cover no-repeat;
  z-index: 0;
}
.story-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,6,5,0.92) 0%, rgba(8,6,5,0.7) 35%, rgba(8,6,5,0.15) 65%, rgba(8,6,5,0) 100%);
  z-index: 1;
}
@media (max-width: 900px) {
  .story-bg-overlay {
    background: linear-gradient(180deg, rgba(8,6,5,0.85) 0%, rgba(8,6,5,0.7) 50%, rgba(8,6,5,0.95) 100%);
  }
}
.story-image-stack {
  position: sticky;
  top: 40px;
}
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; }
}
.story-text h2 { margin-bottom: 32px; }
.story-text p {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.65;
  color: var(--bone);
  font-weight: 400;
}
.story-text p strong { color: var(--blood-bright); font-weight: 500; }
.story-image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--ink-2);
}
.story-image img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.4) contrast(1.1) sepia(0.15);
}
.photo-caption {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-quiet);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.photo-caption .id { color: var(--blood-bright); }

/* facts strip */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-top: 80px;
}
.facts > div {
  padding: 28px 24px;
  border-right: 1px solid var(--rule);
}
.facts > div:last-child { border-right: 0; }
.facts .num {
  font-family: var(--serif);
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1;
  color: var(--bone);
  font-weight: 500;
}
.facts .num.blood { color: var(--blood-bright); }
.facts .label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-quiet);
  margin-top: 14px;
  line-height: 1.5;
}
@media (max-width: 800px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts > div:nth-child(2) { border-right: 0; }
  .facts > div:nth-child(1), .facts > div:nth-child(2) { border-bottom: 1px solid var(--rule); }
}

/* WHY / pull quote */
.why {
  background: var(--ink-2);
  position: relative;
  overflow: hidden;
}
.why::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("img/why-bg.jpg") center/cover no-repeat;
  opacity: 0.95;
}
.why::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(10,9,8,0.15) 0%, rgba(10,9,8,0.55) 70%, rgba(10,9,8,0.85) 100%),
    linear-gradient(180deg, rgba(10,9,8,0.45) 0%, rgba(10,9,8,0.25) 50%, rgba(10,9,8,0.55) 100%);
  pointer-events: none;
}
.why-inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.why-inner p {
  font-family: var(--serif);
  font-size: clamp(20px, 1.9vw, 24px);
  line-height: 1.55;
  color: var(--bone);
  font-weight: 400;
}
.pull-quote {
  margin-top: 64px;
  padding-top: 56px;
  border-top: 1px solid var(--rule);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--bone);
  font-weight: 400;
  text-wrap: balance;
}
.pull-quote .mark {
  color: var(--blood-bright);
  font-style: normal;
  font-size: 1.5em;
  line-height: 0;
  vertical-align: -0.2em;
  margin-right: 0.05em;
}
.pull-quote .attr {
  display: block;
  margin-top: 32px;
  font-family: var(--mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone-dim);
}

/* MILESTONES (campaign tiers) */
.tiers-section { background: var(--ink); }
.tiers-head {
  margin-bottom: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: end;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 800px) { .tiers-head { grid-template-columns: 1fr; } }
.progress-block { }
.progress-amount {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1;
  color: var(--bone);
  font-weight: 500;
}
.progress-amount .of {
  color: var(--bone-quiet);
  font-size: 0.45em;
  margin-left: 8px;
}
.progress-bar {
  margin-top: 20px;
  height: 4px;
  background: var(--rule);
  position: relative;
}
.progress-fill {
  position: absolute; inset: 0 auto 0 0;
  width: 7%;
  background: var(--blood-bright);
}
.progress-meta {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-quiet);
}
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }
.tier {
  background: var(--ink);
  padding: 0;
  display: flex;
  flex-direction: column;
}
.tier-img {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.5) contrast(1.05) brightness(0.85);
  position: relative;
}
.tier-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,9,8,0.7) 100%);
}
.tier-body {
  padding: 32px 28px 36px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.tier-num { color: var(--blood-bright); margin-bottom: 16px; }
.tier-amount {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  font-weight: 500;
}
.tier-name {
  font-family: var(--serif);
  font-style: italic;
  color: var(--bone-dim);
  margin-bottom: 22px;
  font-size: 18px;
}
.tier-rule { width: 28px; height: 1px; background: var(--blood-bright); margin-bottom: 22px; }
.tier-desc {
  color: var(--bone-dim);
  font-size: 14px;
  line-height: 1.7;
  flex: 1;
}

/* FUNDING ALLOCATION */
.funding-section {
  background: var(--ink);
  border-top: 1px solid var(--rule);
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
  overflow: hidden;
}
.funding-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--blood) 30%, var(--blood-bright) 50%, var(--blood) 70%, transparent 100%);
  opacity: 0.6;
}
.funding-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 90% 20%, rgba(139, 26, 26, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(139, 26, 26, 0.05) 0%, transparent 70%);
  pointer-events: none;
}
.funding-grid {
  display: grid;
  grid-template-columns: minmax(0, 360px) 1fr;
  gap: clamp(60px, 8vw, 120px);
  align-items: start;
  position: relative;
  z-index: 1;
}
.funding-head { position: sticky; top: 120px; }
.funding-head .eyebrow {
  color: var(--blood-bright);
}
.funding-title {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: clamp(34px, 3.4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--bone);
}
.funding-title em {
  font-style: italic;
  color: var(--blood-bright);
}
.funding-head::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  background: var(--blood-bright);
  margin-top: 32px;
}
.funding-allocations {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
}
.alloc-row {
  display: grid;
  grid-template-columns: 56px 160px 1fr;
  gap: clamp(20px, 2vw, 32px);
  padding: clamp(28px, 3vw, 44px) 0 clamp(28px, 3vw, 44px) 24px;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
  position: relative;
  transition: background 0.4s ease;
}
.alloc-row::before {
  content: "";
  position: absolute;
  left: 0; top: clamp(28px, 3vw, 44px);
  bottom: clamp(28px, 3vw, 44px);
  width: 2px;
  background: var(--blood);
  opacity: 0.55;
  transition: opacity 0.3s ease, background 0.3s ease;
}
.alloc-row:hover { background: rgba(139, 26, 26, 0.04); }
.alloc-row:hover::before { opacity: 1; background: var(--blood-bright); }
.alloc-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--blood-bright);
  padding-top: 6px;
  font-weight: 500;
}
.alloc-amount {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  color: var(--blood-bright);
  letter-spacing: -0.01em;
  line-height: 1;
  text-shadow: 0 0 24px rgba(217, 84, 84, 0.15);
}
.alloc-body h3 {
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  color: var(--bone);
  margin: 0 0 12px;
  letter-spacing: -0.005em;
}
.alloc-body p {
  font-family: var(--serif);
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.65;
  color: var(--bone-dim);
  max-width: 60ch;
}
.alloc-body p strong, .alloc-body em {
  color: var(--blood-bright);
  font-style: normal;
}
@media (max-width: 900px) {
  .funding-grid { grid-template-columns: 1fr; }
  .funding-head { position: static; }
  .alloc-row {
    grid-template-columns: 56px 1fr;
    grid-template-areas:
      "num amount"
      "num body";
    row-gap: 16px;
  }
  .alloc-num { grid-area: num; }
  .alloc-amount { grid-area: amount; }
  .alloc-body { grid-area: body; }
}

/* DONATE */
.donate {
  background: var(--ink-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-align: center;
}
.donate-inner { max-width: 720px; margin: 0 auto; }
.donate h2 { margin-bottom: 28px; }
.donate-amounts {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  margin: 36px 0;
}
.amount-chip {
  font-family: var(--serif);
  font-size: 24px;
  padding: 18px 28px;
  border: 1px solid var(--rule);
  color: var(--bone);
  cursor: pointer;
  transition: all .25s ease;
  background: transparent;
}
.amount-chip:hover, .amount-chip.active {
  background: var(--blood);
  border-color: var(--blood);
  color: var(--bone);
}
.amount-chip.custom {
  font-style: italic;
  color: var(--bone-dim);
}
.donate-note {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-quiet);
  margin-top: 32px;
}

/* TEAM */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  margin-top: 48px;
}
@media (max-width: 720px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: start;
}
.team-card .avatar {
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.5) contrast(1.1);
}
.team-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  margin: 0 0 6px;
  font-weight: 500;
}
.team-card .role {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blood-bright);
  margin-bottom: 14px;
}
.team-card p {
  font-size: 14px;
  color: var(--bone-dim);
  line-height: 1.6;
  margin: 0;
}

/* FAQ */
.faq-list { margin-top: 32px; }
.faq-item {
  border-top: 1px solid var(--rule);
  padding: 28px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--rule); }
.faq-q {
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 24px);
  color: var(--bone);
  font-weight: 500;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.faq-q .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--bone-quiet);
  letter-spacing: 0.2em;
  flex-shrink: 0;
  padding-top: 10px;
}
.faq-a {
  color: var(--bone-dim);
  max-width: 680px;
  font-size: 16px;
  line-height: 1.7;
}

/* FOOTER */
footer.foot {
  background: var(--ink);
  border-top: 1px solid var(--rule);
  padding: 80px 0 40px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-grid h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone-quiet);
  margin: 0 0 18px;
  font-weight: 500;
}
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 10px; font-size: 14px; color: var(--bone-dim); }
.foot-grid a:hover { color: var(--bone); }
.foot-brand {
  font-family: var(--serif);
  font-size: 32px;
  letter-spacing: -0.01em;
  font-weight: 500;
  margin: 0 0 14px;
}
.foot-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blood-bright);
  margin-bottom: 16px;
}
.foot-blurb { color: var(--bone-dim); font-size: 14px; max-width: 380px; line-height: 1.6; }
.foot-bottom {
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-quiet);
  flex-wrap: wrap;
  gap: 12px;
}
