/* --------------------------------------------------------------------------
   Chizoba Charity Foundation — Invitations

   An editorial treatment: full-bleed media, a light display serif, letterspaced
   capitals and hairline buttons. The flyers are portrait artwork full of their
   own text, so nothing is ever written on top of one — a blurred copy fills the
   background while the flyer itself stays crisp and uncropped.
   -------------------------------------------------------------------------- */

:root {
  --inv-ink: #15151f;
  --inv-paper: #faf7f4;
  --inv-rule: rgba(21, 21, 31, .14);
  --inv-muted: #6f6c77;
  --inv-brand: #e03c33;
}

.inv-display {
  font-family: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  font-weight: 300;
  letter-spacing: .01em;
}

.inv-eyebrow {
  font-size: 11.5px;
  letter-spacing: .34em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ---------- Full-bleed hero ---------- */
.inv-hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--inv-ink);
}
.inv-hero__bg { position: absolute; inset: -6%; }
.inv-hero__bg video,
.inv-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  /* The flyer is only ever a texture here, never something to read. */
  filter: blur(30px) saturate(1.15) brightness(.5);
}
.inv-hero__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 50% 45%, rgba(21, 21, 31, .35) 0%, rgba(21, 21, 31, .82) 100%),
    linear-gradient(to bottom, rgba(21, 21, 31, .5), rgba(21, 21, 31, .75));
}
.inv-hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 150px 22px 120px;
  max-width: 820px;
}
.inv-hero__inner .inv-eyebrow { color: rgba(255, 255, 255, .72); margin-bottom: 26px; }
.inv-hero h1 {
  color: #fff;
  font-size: clamp(44px, 7.2vw, 88px);
  line-height: 1.04;
  margin: 0 0 26px;
}
.inv-hero h1 em { font-style: italic; }
.inv-hero__lede {
  color: rgba(255, 255, 255, .82);
  font-size: 12.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  line-height: 2;
  margin: 0 auto 44px;
  max-width: 560px;
}

.inv-ghost {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, .8);
  color: #fff;
  padding: 17px 46px;
  font-size: 11.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  transition: background-color .35s ease, color .35s ease, border-color .35s ease;
}
.inv-ghost:hover,
.inv-ghost:focus-visible { background: #fff; color: var(--inv-ink); border-color: #fff; }

.inv-scroll {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, .65);
  font-size: 10.5px;
  letter-spacing: .3em;
  text-transform: uppercase;
  text-align: center;
}
.inv-scroll span { display: block; margin-bottom: 9px; }
.inv-scroll i { animation: inv-bob 2.4s ease-in-out infinite; }
@keyframes inv-bob {
  0%, 100% { transform: translateY(0); opacity: .55; }
  50%      { transform: translateY(6px); opacity: 1; }
}

/* ---------- Editorial rows ---------- */
.inv-body { background: var(--inv-paper); }

.inv-intro {
  max-width: 620px;
  margin: 0 auto;
  padding: 96px 22px 20px;
  text-align: center;
}
.inv-intro .inv-eyebrow { color: var(--inv-brand); margin-bottom: 20px; }
.inv-intro h2 {
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.15;
  color: var(--inv-ink);
  margin: 0 0 20px;
}
.inv-intro p { color: var(--inv-muted); font-size: 16px; line-height: 1.9; margin: 0; }

.inv-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
  padding: 86px 0;
  border-top: 1px solid var(--inv-rule);
}
.inv-row:first-of-type { border-top: 0; }
.inv-row--flip .inv-figure { order: 2; }

.inv-figure {
  position: relative;
  background: var(--inv-ink);
  overflow: hidden;
}
.inv-figure video {
  width: 100%;
  display: block;
  aspect-ratio: 2 / 3;
  /* contain, so no part of the flyer's own wording is ever cropped away */
  object-fit: contain;
  background: var(--inv-ink);
}
.inv-status {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  background: rgba(21, 21, 31, .82);
  color: #fff;
  font-size: 10.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  padding: 11px 20px;
}
.inv-status.is-upcoming { background: var(--inv-brand); }
.inv-status.is-today { background: #1c6b40; }

.inv-text .inv-eyebrow { color: var(--inv-brand); margin-bottom: 18px; }
.inv-text h3 {
  font-size: clamp(28px, 3.8vw, 42px);
  line-height: 1.16;
  color: var(--inv-ink);
  margin: 0 0 26px;
}
.inv-facts { list-style: none; padding: 0; margin: 0 0 28px; }
.inv-facts li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--inv-rule);
  font-size: 15px;
  color: var(--inv-ink);
  line-height: 1.65;
}
.inv-facts li:last-child { border-bottom: 1px solid var(--inv-rule); }
.inv-facts dt,
.inv-facts .inv-label {
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--inv-muted);
  padding-top: 4px;
}
.inv-note { color: var(--inv-muted); font-size: 15.5px; line-height: 1.9; margin: 0 0 30px; }
.inv-note em { font-style: italic; color: var(--inv-ink); }

