/* ══════════════════════════════════════════════════════════
   THE VIBE — screen.css
   Sovereign Futurism Design System for Creatiq Communications
   Dark-mode-first · Oswald + DM Sans · Purple (#8B5CF6) accent
   ══════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ─── */
:root {
  /* Purple palette */
  --purple: #8B5CF6;
  --purple-light: #A78BFA;
  --purple-deep: #7C3AED;
  --purple-glow: rgba(139, 92, 246, 0.15);
  --purple-glow-strong: rgba(139, 92, 246, 0.3);
  --stellar-pink: #ec4899;
  --green: #34D399;

  /* Typography */
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Sizing */
  --nav-height: 72px;
  --radius: 16px;
  --radius-sm: 8px;
  --content-width: 720px;
  --wide-width: 1200px;
  --site-width: 1320px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition: 0.3s var(--ease);
}

/* ─── DARK THEME (default) ─── */
[data-theme="dark"] {
  --bg: #0A0A0F;
  --bg-2: #111118;
  --bg-card: #14141C;
  --bg-card-hover: #1A1A24;
  --text: #FAFAFC;
  --text-sub: rgba(250, 250, 252, 0.5);
  --text-muted: rgba(250, 250, 252, 0.35);
  --border: rgba(139, 92, 246, 0.12);
  --border-hover: rgba(139, 92, 246, 0.3);
  --nav-bg: rgba(10, 10, 15, 0.8);
  --code-bg: #1a1a2e;
  --blockquote-border: var(--purple);
  --blockquote-bg: rgba(139, 92, 246, 0.05);
}

/* ─── LIGHT THEME ─── */
[data-theme="light"] {
  --bg: #FAFAFC;
  --bg-2: #F0F0F5;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F5F5FA;
  --text: #0A0A0F;
  --text-sub: rgba(10, 10, 15, 0.6);
  --text-muted: rgba(10, 10, 15, 0.35);
  --border: rgba(10, 10, 15, 0.08);
  --border-hover: rgba(139, 92, 246, 0.3);
  --nav-bg: rgba(250, 250, 252, 0.85);
  --code-bg: #f0f0f5;
  --blockquote-border: var(--purple);
  --blockquote-bg: rgba(139, 92, 246, 0.04);
}


/* ═══════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}

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

a:hover { color: var(--purple); }

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

::selection {
  background: var(--purple);
  color: #fff;
}


/* ═══════════════════════════════════════
   READING PROGRESS BAR
   ═══════════════════════════════════════ */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--stellar-pink));
  z-index: 1001;
  transition: width 0.1s linear;
  pointer-events: none;
}


/* ═══════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: transparent;
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.nav__inner {
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
}

.nav__logo {
  height: 22px;
  width: auto;
  display: block;
}

.nav__wordmark {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text);
  transition: color var(--transition);
}

.nav__brand:hover .nav__wordmark { color: var(--purple-light); }

.nav__links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav__links a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-sub);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--transition);
  position: relative;
}

.nav__links a:hover,
.nav__links a.nav__link--active {
  color: var(--text);
}

.nav__links a.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--purple);
  border-radius: 1px;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Theme toggle */
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-sub);
  transition: all var(--transition);
}

.theme-toggle:hover {
  border-color: var(--purple);
  color: var(--purple-light);
  background: var(--purple-glow);
}

[data-theme="dark"] .theme-icon--moon { display: none; }
[data-theme="light"] .theme-icon--sun { display: none; }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px;
}

.hamburger__line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active .hamburger__line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active .hamburger__line:nth-child(2) { opacity: 0; }
.hamburger.active .hamburger__line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu__inner {
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mobile-menu__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-menu__links li {
  border-bottom: 1px solid var(--border);
}

.mobile-menu__links a {
  display: block;
  padding: 20px 0;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-sub);
  transition: color var(--transition);
}

.mobile-menu__links a:hover,
.mobile-menu__links a.nav__link--active {
  color: var(--purple-light);
}


