/*
Theme Name:   Psychology of Success
Theme URI:    https://psychologyofsuccess.com
Description:  Psychology of Success — A Blocksy Child Theme. High-end affiliate site for psychology, mindset, and personal growth content.
Author:       Psychology of Success
Author URI:   https://psychologyofsuccess.com
Template:     blocksy
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  psychology-of-success
Tags:         affiliate, psychology, mindset, success, personal-growth
*/

/* ============================================================
   DESIGN TOKEN SYSTEM — Psychology of Success
   ============================================================
   Palette:
     --pos-midnight:    #0D1117  (page background, deep sections)
     --pos-slate:       #1C2333  (card backgrounds, nav)
     --pos-gold:        #C9A84C  (primary accent, CTAs, underlines)
     --pos-gold-light:  #E8C96A  (hover states)
     --pos-ivory:       #F0EAD6  (primary text on dark)
     --pos-ivory-dim:   #A89F8C  (secondary text, captions)
     --pos-steel:       #4A6FA5  (links, secondary accent)
     --pos-steel-light: #6B8FBE  (link hover)

   Typography:
     Display:  Cormorant Garamond — literary, psychological gravitas
     Body:     Inter — clear, modern, trustworthy
     Utility:  Space Mono — labels, tags, price data (intelligent contrast)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Inter:wght@300;400;500;600;700&family=Space+Mono:ital,wght@0,400;0,700;1,400&display=swap');

/* ---- CSS Custom Properties ---- */
:root {
  --pos-midnight:    #0D1117;
  --pos-slate:       #1C2333;
  --pos-gold:        #C9A84C;
  --pos-gold-light:  #E8C96A;
  --pos-gold-dim:    #8A6B28;
  --pos-ivory:       #F0EAD6;
  --pos-ivory-dim:   #A89F8C;
  --pos-ivory-faint: #2A2820;
  --pos-steel:       #4A6FA5;
  --pos-steel-light: #6B8FBE;
  --pos-crimson:     #8B1A1A;

  --pos-font-display: 'Cormorant Garamond', Georgia, serif;
  --pos-font-body:    'Inter', system-ui, sans-serif;
  --pos-font-utility: 'Space Mono', monospace;

  --pos-radius-sm:   4px;
  --pos-radius-md:   8px;
  --pos-radius-lg:   16px;

  --pos-transition:  all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --pos-shadow-card: 0 4px 32px rgba(0,0,0,0.45), 0 1px 8px rgba(0,0,0,0.3);
  --pos-shadow-gold: 0 0 40px rgba(201,168,76,0.15);
}

/* ============================================================
   GLOBAL RESETS & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--pos-midnight);
  color: var(--pos-ivory);
  font-family: var(--pos-font-body);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Override Blocksy body background */
.site {
  background-color: var(--pos-midnight);
}

/* ============================================================
   TYPOGRAPHY SCALE
   ============================================================ */
h1, h2, h3, h4, h5, h6,
.pos-display {
  font-family: var(--pos-font-display);
  color: var(--pos-ivory);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); font-weight: 300; }
h2 { font-size: clamp(2rem,   4vw, 3.5rem); font-weight: 400; }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.2rem); font-weight: 400; }
h4 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 500; }
h5 { font-size: 1.1rem; font-weight: 600; }
h6 { font-size: 0.95rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }

p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--pos-ivory);
}

.pos-eyebrow {
  font-family: var(--pos-font-utility);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pos-gold);
  display: block;
  margin-bottom: 0.75rem;
}

.pos-caption {
  font-family: var(--pos-font-utility);
  font-size: 0.72rem;
  color: var(--pos-ivory-dim);
  letter-spacing: 0.08em;
}

a {
  color: var(--pos-steel-light);
  text-decoration: none;
  transition: var(--pos-transition);
}

a:hover {
  color: var(--pos-gold-light);
}

a:focus-visible {
  outline: 2px solid var(--pos-gold);
  outline-offset: 3px;
  border-radius: var(--pos-radius-sm);
}

/* Gold rule — used as decorative divider */
.pos-rule {
  border: none;
  border-top: 1px solid var(--pos-gold-dim);
  opacity: 0.4;
  margin: 3rem 0;
}

/* ============================================================
   BLOCKSY HEADER OVERRIDE
   ============================================================ */
