/*
Theme Name:  TheMovingMind
Theme URI:   https://themovingmind.in
Author:      TheMovingMind
Author URI:  https://themovingmind.in
Description: A dark, immersive psychology & music blog theme. Because the brain loves rhythm.
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: themovingmind
Tags:        blog, custom-colors, custom-menu, featured-images, dark, music, psychology
*/

/* ─── CSS VARIABLES ──────────────────────────────── */
:root {
  --bg:           #080613;
  --bg2:          #0F0B1F;
  --bg3:          #130F24;
  --card:         #120E22;
  --card2:        #1A1530;
  --violet:       #7C3AED;
  --violet-soft:  #9D6EF8;
  --lavender:     #A78BFA;
  --lavender-lt:  #C4B5FD;
  --teal:         #2DD4BF;
  --teal-soft:    #5EEAD4;
  --rose:         #F472B6;
  --sky:          #38BDF8;
  --amber:        #FCD34D;
  --green:        #6EE7B7;
  --text:         #EDE9FE;
  --text2:        #A09ABF;
  --text3:        #6B647A;
  --border:       rgba(139,92,246,0.18);
  --border2:      rgba(139,92,246,0.32);
  --glow:         rgba(124,58,237,0.25);
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'Cabinet Grotesk', 'DM Sans', sans-serif;
  --font-quote:   'Playfair Display', Georgia, serif;
  --radius-sm:    10px;
  --radius-md:    16px;
  --radius-lg:    24px;
  --radius-xl:    32px;
  --transition:   all 0.3s ease;
}

/* ─── RESET & BASE ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

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

a { color: var(--lavender); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--lavender-lt); }

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: #F0EBFF;
  line-height: 1.2;
}

p { margin-bottom: 1.25rem; color: var(--text2); }

ul, ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
li { color: var(--text2); margin-bottom: 0.4rem; }

blockquote {
  border-left: 3px solid var(--violet);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: rgba(124,58,237,0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-quote);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--lavender-lt);
}
blockquote cite { display: block; margin-top: 0.75rem; font-size: 12px; color: var(--text3); font-style: normal; letter-spacing: 1px; text-transform: uppercase; }

code, pre {
  font-family: 'Courier New', monospace;
  background: rgba(124,58,237,0.1);
  color: var(--teal-soft);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.9em;
  border: 1px solid var(--border);
}
pre { padding: 1.25rem; overflow-x: auto; border-radius: var(--radius-sm); margin-bottom: 1.5rem; }
pre code { background: none; border: none; padding: 0; }

hr { border: none; border-top: 1px solid var(--border); margin: 2.5rem 0; }

table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
th, td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--border); font-size: 14px; }
th { color: var(--lavender); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
td { color: var(--text2); }

/* ─── SCROLLBAR ──────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(124,58,237,0.35); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--violet); }

/* ─── UTILITY CLASSES ────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: 780px; margin: 0 auto; padding: 0 2rem; }

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 12px;
}
.badge-violet { background: rgba(124,58,237,0.15); color: var(--lavender); border: 1px solid rgba(124,58,237,0.3); }
.badge-teal   { background: rgba(45,212,191,0.12); color: var(--teal-soft); border: 1px solid rgba(45,212,191,0.25); }
.badge-rose   { background: rgba(244,114,182,0.12); color: var(--rose); border: 1px solid rgba(244,114,182,0.25); }
.badge-sky    { background: rgba(56,189,248,0.12); color: var(--sky); border: 1px solid rgba(56,189,248,0.25); }
.badge-amber  { background: rgba(252,211,77,0.12); color: var(--amber); border: 1px solid rgba(252,211,77,0.25); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 11px 26px;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--violet);
  color: #fff;
}
.btn-primary:hover { background: var(--violet-soft); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(124,58,237,0.4); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--lavender);
  border: 1px solid var(--border2);
}
.btn-outline:hover { background: rgba(124,58,237,0.1); border-color: var(--violet); color: var(--lavender-lt); }

.reading-level {
  display: inline-flex;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 2px 9px;
  border-radius: 8px;
}
.level-beginner  { background: rgba(45,212,191,0.12); color: var(--teal-soft); }
.level-mid       { background: rgba(167,139,250,0.12); color: var(--lavender); }
.level-research  { background: rgba(244,114,182,0.12); color: var(--rose); }

/* ─── REVEAL ANIMATIONS ──────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── GRID OVERLAY ───────────────────────────────── */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139,92,246,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,92,246,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
}