/* ═══════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn--primary {
  background: var(--purple);
  color: #fff;
  padding: 14px 32px;
}

.btn--primary:hover {
  background: var(--purple-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--purple-light);
  border: 1px solid var(--border);
  padding: 12px 28px;
}

.btn--outline:hover {
  border-color: var(--purple);
  background: var(--purple-glow);
  color: var(--purple);
}


/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.vibe-hero {
  position: relative;
  padding: 160px 24px 80px;
  text-align: center;
  overflow: hidden;
}

.vibe-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
}

.ambient-orb--1 {
  width: 400px;
  height: 400px;
  background: var(--purple);
  top: -100px;
  left: -100px;
  animation: float 12s ease-in-out infinite;
}

.ambient-orb--2 {
  width: 300px;
  height: 300px;
  background: var(--stellar-pink);
  bottom: -80px;
  right: -80px;
  animation: float 16s ease-in-out infinite reverse;
}

[data-theme="light"] .ambient-orb { opacity: 0.15; }

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -20px); }
  66% { transform: translate(-20px, 15px); }
}

.vibe-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.vibe-hero__label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--purple-light);
  margin-bottom: 20px;
}

.vibe-hero__headline {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 20px;
}

.vibe-hero__headline em {
  font-style: italic;
  background: linear-gradient(135deg, var(--purple-light), var(--stellar-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.vibe-hero__sub {
  font-size: 1.125rem;
  color: var(--text-sub);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto;
}


/* ═══════════════════════════════════════
   FEATURED POST
   ═══════════════════════════════════════ */
.featured-post {
  max-width: var(--wide-width);
  margin: 0 auto 60px;
  padding: 0 24px;
}

.featured-post__link {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: all var(--transition);
}

.featured-post__link:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.12);
}

.featured-post__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.featured-post__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.featured-post__link:hover .featured-post__image img {
  transform: scale(1.05);
}

.featured-post__content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-post__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.featured-post__badge {
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--purple);
  background: var(--purple-glow);
  padding: 4px 12px;
  border-radius: 4px;
}

.featured-post__tag {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-sub);
}

.featured-post__date {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.featured-post__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 12px;
}

.featured-post__excerpt {
  font-size: 1rem;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 20px;
}

.featured-post__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--purple-light);
  transition: color var(--transition);
}

.featured-post__link:hover .featured-post__cta { color: var(--purple); }


/* ═══════════════════════════════════════
   POST FEED
   ═══════════════════════════════════════ */
.post-feed-section {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 0 24px 80px;
}

.post-feed-section__header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-sub);
  white-space: nowrap;
}

.section-rule {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.post-feed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}


/* ═══════════════════════════════════════
   POST CARD
   ═══════════════════════════════════════ */
.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.post-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(139, 92, 246, 0.1);
  background: var(--bg-card-hover);
}

.post-card__link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  height: 100%;
}

.post-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.post-card:hover .post-card__image img {
  transform: scale(1.05);
}

.post-card__content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.post-card__tag {
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--purple-light);
}

.post-card__date {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.post-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 10px;
  transition: color var(--transition);
}

.post-card:hover .post-card__title { color: var(--purple-light); }

.post-card__excerpt {
  font-size: 0.9375rem;
  color: var(--text-sub);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.post-card__read-time {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.post-card__featured {
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--stellar-pink);
}


/* ═══════════════════════════════════════
   SINGLE POST
   ═══════════════════════════════════════ */
.post-full {
  padding-top: calc(var(--nav-height) + 40px);
}

.post-full__header {
  text-align: center;
  padding: 40px 24px 32px;
}

.post-full__header-inner {
  max-width: var(--content-width);
  margin: 0 auto;
}

.post-full__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.post-full__tag {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--purple-light);
  background: var(--purple-glow);
  padding: 6px 14px;
  border-radius: 4px;
  text-decoration: none;
  transition: all var(--transition);
}

.post-full__tag:hover {
  background: var(--purple-glow-strong);
  color: var(--purple);
}

.post-full__date,
.post-full__reading-time {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.post-full__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
}

.post-full__excerpt {
  font-size: 1.125rem;
  color: var(--text-sub);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 24px;
}

.post-full__byline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.post-full__author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.post-full__author-name {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-sub);
}

/* Featured image */
.post-full__image {
  max-width: var(--wide-width);
  margin: 0 auto 48px;
  padding: 0 24px;
}

