/* ============================================
   S. ULLIEL - PSYCHOLOGICAL THRILLERS & SONGS
   Dark, cinematic aesthetic
   ============================================ */

/* CSS Variables */
:root {
  --color-bg: #1a1a1f;
  --color-bg-elevated: #242429;
  --color-text: #e8e6e3;
  --color-text-muted: #9a9590;
  --color-text-secondary: #f3f2ed;
  --color-accent: #c9a962;
  --color-accent-hover: #dfc07a;
  --color-border: rgba(255, 255, 255, 0.1);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;

  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;
  
  --max-width: 1400px;
  --transition: 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

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

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

/* ============================================
   NAVIGATION
   ============================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--spacing-sm) var(--spacing-md);
  background: linear-gradient(to bottom, rgba(10, 10, 11, 0.95) 0%, rgba(10, 10, 11, 0) 100%);
  transition: background var(--transition), opacity var(--transition), transform var(--transition);
}

/* Hide nav initially on homepage only */
.home .site-nav {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

.home .site-nav.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.site-nav.scrolled {
  background: linear-gradient(to bottom, rgba(10, 10, 11, 0.95) 0%, rgba(10, 10, 11, 0) 100%);
  transition: background var(--transition), opacity var(--transition), transform var(--transition);
  backdrop-filter: blur(10px);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.nav-logo:hover {
  color: var(--color-accent);
}

.nav-menu {
  display: flex;
  gap: var(--spacing-md);
  list-style: none;
}

.nav-menu a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: var(--spacing-xs) 0;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.nav-menu a:hover {
  color: var(--color-text);
}

.nav-menu a:hover::after {
  width: 100%;
}

/* ============================================
   HERO SECTION - Above the Fold
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Background Layer */
.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.35;
  filter: grayscale(30%);
}

/* Gradient overlays for depth and readability */
.hero-background::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(26, 26, 31, 1) 0%,
    rgba(26, 26, 31, 0.95) 30%,
    rgba(26, 26, 31, 0.7) 60%,
    rgba(26, 26, 31, 0.4) 100%
  );
  z-index: 1;
}

.hero-background::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 26, 31, 0.3) 0%,
    transparent 20%,
    transparent 80%,
    rgba(26, 26, 31, 1) 100%
  );
  z-index: 2;
}

/* Noise texture overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 3;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 10;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--spacing-xl) var(--spacing-md);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}

/* Profile Section */
.hero-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
}

.profile-image {
  width: 220px;
  height: 280px;
  object-fit: cover;
  object-position: center top;
  border: 1px solid var(--color-border);
  filter: grayscale(20%);
  transition: filter var(--transition);
}

.profile-image:hover {
  filter: grayscale(0%);
}

/* Author Info */
.hero-info {
  max-width: 600px;
}

.author-name {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--color-text);
  margin-bottom: var(--spacing-sm);
  letter-spacing: 0.02em;
}

.author-tagline {
  font-size: 0.95rem;
    font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: var(--spacing-md);
}

.author-tagline2 {
  font-size: 1rem;
    font-family: var(--font-display);
  font-style: italic;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: var(--spacing-md);
}

.author-bio {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-md);
}

.author-bio strong {
  color: var(--color-text);
  font-weight: 600;
}

.author-bio a {
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 1px;
}

.author-bio a:hover {
  border-bottom-color: var(--color-accent-hover);
}

/* CTA Links */
.hero-cta {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text);
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition);
}

.cta-link:hover {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.cta-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.cta-link:hover svg {
  transform: translateX(4px);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--spacing-md);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--color-text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  animation: pulse 2s ease-in-out infinite;
}

.scroll-indicator::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-text-muted), transparent);
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 120px;
  }
  
  .hero-profile {
    justify-self: center;
  }
  
  .hero-info {
    max-width: 100%;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .hero-background img {
    object-position: center center;
  }
  
  .hero-background::before {
    background: linear-gradient(
      to bottom,
      rgba(10, 10, 11, 0.85) 0%,
      rgba(10, 10, 11, 0.7) 50%,
      rgba(10, 10, 11, 0.9) 100%
    );
  }
}

