/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   jagadeshbabu.com — main.css
   Mobile-first. Zero external requests.
   Breakpoints: 600px (tablet) · 900px (desktop)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ── FONTS ── */
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/fonts/ibm-plex-mono-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/fonts/ibm-plex-mono-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ── TOKENS ── */
:root {
  --black:   #0f0f0f;
  --dark:    #1a1a1a;
  --mid:     #555555;
  --muted:   #888888;
  --faint:   #bbbbbb;
  --rule:    #e8e8e8;
  --bg:      #ffffff;
  --surface: #fafafa;
  --red:     #C0392B;
  --red-lt:  #fdf2f1;

  --mono: 'IBM Plex Mono','Menlo','Monaco','Consolas','Liberation Mono','Courier New',monospace;
  --serif: 'Georgia','Times New Roman',serif;
  --sans: 'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI','Helvetica Neue',Arial,sans-serif;
}

/* ── RESET ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--dark);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

img { max-width: 100%; height: auto; display: block; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── LAYOUT ── */
.site-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 600px) { .site-wrap { padding: 0 1.75rem; } }
@media (min-width: 900px) { .site-wrap { padding: 0 2rem; } }

/* ── NAV ── */
nav {
  padding: 1.25rem 0 1rem;
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.nav-brand {
  color: var(--dark);
  text-decoration: none;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}

.nav-brand-icon {
  width: 48px;
  height: 48px;
  background: var(--bg);
  border: 2px solid var(--dark);
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  position: relative;
}

.nav-brand-icon::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--rule);
  z-index: -1;
}

.nav-brand-text {
  font-family: var(--serif);
  font-size: clamp(2rem, 6.5vw, 3rem);
  font-weight: 700;
  color: var(--black);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  list-style: none;
  flex-wrap: wrap;
}
.nav-links a {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.5rem;
  font-weight: 400;
}
.nav-links a:hover { color: var(--dark); }
.nav-links a.active { color: var(--black); font-weight: 500; }

.nav-links a:focus-visible {
  outline: 2px solid var(--dark);
  outline-offset: 3px;
  border-radius: 2px;
}
@media (min-width: 600px) { nav { padding: 1.75rem 0 1.5rem; } }

/* ── FOOTER ── */
footer { padding: 1.75rem 0; border-top: 1px solid var(--rule); }
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-left { font-family: var(--mono); font-size: 10px; color: var(--faint); }
.footer-right { display: flex; flex-wrap: wrap; }
.footer-right { gap: 10px; }
.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--rule);
  background: transparent;
  text-decoration: none;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--dark);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.social-pill:hover {
  background: var(--surface);
  border-color: var(--dark);
  color: var(--dark);
}
.social-pill-mark {
  width: 22px;
  height: 22px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
}
.social-pill-text { white-space: nowrap; }
.footer-right a {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--faint);
  text-decoration: none;
  transition: color 0.15s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding-right: 1rem;
}
.footer-right a:hover { color: var(--dark); }

.footer-right a.social-pill {
  /* Override generic footer link styles */
  color: var(--dark);
  min-height: auto;
  padding-right: 14px;
}

@media (min-width: 600px) {
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; }
  .footer-right a { min-height: auto; }
}

/* ── BUTTONS ── */
.btn {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  padding: 0 18px;
  height: 48px;
  text-decoration: none;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}
.btn-primary { background: var(--dark); color: #fff; }
.btn-primary:hover { background: var(--black); }
.btn-ghost { background: transparent; color: var(--muted); border: 1px solid var(--rule); }
.btn-ghost:hover { border-color: var(--dark); color: var(--dark); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HOME PAGE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.hero { padding: 2.5rem 0 2rem; }
.hero-tag {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--red);
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}
.avatar-wrap { margin-bottom: 1.5rem; }
.avatar {
  width: 48px;
  height: 48px;
  border: 2px solid var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  position: relative;
}
.avatar::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--rule);
  z-index: -1;
}
.hero-name {
  font-family: var(--mono);
  font-size: clamp(1.75rem, 8vw, 2.75rem);
  font-weight: 700;
  color: var(--black);
  line-height: 1.05;
  letter-spacing: -0.02em;
  white-space: nowrap;
  margin-bottom: 0.4rem;
}
.hero-role {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
  line-height: 1.5;
}
.hero-bio {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--mid);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 0.6rem;
}
.hero-bio strong { font-weight: 500; color: var(--dark); }
.hero-power {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
  font-style: italic;
}
.hero-actions { display: flex; gap: 8px; flex-wrap: wrap; }