.post-full__image img {
  width: 100%;
  border-radius: var(--radius);
}

.post-full__caption {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 12px;
}


/* ─── GHOST CONTENT (gh-content) ─── */
.post-full__body {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px 48px;
}

.gh-content h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--text);
  margin: 48px 0 16px;
}

.gh-content h3 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: var(--text);
  margin: 40px 0 12px;
}

.gh-content h4 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text);
  margin: 32px 0 10px;
}

.gh-content p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-sub);
  margin-bottom: 24px;
}

.gh-content a {
  color: var(--purple-light);
  text-decoration: underline;
  text-decoration-color: rgba(139, 92, 246, 0.3);
  text-underline-offset: 3px;
  transition: all var(--transition);
}

.gh-content a:hover {
  color: var(--purple);
  text-decoration-color: var(--purple);
}

.gh-content strong { color: var(--text); font-weight: 600; }

.gh-content ul, .gh-content ol {
  padding-left: 24px;
  margin-bottom: 24px;
}

.gh-content li {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-sub);
  margin-bottom: 8px;
}

.gh-content li::marker { color: var(--purple); }

.gh-content blockquote {
  border-left: 3px solid var(--blockquote-border);
  background: var(--blockquote-bg);
  padding: 20px 24px;
  margin: 32px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.gh-content blockquote p {
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 0;
}

.gh-content pre {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  overflow-x: auto;
  margin-bottom: 24px;
}

.gh-content code {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.875rem;
}

.gh-content p code {
  background: var(--code-bg);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.875em;
}

.gh-content hr {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 48px 0;
}

.gh-content img {
  border-radius: var(--radius-sm);
  margin: 32px 0;
}

.gh-content figcaption {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: -20px;
  margin-bottom: 32px;
}

/* Ghost cards (gallery, bookmark, etc.) */
.gh-content .kg-image-card,
.gh-content .kg-gallery-card {
  margin: 32px 0;
}

.gh-content .kg-width-wide {
  max-width: calc(var(--content-width) + 200px);
  margin-left: calc(50% - (var(--content-width) + 200px) / 2);
  margin-right: calc(50% - (var(--content-width) + 200px) / 2);
}

.gh-content .kg-width-full {
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.gh-content .kg-bookmark-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition);
}

.gh-content .kg-bookmark-card:hover { border-color: var(--border-hover); }

.gh-content .kg-bookmark-container {
  display: flex;
  text-decoration: none;
}

.gh-content .kg-bookmark-content {
  padding: 20px;
  flex: 1;
}

.gh-content .kg-bookmark-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.gh-content .kg-bookmark-description {
  font-size: 0.875rem;
  color: var(--text-sub);
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gh-content .kg-bookmark-metadata {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.gh-content .kg-bookmark-icon {
  width: 16px;
  height: 16px;
}

.gh-content .kg-bookmark-thumbnail {
  width: 200px;
  min-height: 100%;
}

.gh-content .kg-bookmark-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  border-radius: 0;
}


/* ─── POST FOOTER ─── */
.post-full__footer {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px 80px;
}

.post-full__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.post-full__tag-pill {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-sub);
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 20px;
  text-decoration: none;
  transition: all var(--transition);
}

.post-full__tag-pill:hover {
  border-color: var(--purple);
  color: var(--purple-light);
  background: var(--purple-glow);
}

/* Author card */
.post-full__author-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 40px;
}

.post-full__author-card-image {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.post-full__author-card-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 4px;
}

.post-full__author-card-bio {
  font-size: 0.875rem;
  color: var(--text-sub);
  line-height: 1.5;
}

/* Prev / Next nav */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.post-nav__link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all var(--transition);
}

.post-nav__link:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.post-nav__link--next { text-align: right; }

.post-nav__label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--purple-light);
}

.post-nav__link--next .post-nav__label { justify-content: flex-end; }

.post-nav__title {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1.3;
}


/* ═══════════════════════════════════════
   STATIC PAGE
   ═══════════════════════════════════════ */
.page-full {
  padding-top: calc(var(--nav-height) + 40px);
}

.page-full__header {
  text-align: center;
  padding: 40px 24px 32px;
  max-width: var(--content-width);
  margin: 0 auto;
}