@media (max-width: 600px) {
  html {
    font-size: 16px;
  }
  
  .nav-menu {
    gap: var(--spacing-sm);
  }
  
  .nav-menu a {
    font-size: 0.8rem;
  }
  
  .profile-image {
    width: 160px;
    height: 200px;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
}

/* ============================================
   BELOW THE FOLD - SECTIONS
   ============================================ */
.section-stories,
.section-songs,
.section-newsletter {
  padding: var(--spacing-xl) var(--spacing-md);
}

.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--spacing-xs);
  text-align: center;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: var(--spacing-lg);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.section-cta {
  text-align: center;
  margin-top: var(--spacing-lg);
}

.view-all-link {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: all var(--transition);
}

.view-all-link:hover {
  border-bottom-color: var(--color-accent);
}

/* ============================================
   STORIES ROW (Home Page)
   ============================================ */
.stories-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
}

.story-card {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform var(--transition);
}

.story-card:hover {
  transform: translateY(-8px);
}

.story-cover {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  margin-bottom: var(--spacing-sm);
  border: 1px solid var(--color-border);
  background: var(--color-bg-elevated);
}

.story-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.story-card:hover .story-cover img {
  transform: scale(1.05);
}

.cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-text-muted);
  text-align: center;
  padding: var(--spacing-sm);
}

.story-info {
  text-align: center;
}

.story-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--spacing-xs);
}

.story-hook {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--color-text-muted);
  line-height: 1.5;
}

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

@media (max-width: 500px) {
  .stories-row {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin: 0 auto;
  }
}

/* ============================================
   SONGS LIST (Home Page)
   ============================================ */
.songs-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.song-item {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  padding: var(--spacing-md);
  transition: border-color var(--transition);
}

.song-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.song-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
}

.song-play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--transition);
}

.song-play-btn:hover {
  border-color: var(--color-accent);
  background: rgba(201, 169, 98, 0.1);
}

.song-play-btn svg {
  width: 18px;
  height: 18px;
  fill: var(--color-text);
}

.icon-pause {
  display: none;
}

.song-meta {
  flex-grow: 1;
}

.song-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--color-text);
  margin: 0 0 4px 0;
}

.song-details {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.song-link {
  font-size: 0.8rem;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.song-description {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-style: italic;
  margin-top: var(--spacing-sm);
}

/* ============================================
   WAVEFORM PLAYER
   ============================================ */
.waveform-wrapper {
  height: 60px;
  position: relative;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
  overflow: hidden;
}

.waveform-bg {
  width: 100%;
  height: 100%;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.5;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
  filter: brightness(0.8) sepia(0.3) hue-rotate(10deg);
}

.waveform-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(201, 169, 98, 0.3) 0%, rgba(201, 169, 98, 0.4) 100%);
  border-right: 2px solid var(--color-accent);
  z-index: 2;
  pointer-events: none;
  transition: width 0.1s linear;
}

.waveform-time {
  position: absolute;
  top: 8px;
  right: 12px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--color-text-muted);
  background: rgba(10, 10, 11, 0.7);
  padding: 2px 6px;
  border-radius: 3px;
  z-index: 5;
  letter-spacing: 0.5px;
}

.hidden-audio {
  display: none;
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */
.section-newsletter {
  border-top: 1px solid var(--color-border);
}

.newsletter-box {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--spacing-xs);
}

.newsletter-description {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-md);
}

.newsletter-form {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  margin-bottom: var(--spacing-sm);
}

.newsletter-form input {
  flex: 1;
  max-width: 280px;
  padding: 12px 16px;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
}

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

.newsletter-form input:focus {
  outline: none;
  border-color: var(--color-accent);
}

.newsletter-form button {
  padding: 12px 24px;
  background: var(--color-accent);
  border: none;
  color: var(--color-bg);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background var(--transition);
}

.newsletter-form button:hover {
  background: var(--color-accent-hover);
}

.newsletter-note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

@media (max-width: 500px) {
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    max-width: 100%;
  }
}