@media (min-width: 600px) {
  .hero { padding: 3.5rem 0 3rem; }
  .avatar { width: 52px; height: 52px; }
  .hero-bio { font-size: 16px; }
}
@media (min-width: 900px) { .hero { padding: 4rem 0 3.5rem; } }

/* ── SECTIONS ── */
.section { padding: 2rem 0; border-top: 1px solid var(--rule); }
.section-tag {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--red);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
@media (min-width: 600px) { .section { padding: 2.75rem 0; } }
@media (min-width: 900px) { .section { padding: 3rem 0; } }

/* ── BELIEFS ── */
.beliefs { display: flex; flex-direction: column; }
.belief {
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  gap: 0.75rem;
  align-items: start;
}
.belief:last-child { border-bottom: none; }
.belief-num { font-family: var(--mono); font-size: 10px; color: var(--faint); padding-top: 3px; }
.belief-text { font-family: var(--sans); font-size: 14px; color: var(--dark); line-height: 1.65; font-weight: 300; }
.belief-text strong { font-weight: 500; }
@media (min-width: 600px) {
  .belief { padding: 1.25rem 0; }
  .belief-text { font-size: 15px; }
}

/* ── HOME POST LIST ── */
.posts { display: flex; flex-direction: column; }
.post-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  text-decoration: none;
  transition: opacity 0.15s;
  min-height: 48px;
}
.post-item:hover { opacity: 0.7; }
.post-item:last-child { border-bottom: none; }
.post-title { font-family: var(--mono); font-size: 14px; font-weight: 500; color: var(--dark); line-height: 1.4; }
.post-meta { font-family: var(--mono); font-size: 10px; color: var(--faint); white-space: nowrap; flex-shrink: 0; }
@media (min-width: 600px) { .post-title { font-size: 15px; } }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   WRITING LIST PAGE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.page-header { padding: 2.5rem 0 2rem; }
.page-tag { font-family: var(--mono); font-size: 10px; color: var(--red); letter-spacing: 0.08em; margin-bottom: 0.75rem; }
.page-title {
  font-family: var(--mono);
  font-size: clamp(1.75rem, 7vw, 2.5rem);
  font-weight: 700;
  color: var(--black);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.page-desc { font-family: var(--sans); font-size: 14px; color: var(--mid); font-weight: 300; line-height: 1.75; }
@media (min-width: 600px) {
  .page-header { padding: 3.5rem 0 2.5rem; }
  .page-desc { font-size: 15px; }
}

/* filter */
.filter-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 1.25rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.filter-btn {
  font-family: var(--mono);
  font-size: 10px;
  padding: 0 12px;
  height: 40px;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
}
.filter-btn:hover { border-color: var(--dark); color: var(--dark); }
.filter-btn.active { background: var(--dark); color: #fff; border-color: var(--dark); }

/* post entries */
.post-list { display: flex; flex-direction: column; }
.post-entry {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule);
  display: block;
  text-decoration: none;
  transition: opacity 0.15s;
  cursor: pointer;
}
.post-entry:hover { opacity: 0.7; }
.post-entry:last-child { border-bottom: none; }
.post-entry.hidden { display: none; }
.post-entry-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.post-entry-text { flex: 1; min-width: 0; }
.post-pillar {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--red);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.post-title {
  font-family: var(--serif);
  font-size: clamp(1rem, 4vw, 1.2rem);
  font-weight: 700;
  color: var(--black);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.post-excerpt {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--mid);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 8px;
}
.post-read { font-family: var(--mono); font-size: 10px; color: var(--faint); }
.post-date-col { text-align: right; padding-top: 2px; flex-shrink: 0; }
.post-date { font-family: var(--mono); font-size: 10px; color: var(--faint); white-space: nowrap; }
@media (min-width: 600px) {
  .post-entry { padding: 2rem 0; }
  .post-excerpt { font-size: 14px; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SINGLE ESSAY PAGE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.essay-view { padding: 2rem 0; }
.essay-back {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: none;
  margin-bottom: 1.75rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s;
  min-height: 48px;
  text-decoration: none;
}
.essay-back:hover { color: var(--dark); }
.essay-pillar {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--red);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.essay-title {
  font-family: var(--mono);
  font-size: clamp(1.5rem, 6vw, 2.25rem);
  font-weight: 700;
  color: var(--black);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}
.essay-date {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--faint);
  display: block;
  margin-bottom: 2rem;
}
.essay-body {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--mid);
  line-height: 1.85;
  font-weight: 300;
}
.essay-body p { margin-bottom: 1.25rem; }
.essay-body h2 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.01em;
}
.essay-body strong { font-weight: 500; color: var(--dark); }
.essay-body em { font-style: italic; }
.essay-body blockquote {
  border-left: 2px solid var(--dark);
  padding: 0.75rem 0 0.75rem 1.25rem;
  margin: 1.5rem 0;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--dark);
  font-style: italic;
}
.essay-rule { width: 36px; height: 2px; background: var(--dark); margin: 2.5rem 0 1.75rem; }
.essay-share { display: flex; gap: 8px; flex-wrap: wrap; }
.share-btn {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  padding: 0 18px;
  height: 48px;
  text-decoration: none;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}
