/* ============================================
   New Beginnings - Static Version Styles
   ============================================ */

/* CSS Variables */
:root {
  --stories-background: 45 30% 96%;
  --stories-gradient-start: 45 35% 94%;
  --stories-card: 45 40% 99%;
  --stories-card-glow: 45 50% 95%;
  --stories-text: 30 15% 25%;
  --stories-text-muted: 30 10% 50%;
  --stories-accent: 25 60% 45%;
  --stories-border: 30 20% 88%;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
  background: hsl(var(--stories-background));
  color: hsl(var(--stories-text));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Page Wrapper */
.stories-page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(
    180deg,
    hsl(var(--stories-gradient-start)) 0%,
    hsl(var(--stories-background)) 30%,
    hsl(var(--stories-background)) 70%,
    hsl(var(--stories-gradient-start)) 100%
  );
}

/* Container */
.stories-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.stories-header {
  padding: 1.5rem 0;
  border-bottom: 1px solid hsl(var(--stories-border));
  background: linear-gradient(180deg, hsl(var(--stories-gradient-start)) 0%, hsl(var(--stories-background)) 100%);
}

.stories-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stories-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  color: hsl(var(--stories-text));
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.stories-logo:hover {
  opacity: 0.8;
}

.stories-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.stories-nav-link {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.875rem;
  color: hsl(var(--stories-text-muted));
  text-decoration: none;
  transition: color 0.2s ease;
}

.stories-nav-link:hover,
.stories-nav-link--active {
  color: hsl(var(--stories-accent));
}

/* Main Content */
main.stories-container {
  flex: 1;
  padding-top: 2rem;
  padding-bottom: 4rem;
}

/* Intro Section */
.stories-intro {
  text-align: center;
  padding: 3rem 0 2rem;
}

.stories-intro-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  font-weight: 500;
  color: hsl(var(--stories-text));
  margin-bottom: 1rem;
}

.stories-intro-subtitle {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1.0625rem;
  font-weight: 300;
  color: hsl(var(--stories-text-muted));
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Themes Block */
.stories-themes {
  text-align: center;
  padding: 2rem 0;
}

.stories-themes-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 500;
  color: hsl(var(--stories-text));
  margin-bottom: 1rem;
}

.stories-themes-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.stories-theme-item {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.8125rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: hsl(var(--stories-card));
  color: hsl(var(--stories-text-muted));
  border: 1px solid hsl(var(--stories-border));
  cursor: default;
}

.stories-theme-item--clickable {
  cursor: pointer;
  transition: all 0.2s ease;
}

.stories-theme-item--clickable:hover {
  color: hsl(var(--stories-accent));
  border-color: hsl(var(--stories-accent));
}

/* Context Block */
.stories-context {
  padding: 1.5rem 0 2rem;
  text-align: center;
}

.stories-context-text {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.9375rem;
  font-style: italic;
  color: hsl(var(--stories-text-muted));
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Stories Grid */
.stories-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Story Card */
.story-card {
  background: hsl(var(--stories-card));
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid hsl(var(--stories-border));
  box-shadow: 
    inset 0 1px 0 0 hsla(var(--stories-card-glow), 0.8),
    0 4px 20px -4px hsla(var(--stories-text), 0.08);
}

.story-snapshot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid hsl(var(--stories-border));
}

.story-snapshot-item {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.8125rem;
  color: hsl(var(--stories-text-muted));
}

.story-snapshot-item strong {
  font-weight: 500;
  color: hsl(var(--stories-text));
}

.story-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.story-avatar {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid hsl(var(--stories-border));
}

.story-meta {
  display: flex;
  flex-direction: column;
}

.story-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: hsl(var(--stories-text));
}

.story-location {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  color: hsl(var(--stories-text-muted));
  margin-top: 0.25rem;
}

.story-content {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  line-height: 1.85;
  color: hsl(var(--stories-text));
}

.story-content p {
  margin: 0;
}

/* Pull Quote */
.pull-quote {
  text-align: center;
  padding: 2rem 1rem;
  margin: 0;
}

.pull-quote-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 400;
  color: hsl(var(--stories-accent));
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.pull-quote-attribution {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.875rem;
  font-style: normal;
  color: hsl(var(--stories-text-muted));
}

/* Story CTA */
.story-cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.story-cta-context {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.875rem;
  text-align: center;
  color: hsl(var(--stories-text-muted));
}