/* ============================================
   ARCHIVE PAGES (Stories & Songs list)
   ============================================ */
.stories-archive,
.songs-archive {
  padding: var(--spacing-xl) var(--spacing-md);
}

.archive-container {
  max-width: 1000px;
  margin: 0 auto;
}

.archive-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.archive-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 2.5rem);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--spacing-sm);
}

.archive-description {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   STORIES GRID (Stories Page)
   ============================================ */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.story-grid-item {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform var(--transition);
}

.story-grid-item:hover {
  transform: translateY(-8px);
}

.story-grid-cover {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  margin-bottom: var(--spacing-sm);
  border: 1px solid var(--color-border);
  background: var(--color-bg-elevated);
}

.story-grid-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.story-grid-item:hover .story-grid-cover img {
  transform: scale(1.05);
}

.cover-placeholder-grid {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-text-muted);
  text-align: center;
  padding: var(--spacing-md);
}

.story-grid-info {
  text-align: center;
}

.story-grid-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--spacing-xs);
}

.story-grid-hook {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: var(--spacing-xs);
}

.story-status {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 3px;
  margin-top: var(--spacing-xs);
}

.story-status-available {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.story-status-coming-soon {
  background: rgba(201, 169, 98, 0.15);
  color: var(--color-accent);
}

.story-status-seeking-representation {
  background: rgba(147, 51, 234, 0.15);
  color: #a855f7;
}

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

@media (max-width: 500px) {
  .stories-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: 0 auto;
  }
}

/* ============================================
   SONGS FULL LIST (Songs Page)
   ============================================ */
.songs-full-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.song-list-item {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  padding: var(--spacing-md);
  transition: border-color var(--transition);
}

.song-list-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.song-list-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
}

.song-list-meta {
  flex-grow: 1;
}

.song-list-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-text);
  margin: 0 0 4px 0;
}

.song-list-details {
  display: flex;
  gap: var(--spacing-sm);
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.song-type {
  color: var(--color-accent);
}

.song-details-link {
  font-size: 0.8rem;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.song-list-description {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-style: italic;
  margin-top: var(--spacing-sm);
}

/* ============================================
   SONG SINGLE PAGE
   ============================================ */
.song-single {
  padding: var(--spacing-xl) var(--spacing-md);
}

.song-single-container {
  max-width: 700px;
  margin: 0 auto;
}

.song-single-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.song-single-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--spacing-md);
}

.song-single-player {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  max-width: 500px;
  margin: 0 auto;
}

.song-play-btn-large {
  width: 56px;
  height: 56px;
}

.song-play-btn-large svg {
  width: 24px;
  height: 24px;
}

.waveform-wrapper-single {
  flex-grow: 1;
}

.song-tech-meta {
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: var(--spacing-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.song-tech-meta .sep {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.2);
}

/* ============================================
   SONG LINER NOTES
   ============================================ */
.song-liner-notes {
  max-width: 600px;
  margin: 0 auto var(--spacing-md) auto;
  font-size: 1.25rem;
  line-height: 1.8;
  color: #e0e0e0;
}

/* Kills the horizontal line only inside the song content area */
.song-liner-notes hr {
  display: none !important;
}

.song-liner-notes p {
  margin-bottom: var(--spacing-md);
}

.song-liner-notes strong,
.song-liner-notes em {
  color: #fff;
}

.song-liner-notes a {
  color: var(--color-accent);
  border-bottom: 1px solid rgba(201, 169, 98, 0.3);
  padding-bottom: 1px;
  transition: border-color var(--transition);
}

.song-liner-notes a:hover {
  border-bottom-color: var(--color-accent);
}

/* Styling for Lyrics - Tightens vertical stack */
.song-liner-notes blockquote {
  border-left: 2px solid var(--color-accent) !important;
  margin: var(--spacing-md) 0 !important;
  padding: 0 var(--spacing-md) !important;
  font-style: bold;
  color: var(--color-text);
  white-space: pre-line;
}

.song-liner-notes blockquote p {
  margin: 0 !important;       /* This kills the huge gaps between verses */
  padding: 0 !important;
  line-height: 1.6 !important; /* Sets a tight, percussive rhythm */
}

/* Adds the breath back only between stanzas */
.song-liner-notes blockquote p + p {
  margin-top: 1.5rem !important; 
}
/* Styling for Lyrics in Song Pages */
.song-liner-notes blockquote {
  border-left: 2px solid var(--color-accent);
  margin: var(--spacing-lg) 0;
  padding: var(--spacing-sm) var(--spacing-md);
  color: var(--color-text);
  white-space: pre-line; /* This is the key fix for line breaks */
}

.song-liner-notes blockquote p {
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
}

.song-liner-notes blockquote p:last-child {
  margin-bottom: 0;
}

.divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: var(--spacing-lg) 0;
}

