/* ============================================================
   SHEDDAD GHOST THEME — Main Stylesheet
   Brand: #FFC300 Yellow | #0C0C0C Jet Black | #3B3B3B Graphite
   Fonts: Montserrat ExtraBold | Poppins | Manrope
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;800;900&family=Poppins:wght@300;400;500;600&family=Manrope:wght@400;500;600&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Brand Colours */
  --yellow: #FFC300;
  --yellow-dark: #D4A000;
  --yellow-light: #FFD44D;
  --black: #0C0C0C;
  --graphite: #3B3B3B;
  --warm-white: #F9F8F6;
  --mid-grey: #6B6B6B;
  --light-grey: #E8E7E4;
  --border: rgba(59,59,59,0.15);

  /* Surfaces */
  --bg: #0C0C0C;
  --bg-2: #161616;
  --bg-3: #1E1E1E;
  --bg-card: #1A1A1A;
  --text-primary: #F9F8F6;
  --text-secondary: #AAAAAA;
  --text-accent: #FFC300;

  /* Typography */
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --font-accent: 'Manrope', sans-serif;

  /* Type Scale */
  --text-xs: clamp(0.7rem, 1.5vw, 0.75rem);
  --text-sm: clamp(0.8rem, 2vw, 0.875rem);
  --text-base: clamp(0.9rem, 2.5vw, 1rem);
  --text-md: clamp(1rem, 3vw, 1.125rem);
  --text-lg: clamp(1.1rem, 3.5vw, 1.25rem);
  --text-xl: clamp(1.25rem, 4vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 5vw, 2rem);
  --text-3xl: clamp(2rem, 6vw, 3rem);
  --text-hero: clamp(2.5rem, 8vw, 5rem);

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  /* Layout */
  --max-w: 1280px;
  --content-w: 720px;
  --nav-h: 70px;

  /* Effects */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-hover: 0 8px 40px rgba(0,0,0,0.6);
  --transition: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }

p { margin-bottom: var(--sp-4); }
p:last-child { margin-bottom: 0; }

.accent-text {
  font-family: var(--font-accent);
  font-weight: 500;
  color: var(--text-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: var(--text-xs);
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.container-narrow {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.section {
  padding: clamp(var(--sp-12), 8vw, var(--sp-32)) 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.gh-head {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(12, 12, 12, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.gh-head.scrolled {
  box-shadow: 0 4px 32px rgba(0,0,0,0.5);
}

.gh-head-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-6);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}

/* Logo */
.gh-head-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}

.gh-head-logo svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.logo-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.logo-tagline {
  font-family: var(--font-accent);
  font-weight: 500;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-top: 1px;
}

/* Nav Links */
.gh-head-nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
}

/* Ghost outputs <ul class="nav"><li><a> — reset and flex it */
.gh-head-nav .nav {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gh-head-nav .nav li {
  display: flex;
  align-items: center;
}

/* Subtle divider between items */
.gh-head-nav .nav li + li::before {
  content: '';
  display: block;
  width: 1px;
  height: 14px;
  background: var(--border);
  margin: 0 var(--sp-1);
  flex-shrink: 0;
}

.gh-head-nav .nav a {
  font-family: var(--font-accent);
  font-weight: 500;
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
  position: relative;
}

.gh-head-nav .nav a:hover {
  color: var(--yellow);
  background: rgba(255, 195, 0, 0.07);
}

/* Active page link */
.gh-head-nav .nav .nav-current a {
  color: var(--text-primary);
  font-weight: 600;
}

.gh-head-nav .nav .nav-current a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: var(--sp-3);
  right: var(--sp-3);
  height: 2px;
  background: var(--yellow);
  border-radius: 1px;
}

/* CTA Button */
.gh-head-btn {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--yellow);
  color: var(--black);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.gh-head-btn:hover {
  background: var(--yellow-light);
  transform: translateY(-1px);
}

/* Mobile Menu */
.gh-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--sp-2);
  background: none;
  border: none;
}

.gh-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Medium screens — shrink logo, keep nav visible */
@media (max-width: 1024px) {
  .logo-tagline { display: none; }
  .logo-name { font-size: 1.1rem; }
  .gh-head-nav .nav a {
    padding: var(--sp-2) var(--sp-2);
    font-size: 0.78rem;
  }
  .gh-head-nav .nav li + li::before {
    margin: 0 2px;
  }
}

