/* ==========================================================================
   Emmanuel Olaleye (@manuelextra) — Campaign Stylesheet
   Inspired by the official CAC Lighthouse Youth Fellowship Nominee Poster:
   Obsidian Night (#070709) + Champagne Gold (#d4af37 / #f3e5ab)
   ========================================================================== */

:root {
  --bg-obsidian: #070709;
  --bg-elevated: #0e0e13;
  --bg-card: #13131a;
  --gold-primary: #d4af37;
  --gold-light: #f3e5ab;
  --gold-deep: #9f7922;
  --text-ivory: #f6f2e9;
  --text-muted: #a9a296;
  --border-gold: rgba(212, 175, 55, 0.24);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-serif-caps: "Cinzel", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-gold: 0 20px 60px rgba(0, 0, 0, 0.65), 0 0 40px rgba(212, 175, 55, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg-obsidian);
  color: var(--text-ivory);
  font-family: var(--font-sans);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.muted {
  color: var(--text-muted);
}

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.section-pad {
  padding: 5.5rem 0;
}

#gold-dust {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

main,
header,
footer {
  position: relative;
  z-index: 1;
}

/* ---------- Header & Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(7, 7, 9, 0.78);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-monogram {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-serif-caps);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--bg-obsidian);
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 0.95rem;
  font-weight: 600;
}

.brand-text small {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.nav-links a:hover {
  color: var(--text-ivory);
}

.nav-cta {
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--gold-primary);
  color: var(--gold-light) !important;
  font-weight: 600;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background: var(--gold-primary);
  color: var(--bg-obsidian) !important;
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 0.5rem;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gold-light);
}

.mobile-drawer {
  display: none;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1rem 4vw 1.5rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
}

.mobile-drawer.open {
  display: flex;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 55%, var(--gold-deep) 100%);
  color: #09090c;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.28);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(212, 175, 55, 0.42);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-ivory);
  border: 1px solid var(--border-gold);
}

.btn-ghost:hover {
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
}

.btn-outline-sm {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  background: transparent;
  color: var(--gold-light);
  border: 1px solid var(--border-gold);
}

.btn-outline-sm:hover {
  background: rgba(212, 175, 55, 0.14);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 4.5rem 0 5.5rem;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.facet {
  position: absolute;
  border: 1px solid rgba(212, 175, 55, 0.12);
  transform: rotate(24deg);
}

.facet-1 {
  width: 520px;
  height: 520px;
  top: -180px;
  right: -120px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.06), transparent 65%);
}

.facet-2 {
  width: 420px;
  height: 420px;
  bottom: -200px;
  left: -140px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), transparent 70%);
}

.glow-orb {
  position: absolute;
  top: 15%;
  right: 14%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.16), transparent 70%);
  filter: blur(30px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.nominee-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--border-gold);
  background: rgba(212, 175, 55, 0.07);
  font-size: 0.8rem;
  color: var(--gold-light);
  margin-bottom: 1.3rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 10px var(--gold-primary);
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.45;
    transform: scale(1.3);
  }
}

.hero-kicker {
  font-family: var(--font-serif-caps);
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin: 0 0 0.6rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.55rem, 5vw, 4.15rem);
  font-weight: 600;
  line-height: 1.07;
  margin: 0 0 1.35rem;
}

.gold-italic {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.06rem;
  color: var(--text-muted);
  max-width: 56ch;
  margin: 0 0 2rem;
}

.hero-lead strong {
  color: var(--text-ivory);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border-subtle);
}

.meta-item {
  display: flex;
  flex-direction: column;
}

.meta-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.meta-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-light);
}

.meta-divider {
  width: 1px;
  height: 28px;
  background: var(--border-subtle);
}

/* Ornate Nominee Poster Frame */
.hero-poster-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ornate-frame {
  position: relative;
  padding: 12px;
  border: 1px solid var(--border-gold);
  background: linear-gradient(160deg, rgba(212, 175, 55, 0.12), rgba(14, 14, 19, 0.95));
  border-radius: 16px;
  box-shadow: var(--shadow-gold);
  max-width: 410px;
}

.hero-poster-img {
  border-radius: 10px;
  width: 100%;
  object-fit: cover;
}

.corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 2px solid var(--gold-primary);
  pointer-events: none;
}

.corner.tl {
  top: -5px;
  left: -5px;
  border-right: 0;
  border-bottom: 0;
}

.corner.tr {
  top: -5px;
  right: -5px;
  border-left: 0;
  border-bottom: 0;
}

.corner.bl {
  bottom: -5px;
  left: -5px;
  border-right: 0;
  border-top: 0;
}

.corner.br {
  bottom: -5px;
  right: -5px;
  border-left: 0;
  border-top: 0;
}

.poster-caption {
  margin-top: 0.9rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---------- Section Headings ---------- */
.section-tag {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin: 0 0 0.7rem;
}

.section-head {
  max-width: 720px;
  margin-bottom: 3rem;
}

.section-head h2,
.story-header h2,
.vote-left h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.12;
  margin: 0 0 0.9rem;
}

.section-sub {
  color: var(--text-muted);
  margin: 0;
  font-size: 1.02rem;
}