/* ============================================
   STORY SINGLE PAGE
   ============================================ */
.story-single {
  position: relative;
  min-height: 100vh;
  padding: var(--spacing-xl) var(--spacing-md);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #000;
}

/* Background Overlay */
.story-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-size: cover;
  background-position: center;
  filter: blur(40px) brightness(0.3); 
  transform: scale(1.05);
  pointer-events: none;
}

.story-single-container {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
}

.story-single-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: var(--spacing-lg);
  align-items: start;
}

.story-single-cover img {
  width: 100%;
  border: 1px solid var(--color-border);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9);
}

.cover-placeholder-large {
  aspect-ratio: 2 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-text-muted);
  text-align: center;
  padding: var(--spacing-sm);
}

.story-single-content {
  max-width: 750px;
}

.story-single-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 6vw, 2.5rem);
  font-weight: 400;
  color: #fff;
  margin-bottom: var(--spacing-sm);
  line-height: 1.1;
  text-transform: uppercase;
}

.story-single-tagline {
  font-size: 1.2rem;
  font-style: italic;
  color: #f0f0f0;
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
}

/* Minimalist Audio Player */
.story-audio-wrapper {
  margin-bottom: var(--spacing-lg);
  max-width: fit-content;
}

.story-audio-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  padding: 12px 24px;
  cursor: pointer;
  transition: all var(--transition);
}

.story-audio-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-accent);
}

.audio-pulse {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  position: relative;
}

.playing .audio-pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--color-accent);
  animation: pulse-ring 1.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.5); opacity: 1; }
  80%, 100% { transform: scale(2.5); opacity: 0; }
}

.audio-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text);
  font-weight: 600;
}

.story-audio-wrapper audio {
  display: none;
}

/* Storefront Grid with Brand Images */
.story-actions {
  display: flex;
  gap: 12px;
  margin-bottom: var(--spacing-sm);
  flex-wrap: wrap;
  align-items: center;
}

.store-section {
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--color-border);
}

.store-label {
  display: block;
  font-size: 0.9rem;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
}

.store-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 380px;
}

.btn-store {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 20px;
  background: var(--color-text);
  border: none;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all var(--transition);
  text-decoration: none;
  cursor: pointer;
}

.btn-store img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.btn-store span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #000;
}

.btn-store:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  background: var(--color-accent-hover);
}