.site-header,
#header {
  background-color: rgba(13, 17, 23, 0.92) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--pos-transition);
}

/* Logo */
.site-logo a,
.ct-site-logo-container a {
  font-family: var(--pos-font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--pos-ivory) !important;
  letter-spacing: -0.02em;
}

.site-logo a span,
.ct-site-logo-container a span {
  color: var(--pos-gold);
}

/* Navigation */
.ct-nav-menu-list > li > a,
.header-menu > li > a {
  font-family: var(--pos-font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--pos-ivory-dim) !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.5rem 1rem !important;
  transition: var(--pos-transition);
}

.ct-nav-menu-list > li > a:hover,
.header-menu > li > a:hover,
.ct-nav-menu-list > li.current-menu-item > a {
  color: var(--pos-gold) !important;
}

/* Nav CTA button */
.pos-nav-cta {
  background: var(--pos-gold) !important;
  color: var(--pos-midnight) !important;
  border-radius: var(--pos-radius-sm) !important;
  padding: 0.5rem 1.25rem !important;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--pos-transition);
}

.pos-nav-cta:hover {
  background: var(--pos-gold-light) !important;
  box-shadow: 0 4px 20px rgba(201,168,76,0.3);
  transform: translateY(-1px);
}

/* Dropdown menus */
.ct-nav-menu-list .sub-menu,
.header-menu .sub-menu {
  background: var(--pos-slate) !important;
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--pos-radius-md);
  box-shadow: var(--pos-shadow-card);
}

.ct-nav-menu-list .sub-menu li a {
  color: var(--pos-ivory-dim) !important;
  font-size: 0.85rem !important;
}

.ct-nav-menu-list .sub-menu li a:hover {
  color: var(--pos-gold) !important;
  background: rgba(201,168,76,0.05) !important;
}

/* Mobile hamburger */
.ct-toggle-dropdown-mobile-icon,
.menu-toggle {
  color: var(--pos-ivory) !important;
}

/* ============================================================
   HERO SECTION — Cinematic Quote Reveal (Signature Element)
   ============================================================ */
.pos-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 8rem 2rem 6rem;
}

.pos-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  filter: brightness(0.35) saturate(0.7);
  transform: scale(1.05);
  transition: transform 8s ease-out;
  z-index: 0;
}

.pos-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,17,23,0.3) 0%,
    rgba(13,17,23,0.1) 40%,
    rgba(13,17,23,0.7) 80%,
    rgba(13,17,23,1) 100%
  );
}

.pos-hero__content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.pos-hero__tagline {
  font-family: var(--pos-font-utility);
  font-size: 0.68rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--pos-gold);
  display: block;
  margin-bottom: 2rem;
  opacity: 0;
  animation: pos-fade-up 0.8s ease forwards 0.3s;
}

.pos-hero__quote {
  font-family: var(--pos-font-display);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.1;
  color: var(--pos-ivory);
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
}

/* Word-by-word reveal — each word is wrapped in a span by JS */
.pos-hero__quote .pos-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.pos-hero__quote .pos-word.pos-visible {
  opacity: 1;
  transform: translateY(0);
}

.pos-hero__sub {
  font-family: var(--pos-font-body);
  font-size: 1.05rem;
  color: var(--pos-ivory-dim);
  max-width: 520px;
  margin: 0 auto 3rem;
  font-weight: 300;
  opacity: 0;
  animation: pos-fade-up 0.8s ease forwards 1.8s;
}

.pos-hero__cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: pos-fade-up 0.8s ease forwards 2.2s;
}

.pos-hero__scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 1;
  opacity: 0;
  animation: pos-fade-up 0.8s ease forwards 3s;
}

.pos-hero__scroll-hint span {
  font-family: var(--pos-font-utility);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--pos-ivory-dim);
}

.pos-hero__scroll-hint::after {
  content: '';
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--pos-gold), transparent);
  animation: pos-line-grow 2s ease-in-out infinite;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.pos-btn,
.wp-block-button__link,
.woocommerce-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--pos-font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--pos-radius-sm);
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: var(--pos-transition);
  line-height: 1;
}

/* Primary — gold */
.pos-btn--primary {
  background: var(--pos-gold);
  color: var(--pos-midnight);
}

.pos-btn--primary:hover {
  background: var(--pos-gold-light);
  color: var(--pos-midnight);
  box-shadow: 0 8px 32px rgba(201,168,76,0.35);
  transform: translateY(-2px);
}