@media (max-width: 768px) {
  .gh-head-nav { display: none; }
  .gh-burger { display: flex; }
  .gh-head-btn { display: none; }

  .gh-head-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--bg-2);
    padding: var(--sp-4);
    border-bottom: 1px solid var(--border);
    gap: var(--sp-2);
  }

  /* Mobile: stack the ul vertically */
  .gh-head-nav.open .nav {
    flex-direction: column;
    width: 100%;
    gap: var(--sp-1);
  }

  .gh-head-nav.open .nav li {
    width: 100%;
  }

  /* Hide dividers on mobile */
  .gh-head-nav.open .nav li + li::before {
    display: none;
  }

  .gh-head-nav.open .nav a {
    display: block;
    width: 100%;
    padding: var(--sp-3) var(--sp-4);
    font-size: var(--text-base);
  }
}

/* ============================================================
   HERO SECTION (Home)
   ============================================================ */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 60% 40%, rgba(255, 195, 0, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(255, 195, 0, 0.03) 0%, transparent 50%),
    var(--bg);
  pointer-events: none;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,195,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,195,0,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--sp-20) var(--sp-6);
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
  font-family: var(--font-accent);
  font-weight: 500;
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--yellow);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-hero);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-6);
  max-width: 14ch;
}

.hero-title .highlight {
  color: var(--yellow);
  display: block;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 50ch;
  line-height: 1.6;
  margin-bottom: var(--sp-10);
}

.hero-actions {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  align-items: center;
}

/* Yellow line separator under hero */
.hero-sep {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--yellow) 0%, transparent 60%);
  opacity: 0.3;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--yellow);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--yellow-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,195,0,0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: var(--sp-2) 0;
  border: none;
  font-family: var(--font-accent);
  font-weight: 500;
  font-size: var(--text-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
}

.btn-ghost::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--yellow);
  transition: width var(--transition);
}

.btn-ghost:hover {
  color: var(--text-primary);
}

.btn-ghost:hover::after {
  width: 100%;
}

/* ============================================================
   POST CARDS
   ============================================================ */
.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255,195,0,0.25);
}

.post-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-3);
  position: relative;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.post-card:hover .post-card-image img {
  transform: scale(1.04);
}

.post-card-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-2) 100%);
}

.post-card-image-placeholder svg {
  opacity: 0.15;
}

.post-card-body {
  padding: var(--sp-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card-tag {
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: var(--sp-3);
}

.post-card-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-lg);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-3);
  color: var(--text-primary);
  transition: color var(--transition);
}

.post-card:hover .post-card-title {
  color: var(--yellow);
}

.post-card-excerpt {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
  margin-bottom: var(--sp-4);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: auto;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
}

.post-card-author {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.post-card-author img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.post-card-author span {
  font-size: var(--text-xs);
  font-family: var(--font-accent);
  color: var(--text-secondary);
}

.post-card-date {
  font-size: var(--text-xs);
  font-family: var(--font-accent);
  color: var(--text-secondary);
  margin-left: auto;
}

/* Featured Post Card */
.post-card-featured {
  grid-column: span 2;
  flex-direction: row;
}

.post-card-featured .post-card-image {
  width: 50%;
  flex-shrink: 0;
  aspect-ratio: auto;
}

.post-card-featured .post-card-title {
  font-size: var(--text-2xl);
}

@media (max-width: 900px) {
  .post-card-featured {
    grid-column: span 1;
    flex-direction: column;
  }
  .post-card-featured .post-card-image {
    width: 100%;
    aspect-ratio: 16/9;
  }
}

/* ============================================================
   FEATURED SECTION (Home)
   ============================================================ */
.section-label {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-12);
}

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

.section-label-text {
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--yellow);
  white-space: nowrap;
}

/* ============================================================
   NEWSLETTER SECTION
   ============================================================ */
.newsletter-section {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(255,195,0,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.newsletter-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding: var(--sp-20) var(--sp-6);
}

.newsletter-icon {
  width: 56px;
  height: 56px;
  background: rgba(255,195,0,0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-6);
}

.newsletter-icon svg {
  width: 24px;
  height: 24px;
  color: var(--yellow);
}

.newsletter-title {
  font-size: var(--text-2xl);
  margin-bottom: var(--sp-4);
}

.newsletter-subtitle {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin-bottom: var(--sp-8);
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: var(--sp-3);
  max-width: 440px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--sp-3) var(--sp-4);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition);
}

.newsletter-input::placeholder {
  color: var(--text-secondary);
}

.newsletter-input:focus {
  border-color: var(--yellow);
}

.newsletter-form .btn-primary {
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .newsletter-form {
    flex-direction: column;
  }
}

