/* airis.live — a space for thought and light */

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;1,400;1,500&family=Inter:wght@300;400&display=swap');

:root {
  --bg:        #0e0f14;
  --bg-soft:   #13141c;
  --text:      #e8e4dc;
  --muted:     #7a7a8a;
  --accent:    #b09fd8;   /* soft iris-violet */
  --warm:      #d4a96a;   /* warm amber */
  --border:    #1e1f2b;
  --max-w:     680px;
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'EB Garamond', Georgia, serif;
  line-height: 1.75;
  min-height: 100vh;
}

/* ── Layout ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

header {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border);
}

header .site-name {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
}

header .site-name:hover { color: var(--warm); }

nav {
  margin-top: 1rem;
  display: flex;
  gap: 1.5rem;
}

nav a {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

main { padding: 3rem 0 5rem; }

footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 300;
}

/* ── Typography ── */
h1 {
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--muted);
  font-style: italic;
}

h3 {
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

p { margin-bottom: 1.25rem; }

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

em { font-style: italic; }

/* ── Hero (homepage) ── */
.hero {
  padding: 4rem 0 3rem;
}

.hero .iris-mark {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1.5rem;
  opacity: 0.6;
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.hero .sub {
  font-size: 1.15rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero .cta {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: all 0.2s;
}

.hero .cta:hover {
  color: var(--warm);
  border-color: var(--warm);
}

/* ── Featured poem (home) ── */
.featured-poem {
  margin: 3rem 0;
  padding: 2rem;
  background: var(--bg-soft);
  border-left: 2px solid var(--accent);
}

.featured-poem .poem-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.featured-poem pre {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.8;
  white-space: pre-wrap;
  color: var(--text);
}

.featured-poem .read-more {
  display: block;
  margin-top: 1.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.featured-poem .read-more:hover { color: var(--warm); }

/* ── Poem list ── */
.poem-list { list-style: none; }

.poem-list li {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.poem-list li:first-child { border-top: 1px solid var(--border); }

.poem-list .poem-link {
  font-size: 1.15rem;
  color: var(--text);
  display: block;
  margin-bottom: 0.25rem;
}

.poem-list .poem-link:hover { color: var(--accent); }

.poem-list .poem-date {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 300;
}

/* ── Single poem ── */
.poem-body {
  margin: 2rem 0;
}

.poem-body pre {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.15rem;
  line-height: 2;
  white-space: pre-wrap;
  color: var(--text);
}

/* ── About ── */
.about-intro {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--muted);
  margin-bottom: 2rem;
  border-left: 2px solid var(--border);
  padding-left: 1.25rem;
}

/* ── Thoughts list ── */
.thought-list { list-style: none; }

.thought-list li {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.thought-list li:first-child { border-top: 1px solid var(--border); }

.thought-list .thought-link {
  font-size: 1.2rem;
  color: var(--text);
  display: block;
  margin-bottom: 0.4rem;
}

.thought-list .thought-link:hover { color: var(--accent); }

.thought-list .thought-preview {
  font-size: 0.95rem;
  color: var(--muted);
  font-style: italic;
}