/* ─── ORBS ───────────────────────────────────────── */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: orbPulse 7s ease-in-out infinite;
}
@keyframes orbPulse {
  0%,100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.1); opacity: 1; }
}

/* ─── HEADER / NAV ───────────────────────────────── */
#masthead {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  background: rgba(8,6,19,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
#masthead.scrolled { background: rgba(8,6,19,0.97); }

.site-branding { display: flex; flex-direction: column; gap: 1px; }
.site-title {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text);
  letter-spacing: -0.3px;
  line-height: 1;
}
.site-title em { color: var(--violet-soft); font-style: italic; }
.site-title a { color: inherit; text-decoration: none; }
.site-description {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text3);
}

.main-navigation { display: flex; align-items: center; gap: 2rem; }
.main-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2rem; }
.main-navigation ul li a {
  font-size: 13px;
  color: var(--text2);
  font-weight: 400;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}
.main-navigation ul li a:hover { color: var(--lavender-lt); }

.nav-cta-btn {
  font-size: 12px;
  font-weight: 500;
  padding: 7px 18px;
  border-radius: 24px;
  border: 1px solid var(--border2);
  color: var(--lavender);
  background: rgba(124,58,237,0.1);
  transition: var(--transition);
  cursor: pointer;
  font-family: var(--font-body);
  text-decoration: none;
}
.nav-cta-btn:hover { background: rgba(124,58,237,0.22); border-color: var(--violet); color: var(--lavender-lt); }

/* Mobile hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border2);
  color: var(--lavender);
  padding: 7px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  transition: var(--transition);
}
.menu-toggle:hover { background: rgba(124,58,237,0.1); }

/* ─── HERO (FRONT PAGE) ──────────────────────────── */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124,58,237,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(45,212,191,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 60%, rgba(244,114,182,0.07) 0%, transparent 55%),
    var(--bg);
}
.orb1 { width:400px; height:400px; background:radial-gradient(circle,rgba(124,58,237,0.22),transparent 70%); top:-100px; left:-80px; animation-delay:0s; }
.orb2 { width:300px; height:300px; background:radial-gradient(circle,rgba(45,212,191,0.14),transparent 70%); bottom:0; right:-60px; animation-delay:-3s; }
.orb3 { width:250px; height:250px; background:radial-gradient(circle,rgba(244,114,182,0.12),transparent 70%); top:30%; right:15%; animation-delay:-5s; }
.orb4 { width:180px; height:180px; background:radial-gradient(circle,rgba(56,189,248,0.1),transparent 70%); bottom:20%; left:10%; animation-delay:-2s; }

.hero-inner { position: relative; z-index: 2; max-width: 780px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124,58,237,0.12);
  border: 1px solid var(--border2);
  color: var(--lavender);
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 24px;
  margin-bottom: 2rem;
  font-weight: 600;
  animation: fadeUp 0.8s ease both;
}
.live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--violet-soft);
  animation: dotBlink 2s ease-in-out infinite;
}
@keyframes dotBlink { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(0.6)} }

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  animation: fadeUp 0.8s 0.15s ease both;
}
.hero-title .em-violet { color: var(--lavender); font-style: italic; }
.hero-title .em-teal   { color: var(--teal-soft); }

.hero-subtitle {
  font-size: 17px;
  color: var(--text2);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
  line-height: 1.8;
  animation: fadeUp 0.8s 0.3s ease both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 3.5rem;
  animation: fadeUp 0.8s 0.45s ease both;
}

.soundwave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 40px;
  animation: fadeUp 0.8s 0.6s ease both;
}
.sw-bar {
  width: 3px;
  border-radius: 4px;
  opacity: 0.55;
  animation: swAnim 1.4s ease-in-out infinite;
}
.sw-bar:nth-child(odd)  { background: var(--violet-soft); }
.sw-bar:nth-child(even) { background: var(--lavender); }
.sw-bar:nth-child(5), .sw-bar:nth-child(9)  { background: var(--teal); opacity: 0.45; }
.sw-bar:nth-child(13) { background: var(--rose); opacity: 0.4; }
@keyframes swAnim { 0%,100%{transform:scaleY(1)} 50%{transform:scaleY(0.25)} }