/* Ghost — outlined */
.pos-btn--ghost {
  background: transparent;
  color: var(--pos-ivory);
  border: 1px solid rgba(240,234,214,0.3);
}

.pos-btn--ghost:hover {
  border-color: var(--pos-gold);
  color: var(--pos-gold);
  background: rgba(201,168,76,0.05);
}

/* Steel — secondary */
.pos-btn--steel {
  background: var(--pos-steel);
  color: var(--pos-ivory);
}

.pos-btn--steel:hover {
  background: var(--pos-steel-light);
  transform: translateY(-2px);
}

/* ============================================================
   SECTION WRAPPERS
   ============================================================ */
.pos-section {
  padding: 6rem 2rem;
}

.pos-section--dark {
  background-color: var(--pos-midnight);
}

.pos-section--slate {
  background-color: var(--pos-slate);
}

.pos-section--accent {
  background: linear-gradient(135deg, #0f1620 0%, #1a2236 50%, #0f1620 100%);
  position: relative;
  overflow: hidden;
}

.pos-section--accent::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.pos-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.pos-container--narrow {
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
}

.pos-container--wide {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  padding: 0 2rem;
}

/* Section header */
.pos-section-header {
  margin-bottom: 3.5rem;
}

.pos-section-header--center {
  text-align: center;
}

.pos-section-header h2 {
  margin: 0.25rem 0 1rem;
}

.pos-section-header p {
  color: var(--pos-ivory-dim);
  font-size: 1.05rem;
  max-width: 560px;
}

.pos-section-header--center p {
  margin: 0 auto;
}

/* Gold underline accent on section titles */
.pos-section-header h2::after {
  content: '';
  display: block;
  width: 3rem;
  height: 2px;
  background: var(--pos-gold);
  margin-top: 1rem;
}

.pos-section-header--center h2::after {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   INTRO / ABOUT STRIP
   ============================================================ */
.pos-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.pos-intro__image {
  position: relative;
  border-radius: var(--pos-radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}

.pos-intro__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8);
  transition: transform 0.6s ease, filter 0.6s ease;
}

.pos-intro__image:hover img {
  transform: scale(1.03);
  filter: saturate(1);
}

/* Gold frame accent */
.pos-intro__image::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--pos-radius-lg);
  background: linear-gradient(135deg, var(--pos-gold-dim) 0%, transparent 60%, var(--pos-gold-dim) 100%);
  z-index: 1;
  opacity: 0.5;
  pointer-events: none;
}

.pos-intro__text .pos-quote-mark {
  font-family: var(--pos-font-display);
  font-size: 6rem;
  line-height: 0.5;
  color: var(--pos-gold);
  opacity: 0.3;
  display: block;
  margin-bottom: 1rem;
}

.pos-intro__text p {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--pos-ivory-dim);
  margin-bottom: 1.5rem;
}

.pos-intro__text p strong {
  color: var(--pos-ivory);
  font-weight: 600;
}

/* ============================================================
   FEATURED RESOURCES / AFFILIATE GRID
   ============================================================ */
.pos-affiliate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.pos-affiliate-card {
  background: var(--pos-slate);
  border-radius: var(--pos-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow: var(--pos-shadow-card);
  transition: var(--pos-transition);
  display: flex;
  flex-direction: column;
}

.pos-affiliate-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201,168,76,0.2);
  box-shadow: var(--pos-shadow-card), var(--pos-shadow-gold);
}

.pos-affiliate-card__image {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.pos-affiliate-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) brightness(0.85);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.pos-affiliate-card:hover .pos-affiliate-card__image img {
  transform: scale(1.06);
  filter: saturate(1) brightness(0.9);
}

.pos-affiliate-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--pos-gold);
  color: var(--pos-midnight);
  font-family: var(--pos-font-utility);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: var(--pos-radius-sm);
}

.pos-affiliate-card__body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pos-affiliate-card__category {
  font-family: var(--pos-font-utility);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pos-gold);
  margin-bottom: 0.6rem;
}

.pos-affiliate-card__title {
  font-family: var(--pos-font-display);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--pos-ivory);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.pos-affiliate-card__excerpt {
  font-size: 0.88rem;
  color: var(--pos-ivory-dim);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.5rem;
}