.story-cta-button {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  border: 1px solid hsl(var(--stories-accent));
  background: transparent;
  color: hsl(var(--stories-accent));
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.story-cta-button:hover {
  background: hsl(var(--stories-accent));
  color: hsl(var(--stories-card));
}

/* Editorial Block */
.editorial-block {
  background: hsl(var(--stories-card));
  border-radius: 0.75rem;
  padding: 1.5rem 2rem;
  border-left: 3px solid hsl(var(--stories-accent));
  margin: 1rem 0;
}

.editorial-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 500;
  color: hsl(var(--stories-text));
  margin-bottom: 0.75rem;
}

.editorial-content {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.9375rem;
  color: hsl(var(--stories-text-muted));
  line-height: 1.7;
}

/* Reading Paths */
.reading-paths {
  text-align: center;
  padding: 3rem 0 2rem;
  border-top: 1px solid hsl(var(--stories-border));
  margin-top: 2rem;
}

.reading-paths-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: hsl(var(--stories-text));
  margin-bottom: 0.5rem;
}

.reading-paths-description {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.9375rem;
  color: hsl(var(--stories-text-muted));
  margin-bottom: 1.5rem;
}

.reading-paths-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.reading-path-link {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.875rem;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  background: hsl(var(--stories-card));
  color: hsl(var(--stories-text));
  border: 1px solid hsl(var(--stories-border));
  text-decoration: none;
  transition: all 0.2s ease;
}

.reading-path-link:hover {
  color: hsl(var(--stories-accent));
  border-color: hsl(var(--stories-accent));
}

/* Disclaimer */
.stories-disclaimer {
  text-align: center;
  padding: 2.5rem 0;
  border-top: 1px solid hsl(var(--stories-border));
}

.stories-disclaimer-context {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.875rem;
  color: hsl(var(--stories-text-muted));
  max-width: 600px;
  margin: 0 auto 1rem;
  line-height: 1.6;
}

.stories-disclaimer-main {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.875rem;
  font-style: italic;
  color: hsl(var(--stories-text-muted));
}

/* Footer */
.stories-footer {
  padding: 3rem 0;
  background: hsl(var(--stories-card));
  border-top: 1px solid hsl(var(--stories-border));
}

.stories-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  margin-bottom: 1.5rem;
}

.stories-footer-link {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.875rem;
  color: hsl(var(--stories-text-muted));
  text-decoration: none;
  transition: color 0.2s ease;
}

.stories-footer-link:hover {
  color: hsl(var(--stories-accent));
}

.stories-footer-copy {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.8125rem;
  color: hsl(var(--stories-text-muted));
  text-align: center;
}

/* Similar Stories Page */
.similar-stories-intro {
  text-align: center;
  padding: 3rem 0;
}

.similar-stories-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.875rem;
  font-weight: 500;
  color: hsl(var(--stories-text));
  margin-bottom: 1rem;
}

.similar-stories-description {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  color: hsl(var(--stories-text-muted));
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

.similar-stories-back {
  text-align: center;
  padding: 2.5rem 0;
}

.similar-stories-back-link {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.875rem;
  color: hsl(var(--stories-accent));
  text-decoration: none;
  transition: color 0.2s ease;
}

.similar-stories-back-link:hover {
  color: hsl(var(--stories-text));
}

/* Page Content (About, Contact, etc.) */
.page-content {
  padding: 3rem 0;
}

.page-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 500;
  color: hsl(var(--stories-text));
  margin-bottom: 2rem;
  text-align: center;
}

.page-section {
  margin-bottom: 2rem;
}

.page-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: hsl(var(--stories-text));
  margin-bottom: 0.75rem;
}

.page-text {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  color: hsl(var(--stories-text));
  line-height: 1.7;
  margin-bottom: 1rem;
}

.page-text--muted {
  color: hsl(var(--stories-text-muted));
  font-size: 0.9375rem;
}

.page-link {
  color: hsl(var(--stories-accent));
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.page-link:hover {
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
  .stories-header-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .stories-nav {
    gap: 1rem;
  }

  .stories-intro-title {
    font-size: 1.75rem;
  }

  .story-card {
    padding: 1.5rem;
  }

  .story-header {
    flex-direction: column;
    text-align: center;
  }

  .pull-quote-text {
    font-size: 1.25rem;
  }

  .stories-footer-nav {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
}