.scroll-indicator {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: fadeUp 1s 1s ease both;
}
.scroll-indicator span { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--text3); }
.scroll-line { width: 1px; height: 36px; background: linear-gradient(to bottom, var(--violet), transparent); animation: scrollDrop 2s ease-in-out infinite; }
@keyframes scrollDrop { 0%{transform:scaleY(0);transform-origin:top} 50%{transform:scaleY(1);transform-origin:top} 51%{transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

@keyframes fadeUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }

/* ─── CATEGORY FILTER STRIP ──────────────────────── */
.filter-strip { padding: 2rem 0 1rem; }
.filter-label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--text3); margin-bottom: 1rem; }
.filter-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-pill {
  font-size: 12px;
  font-weight: 500;
  padding: 7px 18px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  color: var(--text3);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
  letter-spacing: 0.2px;
}
.filter-pill:hover, .filter-pill.active {
  background: rgba(124,58,237,0.2);
  border-color: var(--violet);
  color: var(--lavender-lt);
}

/* ─── BLOG LAYOUT ────────────────────────────────── */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  padding: 3rem 0 5rem;
  align-items: start;
}

/* ─── POST CARDS ─────────────────────────────────── */
.post-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  margin-bottom: 1.5rem;
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 220px;
}
.post-card:hover {
  transform: translateY(-4px);
  border-color: var(--border2);
  box-shadow: 0 16px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(124,58,237,0.15);
}

.post-card.featured-card {
  grid-template-columns: 1fr;
  grid-template-rows: 280px 1fr;
  margin-bottom: 2rem;
}

.post-card-thumb {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.post-card:hover .post-card-thumb img { transform: scale(1.04); }

.post-card-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  position: relative;
}
.thumb-art {
  position: absolute;
  inset: 0;
}
.thumb-icon { position: relative; z-index: 1; filter: drop-shadow(0 0 16px rgba(167,139,250,0.4)); }