.btn-store:active {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.story-single-meta {
  display: flex;
  gap: var(--spacing-md);
  font-size: 0.9rem;
  color: var(--color-accent);
  margin-bottom: var(--spacing-sm);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid var(--color-border);
}

.btn-primary {
  display: inline-block;
  padding: 14px 28px;
  background: var(--color-accent);
  color: #000;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background var(--transition);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: #000;
}

.btn-secondary {
  display: inline-block;
  padding: 13px 26px;
  border: 1px solid var(--color-border);
  color: #fff;
  font-size: 0.85rem;
  transition: all var(--transition);
}

.btn-secondary:hover {
  border-color: var(--color-accent);
  color: #fff;
}

.btn-status {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 3px;
  text-decoration: none;
  margin-bottom: var(--spacing-sm);
}

.btn-status-manuscript {
  background: rgba(147, 51, 234, 0.15);
  color: #a855f7;
  border: 1px solid rgba(147, 51, 234, 0.3);
  transition: all var(--transition);
}

.btn-status-manuscript:hover {
  background: rgba(147, 51, 234, 0.25);
  border-color: rgba(147, 51, 234, 0.5);
}

.btn-status-progress {
  background: rgba(201, 169, 98, 0.15);
  color: var(--color-accent);
  border: 1px solid rgba(201, 169, 98, 0.3);
}

.story-body {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #e0e0e0;
}

.story-body p {
  margin-bottom: var(--spacing-md);
}

.story-body strong,
.story-body em {
  color: #fff;
}

.story-body a {
  color: var(--color-accent);
  border-bottom: 1px solid rgba(201, 169, 98, 0.3);
  padding-bottom: 1px;
  transition: border-color var(--transition);
}

.story-body a:hover {
  border-bottom-color: var(--color-accent);
}

.story-body h2,
.story-body h3 {
  font-family: var(--font-display);
  color: #fff;
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
}

.story-body h2 { font-size: 1.8rem; }
.story-body h3 { font-size: 1.4rem; }

.story-body blockquote {
  border-left: 2px solid var(--color-accent);
  margin: var(--spacing-md) 0;
  padding: var(--spacing-sm) var(--spacing-md);
  font-style: italic;
  color: #fff;
}

.story-body ul,
.story-body ol {
  margin: var(--spacing-md) 0;
  padding-left: var(--spacing-md);
}

.story-body li {
  margin-bottom: var(--spacing-xs);
}

.story-body hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: var(--spacing-lg) 0;
}

/* --- Responsive Overrides --- */
@media (max-width: 900px) {
  .story-single-layout {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--spacing-lg);
  }
  
  .story-single-cover {
    max-width: 300px;
    margin: 0 auto;
  }
  
  .story-actions, .story-audio-wrapper, .story-single-meta {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .story-single-layout {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .story-single-cover {
    max-width: 140px;
  }
  
  .story-single-meta {
    flex-wrap: wrap;
    gap: var(--spacing-sm);
  }
}

/* ============================================
   BIO PAGE - IMPROVED VERSION
   Replaces both duplicate bio sections (lines 1524-1590 and 1603-1669)
   ============================================ */
.bio-page {
  padding: var(--spacing-xl) var(--spacing-md);
  padding-top: calc(var(--spacing-xl) + 60px); /* Account for fixed nav */
}

.bio-container {
  max-width: 950px;
  margin: 0 auto;
}

.bio-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--spacing-lg);
  align-items: start;
}

/* Photo Column */
.bio-photo-column {
  position: sticky;
  top: calc(var(--spacing-lg) + 60px);
}

.bio-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border: 1px solid var(--color-border);
  filter: grayscale(20%);
  transition: filter var(--transition), box-shadow var(--transition);
}

.bio-photo:hover {
  filter: grayscale(0%);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Title with accent underline */
.bio-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--spacing-sm);
  position: relative;
  padding-bottom: var(--spacing-md);
}

.bio-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--color-accent);
}

/* Body Content */
.bio-body {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--color-text-muted);
}

.bio-body p {
  margin-bottom: 1.5em;
}

.bio-body p:last-child {
  margin-bottom: 0;
}



/* Strong and emphasis */
.bio-body strong {
  color: var(--color-text);
  font-weight: 600;
}

.bio-body em {
  color: var(--color-text);
  font-style: italic;
}

/* Links */
.bio-body a {
  color: var(--color-accent);
  border-bottom: 1px solid rgba(201, 169, 98, 0.3);
  padding-bottom: 1px;
  transition: border-color var(--transition);
}

.bio-body a:hover {
  border-bottom-color: var(--color-accent);
}