.inv-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.inv-actions a {
  display: inline-block;
  padding: 15px 34px;
  font-size: 11.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.inv-actions .is-solid { background: var(--inv-ink); color: #fff; border: 1px solid var(--inv-ink); }
.inv-actions .is-solid:hover { background: var(--inv-brand); border-color: var(--inv-brand); color: #fff; }
.inv-actions .is-line { border: 1px solid var(--inv-rule); color: var(--inv-ink); }
.inv-actions .is-line:hover { border-color: var(--inv-ink); }

/* ---------- Closing note ---------- */
.inv-close {
  background: var(--inv-ink);
  color: #fff;
  text-align: center;
  padding: 104px 22px;
}
.inv-close .inv-eyebrow { color: rgba(255, 255, 255, .6); margin-bottom: 22px; }
.inv-close h2 {
  color: #fff;
  font-size: clamp(28px, 4.2vw, 46px);
  line-height: 1.18;
  margin: 0 auto 22px;
  max-width: 660px;
}
.inv-close p {
  color: rgba(255, 255, 255, .7);
  font-size: 15.5px;
  line-height: 1.9;
  max-width: 520px;
  margin: 0 auto 38px;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .inv-row {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 62px 0;
  }
  .inv-row--flip .inv-figure { order: 0; }
  .inv-figure { max-width: 430px; margin: 0 auto; width: 100%; }
}

@media (max-width: 575px) {
  .inv-hero { min-height: 74vh; }
  .inv-hero__inner { padding: 120px 18px 100px; }
  .inv-intro { padding-top: 66px; }
  .inv-facts li { grid-template-columns: 1fr; gap: 4px; }
  .inv-actions a { flex: 1 1 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .inv-scroll i { animation: none; }
}

/* --------------------------------------------------------------------------
   Homepage band — a compact echo of the invitations page
   -------------------------------------------------------------------------- */
.inv-band {
  position: relative;
  background: var(--inv-ink);
  overflow: hidden;
  padding: 96px 0 104px;
}
.inv-band__bg { position: absolute; inset: -6%; }
.inv-band__bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
  filter: blur(34px) saturate(1.15) brightness(.42);
}
.inv-band__veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 70% at 50% 40%, rgba(21,21,31,.4) 0%, rgba(21,21,31,.86) 100%),
    linear-gradient(to bottom, rgba(21,21,31,.6), rgba(21,21,31,.8));
}
.inv-band__inner { position: relative; z-index: 2; text-align: center; }
.inv-band .inv-eyebrow { color: rgba(255,255,255,.62); margin-bottom: 20px; }
.inv-band h2 {
  color: #fff;
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.1;
  margin: 0 0 18px;
}
.inv-band h2 em { font-style: italic; }
.inv-band__lede {
  color: rgba(255,255,255,.72);
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  line-height: 2; margin: 0 auto 52px; max-width: 520px;
}

.inv-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  max-width: 880px;
  margin: 0 auto 52px;
}
.inv-strip a {
  display: block; position: relative; overflow: hidden;
  background: #0d0d15;
  transition: transform .4s ease;
}
.inv-strip a:hover, .inv-strip a:focus-visible { transform: translateY(-5px); }
.inv-strip img {
  width: 100%; display: block; aspect-ratio: 2 / 3; object-fit: cover;
  opacity: .92; transition: opacity .4s ease;
}
.inv-strip a:hover img, .inv-strip a:focus-visible img { opacity: 1; }
.inv-strip figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 44px 16px 14px;
  background: linear-gradient(to top, rgba(13,13,21,.92), rgba(13,13,21,0));
  color: #fff; font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
}

@media (max-width: 767px) {
  .inv-band { padding: 70px 0 76px; }
  .inv-strip { grid-template-columns: 1fr; max-width: 320px; gap: 20px; }
}