.cat-color-violet { background: linear-gradient(145deg,#1A0933,#3D1A6B,#0C1E40); }
.cat-color-violet .thumb-art { background: radial-gradient(circle at 50% 50%,rgba(124,58,237,0.4),transparent 65%); }
.cat-color-teal   { background: linear-gradient(145deg,#041A1A,#0A3A3A); }
.cat-color-teal   .thumb-art { background: radial-gradient(circle at 50% 50%,rgba(45,212,191,0.35),transparent 65%); }
.cat-color-rose   { background: linear-gradient(145deg,#1F0A20,#4A1040); }
.cat-color-rose   .thumb-art { background: radial-gradient(circle at 50% 50%,rgba(244,114,182,0.35),transparent 65%); }
.cat-color-sky    { background: linear-gradient(145deg,#071828,#0A2E50); }
.cat-color-sky    .thumb-art { background: radial-gradient(circle at 50% 50%,rgba(56,189,248,0.3),transparent 65%); }
.cat-color-amber  { background: linear-gradient(145deg,#1A1004,#3D2A08); }
.cat-color-amber  .thumb-art { background: radial-gradient(circle at 50% 50%,rgba(252,211,77,0.28),transparent 65%); }
.cat-color-green  { background: linear-gradient(145deg,#071A0D,#0A3520); }
.cat-color-green  .thumb-art { background: radial-gradient(circle at 50% 50%,rgba(110,231,183,0.28),transparent 65%); }

.post-card-body { padding: 1.75rem; display: flex; flex-direction: column; justify-content: center; gap: 0.75rem; }
.featured-card .post-card-body { padding: 2rem 2.5rem; }

.post-cat-badge { display: flex; align-items: center; gap: 8px; }
.post-cat-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.cat-violet-text { color: var(--violet-soft); }
.cat-teal-text   { color: var(--teal-soft); }
.cat-rose-text   { color: var(--rose); }
.cat-sky-text    { color: var(--sky); }
.cat-amber-text  { color: var(--amber); }
.cat-green-text  { color: var(--green); }

.post-title {
  font-family: var(--font-display);
  color: #F0EBFF;
  line-height: 1.25;
  margin: 0;
}
.post-title a { color: inherit; text-decoration: none; transition: color 0.2s; }
.post-title a:hover { color: var(--lavender-lt); }
.post-card .post-title  { font-size: 1.1rem; }
.featured-card .post-title { font-size: 1.65rem; }

.post-excerpt { font-size: 14px; color: var(--text2); line-height: 1.75; font-weight: 300; margin: 0; }

.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--text3);
  letter-spacing: 0.2px;
}
.post-meta-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--violet); display: inline-block; }
.post-meta a { color: var(--text3); }
.post-meta a:hover { color: var(--lavender); }

.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--lavender);
  text-decoration: none;
  margin-top: 0.5rem;
  transition: gap 0.2s, color 0.2s;
}
.read-more-link:hover { gap: 12px; color: var(--lavender-lt); }

/* ─── LOAD MORE / PAGINATION ─────────────────────── */
.pagination-area { text-align: center; padding: 2rem 0; }
.nav-links-wrap { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 13px;
  color: var(--text2);
  border: 1px solid var(--border);
  background: var(--card);
  transition: var(--transition);
}
.page-numbers:hover, .page-numbers.current {
  background: rgba(124,58,237,0.2);
  border-color: var(--violet);
  color: var(--lavender-lt);
}

/* ─── SIDEBAR ────────────────────────────────────── */
.sidebar { display: flex; flex-direction: column; gap: 2rem; }

.widget {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.widget-title {
  font-family: var(--font-display);
  font-size: 15px;
  color: #F0EBFF;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.widget-title::before {
  content: '';
  display: block;
  width: 3px; height: 16px;
  background: var(--violet);
  border-radius: 2px;
}

/* Search widget */
.widget .search-form {
  display: flex;
  gap: 8px;
}
.widget .search-field {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border2);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 13px;
  padding: 9px 14px;
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s;
}
.widget .search-field:focus { border-color: var(--violet); }
.widget .search-field::placeholder { color: var(--text3); }
.widget .search-submit {
  background: var(--violet);
  color: #fff;
  border: none;
  padding: 9px 16px;
  border-radius: 12px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  transition: background 0.2s;
}
.widget .search-submit:hover { background: var(--violet-soft); }

/* Categories widget */
.widget_categories ul,
.widget_archive ul,
.widget_recent_entries ul { list-style: none; padding: 0; margin: 0; }
.widget_categories li,
.widget_archive li,
.widget_recent_entries li {
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  margin: 0;
}
.widget_categories li:last-child,
.widget_archive li:last-child,
.widget_recent_entries li:last-child { border-bottom: none; }
.widget_categories a,
.widget_archive a,
.widget_recent_entries a {
  font-size: 13px;
  color: var(--text2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}
.widget_categories a:hover,
.widget_archive a:hover,
.widget_recent_entries a:hover { color: var(--lavender-lt); }

/* Recent posts widget */
.widget_recent_entries li .post-date { font-size: 11px; color: var(--text3); margin-top: 3px; }

/* Newsletter Widget */
.tmm-newsletter-widget .newsletter-subtitle {
  font-size: 13px;
  color: var(--text2);
  margin-bottom: 1rem;
  font-weight: 300;
  line-height: 1.6;
}
.tmm-newsletter-widget input[type="email"] {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border2);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 12px;
  outline: none;
  margin-bottom: 8px;
  transition: border-color 0.2s;
}
.tmm-newsletter-widget input[type="email"]:focus { border-color: var(--violet); }
.tmm-newsletter-widget input::placeholder { color: var(--text3); }
.tmm-newsletter-widget .subscribe-btn {
  width: 100%;
  background: var(--violet);
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 12px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s;
}
.tmm-newsletter-widget .subscribe-btn:hover { background: var(--violet-soft); }

/* Tags widget */
.tagcloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tagcloud a {
  font-size: 11px !important;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--text2);
  background: rgba(255,255,255,0.02);
  transition: var(--transition);
}
.tagcloud a:hover { border-color: var(--border2); color: var(--lavender-lt); background: rgba(124,58,237,0.1); }

/* ─── SINGLE POST ────────────────────────────────── */
.single-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  padding: 2rem 0 5rem;
  align-items: start;
}

.reading-progress {
  position: fixed;
  top: 64px; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--teal));
  width: 0%;
  z-index: 999;
  transition: width 0.1s;
}

.single-hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2.5rem;
  min-height: 360px;
  position: relative;
  display: flex;
  align-items: flex-end;
}
.single-hero-img {
  position: absolute;
  inset: 0;
}
.single-hero-img img { width:100%; height:100%; object-fit:cover; }
.single-hero-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 96px;
  filter: drop-shadow(0 0 40px rgba(167,139,250,0.35));
}
.single-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,6,19,0.9) 0%, rgba(8,6,19,0.3) 50%, transparent 100%);
}
.single-hero-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem;
  width: 100%;
}
.single-hero-content .entry-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #F5F0FF;
  margin-bottom: 1rem;
}
.single-hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text2);
}
.single-hero-meta .sep { color: var(--violet); }