/* ============================================================
   PROJECTS / ABOUT SECTION
   ============================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--sp-6);
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.project-card:hover {
  border-color: rgba(255,195,0,0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.project-card:hover::before {
  transform: scaleX(1);
}

.project-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,195,0,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
  color: var(--yellow);
}

.project-title {
  font-size: var(--text-lg);
  margin-bottom: var(--sp-2);
}

.project-description {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
  font-family: var(--font-accent);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
  transition: gap var(--transition);
}

.project-link:hover { gap: var(--sp-3); }

/* ============================================================
   TAGS / CATEGORIES
   ============================================================ */
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: var(--sp-1) var(--sp-3);
  background: rgba(255,195,0,0.08);
  border: 1px solid rgba(255,195,0,0.15);
  border-radius: 100px;
  font-family: var(--font-accent);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--yellow);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all var(--transition);
}

.tag-pill:hover {
  background: rgba(255,195,0,0.15);
  border-color: rgba(255,195,0,0.35);
}

/* ============================================================
   ARTICLE / SINGLE POST
   ============================================================ */
.article-hero {
  padding: var(--sp-16) 0 0;
  background: var(--bg);
}

.article-header {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 var(--sp-6) var(--sp-12);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}

.article-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: var(--sp-6);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.article-author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.article-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}

.article-author-info .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
}

.article-author-info .date {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  font-family: var(--font-accent);
}

.article-read-time {
  font-family: var(--font-accent);
  font-size: var(--text-xs);
  color: var(--text-secondary);
}

.article-feature-image {
  max-width: 1000px;
  margin: 0 auto var(--sp-16);
  padding: 0 var(--sp-6);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.article-feature-image img {
  width: 100%;
  border-radius: var(--radius-lg);
}

/* Ghost Content Styles */
.gh-content {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 var(--sp-6) var(--sp-24);
}

.gh-content > * + * { margin-top: 1.5em; }

.gh-content h2 {
  font-size: var(--text-2xl);
  margin-top: 2.5em;
  margin-bottom: 0.75em;
  padding-bottom: 0.5em;
  border-bottom: 1px solid var(--border);
}

.gh-content h3 {
  font-size: var(--text-xl);
  margin-top: 2em;
  margin-bottom: 0.5em;
  color: var(--yellow);
}

.gh-content h4 {
  font-size: var(--text-lg);
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.gh-content p {
  font-size: var(--text-base);
  line-height: 1.75;
  color: rgba(249, 248, 246, 0.85);
}

.gh-content a {
  color: var(--yellow);
  border-bottom: 1px solid rgba(255,195,0,0.3);
  transition: border-color var(--transition);
}

.gh-content a:hover {
  border-color: var(--yellow);
}

.gh-content ul,
.gh-content ol {
  padding-left: 1.5em;
  list-style: revert;
}

.gh-content li { margin-bottom: 0.5em; }

.gh-content blockquote {
  border-left: 3px solid var(--yellow);
  padding: var(--sp-4) var(--sp-6);
  margin: var(--sp-8) 0;
  background: rgba(255,195,0,0.04);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-secondary);
}

.gh-content code {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.875em;
  background: var(--bg-3);
  padding: 0.15em 0.4em;
  border-radius: var(--radius-sm);
  color: var(--yellow-light);
}

.gh-content pre {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-6);
  overflow-x: auto;
}

.gh-content pre code {
  background: none;
  padding: 0;
  font-size: var(--text-sm);
}

.gh-content img {
  border-radius: var(--radius-lg);
  margin: var(--sp-8) 0;
}

.gh-content figure { margin: var(--sp-8) 0; }
.gh-content figcaption {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--text-secondary);
  margin-top: var(--sp-2);
  font-family: var(--font-accent);
}

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

/* ============================================================
   TAG / AUTHOR PAGES
   ============================================================ */
.page-header {
  padding: var(--sp-20) 0 var(--sp-12);
  text-align: center;
  position: relative;
}

.page-header::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--yellow);
  margin: var(--sp-6) auto 0;
  border-radius: 2px;
}

.page-header h1 {
  font-size: var(--text-3xl);
  margin-bottom: var(--sp-4);
}

.page-header p {
  color: var(--text-secondary);
  font-size: var(--text-lg);
  max-width: 55ch;
  margin: 0 auto;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-12) 0;
}

.pagination a, .pagination span {
  font-family: var(--font-accent);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--sp-2) var(--sp-5);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all var(--transition);
}

.pagination a:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.pagination .current {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
  font-weight: 800;
}

/* ============================================================
   FOOTER
   ============================================================ */
.gh-foot {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: var(--sp-16) 0 var(--sp-8);
}

.gh-foot-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.gh-foot-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-12);
  margin-bottom: var(--sp-12);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid var(--border);
}

