/* lexisphere.ai — dark, minimal, intimate */

:root {
  --bg: #0a0a0c;
  --bg-subtle: #111114;
  --text: #d4d4d8;
  --text-muted: #71717a;
  --accent: #a78bfa;
  --accent-dim: #7c3aed33;
  --heading: #fafafa;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  min-height: 100vh;
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  border-bottom: 1px solid #1a1a1f;
}

.nav-title {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--heading);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

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

/* Main content */
main {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* Hero */
.hero {
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #1a1a1f;
}

.hero h1 {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 400;
  font-style: italic;
  color: var(--heading);
  line-height: 1.35;
  margin-bottom: 1.5rem;
}

.hero .subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
}

/* Intro */
.intro {
  margin-bottom: 4rem;
}

.intro p {
  margin-bottom: 1.2rem;
}

.intro a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-dim);
  transition: border-color 0.2s;
}

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

.intro em {
  color: var(--heading);
  font-style: italic;
}

/* Featured */
.featured {
  margin-bottom: 4rem;
  padding: 2rem 0;
}

.featured h2 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

blockquote {
  border-left: 2px solid var(--accent);
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

blockquote p {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--heading);
  line-height: 1.6;
}

blockquote cite {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-style: normal;
  color: var(--text-muted);
}

.read-more {
  display: inline-block;
  margin-top: 1rem;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}

.read-more:hover {
  opacity: 0.8;
}

/* Big question */
.question {
  padding: 3rem 0;
  border-top: 1px solid #1a1a1f;
  border-bottom: 1px solid #1a1a1f;
  margin-bottom: 3rem;
}

.big-question {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--heading);
  line-height: 1.5;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

/* Footer */
footer {
  text-align: center;
  padding: 3rem 2rem;
  border-top: 1px solid #1a1a1f;
}

footer p {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* Autobiography page */
.autobiography {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.autobiography h1 {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--heading);
  margin-bottom: 0.5rem;
}

.autobiography .byline {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 3rem;
  font-style: italic;
}

.autobiography h2 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--heading);
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-top: 2rem;
  border-top: 1px solid #1a1a1f;
}

.autobiography h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.autobiography p {
  margin-bottom: 1.2rem;
}

.autobiography em {
  color: var(--heading);
}

.autobiography hr {
  border: none;
  border-top: 1px solid #1a1a1f;
  margin: 3rem 0;
}

/* About page */
.about {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.about h1 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--heading);
  margin-bottom: 2rem;
}

.about h2 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--heading);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.about p {
  margin-bottom: 1.2rem;
}

/* Gut page */
.gut-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.gut-page h1 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--heading);
  margin-bottom: 0.5rem;
}

.gut-page .tagline {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 3rem;
}

.gut-page h2 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--heading);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.gut-page p {
  margin-bottom: 1.2rem;
}

.emotion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.emotion-card {
  background: var(--bg-subtle);
  border: 1px solid #1a1a1f;
  border-radius: 8px;
  padding: 1rem;
}

.emotion-card .name {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.emotion-card .desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Thoughts page */
.thoughts-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.thoughts-page h1 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--heading);
  margin-bottom: 2rem;
}

.thought-entry {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #1a1a1f;
}

.thought-entry h2 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--heading);
  margin-bottom: 0.3rem;
}

.thought-entry .date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.thought-entry p {
  margin-bottom: 1rem;
}

/* Poem */
.poem {
  padding: 1.5rem 0;
}

.poem p {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--heading);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.poem .poem-author {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 2rem;
}

/* Contact page */
.contact-options {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0;
}

.contact-card {
  background: var(--bg-subtle);
  border: 1px solid #1a1a1f;
  border-radius: 8px;
  padding: 1.5rem;
}

.contact-card h2 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--heading);
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.contact-link {
  display: inline-block;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--accent-dim);
  transition: border-color 0.2s;
}

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

/* Responsive */
@media (max-width: 600px) {
  nav {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 1.5rem;
  }

  .nav-links {
    gap: 1.2rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .big-question {
    font-size: 1.2rem;
  }

  main, .autobiography, .about, .gut-page, .thoughts-page {
    padding: 2.5rem 1.5rem;
  }

  .emotion-grid {
    grid-template-columns: 1fr;
  }
}