/* Closing thank you - subtle styling */
.bio-body p:last-of-type em:only-child {
  display: block;
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--color-border);
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* Responsive */
@media (max-width: 800px) {
  .bio-layout {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .bio-photo-column {
    position: static;
    max-width: 240px;
    margin: 0 auto;
  }
  
  .bio-title {
    text-align: center;
  }
  
  .bio-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 500px) {
  .bio-page {
    padding: var(--spacing-lg) var(--spacing-sm);
    padding-top: calc(var(--spacing-lg) + 60px);
  }
  
  .bio-photo-column {
    max-width: 180px;
  }
  
  .bio-body {
    font-size: 1rem;
  }
}


/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  padding: var(--spacing-lg) var(--spacing-md);
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--color-border);
}
/* ============================================
   STORY QUOTE BANNER
   ============================================ */
.story-quote-banner {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.quote-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 26, 31, 0.85) 0%,
    rgba(26, 26, 31, 0.7) 50%,
    rgba(26, 26, 31, 0.85) 100%
  );
}

.quote-banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  padding: var(--spacing-lg) var(--spacing-md);
}

.quote-banner-text {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-style: italic;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.5;
  margin: 0;
  border: none;
  padding: 0;
  background: none;
}

.quote-banner-text::before {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: var(--color-accent);
  margin: 0 auto var(--spacing-md);
}

.quote-banner-cite {
  display: block;
  margin-top: var(--spacing-md);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-style: normal;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

@media (max-width: 600px) {
  .story-quote-banner {
    background-attachment: scroll;
  }
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */
.newsletter-section {
  padding: var(--spacing-xl) var(--spacing-md);
  background: #0d0d0f;
}

.newsletter-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--spacing-sm);
}

.newsletter-description {
  font-size: 1.1rem;
  color: var(--color-text);
  margin-bottom: var(--spacing-lg);
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: 0;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form input {
  flex: 1;
  padding: 18px 20px;
  background: #fff;
  border: none;
  color: #1a1a1f;
  font-family: var(--font-body);
  font-size: 1rem;
}

.newsletter-form input::placeholder {
  color: #666;
}

.newsletter-form input:focus {
  outline: none;
}

.newsletter-form button {
  padding: 18px 36px;
  background: #e63946;
  border: none;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: #c1121f;
}

.newsletter-note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

@media (max-width: 500px) {
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }
}

/* ============================================
   STORIES FILTER BAR
   ============================================ */
.stories-filter {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  flex-wrap: wrap;
}

.filter-btn {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition);
}

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

.filter-btn.active {
  color: var(--color-accent);
}

.filter-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent);
}

/* ============================================
   COVER TAGS
   ============================================ */
.story-grid-cover {
  position: relative;
}

.cover-tag {
  position: absolute;
  top: 12px;
  left: -6px;
  padding: 4px 12px 4px 10px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  z-index: 2;
}

/* Ribbon effect */
.cover-tag::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  border-width: 3px 0 3px 6px;
  border-style: solid;
  border-color: transparent;
}

.cover-tag-published {
  background: #10b981;
}

.cover-tag-published::before {
  border-color: #0a7c5a transparent #0a7c5a #0a7c5a;
}

.cover-tag-manuscript {
  background: #8b5cf6;
}

.cover-tag-manuscript::before {
  border-color: #6d3fcc transparent #6d3fcc #6d3fcc;
}

.cover-tag-in-progress {
  background: var(--color-accent);
}

.cover-tag-in-progress::before {
  border-color: #a88a4a transparent #a88a4a #a88a4a;
}
/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-page {
  min-height: 100vh;
  padding: var(--spacing-xl) var(--spacing-md);
  padding-top: calc(var(--spacing-xl) + 60px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-container {
  max-width: 500px;
  width: 100%;
}

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--spacing-sm);
  position: relative;
  padding-bottom: var(--spacing-md);
}

.contact-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--color-accent);
}

.contact-intro {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-lg);
}