.gh-foot-brand .logo-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: var(--sp-4);
  max-width: 30ch;
}

.gh-foot-col h4 {
  font-family: var(--font-accent);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: var(--sp-4);
}

.gh-foot-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.gh-foot-col ul a {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: color var(--transition);
}

.gh-foot-col ul a:hover {
  color: var(--text-primary);
}

.gh-foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.gh-foot-copy {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  font-family: var(--font-accent);
}

.gh-foot-copy a {
  color: var(--yellow);
}

.gh-foot-socials {
  display: flex;
  gap: var(--sp-3);
}

.gh-foot-social {
  width: 36px;
  height: 36px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.gh-foot-social:hover {
  background: rgba(255,195,0,0.1);
  border-color: rgba(255,195,0,0.3);
  color: var(--yellow);
}

.gh-foot-social svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 900px) {
  .gh-foot-top { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
}

@media (max-width: 600px) {
  .gh-foot-top { grid-template-columns: 1fr; }
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--bg-3);
  position: relative;
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,195,0,0.15);
  border-radius: var(--radius-xl);
}

.about-image img { width: 100%; height: 100%; object-fit: cover; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin: var(--sp-12) 0;
}

.stat-item {
  text-align: center;
  padding: var(--sp-6);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.stat-number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-3xl);
  color: var(--yellow);
  display: block;
  line-height: 1;
  margin-bottom: var(--sp-2);
}

.stat-label {
  font-family: var(--font-accent);
  font-size: var(--text-xs);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--graphite); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--yellow); }

/* ============================================================
   SELECTION
   ============================================================ */
::selection {
  background: rgba(255,195,0,0.25);
  color: var(--text-primary);
}

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

.animate-in {
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-delay-1 { animation-delay: 0.1s; opacity: 0; }
.animate-delay-2 { animation-delay: 0.2s; opacity: 0; }
.animate-delay-3 { animation-delay: 0.3s; opacity: 0; }
.animate-delay-4 { animation-delay: 0.4s; opacity: 0; }

/* ============================================================
   RESPONSIVE UTILITIES
   ============================================================ */
@media (max-width: 768px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .article-meta { flex-direction: column; align-items: flex-start; gap: var(--sp-3); }
}

/* ============================================================
   GHOST SPECIFIC
   ============================================================ */
.gh-card-link {
  display: block;
  height: 100%;
}

.no-image .post-card-image {
  display: none;
}

/* Member Portal */
.gh-portal-trigger {
  cursor: pointer;
}

/* ============================================================
   GHOST KOENIG EDITOR — Required CSS Classes
   ============================================================ */

/* Content width */
.kg-width-wide {
  position: relative;
  width: 85vw;
  min-width: 100%;
  margin: var(--sp-8) calc(50% - 42.5vw);
}

.kg-width-full {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* Gallery */
.kg-gallery-container {
  display: flex;
  flex-direction: column;
  margin: var(--sp-8) 0;
}

.kg-gallery-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.kg-gallery-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

/* Bookmark card */
.kg-bookmark-card {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.kg-bookmark-container {
  display: flex;
  align-items: stretch;
  text-decoration: none;
  color: inherit;
}

.kg-bookmark-content {
  flex: 1;
  padding: var(--sp-4) var(--sp-5);
}

.kg-bookmark-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  margin-bottom: var(--sp-2);
  color: var(--text-primary);
}

.kg-bookmark-description {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: var(--sp-3);
}

.kg-bookmark-metadata {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  color: var(--text-secondary);
}

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

.kg-bookmark-thumbnail {
  width: 160px;
  flex-shrink: 0;
}

.kg-bookmark-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Video embed */
.kg-video-card {
  background: var(--black);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

/* Audio card */
.kg-audio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-4);
}

/* Toggle card */
.kg-toggle-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.kg-toggle-heading {
  display: flex;
  justify-content: space-between;
  padding: var(--sp-4);
  cursor: pointer;
  font-weight: 600;
}

.kg-toggle-content {
  padding: var(--sp-4);
  border-top: 1px solid var(--border);
}

/* Callout card */
.kg-callout-card {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-5);
  background: rgba(255,195,0,0.06);
  border-left: 3px solid var(--yellow);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.kg-callout-emoji {
  font-size: 1.5rem;
  line-height: 1.4;
  flex-shrink: 0;
}

/* NFT / Product cards */
.kg-nft-card, .kg-product-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
}

/* Page Builder support */
.gh-content.has-title-and-feature-image .article-title,
.gh-content.has-title-and-feature-image .article-feature-image {
  display: block;
}
