/*
Theme Name:        Raising Lion Ventures
Theme URI:         https://raisinglion.org
Author:            Raising Lion Team
Author URI:        https://raisinglion.org
Description:       Dark luxury venture capital theme for Raising Lion Ventures. Cormorant + Josefin, gold & crimson palette, cinematic animations.
Version:           1.0.0
Requires at least: 6.3
Tested up to:      6.7
Requires PHP:      8.0
License:           Proprietary
Text Domain:       raising-lion
*/

/* ────────────────────────────────────────────
   DESIGN TOKENS
   ──────────────────────────────────────────── */
:root {
  --gold:           #C9A84C;
  --gold-light:     #E8C97A;
  --gold-dim:       #8a6f2e;
  --crimson:        #8B1A1A;
  --ink:            #0D0D0D;
  --ink-mid:        #1A1A1A;
  --ink-soft:       #2A2320;
  --parchment:      #F5EDD8;
  --parchment-dim:  #DDD0B5;
  --ivory:          #FAF6ED;
  --text-muted:     #9A8E76;
  --border-gold:    rgba(201,168,76,.12);
  --easing:         cubic-bezier(.4,0,.2,1);
  --container:      1200px;
}

/* ────────────────────────────────────────────
   RESET & BASE
   ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
img, video { display: block; max-width: 100%; }

body {
  font-family: 'Josefin Sans', sans-serif;
  background: var(--ink);
  color: var(--parchment);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Film grain overlay */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 9998;
  pointer-events: none; opacity: .4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ────────────────────────────────────────────
   TYPOGRAPHY SCALE
   ──────────────────────────────────────────── */
.t-display {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 300; line-height: 1.12; color: var(--ivory);
}
.t-display em { font-style: italic; color: var(--gold-light); }

.t-body {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 300;
  line-height: 1.85; color: var(--parchment-dim);
}

.t-tag {
  font-size: .6rem; letter-spacing: .35em;
  text-transform: uppercase; color: var(--gold-dim);
}

.t-label {
  font-size: .68rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold);
}

/* ────────────────────────────────────────────
   LAYOUT HELPERS
   ──────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto; padding: 0 60px;
}
.section { padding: 110px 60px; }
.section--mid  { background: var(--ink-mid); }
.section--soft {
  background: var(--ink-soft); position: relative; overflow: hidden;
}
.section--soft::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%,
    rgba(139,26,26,.15) 0%, transparent 70%);
}

.divider {
  width: 48px; height: 1px;
  background: var(--gold-dim); margin: 32px 0;
}
.divider--center { margin: 32px auto; }

/* ────────────────────────────────────────────
   BUTTONS
   ──────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  font-size: .7rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink); background: var(--gold);
  padding: 16px 38px; position: relative; overflow: hidden;
  transition: color .3s;
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: var(--gold-light);
  transform: translateX(-101%);
  transition: transform .4s var(--easing);
}
.btn-primary:hover::after { transform: translateX(0); }
.btn-primary span { position: relative; z-index: 1; }

.btn-secondary {
  font-size: .7rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(201,168,76,.35);
  padding-bottom: 3px;
  transition: color .25s, border-color .25s;
}
.btn-secondary:hover { color: var(--gold-light); border-color: var(--gold-light); }

/* ────────────────────────────────────────────
   NAVIGATION
   ──────────────────────────────────────────── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 60px;
  background: linear-gradient(to bottom, rgba(13,13,13,.95) 0%, transparent 100%);
  transition: padding .4s var(--easing), background .4s;
}
.site-nav.scrolled {
  padding: 16px 60px;
  background: rgba(13,13,13,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-gold);
}
.nav-logo {
  display: flex; align-items: center; gap: 14px;
}
.nav-emblem {
  height: 54px; width: auto; object-fit: contain;
  border-radius: 9999px;
  box-shadow: 0 4px 25px rgba(201,168,76,.35);
  transition: transform .3s, box-shadow .3s;
}
.nav-logo:hover .nav-emblem {
  transform: scale(1.05);
  box-shadow: 0 8px 35px rgba(201,168,76,.5);
}
.nav-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600; font-size: 1.15rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-light);
}
.nav-links {
  display: flex; gap: 42px;
}
.nav-links a {
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--parchment-dim);
  transition: color .25s;
}
.nav-links a:hover { color: var(--gold-light); }
.nav-cta {
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink); background: var(--gold);
  padding: 10px 24px; position: relative; overflow: hidden;
}
.nav-cta::after {
  content: ''; position: absolute; inset: 0;
  background: var(--gold-light);
  transform: translateX(-101%);
  transition: transform .35s var(--easing);
}
.nav-cta:hover::after { transform: translateX(0); }
.nav-cta span { position: relative; z-index: 1; }

/* Mobile hamburger */
.nav-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 8px;
  flex-direction: column; gap: 5px;
}
.nav-toggle span {
  display: block; width: 24px; height: 1px;
  background: var(--gold); transition: all .3s;
}
.nav-mobile {
  display: none; position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(13,13,13,.98);
  z-index: 999; flex-direction: column;
  align-items: center; justify-content: center; gap: 40px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 300;
  color: var(--parchment); letter-spacing: .1em;
  transition: color .25s;
}
.nav-mobile a:hover { color: var(--gold-light); }