/* ---------- Chapter I: Emotional Story ---------- */
.story-section {
  background: linear-gradient(180deg, rgba(14, 14, 19, 0.55), rgba(7, 7, 9, 0.95));
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.story-body p {
  color: #d7d1c7;
  font-size: 1.04rem;
  margin: 0 0 1.35rem;
}

.dropcap::first-letter {
  float: left;
  font-family: var(--font-display);
  font-size: 3.7rem;
  line-height: 0.85;
  padding-right: 0.65rem;
  padding-top: 0.25rem;
  color: var(--gold-primary);
  font-weight: 700;
}

.story-quote {
  margin: 2rem 0 0;
  padding: 1.4rem 1.6rem;
  border-left: 3px solid var(--gold-primary);
  background: rgba(212, 175, 55, 0.06);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-style: italic;
  line-height: 1.35;
  color: var(--gold-light);
}

.story-quote cite {
  display: block;
  margin-top: 0.7rem;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- Chapter II: Code & Cloth ---------- */
.duality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.duality-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.duality-card {
  padding: 1.6rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.duality-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
}

.card-index {
  font-size: 0.75rem;
  color: var(--gold-primary);
  margin-bottom: 0.45rem;
}

.duality-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.18rem;
}

.duality-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.duality-visuals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.editorial-frame {
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-gold);
}

.editorial-frame img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
}

.editorial-frame figcaption {
  padding: 0.9rem 1rem;
}

.editorial-frame figcaption span {
  font-size: 0.72rem;
  color: var(--gold-primary);
}

.editorial-frame figcaption p {
  margin: 0.25rem 0 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.secondary-frame {
  transform: translateY(24px);
}

/* ---------- Chapter III: Lookbook ---------- */
.lookbook {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.lookbook-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.look-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.look-card:hover,
.look-card:focus-visible {
  transform: translateY(-5px);
  border-color: var(--gold-primary);
  outline: none;
}

.look-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.look-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.45s ease;
}

.look-card:hover .look-img-wrap img {
  transform: scale(1.04);
}

.look-overlay {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  background: rgba(7, 7, 9, 0.82);
  border: 1px solid var(--border-gold);
  font-size: 0.78rem;
  color: var(--gold-light);
}

.look-info {
  padding: 1rem 1.15rem 1.2rem;
}

.look-num {
  font-size: 0.72rem;
  color: var(--gold-primary);
}

.look-info h3 {
  margin: 0.25rem 0 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
}

/* ---------- Chapter IV: Vote & Pledge ---------- */
.vote-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.12), var(--bg-card) 55%);
  box-shadow: var(--shadow-gold);
}

.vote-pitch {
  color: #d7d1c7;
  margin: 0 0 1.5rem;
}

.vote-reasons {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.vote-reasons li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.vote-reasons strong {
  color: var(--text-ivory);
}

.check-gold {
  color: var(--gold-primary);
  font-size: 1rem;
  line-height: 1.5;
}

.pledge-box {
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius-md);
  background: rgba(7, 7, 9, 0.65);
  border: 1px solid var(--border-subtle);
  margin-bottom: 1.35rem;
}

.pledge-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.pledge-count-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.pledge-number {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  display: inline-block;
  transition: transform 0.25s ease, color 0.25s ease;
}

.pledge-number.bump {
  animation: countBump 0.45s ease;
}

@keyframes countBump {
  0% { transform: scale(1); }
  45% { transform: scale(1.22); color: #ffffff; }
  100% { transform: scale(1); }
}

.pledge-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pledge-feedback {
  margin: 0.7rem 0 0;
  min-height: 1.2em;
  font-size: 0.86rem;
  color: var(--gold-light);
}

.share-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.share-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.mini-poster-card {
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-obsidian);
}

.mini-poster-footer {
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.mini-poster-footer span {
  font-size: 0.7rem;
  color: var(--gold-primary);
}

.mini-poster-footer small {
  color: var(--text-muted);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 2.2rem 0;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-inner p {
  margin: 0.25rem 0 0;
  font-size: 0.84rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-links a:hover {
  color: var(--gold-light);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox.open {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 6, 0.86);
  backdrop-filter: blur(8px);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(880px, 94vw);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-gold);
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  background: rgba(7, 7, 9, 0.85);
  color: var(--gold-light);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.lightbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.lightbox-media img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: top center;
}

.lightbox-content {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lightbox-content h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0 0 0.85rem;
}

.lightbox-content p {
  color: #d7d1c7;
  margin: 0 0 1.5rem;
}

.lightbox-nav {
  display: flex;
  gap: 0.75rem;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {

  .hero-grid,
  .story-grid,
  .duality-grid,
  .vote-panel,
  .lightbox-grid {
    grid-template-columns: 1fr;
  }

  .lookbook-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .secondary-frame {
    transform: none;
  }

  .vote-panel {
    padding: 2rem;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .lookbook-grid {
    grid-template-columns: 1fr;
  }

  .duality-visuals {
    grid-template-columns: 1fr;
  }

  .section-pad {
    padding: 3.8rem 0;
  }
}