.share-btn-primary { background: var(--dark); color: #fff; }
.share-btn-primary:hover { background: var(--black); }
.share-btn-ghost { background: transparent; color: var(--muted); border: 1px solid var(--rule); }
.share-btn-ghost:hover { border-color: var(--dark); color: var(--dark); }

/* prev/next nav */
.post-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}
.post-nav-link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: opacity 0.15s;
}
.post-nav-link:hover { opacity: 0.7; }
.post-nav-label { font-family: var(--mono); font-size: 10px; color: var(--faint); }
.post-nav-title { font-family: var(--mono); font-size: 14px; font-weight: 500; color: var(--dark); line-height: 1.4; }
@media (min-width: 600px) {
  .post-nav { flex-direction: row; justify-content: space-between; }
  .post-nav-next { text-align: right; }
  .essay-body { font-size: 16px; }
  .essay-body h2 { font-size: 1.3rem; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   STATIC PAGES (manual, now)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.page-body { padding: 0 0 3rem; }

/* manual */
.toc { background: var(--surface); border: 1px solid var(--rule); padding: 1.25rem; margin-bottom: 2.5rem; }
.toc-label { font-family: var(--mono); font-size: 9px; color: var(--faint); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px; }
.toc-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.toc-list a {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
}
.toc-list a::before { content: ''; width: 14px; height: 1px; background: var(--rule); flex-shrink: 0; }
.toc-list a:hover { color: var(--dark); }

.manual-section { padding: 2rem 0; border-top: 1px solid var(--rule); }
.section-num { font-family: var(--mono); font-size: 9px; color: var(--red); letter-spacing: 0.08em; margin-bottom: 6px; }
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 5vw, 1.5rem);
  font-weight: 700;
  color: var(--black);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.section-body { font-family: var(--sans); font-size: 14px; color: var(--mid); line-height: 1.85; font-weight: 300; }
.section-body p { margin-bottom: 1.1rem; }
.section-body p:last-child { margin-bottom: 0; }
.section-body strong { font-weight: 500; color: var(--dark); }
@media (min-width: 600px) {
  .manual-section { padding: 2.5rem 0; }
  .section-body { font-size: 15px; }
}

.cards { display: flex; flex-direction: column; margin-top: 1rem; }
.card {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  gap: 0.75rem;
  align-items: start;
}
.card:last-child { border-bottom: none; }
.card-icon { font-family: var(--mono); font-size: 10px; color: var(--faint); padding-top: 3px; }
.card-body { font-family: var(--sans); font-size: 14px; color: var(--mid); line-height: 1.65; font-weight: 300; }
.card-body strong { font-weight: 500; color: var(--dark); }

.two-col {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 1.25rem;
}
.col-item { background: var(--bg); padding: 1rem; }
.col-label { font-family: var(--mono); font-size: 9px; color: var(--red); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.col-list { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.col-list li { font-family: var(--sans); font-size: 13px; color: var(--mid); font-weight: 300; padding-left: 14px; position: relative; line-height: 1.55; }
.col-list li::before { content: '—'; position: absolute; left: 0; color: var(--faint); font-size: 11px; }
@media (min-width: 600px) { .two-col { flex-direction: row; } .col-item { flex: 1; } }

.pull-quote {
  border-left: 2px solid var(--dark);
  padding: 0.9rem 0 0.9rem 1.25rem;
  margin: 1.75rem 0;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--dark);
  line-height: 1.6;
  font-style: italic;
}

/* now */
.last-updated {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--faint);
  padding: 0.9rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
}
.update-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex-shrink: 0; }
.now-section { padding: 1.75rem 0; border-bottom: 1px solid var(--rule); }
.now-section:last-of-type { border-bottom: none; }
.now-tag { font-family: var(--mono); font-size: 9px; color: var(--red); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.now-title {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 4vw, 1.3rem);
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.01em;
  margin-bottom: 0.9rem;
}
.now-body { font-family: var(--sans); font-size: 14px; color: var(--mid); line-height: 1.85; font-weight: 300; }
.now-body p { margin-bottom: 0.9rem; }
.now-body p:last-child { margin-bottom: 0; }
.now-body strong { font-weight: 500; color: var(--dark); }
@media (min-width: 600px) { .now-section { padding: 2.25rem 0; } .now-body { font-size: 15px; } }