.contact-intro p {
  margin-bottom: 1em;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.form-group label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

.form-group input,
.form-group textarea {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  padding: var(--spacing-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.5;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(201, 169, 98, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

/* Submit button */
.form-submit {
  align-self: flex-start;
  background: transparent;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  padding: var(--spacing-sm) var(--spacing-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all var(--transition);
}

.form-submit:hover {
  background: var(--color-accent);
  color: var(--color-bg);
}

/* Status messages */
.form-status {
  display: none;
  margin-top: var(--spacing-md);
}

.status-success {
  color: #10b981;
  padding: var(--spacing-sm);
  border: 1px solid rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.1);
}

.status-error {
  color: #ef4444;
  padding: var(--spacing-sm);
  border: 1px solid rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.1);
}

/* Responsive */
@media (max-width: 500px) {
  .contact-page {
    padding: var(--spacing-lg) var(--spacing-sm);
    padding-top: calc(var(--spacing-lg) + 60px);
  }
  
  .form-submit {
    width: 100%;
    text-align: center;
  }
}
/* ============================================
   TIMELINE PAGE
   ============================================ */
.timeline-page {
  min-height: 100vh;
  padding: var(--spacing-xl) var(--spacing-md);
  padding-top: calc(var(--spacing-xl) + 80px);
  background: var(--color-bg);
}

.timeline-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.timeline-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--color-text);
  margin-bottom: var(--spacing-xs);
}

.timeline-subtitle {
  font-size: 1rem;
  color: var(--color-text-muted);
  font-style: italic;
}

.timeline-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: 60px;
}

/* The vertical line */
.timeline-line {
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--color-border) 5%,
    var(--color-border) 95%,
    transparent 100%
  );
}

/* Year groups */
.timeline-year-group {
  margin-bottom: var(--spacing-xl);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-year-group.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-year {
  position: relative;
  margin-bottom: var(--spacing-md);
  margin-left: -60px;
  padding-left: 60px;
}

.year-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 400;
  color: var(--color-accent);
  letter-spacing: 0.05em;
  line-height: 1;
  display: block;
  position: relative;
}

/* Gold accent bar next to year */
.year-number::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 2px;
  background: var(--color-accent);
}