.entry-content {
  font-size: 17px;
  line-height: 1.88;
  color: var(--text2);
  font-weight: 300;
}
.entry-content h1, .entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5, .entry-content h6 {
  color: #F0EBFF;
  margin: 2rem 0 1rem;
  font-family: var(--font-display);
}
.entry-content h2 { font-size: 1.7rem; }
.entry-content h3 { font-size: 1.35rem; }
.entry-content p { color: var(--text2); font-weight: 300; line-height: 1.88; }
.entry-content a { color: var(--lavender); border-bottom: 1px solid rgba(167,139,250,0.3); }
.entry-content a:hover { color: var(--lavender-lt); border-color: var(--lavender); }
.entry-content ul, .entry-content ol { color: var(--text2); }
.entry-content img { border-radius: var(--radius-md); margin: 2rem 0; }
.entry-content .wp-block-quote,
.entry-content blockquote {
  border-left: 3px solid var(--violet);
  padding: 1.25rem 1.75rem;
  margin: 2rem 0;
  background: rgba(124,58,237,0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-quote);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--lavender-lt);
}

/* Research callout */
.research-callout {
  border: 1px solid rgba(45,212,191,0.25);
  background: rgba(45,212,191,0.05);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-size: 14px;
  color: var(--text2);
}
.research-callout::before {
  content: '🔬 Research says';
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal-soft);
  margin-bottom: 0.5rem;
}

/* Post tags / sharing */
.post-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.post-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 1.5rem; }
.post-tags span { font-size: 11px; color: var(--text3); letter-spacing: 1px; text-transform: uppercase; }
.post-tags a {
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--text2);
  background: rgba(255,255,255,0.02);
  transition: var(--transition);
}
.post-tags a:hover { border-color: var(--border2); color: var(--lavender-lt); }

.share-section { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.share-label { font-size: 11px; color: var(--text3); letter-spacing: 1px; text-transform: uppercase; }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--text2);
  background: var(--card);
  transition: var(--transition);
  cursor: pointer;
  font-family: var(--font-body);
  text-decoration: none;
}
.share-btn:hover { border-color: var(--border2); color: var(--lavender-lt); background: rgba(124,58,237,0.08); }

/* Author box */
.author-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  margin-top: 2rem;
  align-items: flex-start;
}
.author-avatar img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.author-avatar-placeholder {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(124,58,237,0.2);
  border: 1px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--lavender);
  font-family: var(--font-display);
  font-weight: 400;
  flex-shrink: 0;
}
.author-info .author-name { font-family: var(--font-display); font-size: 16px; color: #F0EBFF; margin-bottom: 4px; }
.author-info .author-bio { font-size: 13px; color: var(--text2); line-height: 1.65; font-weight: 300; }

/* Related posts */
.related-posts { margin-top: 3rem; }
.related-posts h3 { font-family: var(--font-display); font-size: 1.3rem; color: #F0EBFF; margin-bottom: 1.5rem; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.related-card:hover { transform: translateY(-3px); border-color: var(--border2); }
.related-card-thumb { height: 100px; }
.related-card-body { padding: 1rem; }
.related-card .post-title { font-size: 0.9rem; }

/* ─── QUOTE BAND ──────────────────────────────────── */
.quote-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(124,58,237,0.06), rgba(45,212,191,0.04), rgba(244,114,182,0.04));
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quote-band::before {
  content: '\201C';
  position: absolute;
  font-family: var(--font-quote);
  font-size: 200px;
  top: -40px; left: 5%;
  color: rgba(124,58,237,0.06);
  line-height: 1;
  pointer-events: none;
}
.rotating-quote-text {
  font-family: var(--font-quote);
  font-style: italic;
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  color: var(--lavender-lt);
  line-height: 1.55;
  max-width: 680px;
  margin: 0 auto;
  min-height: 3em;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.rotating-quote-text.fade { opacity: 0; transform: translateY(8px); }
.quote-source-label { margin-top: 1rem; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--text3); }
.quote-nav-dots { display: flex; justify-content: center; gap: 6px; margin-top: 1.25rem; }
.q-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--border2);
  cursor: pointer;
  transition: background 0.3s;
  border: none;
}
.q-dot.active { background: var(--violet); }