.pos-affiliate-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.pos-affiliate-card__price {
  font-family: var(--pos-font-utility);
  font-size: 0.8rem;
  color: var(--pos-ivory-dim);
}

.pos-affiliate-card__price strong {
  font-family: var(--pos-font-display);
  font-size: 1.4rem;
  color: var(--pos-gold);
  font-weight: 600;
  display: block;
  line-height: 1;
}

.pos-affiliate-card__cta {
  flex-shrink: 0;
}

/* ============================================================
   FEATURED BOOK / HERO PRODUCT
   ============================================================ */
.pos-featured-product {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 5rem;
  align-items: center;
}

.pos-featured-product__book {
  position: relative;
}

.pos-featured-product__book-cover {
  border-radius: var(--pos-radius-md);
  box-shadow:
    -12px 12px 0 rgba(201,168,76,0.15),
    0 32px 64px rgba(0,0,0,0.6);
  transition: var(--pos-transition);
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
}

.pos-featured-product__book:hover .pos-featured-product__book-cover {
  transform: rotate(-2deg) scale(1.02);
  box-shadow:
    -18px 18px 0 rgba(201,168,76,0.2),
    0 40px 80px rgba(0,0,0,0.7);
}

.pos-featured-product__stars {
  display: flex;
  gap: 0.2rem;
  color: var(--pos-gold);
  margin-bottom: 0.5rem;
}

.pos-featured-product__review-count {
  font-family: var(--pos-font-utility);
  font-size: 0.7rem;
  color: var(--pos-ivory-dim);
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.pos-featured-product__title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

.pos-featured-product__author {
  font-family: var(--pos-font-utility);
  font-size: 0.75rem;
  color: var(--pos-gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.pos-featured-product__description {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--pos-ivory-dim);
  margin-bottom: 2rem;
}

.pos-featured-product__key-points {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.pos-featured-product__key-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  font-size: 0.93rem;
  color: var(--pos-ivory-dim);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.pos-featured-product__key-points li::before {
  content: '—';
  color: var(--pos-gold);
  font-family: var(--pos-font-utility);
  flex-shrink: 0;
  margin-top: 0.05em;
}

.pos-featured-product__price-block {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.pos-featured-product__price-now {
  font-family: var(--pos-font-display);
  font-size: 2.8rem;
  color: var(--pos-gold);
  font-weight: 500;
  line-height: 1;
}

.pos-featured-product__price-was {
  font-family: var(--pos-font-utility);
  font-size: 0.75rem;
  color: var(--pos-ivory-dim);
  text-decoration: line-through;
}

.pos-featured-product__disclosure {
  font-family: var(--pos-font-utility);
  font-size: 0.62rem;
  color: var(--pos-ivory-dim);
  opacity: 0.6;
  margin-top: 0.75rem;
  letter-spacing: 0.05em;
}

/* ============================================================
   BLOG / ARTICLE GRID
   ============================================================ */
.pos-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.pos-article-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  transition: var(--pos-transition);
}

.pos-article-card:hover {
  transform: translateY(-4px);
}

.pos-article-card__image {
  aspect-ratio: 16/9;
  border-radius: var(--pos-radius-md);
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.pos-article-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.85);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.pos-article-card:hover .pos-article-card__image img {
  transform: scale(1.05);
  filter: saturate(1) brightness(0.9);
}

.pos-article-card__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.pos-article-card__tag {
  font-family: var(--pos-font-utility);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pos-gold);
}

.pos-article-card__date {
  font-family: var(--pos-font-utility);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--pos-ivory-dim);
}

.pos-article-card__title {
  font-family: var(--pos-font-display);
  font-size: 1.4rem;
  color: var(--pos-ivory);
  line-height: 1.25;
  margin-bottom: 0.6rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.pos-article-card:hover .pos-article-card__title {
  color: var(--pos-gold-light);
}

.pos-article-card__excerpt {
  font-size: 0.88rem;
  color: var(--pos-ivory-dim);
  line-height: 1.7;
  margin-bottom: 1rem;
  flex: 1;
}

.pos-article-card__read-more {
  font-family: var(--pos-font-utility);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pos-gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pos-article-card__read-more::after {
  content: '→';
  transition: transform 0.3s ease;
}

.pos-article-card:hover .pos-article-card__read-more::after {
  transform: translateX(4px);
}

/* ============================================================
   QUOTE / PULL SECTION
   ============================================================ */
.pos-pull-quote {
  text-align: center;
  padding: 6rem 2rem;
  position: relative;
}

.pos-pull-quote__mark {
  font-family: var(--pos-font-display);
  font-size: 10rem;
  line-height: 0.6;
  color: var(--pos-gold);
  opacity: 0.12;
  position: absolute;
  top: 3rem;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
}

.pos-pull-quote__text {
  font-family: var(--pos-font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 300;
  font-style: italic;
  color: var(--pos-ivory);
  max-width: 800px;
  margin: 0 auto 1.5rem;
  line-height: 1.35;
  position: relative;
  z-index: 1;
}

.pos-pull-quote__text em {
  color: var(--pos-gold);
  font-style: normal;
}

.pos-pull-quote__attribution {
  font-family: var(--pos-font-utility);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pos-ivory-dim);
}

/* ============================================================
   CATEGORY / TOPIC TILES
   ============================================================ */
.pos-topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.pos-topic-tile {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--pos-radius-md);
  overflow: hidden;
  cursor: pointer;
  display: block;
  text-decoration: none;
}

.pos-topic-tile__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.5) brightness(0.6);
  transition: transform 0.6s ease, filter 0.6s ease;
}