/* Entries container */
.timeline-entries {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

/* Individual entry */
.timeline-entry {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  margin-left: -40px;
  padding-left: 40px;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  opacity: 0;
  transform: translateX(-20px);
}

/* Cover thumbnail */
.timeline-cover {
  width: 60px;
  flex-shrink: 0;
}

.timeline-cover img {
  width: 100%;
  height: auto;
  border: 1px solid var(--color-border);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.timeline-entry:hover .timeline-cover img {
  border-color: var(--color-accent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.timeline-entry.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-entry:hover {
  background: var(--color-bg-elevated);
  border-color: var(--color-border);
}

/* Timeline dot */
.timeline-dot {
  position: absolute;
  left: -36px;
  top: 24px;
  width: 8px;
  height: 8px;
  background: var(--color-bg);
  border: 2px solid var(--color-text-muted);
  border-radius: 50%;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.timeline-entry:hover .timeline-dot {
  border-color: var(--color-accent);
  background: var(--color-accent);
  box-shadow: 0 0 12px rgba(201, 169, 98, 0.4);
}

/* Entry content */
.timeline-content {
  flex: 1;
}

.timeline-entry-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: 4px;
  transition: color 0.3s ease;
}

.timeline-entry:hover .timeline-entry-title {
  color: var(--color-accent);
}

.timeline-entry-origin {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 8px;
}

.timeline-entry-type {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 600px) {
  .timeline-container {
    padding-left: 40px;
  }
  
  .timeline-line {
    left: 12px;
  }
  
  .timeline-year {
    margin-left: -40px;
    padding-left: 40px;
  }
  
  .year-number::before {
    left: -24px;
    width: 8px;
  }
  
  .timeline-entry {
    margin-left: -28px;
    padding-left: 28px;
  }
  
  .timeline-dot {
    left: -24px;
  }
  
  .year-number {
    font-size: 2.5rem;
  }
  
  .timeline-cover {
    width: 50px;
  }
}


/* ============================================
   STORY ORIGIN BYLINE (Story Single Page)
   ============================================ */
.story-origin {
  margin-top: var(--spacing-sm);
  padding: var(--spacing-sm) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.story-origin-text {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

.story-origin-year {
  font-family: var(--font-display);
  font-style: normal;
  color: var(--color-accent);
  font-weight: 400;
}

/* Preface Audio Button (under cover) */
.preface-audio-wrapper {
  margin-top: var(--spacing-sm);
}

.preface-audio-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  padding: 12px 16px;
  cursor: pointer;
  transition: all var(--transition);
}

.preface-audio-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-accent);
}

.preface-audio-btn .audio-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  font-weight: 600;
  transition: color var(--transition);
}

.preface-audio-btn:hover .audio-label {
  color: var(--color-text);
}

.preface-audio-btn.playing .audio-label {
  color: var(--color-accent);
}

.preface-audio-btn audio {
  display: none;
}
/* Add to your main.css in the bio section */

.bio-contact-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.bio-contact-button:hover {
  color: var(--color-text);
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.bio-contact-button .contact-icon {
  font-size: 1.1rem;
}

.bio-contact-button .contact-text {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}
/* ============================================
   JOURNAL SECTION: Global & Archive
   ============================================ */
.journal-archive {
  padding: 8rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.journal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.journal-card {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 3rem;
}

.journal-card-title a {
  font-size: 2rem;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.journal-card-title a:hover {
  color: #d4af37; /* Gold accent from your site */
}

/* ============================================
   JOURNAL SINGLE: Readability & Protection
   ============================================ */
.journal-single {
  background: #1a1a1a; /* Matches your site background */
  min-height: 100vh;
}

.journal-header {
  padding: 8rem 2rem 4rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.journal-date {
  font-family: monospace;
  opacity: 0.6;
  letter-spacing: 2px;
}

.journal-title {
  font-size: 3rem;
  margin: 1rem 0 2rem;
  color: #fff;
}

.journal-player-wrapper {
  margin-top: 2rem;
  background: rgba(255,255,255,0.03);
  padding: 1.5rem;
  border-radius: 12px;
}

.audio-instruction {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  opacity: 0.8;
}

/* THE READABILITY WRAPPER */
.journal-body-container {
  background: #f4f1ea; /* Warm off-white for low eye strain */
  color: #1a1a1a;      /* Dark charcoal text */
  padding: 6rem 2rem;
  border-radius: 60px 60px 0 0; /* Dramatic transition from dark site */
}

/* THE SEO "CLOAKED" TRANSCRIPT */
.transcript-content {
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 1.15rem;
  
  /* Hidden visually, but fully present for SEO crawlers */
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: opacity 0.6s ease, height 0.1s ease;
  
  /* Anti-Copy Hurdles */
  user-select: none; 
  -webkit-user-select: none;
  pointer-events: none;
}

/* When the user clicks the toggle */
.transcript-content.reveal {
  opacity: 1;
  height: auto;
  pointer-events: auto;
  padding-top: 3rem;
}

/* Prevents highlighting color if they try to drag */
.transcript-content::selection {
  background: transparent;
  color: inherit;
}

/* TOGGLE BUTTON */
.view-transcript-btn {
  background: none;
  border: 1px solid rgba(0,0,0,0.15);
  color: #1a1a1a;
  padding: 12px 24px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: bold;
  display: block;
  margin: 0 auto;
  transition: all 0.3s;
}

.view-transcript-btn:hover {
  background: #1a1a1a;
  color: #f4f1ea;
}
/* Centered Layout */
.journal-container-centered {
  max-width: 750px;
  margin: 0 auto;
  padding: 12rem 2rem 6rem;
  z-index: 2;
  position: relative;
}

.journal-header {
  text-align: center;
  margin-bottom: 4rem;
}

/* Integrated Insights Box */
.journal-insights-box {
  margin: 3rem 0;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-left: 2px solid #d4af37; /* Gold Accent */
}

.journal-audio-inline {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.insights-heading {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #d4af37;
  margin-bottom: 2rem;
}

.insights-list {
  list-style: none;
  padding: 0;
}

.insights-list li {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
}

.insights-list li::before {
  content: "—";
  margin-right: 15px;
  opacity: 0.3;
}

/* Transcript Area */
.transcript-hidden-area {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  -webkit-user-select: none;
}