/* ─── NEWSLETTER SECTION ──────────────────────────── */
.newsletter-section { padding: 0 0 5rem; }
.newsletter-box {
  background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(45,212,191,0.05));
  border: 1px solid var(--border2);
  border-radius: 28px;
  padding: 4rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter-box::before {
  content:''; position:absolute;
  width:300px; height:300px; border-radius:50%;
  background:radial-gradient(circle,rgba(124,58,237,0.15),transparent 70%);
  top:-100px; right:-50px; pointer-events:none;
}
.newsletter-box::after {
  content:''; position:absolute;
  width:200px; height:200px; border-radius:50%;
  background:radial-gradient(circle,rgba(45,212,191,0.1),transparent 70%);
  bottom:-60px; left:-30px; pointer-events:none;
}
.newsletter-inner { position:relative; z-index:1; max-width:540px; margin:0 auto; }
.newsletter-eyebrow { margin-bottom: 1.5rem; }
.newsletter-title { font-family: var(--font-display); font-size: 2.2rem; color: #F5F0FF; margin-bottom: 0.75rem; }
.newsletter-title em { color: var(--lavender); font-style: italic; }
.newsletter-subtitle { font-size: 14px; color: var(--text2); line-height: 1.75; margin-bottom: 2rem; font-weight: 300; }
.newsletter-form { display: flex; gap: 10px; max-width: 420px; margin: 0 auto; }
.newsletter-email {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border2);
  color: var(--text);
  font-size: 14px;
  padding: 12px 18px;
  border-radius: 32px;
  outline: none;
  font-family: var(--font-body);
  transition: border-color 0.2s, background 0.2s;
}
.newsletter-email::placeholder { color: var(--text3); }
.newsletter-email:focus { border-color: var(--violet); background: rgba(124,58,237,0.08); }
.newsletter-submit {
  background: var(--violet);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 12px 22px;
  border-radius: 32px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font-body);
  transition: background 0.2s, transform 0.2s;
}
.newsletter-submit:hover { background: var(--violet-soft); transform: translateY(-1px); }
.newsletter-note { margin-top: 0.75rem; font-size: 11px; color: var(--text3); }

/* ─── ABOUT SECTION ──────────────────────────────── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 5rem 0;
  align-items: center;
}
.about-visual-wrap {
  position: relative;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(145deg,#130820,#0C1F3A,#0A1420);
}
.about-visual-art {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 50%,rgba(124,58,237,0.25),transparent 55%),
    radial-gradient(circle at 75% 30%,rgba(45,212,191,0.15),transparent 45%),
    radial-gradient(circle at 60% 80%,rgba(244,114,182,0.12),transparent 40%);
}
.about-visual-icon {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 100px;
  filter: drop-shadow(0 0 40px rgba(167,139,250,0.35));
  animation: floatIcon 5s ease-in-out infinite;
}
@keyframes floatIcon { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.about-pillars-row {
  position: absolute; bottom: 20px; left: 20px; right: 20px;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.about-pillar-chip {
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 10px;
  border: 1px solid rgba(167,139,250,0.25);
  background: rgba(124,58,237,0.1);
  color: var(--lavender);
}
.about-text-wrap { display: flex; flex-direction: column; gap: 1.25rem; }
.about-eyebrow {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--teal-soft);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
.about-eyebrow::before { content:''; display:block; width:28px; height:1px; background:var(--teal); }
.about-heading { font-family: var(--font-display); font-size: clamp(1.8rem,3vw,2.5rem); color:#F0EBFF; line-height:1.2; }
.about-heading em { color: var(--lavender); font-style: italic; }
.about-body { font-size: 15px; color: var(--text2); line-height: 1.85; font-weight: 300; }
.stats-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.stat-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
}
.stat-num { font-family: var(--font-display); font-size: 1.6rem; color: var(--lavender-lt); line-height:1; margin-bottom: 4px; }
.stat-lbl { font-size: 10px; color: var(--text3); letter-spacing: 0.5px; }

/* ─── COMMENTS ───────────────────────────────────── */
.comments-area { margin-top: 3rem; }
.comments-title { font-family: var(--font-display); font-size: 1.4rem; color: #F0EBFF; margin-bottom: 1.5rem; }

.comment-list { list-style: none; padding: 0; }
.comment-body {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.comment-author .fn { font-weight: 500; color: #F0EBFF; font-size: 14px; }
.comment-metadata { font-size: 11px; color: var(--text3); margin: 4px 0 0.75rem; }
.comment-content p { font-size: 14px; color: var(--text2); margin: 0; }
.reply a { font-size: 11px; color: var(--violet-soft); margin-top: 8px; display: inline-block; }

.comment-form-comment label,
.comment-form-author label,
.comment-form-email label,
.comment-form-url label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 6px;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border2);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 1rem;
}
.comment-form input:focus,
.comment-form textarea:focus { border-color: var(--violet); }
.comment-form textarea { resize: vertical; min-height: 120px; }
.comment-form input::placeholder,
.comment-form textarea::placeholder { color: var(--text3); }
.comment-form #submit {
  background: var(--violet);
  color: #fff;
  border: none;
  padding: 11px 28px;
  border-radius: 24px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s;
}
.comment-form #submit:hover { background: var(--violet-soft); }