.pos-topic-tile:hover .pos-topic-tile__img {
  transform: scale(1.08);
  filter: saturate(0.8) brightness(0.5);
}

.pos-topic-tile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,17,23,0.92) 0%, rgba(13,17,23,0.1) 60%);
}

.pos-topic-tile__content {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
}

.pos-topic-tile__label {
  font-family: var(--pos-font-utility);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pos-gold);
  display: block;
  margin-bottom: 0.4rem;
}

.pos-topic-tile__name {
  font-family: var(--pos-font-display);
  font-size: 1.3rem;
  color: var(--pos-ivory);
  font-weight: 500;
  line-height: 1.2;
}

.pos-topic-tile__count {
  font-family: var(--pos-font-utility);
  font-size: 0.62rem;
  color: var(--pos-ivory-dim);
  letter-spacing: 0.1em;
  margin-top: 0.3rem;
  display: block;
}

/* ============================================================
   EMAIL OPTIN / LEAD MAGNET
   ============================================================ */
.pos-optin {
  background: linear-gradient(135deg, var(--pos-slate) 0%, rgba(74,111,165,0.08) 100%);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: var(--pos-radius-lg);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pos-optin::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 50%;
  height: 160%;
  background: radial-gradient(ellipse, rgba(74,111,165,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.pos-optin h2 {
  margin-bottom: 0.5rem;
}

.pos-optin p {
  color: var(--pos-ivory-dim);
  margin-bottom: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.pos-optin__form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.pos-optin__input {
  flex: 1;
  min-width: 220px;
  padding: 0.875rem 1.25rem;
  background: rgba(13,17,23,0.6);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--pos-radius-sm);
  color: var(--pos-ivory);
  font-family: var(--pos-font-body);
  font-size: 0.9rem;
  outline: none;
  transition: var(--pos-transition);
}

.pos-optin__input::placeholder {
  color: var(--pos-ivory-dim);
  opacity: 0.6;
}

.pos-optin__input:focus {
  border-color: var(--pos-gold);
  background: rgba(201,168,76,0.04);
}

.pos-optin__disclaimer {
  font-family: var(--pos-font-utility);
  font-size: 0.62rem;
  color: var(--pos-ivory-dim);
  opacity: 0.5;
  margin-top: 1rem;
  letter-spacing: 0.06em;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.pos-testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.pos-testimonial-card {
  background: var(--pos-slate);
  border-radius: var(--pos-radius-lg);
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.04);
  position: relative;
}

.pos-testimonial-card::before {
  content: '"';
  font-family: var(--pos-font-display);
  font-size: 5rem;
  color: var(--pos-gold);
  opacity: 0.15;
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  line-height: 1;
  pointer-events: none;
}

.pos-testimonial-card__text {
  font-family: var(--pos-font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--pos-ivory);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.pos-testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.pos-testimonial-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(201,168,76,0.3);
}

.pos-testimonial-card__name {
  font-family: var(--pos-font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--pos-ivory);
  display: block;
}

.pos-testimonial-card__role {
  font-family: var(--pos-font-utility);
  font-size: 0.65rem;
  color: var(--pos-gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.pos-stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--pos-radius-lg);
  overflow: hidden;
}

.pos-stat {
  padding: 2.5rem 2rem;
  text-align: center;
  border-right: 1px solid rgba(201,168,76,0.1);
  background: var(--pos-slate);
  transition: var(--pos-transition);
}

.pos-stat:last-child {
  border-right: none;
}

.pos-stat:hover {
  background: rgba(201,168,76,0.04);
}

.pos-stat__number {
  font-family: var(--pos-font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--pos-gold);
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}

.pos-stat__label {
  font-family: var(--pos-font-utility);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pos-ivory-dim);
}

/* ============================================================
   SIDEBAR (for blog/post pages)
   ============================================================ */
.pos-sidebar .widget {
  background: var(--pos-slate);
  border-radius: var(--pos-radius-md);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255,255,255,0.04);
}

.pos-sidebar .widget-title {
  font-family: var(--pos-font-utility);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pos-gold);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(201,168,76,0.2);
}