.now-list { list-style: none; margin-top: 0.9rem; display: flex; flex-direction: column; gap: 8px; }
.now-list li {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--mid);
  font-weight: 300;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  line-height: 1.6;
}
.now-list li::before {
  content: '—';
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
  padding-top: 2px;
  flex: 0 0 1.5rem;
}
.now-list strong { font-weight: 500; color: var(--dark); }

.book {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.book:last-child { border-bottom: none; }
.book-title { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--dark); margin-bottom: 3px; }
.book-author { font-family: var(--mono); font-size: 10px; color: var(--faint); }
.book-status {
  font-family: var(--mono);
  font-size: 9px;
  padding: 3px 8px;
  border-radius: 20px;
  white-space: nowrap;
  align-self: flex-start;
  flex-shrink: 0;
}
.status-reading { background: var(--red-lt); color: var(--red); }
.status-next { background: #f4f4f4; color: var(--faint); }
.status-read { background: #f0fdf4; color: #166534; }

.not-doing { background: var(--surface); border: 1px solid var(--rule); padding: 1rem 1.25rem; margin-top: 1.25rem; }
.not-doing-label { font-family: var(--mono); font-size: 9px; color: var(--faint); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px; }
.not-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.not-list li {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--faint);
  font-weight: 300;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  text-decoration: line-through;
  text-decoration-color: #ddd;
  line-height: 1.55;
}
.not-list li::before {
  content: '✕';
  font-family: var(--mono);
  font-size: 9px;
  color: var(--faint);
  padding-top: 2px;
  flex: 0 0 1.25rem;
}

.now-blurb { padding: 1.75rem 0; border-top: 1px solid var(--rule); margin-top: 1rem; }
.now-blurb p { font-family: var(--mono); font-size: 10px; color: var(--faint); line-height: 1.7; }
.now-blurb a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--rule); }
.now-blurb a:hover { color: var(--dark); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CONTACT PAGE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.contact-section { display: flex; flex-direction: column; gap: 0; margin-bottom: 2.5rem; }
.contact-row {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule);
}
.contact-row:first-child { border-top: 1px solid var(--rule); }
.contact-label { font-family: var(--mono); font-size: 10px; color: var(--red); letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.contact-link {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: color 0.15s, border-color 0.15s;
  display: inline-block;
  margin-bottom: 0.4rem;
}
.contact-link:hover { color: var(--red); border-color: var(--red); }
.contact-note { font-family: var(--sans); font-size: 13px; color: var(--muted); font-weight: 300; }

.contact-open { background: var(--surface); border: 1px solid var(--rule); padding: 1.25rem 1.5rem; margin-bottom: 1.25rem; }
.contact-open-label { font-family: var(--mono); font-size: 9px; color: var(--faint); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.75rem; }
.contact-open-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.contact-open-list li {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--mid);
  font-weight: 300;
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.4rem;
  line-height: 1.55;
}
.contact-open-list li::before { content: '→'; font-family: var(--mono); font-size: 10px; color: var(--red); padding-top: 1px; }

.contact-closed { background: var(--surface); border: 1px solid var(--rule); padding: 1.25rem 1.5rem; margin-bottom: 2.5rem; }
.contact-closed-label { font-family: var(--mono); font-size: 9px; color: var(--faint); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.75rem; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-tag    { animation: fadeUp 0.4s ease both; }
  .avatar-wrap { animation: fadeUp 0.4s 0.08s ease both; }
  .hero-name   { animation: fadeUp 0.4s 0.14s ease both; }
  .hero-role   { animation: fadeUp 0.4s 0.18s ease both; }
  .hero-bio    { animation: fadeUp 0.4s 0.22s ease both; }
  .hero-power  { animation: fadeUp 0.4s 0.26s ease both; }
  .hero-actions{ animation: fadeUp 0.4s 0.30s ease both; }
  .page-header { animation: fadeUp 0.4s ease both; }
}