/* ────────────────────────────────────────────
   FOOTER
   ──────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border-gold);
  padding: 56px 60px;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 40px;
}
.footer-brand {}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 6px;
}
.footer-tagline {
  font-size: .58rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--text-muted);
}
.footer-links {
  display: flex; gap: 32px; justify-content: center;
}
.footer-links a {
  font-size: .62rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--text-muted);
  transition: color .25s;
}
.footer-links a:hover { color: var(--gold); }
.footer-copy {
  font-size: .58rem; letter-spacing: .15em;
  color: rgba(154,142,118,.5);
  text-align: right; line-height: 1.7;
}

/* ────────────────────────────────────────────
   PAGE HERO (inner pages)
   ──────────────────────────────────────────── */
.page-hero {
  min-height: 55vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 160px 60px 100px; position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(139,26,26,.18) 0%, transparent 70%),
    var(--ink);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-tag {
  font-size: .6rem; letter-spacing: .4em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px; display: block;
}
.page-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 300;
  line-height: 1.08; color: var(--ivory);
}
.page-hero-title em { font-style: italic; color: var(--gold-light); }

/* ────────────────────────────────────────────
   BLOG / POST ARCHIVE
   ──────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2px; background: rgba(201,168,76,.06);
}
.blog-card {
  background: var(--ink-mid); padding: 48px 40px;
  position: relative; overflow: hidden;
  transition: background .4s;
}
.blog-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--gold-dim), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--easing);
}
.blog-card:hover { background: rgba(201,168,76,.04); }
.blog-card:hover::before { transform: scaleX(1); }

.blog-card-meta {
  font-size: .58rem; letter-spacing: .25em;
  text-transform: uppercase; color: var(--gold-dim);
  margin-bottom: 20px;
}
.blog-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 400;
  color: var(--ivory); line-height: 1.25; margin-bottom: 16px;
}
.blog-card-excerpt {
  font-family: 'Cormorant Garamond', serif;
  font-size: .95rem; font-weight: 300;
  color: var(--text-muted); line-height: 1.7; margin-bottom: 28px;
}
.blog-card-read {
  font-size: .62rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold);
  border-bottom: 1px solid rgba(201,168,76,.3); padding-bottom: 2px;
  transition: color .25s, border-color .25s;
}
.blog-card:hover .blog-card-read { color: var(--gold-light); border-color: var(--gold-light); }

/* ────────────────────────────────────────────
   SINGLE POST
   ──────────────────────────────────────────── */
.post-content {
  max-width: 720px; margin: 0 auto;
  padding: 80px 60px 120px;
}
.post-content h1, .post-content h2, .post-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300; color: var(--ivory);
  margin-bottom: 20px; margin-top: 48px;
}
.post-content h1 { font-size: 2.8rem; line-height: 1.1; }
.post-content h2 { font-size: 2rem; }
.post-content h3 { font-size: 1.5rem; }
.post-content p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 300;
  color: var(--parchment-dim); line-height: 1.85;
  margin-bottom: 24px;
}
.post-content blockquote {
  border-left: 2px solid var(--gold-dim);
  padding: 24px 32px; margin: 48px 0;
}
.post-content blockquote p {
  font-size: 1.35rem; font-style: italic;
  color: var(--parchment); margin-bottom: 12px;
}
.post-content a { color: var(--gold); border-bottom: 1px solid rgba(201,168,76,.3); }
.post-content a:hover { color: var(--gold-light); }
.post-content img {
  width: 100%; margin: 48px 0;
  border: 1px solid var(--border-gold);
}

.post-meta {
  display: flex; align-items: center; gap: 32px;
  margin: 32px 0 64px; padding-bottom: 32px;
  border-bottom: 1px solid var(--border-gold);
}
.post-meta-date, .post-meta-cat {
  font-size: .6rem; letter-spacing: .25em;
  text-transform: uppercase; color: var(--gold-dim);
}
.post-meta-cat { color: var(--gold); }

/* ────────────────────────────────────────────
   PAGINATION
   ──────────────────────────────────────────── */
.pagination {
  display: flex; justify-content: center; gap: 8px;
  padding: 60px 0;
}
.pagination .page-numbers {
  font-size: .65rem; letter-spacing: .15em;
  padding: 10px 18px; border: 1px solid rgba(201,168,76,.2);
  color: var(--text-muted); transition: all .25s;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--gold); color: var(--ink);
  border-color: var(--gold);
}

/* ────────────────────────────────────────────
   RESPONSIVE
   ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .section { padding: 80px 40px; }
  .site-nav { padding: 20px 40px; }
  .site-footer { grid-template-columns: 1fr; text-align: center; }
  .footer-copy { text-align: center; }
  .footer-links { justify-content: center; }
}
@media (max-width: 768px) {
  :root { --container: 100%; }
  .section { padding: 64px 24px; }
  .container { padding: 0 24px; }
  .site-nav { padding: 16px 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-footer { padding: 40px 24px; }
  .blog-grid { grid-template-columns: 1fr; }
  .post-content { padding: 60px 24px; }
}
