/* ========================
   HOPEFACTORY — CUSTOM STYLES
   ======================== */

/* VARIABLES */
:root {
  --navy: #0A1628;
  --navy-mid: #0D1B2A;
  --navy-soft: #1B2D4A;
  --gold: #C4972F;
  --gold-light: #D4AF52;
  --gold-glow: rgba(196, 151, 47, 0.3);
  --ivory: #F5EFE6;
  --ivory-soft: #EDE8DF;
  --text-dark: #0A1628;
  --text-mid: #3D5270;
  --text-light: #8FA9BF;
  --white: #FFFFFF;
  --ff-head: 'Cormorant Garamond', Georgia, serif;
  --ff-body: 'Figtree', system-ui, sans-serif;
}

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-body);
  background: var(--navy);
  color: var(--ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2.5rem;
  background: linear-gradient(to bottom, rgba(10,22,40,0.95) 0%, rgba(10,22,40,0) 100%);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-logo {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.nav-tagline {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--text-light);
  text-transform: uppercase;
}

/* SECTION COMMON */
.section-eyebrow {
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-eyebrow.light { color: var(--gold-light); }
.section-title {
  font-family: var(--ff-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ivory);
  margin-bottom: 1.5rem;
}
.section-title.light { color: var(--ivory); }
.section-body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-light);
  max-width: 560px;
}

/* ========================
   MANIFESTO
   ======================== */
.manifesto {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 2.5rem 4rem;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(196,151,47,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(196,151,47,0.04) 0%, transparent 60%);
}
.manifesto-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}
.manifesto-text { max-width: 620px; }
.manifesto-headline {
  font-family: var(--ff-head);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.1;
  color: var(--ivory);
  margin-bottom: 1.5rem;
}
.manifesto-sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-light);
  margin-bottom: 3rem;
  max-width: 500px;
}
.manifesto-pillars {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(196,151,47,0.2);
}
.pillar { text-align: left; }
.pillar-number {
  display: block;
  font-family: var(--ff-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.pillar-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
}
.pillar-divider {
  width: 1px;
  height: 40px;
  background: rgba(196,151,47,0.3);
}

/* COSMIC ORB */
.manifesto-image { flex-shrink: 0; }
.cosmic-orb {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orb-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%,
    rgba(196,151,47,0.4) 0%,
    rgba(196,151,47,0.15) 30%,
    rgba(27,45,74,0.6) 70%,
    #0A1628 100%);
  box-shadow:
    0 0 60px rgba(196,151,47,0.3),
    0 0 120px rgba(196,151,47,0.15),
    inset 0 0 80px rgba(196,151,47,0.1);
  animation: orbPulse 4s ease-in-out infinite;
}
.orb-core {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-light) 0%, var(--gold) 60%, transparent 100%);
  box-shadow: 0 0 30px var(--gold), 0 0 60px rgba(196,151,47,0.5);
  animation: corePulse 3s ease-in-out infinite;
}
@keyframes orbPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.03); opacity: 0.9; }
}
@keyframes corePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 30px var(--gold), 0 0 60px rgba(196,151,47,0.5); }
  50% { transform: scale(1.2); box-shadow: 0 0 50px var(--gold), 0 0 100px rgba(196,151,47,0.7); }
}

/* ========================
   AUDIO / PODCAST
   ======================== */
.audio {
  padding: 6rem 2.5rem;
  background: var(--navy-mid);
  border-top: 1px solid rgba(196,151,47,0.1);
}
.audio-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.audio-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.audio-card {
  background: rgba(27,45,74,0.5);
  border: 1px solid rgba(196,151,47,0.15);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.audio-card:hover {
  border-color: rgba(196,151,47,0.4);
  transform: translateY(-4px);
}
.card-icon {
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.audio-card h3 {
  font-family: var(--ff-head);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 0.75rem;
}
.audio-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-light);
}

/* ========================
   PRINCIPLES
   ======================== */
.principles {
  padding: 6rem 2.5rem;
  background: linear-gradient(180deg, var(--navy-mid) 0%, var(--navy) 100%);
  border-top: 1px solid rgba(196,151,47,0.1);
}
.principles-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.principle {
  background: rgba(27,45,74,0.4);
  border: 1px solid rgba(196,151,47,0.1);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.principle:hover {
  border-color: rgba(196,151,47,0.35);
  transform: translateY(-3px);
}
.principle-icon {
  display: block;
  color: var(--gold);
  margin-bottom: 1rem;
  opacity: 0.8;
}
.principle h3 {
  font-family: var(--ff-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 0.6rem;
}
.principle p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-light);
}

/* ========================
   TRANSFORMATION / ECOSYSTEM
   ======================== */
.transformation {
  padding: 6rem 2.5rem;
  background: var(--navy);
  border-top: 1px solid rgba(196,151,47,0.1);
}
.transformation-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.ecosystem {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.ecosystem-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  background: rgba(27,45,74,0.4);
  border: 1px solid rgba(196,151,47,0.12);
  border-radius: 12px;
  transition: border-color 0.3s ease;
}
.ecosystem-item:hover { border-color: rgba(196,151,47,0.35); }
.ecosystem-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(196,151,47,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.ecosystem-item h4 {
  font-family: var(--ff-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 0.4rem;
}
.ecosystem-item p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-light);
}

/* ========================
   CLOSING
   ======================== */
.closing {
  padding: 8rem 2.5rem 6rem;
  background: var(--navy);
  border-top: 1px solid rgba(196,151,47,0.1);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(196,151,47,0.06) 0%, transparent 70%);
}
.closing-inner { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.closing-orb {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 3rem;
  background: radial-gradient(circle, var(--gold-light) 0%, var(--gold) 50%, transparent 100%);
  box-shadow: 0 0 40px rgba(196,151,47,0.4), 0 0 80px rgba(196,151,47,0.2);
}
.closing-headline {
  font-family: var(--ff-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  font-style: italic;
  color: var(--ivory);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.closing-body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 1rem;
}
.closing-sig {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}
.sig-king {
  font-family: var(--ff-head);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}
.sig-name {
  font-family: var(--ff-head);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-light);
}

/* ========================
   FOOTER
   ======================== */
.footer {
  padding: 4rem 2.5rem 2rem;
  background: var(--navy-mid);
  border-top: 1px solid rgba(196,151,47,0.1);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 2rem;
}
.footer-logo {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}
.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--text-light);
  max-width: 280px;
  font-style: italic;
}
.footer-links { display: flex; gap: 4rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 0.25rem;
  font-weight: 600;
}
.footer-col a {
  font-size: 0.88rem;
  color: var(--text-light);
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--ivory); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(143,169,191,0.4);
}

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 900px) {
  .manifesto-content { grid-template-columns: 1fr; }
  .manifesto-image { display: none; }
  .audio-cards { grid-template-columns: 1fr; }
  .principles-grid { grid-template-columns: repeat(2, 1fr); }
  .transformation-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-links { gap: 2rem; }
}
@media (max-width: 600px) {
  .manifesto, .audio, .principles, .transformation, .closing { padding: 4rem 1.25rem 3rem; }
  .manifesto-pillars { gap: 1rem; }
  .principles-grid { grid-template-columns: 1fr; }
  .footer-inner { gap: 1.5rem; }
  .footer-links { flex-direction: column; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .nav { padding: 1rem 1.25rem; }
  .nav-tagline { display: none; }
}