.page-full__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
}

.page-full__excerpt {
  font-size: 1.125rem;
  color: var(--text-sub);
  line-height: 1.6;
}

.page-full__image {
  max-width: var(--wide-width);
  margin: 0 auto 48px;
  padding: 0 24px;
}

.page-full__image img {
  width: 100%;
  border-radius: var(--radius);
}

.page-full__body {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px 80px;
}


/* ═══════════════════════════════════════
   TAG & AUTHOR ARCHIVES
   ═══════════════════════════════════════ */
.tag-archive,
.author-archive {
  padding-top: calc(var(--nav-height) + 40px);
  max-width: var(--wide-width);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  padding-bottom: 80px;
}

.tag-archive__header,
.author-archive__header {
  text-align: center;
  padding: 40px 0 48px;
}

.tag-archive__label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--purple-light);
  margin-bottom: 12px;
}

.tag-archive__title,
.author-archive__name {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 12px;
}

.tag-archive__description,
.author-archive__bio {
  font-size: 1.0625rem;
  color: var(--text-sub);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 12px;
}

.tag-archive__count,
.author-archive__count {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.author-archive__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 2px solid var(--border);
}

.author-archive__location {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}


/* ═══════════════════════════════════════
   PAGINATION
   ═══════════════════════════════════════ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 0;
  margin-top: 40px;
  border-top: 1px solid var(--border);
}

.pagination__info {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.pagination__links {
  display: flex;
  gap: 12px;
}

.pagination__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-sub);
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition);
}

.pagination__link:hover {
  border-color: var(--purple);
  color: var(--purple-light);
  background: var(--purple-glow);
}


/* ═══════════════════════════════════════
   ERROR PAGE
   ═══════════════════════════════════════ */
.error-page {
  padding: 200px 24px 120px;
  text-align: center;
}

.error-page__code {
  font-family: var(--font-heading);
  font-size: clamp(6rem, 15vw, 10rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--purple-light), var(--stellar-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.error-page__message {
  font-size: 1.25rem;
  color: var(--text-sub);
  margin-bottom: 40px;
}


/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}

.footer__inner {
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 0 24px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__brand { max-width: 300px; }

.footer__wordmark {
  display: inline-block;
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition);
}

.footer__wordmark:hover { color: var(--purple-light); }

.footer__logo {
  height: 22px;
  width: auto;
  display: block;
}

.footer__tagline {
  font-size: 0.875rem;
  color: var(--text-sub);
  margin-top: 8px;
  line-height: 1.5;
}

.footer__columns {
  display: flex;
  gap: 60px;
}

.footer__col-title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 16px;
}

.footer__col ul { list-style: none; }

.footer__col li { margin-bottom: 10px; }

.footer__col a {
  font-size: 0.875rem;
  color: var(--text-sub);
  text-decoration: none;
  transition: color var(--transition);
}

.footer__col a:hover { color: var(--purple-light); }

/* Divider */
.footer__rule {
  height: 1px;
  background: var(--border);
  margin-bottom: 24px;
}

/* Bottom bar */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__copy {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer__powered {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer__powered a {
  color: var(--text-sub);
  text-decoration: none;
  transition: color var(--transition);
}

.footer__powered a:hover { color: var(--purple-light); }

/* Solera OS pulsing dot */
.solera-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--stellar-pink);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(236, 72, 153, 0); }
}


/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .post-feed { grid-template-columns: repeat(2, 1fr); }
  .featured-post__link { grid-template-columns: 1fr; }
  .featured-post__content { padding: 28px; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .hamburger { display: flex; }

  .post-feed { grid-template-columns: 1fr; }

  .vibe-hero { padding: 120px 24px 60px; }

  .footer__top { flex-direction: column; }
  .footer__columns { gap: 40px; }

  .post-nav { grid-template-columns: 1fr; }

  .post-full__author-card { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .vibe-hero__headline { font-size: 2rem; }
  .post-full__title { font-size: 1.75rem; }

  .pagination { flex-direction: column; gap: 16px; text-align: center; }

  .footer__bottom { flex-direction: column; text-align: center; }
  .footer__columns { flex-direction: column; gap: 32px; }
}