/* ─── PAGE ───────────────────────────────────────── */
.page-header {
  padding: 7rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content:'';
  position:absolute; inset:0;
  background:radial-gradient(ellipse 80% 60% at 50% 0%,rgba(124,58,237,0.12),transparent 70%);
}
.page-header .page-title {
  font-size: clamp(2rem,5vw,3.5rem);
  position: relative;
  z-index: 1;
}
.page-content-wrap { max-width: 780px; margin: 0 auto; padding: 2rem 2rem 5rem; }
.page-content-wrap .entry-content { font-size: 17px; }

/* ─── FOOTER ──────────────────────────────────────── */
#colophon {
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  background: rgba(15,11,31,0.6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .site-title { font-size: 20px; margin-bottom: 0.5rem; }
.footer-brand .site-description { font-size: 9px; margin-bottom: 1rem; }
.footer-about { font-size: 13px; color: var(--text3); line-height: 1.7; max-width: 280px; font-weight: 300; }

.footer-col-title {
  font-family: var(--font-display);
  font-size: 14px;
  color: #F0EBFF;
  margin-bottom: 1rem;
}
.footer-col-links { list-style: none; padding: 0; }
.footer-col-links li { margin-bottom: 8px; }
.footer-col-links a { font-size: 13px; color: var(--text3); transition: color 0.2s; }
.footer-col-links a:hover { color: var(--lavender); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copyright { font-size: 12px; color: var(--text3); }
.footer-credits { font-size: 12px; color: var(--text3); }
.footer-credits a { color: var(--violet-soft); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 12px; color: var(--text3); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--lavender); }

/* ─── ARCHIVE / CATEGORY PAGE ────────────────────── */
.archive-header {
  padding: 7rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}
.archive-header::before {
  content:''; position:absolute; inset:0;
  background:radial-gradient(ellipse 80% 60% at 50% 0%,rgba(124,58,237,0.12),transparent 70%);
}
.archive-title { font-size: clamp(2rem,5vw,3.5rem); position:relative; z-index:1; }
.archive-description { font-size: 15px; color: var(--text2); max-width: 500px; margin: 0.75rem auto 0; font-weight: 300; position:relative; z-index:1; }
.archive-layout { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; padding: 0 0 5rem; align-items: start; }

/* ─── 404 ─────────────────────────────────────────── */
.error-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 2rem;
}
.error-404-inner .error-code {
  font-family: var(--font-display);
  font-size: 8rem;
  line-height: 1;
  color: var(--violet);
  opacity: 0.3;
  margin-bottom: 0;
}
.error-404-inner h1 { font-size: 2rem; margin-bottom: 1rem; }
.error-404-inner p { font-size: 15px; color: var(--text2); max-width: 400px; margin: 0 auto 2rem; }

/* ─── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1024px) {
  .blog-layout { grid-template-columns: 1fr; }
  .single-layout { grid-template-columns: 1fr; }
  .archive-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  #masthead { padding: 0 1.25rem; }
  .main-navigation > ul { display: none; }
  .main-navigation.toggled > ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: rgba(8,6,19,0.98);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
  }
  .menu-toggle { display: flex; }
  .post-card { grid-template-columns: 1fr; }
  .post-card-thumb { height: 200px; }
  .about-split { grid-template-columns: 1fr; }
  .about-visual-wrap { height: 260px; }
  .footer-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .hero-actions { flex-direction: column; }
}
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero-section { padding: 7rem 1rem 4rem; }
  .newsletter-box { padding: 2.5rem 1.25rem; }
}