.pos-sidebar .widget ul li {
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.pos-sidebar .widget ul li a {
  font-size: 0.88rem;
  color: var(--pos-ivory-dim);
  transition: color 0.3s ease;
}

.pos-sidebar .widget ul li a:hover {
  color: var(--pos-gold);
}

/* ============================================================
   SINGLE POST / ARTICLE
   ============================================================ */
.pos-article-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--pos-ivory);
}

.pos-article-content h2,
.pos-article-content h3,
.pos-article-content h4 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.pos-article-content p {
  margin-bottom: 1.5rem;
}

.pos-article-content blockquote {
  border-left: 3px solid var(--pos-gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: rgba(201,168,76,0.04);
  border-radius: 0 var(--pos-radius-md) var(--pos-radius-md) 0;
}

.pos-article-content blockquote p {
  font-family: var(--pos-font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--pos-ivory);
  margin: 0;
}

.pos-article-content a {
  color: var(--pos-steel-light);
  text-decoration: underline;
  text-decoration-color: rgba(107,143,190,0.4);
  text-underline-offset: 3px;
}

.pos-article-content a:hover {
  color: var(--pos-gold);
  text-decoration-color: var(--pos-gold);
}

/* Affiliate disclosure box */
.pos-disclosure-box {
  background: rgba(201,168,76,0.06);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--pos-radius-md);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.pos-disclosure-box__icon {
  color: var(--pos-gold);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.15em;
}

.pos-disclosure-box__text {
  font-family: var(--pos-font-utility);
  font-size: 0.72rem;
  color: var(--pos-ivory-dim);
  line-height: 1.6;
  letter-spacing: 0.04em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer,
#footer {
  background-color: var(--pos-slate) !important;
  border-top: 1px solid rgba(201,168,76,0.1);
}

.pos-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding: 4rem 2rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.pos-footer__brand p {
  font-size: 0.88rem;
  color: var(--pos-ivory-dim);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.pos-footer__social {
  display: flex;
  gap: 0.75rem;
}

.pos-footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pos-ivory-dim);
  transition: var(--pos-transition);
  font-size: 0.85rem;
}

.pos-footer__social a:hover {
  border-color: var(--pos-gold);
  color: var(--pos-gold);
  background: rgba(201,168,76,0.08);
}

.pos-footer__col h5 {
  font-family: var(--pos-font-utility);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pos-gold);
  margin-bottom: 1.25rem;
}

.pos-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pos-footer__col ul li {
  margin-bottom: 0.6rem;
}

.pos-footer__col ul li a {
  font-size: 0.88rem;
  color: var(--pos-ivory-dim);
  transition: color 0.3s ease;
}

.pos-footer__col ul li a:hover {
  color: var(--pos-gold);
}

.pos-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.pos-footer__bottom p {
  font-family: var(--pos-font-utility);
  font-size: 0.65rem;
  color: var(--pos-ivory-dim);
  opacity: 0.5;
  letter-spacing: 0.08em;
  margin: 0;
}

.pos-footer__bottom a {
  color: var(--pos-ivory-dim);
}

