/*
Theme Name: PayCompound Dark
Template: generatepress
*/

/* ═══════════════════════════════════════════
   DESIGN SYSTEM
   ═══════════════════════════════════════════ */

:root {
  --bg:         #09090b;
  --bg-raised:  #0f0f12;
  --bg-card:    #131316;
  --bg-hover:   #1a1a1e;
  --surface:    #18181b;
  --border:     rgba(255,255,255,0.06);
  --border-lit: rgba(255,255,255,0.1);

  --text:       #ededed;
  --text-2:     #a1a1aa;
  --text-3:     #636369;
  --text-4:     #3f3f46;

  --accent:     #c9a96e;
  --accent-dim: rgba(201,169,110,0.12);

  --serif:      'Cormorant Garamond', 'Georgia', serif;
  --sans:       'Inter', -apple-system, 'Segoe UI', sans-serif;

  --ease:       cubic-bezier(0.16, 1, 0.3, 1);
  --dur:        0.5s;
}

/* ═══════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  background: var(--bg) !important;
  color: var(--text) !important;
  font-family: var(--sans) !important;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color 0.3s var(--ease); }
a:hover { color: #ddbf88; }
img { max-width: 100%; height: auto; }

/* Kill ALL GeneratePress defaults */
.site-header, #site-header, .main-navigation,
.site-footer, #colophon, .inside-header,
.menu-toggle, .main-nav { display: none !important; }
#page, .site, .site-content, #content, #primary,
.inside-article, .entry-content, .container,
.grid-container, .site-main, .content-area {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  float: none !important;
}
.entry-header, .entry-meta, .post-navigation,
.cat-links, .tags-links, .comments-area,
.sidebar, #secondary, aside { display: none !important; }
article { background: transparent !important; }

/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  transition: all 0.4s var(--ease);
  background: transparent;
  backdrop-filter: none;
}
.site-nav.scrolled {
  background: rgba(9,9,11,0.85);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-family: var(--serif) !important;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text) !important;
  letter-spacing: 0.01em;
}
.nav-brand:hover { color: var(--text) !important; }
.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a, .nav-links li a {
  color: var(--text-3) !important;
  font-family: var(--sans) !important;
  font-size: 0.8rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.3s var(--ease);
  text-decoration: none !important;
  list-style: none;
}
.nav-links a:hover, .nav-links li a:hover { color: var(--text) !important; }
.nav-links li { list-style: none; }
.nav-links ul { display: flex; gap: 2.5rem; list-style: none; margin: 0; padding: 0; }

/* ═══════════════════════════════════════════
   BLOG / SINGLE POST STYLES
   ═══════════════════════════════════════════ */

body:not(.page-template-page-home) .site-wrapper {
  padding-top: 5rem;
}
body:not(.page-template-page-home) .entry-content {
  max-width: 720px !important;
  margin: 0 auto !important;
  padding: 2rem 1.5rem 4rem !important;
}
body:not(.page-template-page-home) .entry-title {
  display: block !important;
  font-family: var(--serif) !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  font-weight: 400 !important;
  color: var(--text) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em;
  max-width: 720px;
  margin: 2rem auto 2rem !important;
  padding: 0 1.5rem;
  text-align: left;
}
body:not(.page-template-page-home) .entry-meta {
  display: block !important;
  max-width: 720px;
  margin: 0 auto 3rem !important;
  padding: 0 1.5rem;
  font-size: 0.78rem !important;
  color: var(--text-4) !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
body:not(.page-template-page-home) .entry-meta a { color: var(--text-3) !important; }

body:not(.page-template-page-home) h1 { font-family: var(--serif) !important; font-size: 2.4rem !important; font-weight: 400 !important; color: var(--text) !important; line-height: 1.2 !important; margin-top: 2.5rem !important; margin-bottom: 0.75rem !important; }
body:not(.page-template-page-home) h2 { font-family: var(--serif) !important; font-size: 1.7rem !important; font-weight: 400 !important; color: var(--text) !important; line-height: 1.25 !important; margin-top: 2.5rem !important; margin-bottom: 0.75rem !important; }
body:not(.page-template-page-home) h3 { font-family: var(--serif) !important; font-size: 1.3rem !important; font-weight: 500 !important; color: var(--text) !important; margin-top: 2rem !important; margin-bottom: 0.5rem !important; }

body:not(.page-template-page-home) p {
  color: var(--text-2) !important;
  font-size: 1.05rem !important;
  line-height: 1.85 !important;
  margin-bottom: 1.5rem !important;
}

body:not(.page-template-page-home) ul, body:not(.page-template-page-home) ol {
  color: var(--text-2) !important;
  padding-left: 1.25rem !important;
  margin-bottom: 1.5rem !important;
}
body:not(.page-template-page-home) li {
  color: var(--text-2) !important;
  margin-bottom: 0.4rem !important;
  line-height: 1.75 !important;
  font-size: 1.02rem !important;
}

body:not(.page-template-page-home) blockquote {
  border-left: 2px solid var(--accent) !important;
  margin: 2rem 0 !important;
  padding: 1rem 1.5rem !important;
  background: var(--bg-raised) !important;
  border-radius: 0 8px 8px 0 !important;
}
body:not(.page-template-page-home) blockquote p {
  font-family: var(--serif) !important;
  font-style: italic !important;
  color: var(--text) !important;
  font-size: 1.1rem !important;
}

body:not(.page-template-page-home) code {
  background: var(--bg-raised) !important;
  color: var(--accent) !important;
  padding: 0.15em 0.4em !important;
  border-radius: 4px !important;
  font-size: 0.88em !important;
}

/* Blog listing */
body.blog .site-wrapper, body.archive .site-wrapper { padding-top: 6rem; }
body.blog article, body.archive article {
  max-width: 720px !important;
  margin: 0 auto !important;
  padding: 2rem 1.5rem !important;
  border-bottom: 1px solid var(--border) !important;
}
body.blog .entry-title, body.archive .entry-title {
  display: block !important;
  font-family: var(--serif) !important;
  font-size: 1.6rem !important;
  font-weight: 400 !important;
  color: var(--text) !important;
  margin-bottom: 0.5rem !important;
}
body.blog .entry-title a, body.archive .entry-title a { color: var(--text) !important; }
body.blog .entry-title a:hover { color: var(--accent) !important; }
body.blog .entry-summary p, body.archive .entry-summary p {
  color: var(--text-3) !important;
  font-size: 0.95rem !important;
}
body.blog .entry-meta, body.archive .entry-meta {
  display: block !important;
  font-size: 0.75rem !important;
  color: var(--text-4) !important;
  margin-bottom: 0.75rem !important;
}

/* ═══════════════════════════════════════════
   SCROLLBAR & SELECTION
   ═══════════════════════════════════════════ */

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #222; border-radius: 3px; }
::selection { background: var(--accent); color: var(--bg); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-inner { padding: 1rem 1.25rem; }
}
