/* ══════════════════════════════════════════
   ABOUT / STORY PAGE - about-styles.css
   Editorial. Personal. Not a product page.
══════════════════════════════════════════ */

/* ─── Page wrap: narrow, reading-width ─── */
.journal-wrap {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  padding: 5rem 2rem 7rem;
}

/* ─── Header ─── */
.journal-header {
  text-align: center;
  margin-bottom: 3rem;
}

.journal-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.journal-title {
  font-family: 'Chakra Petch', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 1.1rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.journal-sig {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.sig-name, .sig-handle {
  color: var(--orange);
}

.sig-sep {
  opacity: 0.4;
}

.journal-intro {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.9;
  text-align: left;
  margin-bottom: 2.25rem;
}

.journal-intro em {
  color: var(--text-bright);
  font-style: italic;
}

/* ─── Chapter jump nav ─── */
.journal-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
}

.jnav-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.jnav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.2s;
  transform-origin: left;
}

.jnav-link:hover {
  color: var(--orange);
}

.jnav-link:hover::after {
  transform: scaleX(1);
}

/* ─── Divider ─── */
.journal-divider {
  text-align: center;
  font-size: 0.7rem;
  color: rgba(255, 106, 0, 0.25);
  letter-spacing: 0.5em;
  margin: 3.5rem 0;
  user-select: none;
}

/* ─── Chapter ─── */
.chapter {
  margin-bottom: 0;
}

.chapter-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--orange);
  opacity: 0.7;
  margin-bottom: 0.5rem;
}

.chapter-title {
  font-family: 'Chakra Petch', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 1.75rem;
  letter-spacing: -0.01em;
}

/* ─── Prose ─── */
.chapter p {
  font-size: 0.97rem;
  color: var(--text-mid);
  line-height: 1.95;
  margin-bottom: 1.25rem;
}

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

.chapter p strong {
  color: var(--text-bright);
  font-weight: 600;
}

.chapter p em {
  color: var(--orange);
  font-style: normal;
  font-weight: 500;
}

/* ─── Chapter note (dated inset) ─── */
.chapter-note {
  border-left: 2px solid rgba(255, 106, 0, 0.35);
  padding: 1rem 1.25rem;
  margin: 1.75rem 0;
  background: rgba(255, 106, 0, 0.03);
  border-radius: 0 6px 6px 0;
}

.chapter-note .note-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

.chapter-note p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin: 0;
}

.chapter-note p em {
  color: var(--text-bright);
  font-style: italic;
}

.chapter-note-shoutout {
  border-color: rgba(192, 132, 252, 0.3);
  background: rgba(192, 132, 252, 0.03);
}

.chapter-note-shoutout p strong {
  color: #c084fc;
  font-weight: 600;
}

.chapter-note-shoutout p em {
  color: var(--text-bright);
  font-style: italic;
}

/* ─── Generation note (inline smaller text) ─── */
.gen-note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2rem !important;
  padding: 0.6rem 0.85rem;
  background: rgba(0,0,0,0.3);
  border-radius: 5px;
  border: 1px solid var(--border);
}

.gen-note em {
  color: var(--text-mid) !important;
  font-style: italic;
  font-weight: normal !important;
}

/* ─── Generation timeline ─── */
.gen-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  margin: 0.5rem 0;
}

.gen-timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: linear-gradient(180deg,
    rgba(255, 106, 0, 0.5) 0%,
    rgba(255, 106, 0, 0.15) 80%,
    transparent 100%
  );
}

.gen-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  align-items: flex-start;
  position: relative;
}

.gen-item + .gen-item {
  border-top: 1px solid rgba(255, 80, 0, 0.06);
}

.gen-marker {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(10, 3, 0, 1);
  border: 1px solid rgba(255, 106, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--orange);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.gen-item.gen-special .gen-marker {
  border-color: rgba(255, 204, 0, 0.5);
  color: var(--yellow);
  box-shadow: 0 0 10px rgba(255, 204, 0, 0.2);
}

.gen-id {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.gen-name {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.gen-item.gen-special .gen-name {
  color: var(--yellow);
}

.gen-mc {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  color: var(--orange);
  opacity: 0.7;
  font-weight: 400;
  letter-spacing: 0.05em;
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  border: 1px solid rgba(255, 106, 0, 0.2);
  background: rgba(255, 106, 0, 0.05);
}

.gen-body p {
  font-size: 0.86rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0;
}

.gen-body p em {
  color: var(--orange);
  font-style: normal;
}

/* ─── Blockquote ─── */
.journal-quote {
  border: none;
  margin: 2rem 0;
  padding: 0 0 0 1.5rem;
  position: relative;
}

.journal-quote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.3em;
  bottom: 0.3em;
  width: 2px;
  background: linear-gradient(180deg, var(--orange), rgba(255, 106, 0, 0.2));
  border-radius: 2px;
}

.journal-quote p,
.journal-quote {
  font-size: 0.97rem;
  color: var(--text-bright);
  line-height: 1.8;
  font-style: italic;
}

.journal-quote-big {
  padding: 1.1rem 1.4rem;
  background: rgba(255, 106, 0, 0.04);
  border-radius: 0 8px 8px 0;
  border-left: 2px solid var(--orange);
}

.journal-quote-big,
.journal-quote-big p {
  font-size: 1.05rem;
  color: var(--text-bright);
  font-style: italic;
  font-weight: 500;
  line-height: 1.75;
}

/* ─── Sub-headings within chapters ─── */
.ch-subhead {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 2.25rem 0 1rem;
}

/* ─── Footer ─── */
.journal-footer {
  text-align: center;
}

.journal-footer > p {
  font-size: 0.97rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.journal-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.journal-sign {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

/* ─── Responsive ─── */
@media (max-width: 640px) {
  .journal-wrap { padding: 4rem 1.5rem 5rem; }
  .gen-timeline::before { left: 14px; }
}

@media (max-width: 420px) {
  .journal-nav { flex-direction: column; align-items: center; gap: 0.6rem; }
}