.pos-footer__bottom a:hover {
  color: var(--pos-gold);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes pos-fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pos-line-grow {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
  50%       { opacity: 1;   transform: scaleY(1); }
}

/* Scroll reveal utility */
.pos-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.pos-reveal.pos-revealed {
  opacity: 1;
  transform: translateY(0);
}

.pos-reveal--delay-1 { transition-delay: 0.1s; }
.pos-reveal--delay-2 { transition-delay: 0.2s; }
.pos-reveal--delay-3 { transition-delay: 0.3s; }
.pos-reveal--delay-4 { transition-delay: 0.4s; }

/* ============================================================
   WOOCOMMERCE / AFFILIATE OVERRIDES
   ============================================================ */
.woocommerce .price,
.woocommerce-Price-amount {
  color: var(--pos-gold) !important;
  font-family: var(--pos-font-display) !important;
}

.woocommerce .button,
.woocommerce button.button {
  background: var(--pos-gold) !important;
  color: var(--pos-midnight) !important;
  border-radius: var(--pos-radius-sm) !important;
  font-family: var(--pos-font-body) !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  font-size: 0.8rem !important;
  transition: var(--pos-transition) !important;
}

.woocommerce .button:hover,
.woocommerce button.button:hover {
  background: var(--pos-gold-light) !important;
  box-shadow: 0 4px 20px rgba(201,168,76,0.3) !important;
}

/* ============================================================
   GUTENBERG BLOCK OVERRIDES
   ============================================================ */
.wp-block-separator {
  border-color: rgba(201,168,76,0.2) !important;
}

.wp-block-pullquote {
  border-color: var(--pos-gold) !important;
}

.wp-block-pullquote blockquote p {
  font-family: var(--pos-font-display) !important;
  color: var(--pos-ivory) !important;
}

.wp-block-quote {
  border-left-color: var(--pos-gold) !important;
}

/* ============================================================
   SEARCH
   ============================================================ */
.search-form input[type="search"] {
  background: var(--pos-slate);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--pos-ivory);
  border-radius: var(--pos-radius-sm);
  padding: 0.7rem 1rem;
  font-family: var(--pos-font-body);
  font-size: 0.9rem;
  transition: var(--pos-transition);
}

.search-form input[type="search"]:focus {
  border-color: var(--pos-gold);
  outline: none;
}

.search-form button {
  background: var(--pos-gold);
  color: var(--pos-midnight);
  border: none;
  padding: 0.7rem 1.25rem;
  border-radius: var(--pos-radius-sm);
  cursor: pointer;
  font-weight: 600;
  transition: var(--pos-transition);
}

.search-form button:hover {
  background: var(--pos-gold-light);
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pos-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pos-pagination a,
.pos-pagination span {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--pos-radius-sm);
  font-family: var(--pos-font-utility);
  font-size: 0.8rem;
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--pos-ivory-dim);
  transition: var(--pos-transition);
}

.pos-pagination a:hover,
.pos-pagination .current {
  border-color: var(--pos-gold);
  color: var(--pos-gold);
  background: rgba(201,168,76,0.06);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .pos-featured-product {
    grid-template-columns: 280px 1fr;
    gap: 3rem;
  }

  .pos-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .pos-intro {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .pos-section {
    padding: 4rem 1.25rem;
  }

  .pos-intro {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .pos-intro__image {
    aspect-ratio: 16/9;
  }

  .pos-featured-product {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .pos-featured-product__book {
    max-width: 260px;
    margin: 0 auto;
  }

  .pos-footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 1.25rem 2rem;
  }

  .pos-optin {
    padding: 2.5rem 1.5rem;
  }

  .pos-optin__form {
    flex-direction: column;
  }

  .pos-stats-strip {
    grid-template-columns: 1fr 1fr;
  }

  .pos-stat {
    border-right: none;
    border-bottom: 1px solid rgba(201,168,76,0.1);
  }

  .pos-stat:nth-child(odd) {
    border-right: 1px solid rgba(201,168,76,0.1);
  }

  .pos-hero {
    padding: 6rem 1.25rem 5rem;
  }

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

@media (max-width: 480px) {
  .pos-affiliate-grid {
    grid-template-columns: 1fr;
  }

  .pos-blog-grid {
    grid-template-columns: 1fr;
  }

  .pos-topic-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pos-stats-strip {
    grid-template-columns: 1fr;
  }

  .pos-stat {
    border-right: none;
    border-bottom: 1px solid rgba(201,168,76,0.1);
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .pos-hero__bg {
    transform: none;
  }

  .pos-reveal {
    opacity: 1;
    transform: none;
  }
}
