@charset "UTF-8";
/**
 * Classic Paperback Theme
 * Inspired by traditional printed paperback books with cream/yellow pages and black ink
 */
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;700&family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap");
:root {
  /* Paperback-inspired color palette */
  --accent-primary: #2d2520; /* Dark brown - like binding */
  --accent-secondary: #5c4a3d; /* Medium brown - accent color */
  --accent-tertiary: #8b6f47; /* Lighter brown - subtle accents */
  /* Page and surface colors */
  --surface-dark: #f4e8d0; /* Cream/off-white paperback page color */
  --surface-light: #e8dcc0; /* Slightly darker cream for contrast */
  --surface-elevated: #ede1cf; /* Elevated surface */
  /* Text colors - black ink on cream paper */
  --text-primary: #1a1a1a; /* Black ink - primary text */
  --text-secondary: #4a4a4a; /* Charcoal - secondary text */
  --text-dark: #1a1a1a; /* Dark text */
  --text-dark-secondary: #6b6b6b; /* Muted dark text */
  /* Border & divider styling */
  --border-subtle: 1px solid rgba(45, 37, 32, 0.15);
  --border-accent: 1px solid var(--accent-primary);
  --border-paper: 2px solid var(--accent-secondary);
  /* Code styling - typewriter aesthetic */
  --background-color-code: #e8dcc0;
  --code-border: 1px solid rgba(45, 37, 32, 0.2);
  /* Selection and highlights */
  --selection-background: rgba(45, 37, 32, 0.15);
  --selection-text: var(--text-primary);
  /* For compatibility with existing setup */
  --base-color: var(--text-primary);
  --border: var(--border-subtle);
  --background-color: var(--surface-dark);
  --text-color: var(--text-primary);
  --placeholder-color: var(--text-secondary);
  --link-color: var(--accent-primary);
}

/* Syntax highlighting colors - muted, book-appropriate */
:root {
  --code-color-1: #6b6b6b; /* Comments - gray */
  --code-color-2: #8b6f47; /* Highlight - brown */
  --code-color-3: #8b3a3a; /* Error - dark red */
  --code-color-4: #c9a682; /* Error background - light brown */
  --code-color-5: #5c4a3d; /* Keywords - brown */
  --code-color-6: #5c4a3d; /* Preprocessor - brown */
  --code-color-7: #8b3a3a; /* Deleted - dark red */
  --code-color-8: #2d2520; /* Heading - dark brown */
  --code-color-9: #556b2f; /* Inserted - olive green */
  --code-color-10: #6b6b6b; /* Output - gray */
  --code-color-11: #8b8b8b; /* Prompt - medium gray */
  --code-color-12: #5c4a3d; /* Subheading - brown */
  --code-color-13: #2d2520; /* Dark */
  --code-color-14: #4a4a4a; /* Medium */
  --code-color-15: #8b6f47; /* Light brown */
  --code-color-16: #2d2520; /* Dark brown */
}

html[data-theme=dark] {
  color-scheme: dark;
  --accent-primary: #e8dcc9;
  --accent-secondary: #d9bc8d;
  --accent-tertiary: #b88f57;
  --surface-dark: #191a1c;
  --surface-light: #212327;
  --surface-elevated: #2a2d33;
  --text-primary: #ece7dc;
  --text-secondary: #c5bbab;
  --text-dark: #ece7dc;
  --text-dark-secondary: #a99f90;
  --border-subtle: 1px solid rgba(232, 220, 201, 0.2);
  --border-accent: 1px solid var(--accent-primary);
  --border-paper: 2px solid var(--accent-secondary);
  --background-color-code: #14161a;
  --code-border: 1px solid rgba(232, 220, 201, 0.22);
  --selection-background: rgba(217, 188, 141, 0.3);
  --selection-text: var(--text-primary);
  --base-color: var(--text-primary);
  --border: var(--border-subtle);
  --background-color: var(--surface-dark);
  --text-color: var(--text-primary);
  --placeholder-color: var(--text-secondary);
  --link-color: var(--accent-primary);
  --code-color-1: #9f9789;
  --code-color-2: #c7a36f;
  --code-color-3: #e69a9a;
  --code-color-4: #3a2e30;
  --code-color-5: #dcc39f;
  --code-color-6: #dcc39f;
  --code-color-7: #f1adad;
  --code-color-8: #ece7dc;
  --code-color-9: #b8d39a;
  --code-color-10: #a79f91;
  --code-color-11: #bab2a3;
  --code-color-12: #d9bc8d;
  --code-color-13: #ece7dc;
  --code-color-14: #d0c7b8;
  --code-color-15: #c7a36f;
  --code-color-16: #ece7dc;
}

/**
 * Futuristic Paperback Theme - Enhanced Styling
 * Typography, spacing, and visual design elements
 */
/* ================================================================
   Typography & Font Sizing
   ================================================================ */
body {
  margin: 0;
  padding: 0;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.3px;
}

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

/* Refined heading styles */
h1 {
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -1.5px;
  margin-top: 2rem !important;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: var(--text-primary);
}
h1::before {
  content: "//";
  display: inline-block;
  color: var(--accent-secondary);
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1em;
  font-weight: 700;
  line-height: 1;
  padding: 0;
  margin-right: 0.3em;
  vertical-align: baseline;
}

h2 {
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  margin-top: 2.2rem !important;
  margin-bottom: 0.8rem;
  letter-spacing: -0.8px;
  color: var(--text-primary);
  border-bottom: 2px solid var(--accent-primary);
  padding-bottom: 0.5rem;
}

h3 {
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 1.8rem !important;
  margin-bottom: 0.6rem;
  color: var(--accent-secondary);
}

h4, h5, h6 {
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1.4rem !important;
  margin-bottom: 0.5rem;
  color: var(--accent-tertiary);
}

/* ================================================================
   Body Text & Paragraphs
   ================================================================ */
p {
  margin-bottom: 1.2rem;
  line-height: 1.8 !important;
  word-wrap: break-word;
  word-break: break-word;
  white-space: pre-line;
  color: var(--text-primary);
}
p:last-child {
  margin-bottom: 0;
}

img,
svg,
video,
iframe {
  max-width: 100%;
  height: auto;
}

table {
  width: 100%;
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
}

strong {
  color: var(--accent-primary);
  font-weight: 700;
  letter-spacing: -0.2px;
}

em {
  color: var(--accent-secondary);
  font-style: italic;
}

/* ================================================================
   Code & Syntax Highlighting
   ================================================================ */
code {
  background-color: var(--background-color-code);
  border: var(--code-border);
  padding: 0.2em 0.4em;
  border-radius: 3px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.95em;
  color: var(--accent-secondary);
}

pre {
  background-color: var(--background-color-code);
  border-left: 4px solid var(--accent-primary);
  border: var(--code-border);
  padding: 1rem;
  margin: 1.5rem 0;
  overflow-x: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  border-radius: 4px;
  line-height: 1.7 !important;
}
pre code {
  background-color: transparent;
  border: none;
  padding: 0;
  color: var(--text-primary);
}

figure.highlight {
  margin: 1.5rem 0;
  background-color: var(--background-color-code);
  border-left: 4px solid var(--accent-primary);
  border: var(--code-border);
  border-radius: 4px;
}
figure.highlight pre {
  margin: 0;
  border: none;
  border-left: none;
  padding: 1rem;
  background-color: transparent;
}

/* ================================================================
   Lists & Containers
   ================================================================ */
ul, ol {
  margin-bottom: 1.2rem;
  padding-left: 2rem;
}
ul li, ol li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
  color: var(--text-primary);
}
ul li::marker, ol li::marker {
  color: var(--accent-secondary);
  font-weight: 700;
}

:not(.menu) > ul {
  list-style: none;
  padding-left: 0;
}
:not(.menu) > ul > li:before {
  content: "→ ";
  margin-right: 0.75rem;
  color: var(--accent-secondary);
  font-weight: 700;
}

blockquote {
  border-left: 4px solid var(--accent-tertiary);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  color: var(--text-secondary);
  font-style: italic;
}
blockquote p {
  margin-bottom: 0;
}

/* ================================================================
   Links
   ================================================================ */
a {
  color: var(--accent-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  transition: all 0.2s ease;
}
a:hover {
  color: var(--surface-dark);
  background-color: var(--accent-primary);
  text-decoration: none;
  padding: 2px 4px;
  border-radius: 2px;
}
a:visited {
  color: var(--accent-tertiary);
}

/* ================================================================
   Header & Navigation
   ================================================================ */
header {
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--border-accent);
}
header p {
  text-align: left;
  margin: 0.5rem 0;
}
header .title {
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin: 0;
  letter-spacing: -1.5px;
  position: relative;
}
header .title::after {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary), transparent);
  width: 40%;
  margin-top: 1rem;
}
header .tagline {
  color: var(--text-secondary);
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  margin-top: 0.5rem;
  letter-spacing: 0.5px;
}

.menu {
  border-top: var(--border-subtle);
  border-bottom: var(--border-subtle);
  margin-bottom: 2rem;
  padding: 1rem 0;
}
.menu ul {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0;
  list-style-type: none;
  text-align: right;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.menu ul li {
  display: inline;
  margin-left: 0;
}
.menu ul li a {
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-primary);
  letter-spacing: 0.3px;
  position: relative;
  padding-bottom: 4px;
}
.menu ul li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--accent-primary);
  transition: width 0.3s ease;
}
.menu ul li a:hover {
  color: var(--accent-primary);
  background-color: transparent;
  padding: 0;
}
.menu ul li a:hover::after {
  width: 100%;
}

/* ================================================================
   Footer
   ================================================================ */
footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--border-accent);
  color: var(--text-secondary);
  text-align: center;
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
}
footer p {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}
footer a {
  color: var(--accent-secondary);
}
footer a:hover {
  background-color: var(--accent-secondary);
  color: var(--surface-dark);
}

/* ================================================================
   Forms & Input
   ================================================================ */
input[type=text],
select,
textarea {
  background-color: var(--background-color-code);
  border: var(--code-border);
  padding: 0.75rem;
  border-radius: 3px;
  color: var(--text-primary);
  font-family: "IBM Plex Mono", monospace;
}
input[type=text]:focus,
select:focus,
textarea:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(15, 122, 255, 0.1);
}

input[type=submit] {
  background-color: var(--accent-primary);
  color: white;
  border: 2px solid var(--accent-primary);
  padding: 0.75rem 1.5rem;
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  cursor: pointer;
  border-radius: 3px;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
}
input[type=submit]:hover {
  background-color: var(--accent-secondary);
  border-color: var(--accent-secondary);
}

/* ================================================================
   Page Layout & Container
   ================================================================ */
main {
  min-height: calc(100vh - 300px);
  padding: 2rem 0;
}

.container {
  width: 90%;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .container {
    max-width: 100%;
    width: 100%;
    padding: 0 0.85rem;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }
}

/* ================================================================
   Post & Article Styles
   ================================================================ */
.post .post-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--border-accent);
}
.post .post-title {
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  color: var(--accent-primary);
}
.post .post-meta {
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  letter-spacing: 0.3px;
}
.post .post-meta time {
  font-weight: 500;
  color: var(--accent-secondary);
}
.post .post-content {
  line-height: 1.8;
}
.post .post-content > *:last-child {
  margin-bottom: 0;
}

/* ================================================================
   Utility & Miscellaneous
   ================================================================ */
::selection {
  background: var(--selection-background);
  color: var(--selection-text);
}

::-moz-selection {
  background: var(--selection-background);
  color: var(--selection-text);
}

hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent-primary), transparent);
  margin: 2rem 0;
}

/* Responsive typography */
@media (max-width: 768px) {
  h1 {
    font-size: 1.8rem;
    letter-spacing: -1px;
  }
  h1::before {
    font-size: 1em;
    padding: 0;
    margin-right: 0.28em;
  }
  h2 {
    font-size: 1.5rem;
    margin-top: 1.6rem !important;
  }
  h3 {
    font-size: 1.2rem;
  }
  body,
  p,
  li {
    font-size: 0.95rem;
  }
  main {
    padding: 1.5rem 0;
  }
  header {
    margin-top: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
  }
  header .title {
    font-size: 2rem;
    letter-spacing: -1px;
  }
  blockquote {
    margin: 1rem 0;
    padding-left: 1rem;
  }
  .menu ul {
    flex-direction: column;
    gap: 0.65rem;
    justify-content: flex-start;
    align-items: flex-start;
  }
  .menu ul li {
    width: 100%;
  }
  .menu ul li a {
    display: inline-block;
    width: 100%;
    padding: 0.35rem 0;
  }
  .post .post-title {
    font-size: 1.5rem;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  h1::before {
    font-size: 1em;
    padding: 0;
    margin-right: 0.26em;
  }
  h2 {
    font-size: 1.25rem;
  }
  h3,
  h4,
  h5,
  h6 {
    font-size: 1.05rem;
  }
  body,
  p,
  li {
    font-size: 0.9rem;
    line-height: 1.65 !important;
  }
  header .title {
    font-size: 1.7rem;
  }
  .post .post-title {
    font-size: 1.3rem;
  }
  pre,
  figure.highlight pre {
    padding: 0.8rem;
  }
}
/**
 * Path Navigation & Slash Design System
 * Core "/" design principle for NonAxiomatic Systems
 */
/* ================================================================
   Path Separator / Breadcrumb Navigation
   ================================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  gap: 0.75rem;
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  letter-spacing: 0.3px;
}
.breadcrumb .breadcrumb-item {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 0.5rem;
}
.breadcrumb .breadcrumb-item a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: all 0.2s ease;
}
.breadcrumb .breadcrumb-item a:hover {
  color: var(--accent-primary);
  text-decoration: underline;
}
.breadcrumb .breadcrumb-separator {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0.25rem;
  background-color: var(--surface-elevated);
  padding: 0.1rem 0.4rem;
  border-radius: 2px;
}
.breadcrumb .slash,
.breadcrumb .breadcrumb-separator {
  display: inline-block;
  vertical-align: baseline;
  line-height: 1;
  font-size: 0.95rem;
  padding: 0.08rem 0.34rem;
  border-radius: 2px;
}
.breadcrumb .breadcrumb-separator {
  position: relative;
  top: 0.04em;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: var(--border-subtle);
  background-color: var(--surface-elevated);
  color: var(--text-primary);
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.35px;
  line-height: 1;
  border-radius: 999px;
  padding: 0.36rem 0.62rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.theme-toggle:hover {
  background-color: color-mix(in srgb, var(--surface-elevated) 74%, var(--accent-primary) 26%);
  border-color: color-mix(in srgb, var(--accent-primary) 42%, transparent);
}
.theme-toggle:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

.theme-toggle-icon {
  font-size: 0.92rem;
  line-height: 1;
}

.theme-toggle-label {
  text-transform: uppercase;
}

/* ================================================================
   Visual Slash Dividers
   ================================================================ */
.slash-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
  position: relative;
}
.slash-divider::before {
  content: "";
  position: absolute;
  width: 2px;
  height: 60px;
  background: linear-gradient(135deg, transparent 0%, var(--accent-primary) 50%, transparent 100%);
  transform: rotate(0deg);
  opacity: 0.6;
}

/* Large decorative slash */
.slash-accent {
  position: relative;
  display: inline-block;
}
.slash-accent::before {
  content: "/";
  position: absolute;
  font-size: 4rem;
  font-weight: 700;
  color: var(--accent-primary);
  opacity: 0.15;
  top: -1.5rem;
  left: -2rem;
  z-index: -1;
}

/* ================================================================
   Path-Based Header/Navigation
   ================================================================ */
header {
  position: relative;
}
header .menu-toggle-wrap {
  display: none;
}
header .menu-toggle {
  display: none;
}
header .breadcrumb {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.menu {
  border-top: var(--border-subtle);
  border-bottom: var(--border-subtle);
  margin-bottom: 2rem;
  padding: 1rem 0;
}
.menu ul {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0;
  list-style-type: none;
  text-align: right;
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}
.menu ul li {
  display: flex;
  align-items: center;
  margin-left: 0;
  position: relative;
}
.menu ul li a {
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-primary);
  letter-spacing: 0.3px;
  position: relative;
  display: block;
  overflow-wrap: anywhere;
  word-break: break-word;
  padding: 0.5rem 0.75rem;
  padding-bottom: 4px;
  border-radius: 3px;
  transition: color 0.3s ease;
}
.menu ul li a:hover {
  color: var(--accent-primary);
  background-color: transparent;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  padding-bottom: 4px;
}
.menu ul li::after {
  content: "/";
  color: var(--text-primary);
  margin: 0 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  background-color: var(--surface-elevated);
  padding: 0.1rem 0.35rem;
  border-radius: 2px;
  transition: all 0.2s ease;
}
.menu ul li:last-child::after {
  content: "";
  margin: 0;
  background-color: transparent;
  padding: 0;
}
.menu ul li:last-child:hover::after {
  background-color: transparent;
}
.menu ul .menu-theme-item {
  margin-left: 0.15rem;
}
.menu ul .menu-theme-item::after {
  display: none;
}
.menu ul .menu-theme-item .theme-toggle {
  padding: 0.34rem 0.58rem;
}

/* ================================================================
   Reusable Slash Component
   ================================================================ */
.slash {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1rem;
  background-color: var(--surface-elevated);
  padding: 0.1rem 0.35rem;
  border-radius: 2px;
  display: inline-block;
}

/* ================================================================
   Section Dividers with Slash
   ================================================================ */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 3rem 0 2rem;
  gap: 1rem;
}
.section-divider .slash {
  font-size: 2rem;
  padding: 0.2rem 0.6rem;
}
.section-divider .label {
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ================================================================
   Responsive Adjustments
   ================================================================ */
@media (max-width: 768px) {
  body.menu-open {
    overflow: hidden;
  }
  .breadcrumb {
    font-size: 0.85rem;
    gap: 0.5rem;
    flex-wrap: wrap;
    width: 100%;
    min-width: 0;
    align-items: center;
  }
  .breadcrumb .breadcrumb-item {
    gap: 0.25rem;
  }
  .breadcrumb .slash,
  .breadcrumb .breadcrumb-separator {
    font-size: 0.88rem;
    padding: 0.06rem 0.3rem;
    margin: 0 0.12rem;
  }
  header .menu-toggle-wrap {
    display: flex;
    justify-content: flex-end;
    margin: 0;
    position: fixed;
    top: max(0.85rem, env(safe-area-inset-top));
    right: max(0.85rem, env(safe-area-inset-right));
    z-index: 30;
  }
  header .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border: 1px solid color-mix(in srgb, var(--accent-primary) 35%, transparent);
    background: linear-gradient(135deg, color-mix(in srgb, var(--surface-elevated) 86%, var(--accent-primary) 14%), var(--surface-elevated));
    color: var(--text-primary);
    font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.45px;
    padding: 0.5rem 0.72rem;
    border-radius: 999px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.2s ease, border-color 0.2s ease;
  }
  header .menu-toggle:hover {
    background: color-mix(in srgb, var(--surface-elevated) 74%, var(--accent-primary) 26%);
    border-color: color-mix(in srgb, var(--accent-primary) 55%, transparent);
  }
  header .menu-toggle:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
  }
  header .menu-toggle .menu-toggle-icon {
    width: 16px;
    height: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
  }
  header .menu-toggle .menu-toggle-line {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background-color: var(--accent-primary);
    transform-origin: center;
    transition: transform 0.2s ease, opacity 0.2s ease, width 0.2s ease;
  }
  header .menu-toggle .menu-toggle-label {
    line-height: 1;
  }
  header .menu {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 20;
    margin: 0;
    border: none;
    padding: 0;
    background: color-mix(in srgb, var(--surface-dark) 92%, var(--accent-primary) 8%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
  }
  header.menu-open .menu-toggle {
    background: color-mix(in srgb, var(--surface-elevated) 72%, var(--accent-primary) 28%);
  }
  header.menu-open .menu-toggle .menu-toggle-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  header.menu-open .menu-toggle .menu-toggle-line:nth-child(2) {
    opacity: 0;
    width: 0;
  }
  header.menu-open .menu-toggle .menu-toggle-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
  header.menu-open .menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  header.menu-open .menu ul li {
    opacity: 1;
    transform: translateY(0);
  }
  .menu {
    padding: 0.75rem 0;
  }
  .menu ul {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    min-height: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 6rem 1rem 2rem;
  }
  .menu ul li {
    display: block;
    width: auto;
    max-width: 100%;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }
  .menu ul li a {
    display: block;
    width: auto;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    padding: 0.4rem 0.9rem;
    font-size: 1.02rem;
    line-height: 1.35;
  }
  .menu ul li::after {
    display: none;
  }
  .menu ul li:nth-child(1) {
    transition-delay: 0.02s;
  }
  .menu ul li:nth-child(2) {
    transition-delay: 0.04s;
  }
  .menu ul li:nth-child(3) {
    transition-delay: 0.06s;
  }
  .menu ul li:nth-child(4) {
    transition-delay: 0.08s;
  }
  .menu ul li:nth-child(5) {
    transition-delay: 0.1s;
  }
  .menu ul li:nth-child(6) {
    transition-delay: 0.12s;
  }
  .menu ul li:nth-child(7) {
    transition-delay: 0.14s;
  }
  .menu ul li:nth-child(8) {
    transition-delay: 0.16s;
  }
  .menu ul li:nth-child(9) {
    transition-delay: 0.18s;
  }
  .menu ul li:nth-child(10) {
    transition-delay: 0.2s;
  }
  .menu ul .menu-theme-item {
    width: auto;
  }
  .menu ul .menu-theme-item .theme-toggle {
    font-size: 0.94rem;
    padding: 0.46rem 0.9rem;
  }
  .section-divider {
    margin: 2rem 0 1.5rem;
    flex-direction: column;
    gap: 0.5rem;
  }
  .section-divider .slash {
    font-size: 1.5rem;
    margin: 0;
  }
  .section-divider .label {
    font-size: 0.8rem;
  }
}
@media (max-width: 480px) {
  header .menu-toggle-wrap {
    right: max(0.75rem, env(safe-area-inset-right));
  }
  .breadcrumb {
    font-size: 0.8rem;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
  }
  .breadcrumb .breadcrumb-item {
    max-width: 100%;
    min-width: 0;
    gap: 0.15rem;
  }
  .breadcrumb .breadcrumb-item a {
    word-break: break-word;
  }
  .breadcrumb .slash,
  .breadcrumb .breadcrumb-separator {
    font-size: 0.8rem;
    padding: 0.05rem 0.22rem;
    margin: 0 0.08rem;
  }
  .menu {
    margin-bottom: 1.5rem;
    padding: 0.5rem 0;
  }
  .menu ul li a {
    padding: 0.3rem 0.4rem;
    font-size: 0.85rem;
  }
  .menu ul .menu-theme-item .theme-toggle {
    font-size: 0.84rem;
    padding: 0.4rem 0.72rem;
    gap: 0.32rem;
  }
  .section-divider {
    margin: 1.5rem 0 1rem;
  }
  .section-divider .slash {
    font-size: 1.2rem;
  }
  .section-divider .label {
    font-size: 0.75rem;
  }
}
/**
 * Home Page Styling
 * "/" based layout for the homepage
 */
/* ================================================================
   Home Hero Section
   ================================================================ */
.home-hero {
  margin: 3rem 0 4rem;
  position: relative;
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
  align-items: center;
  gap: 1.25rem;
}
.home-hero p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-top: 0;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.scroll-globe {
  width: 100%;
  max-width: 180px;
  aspect-ratio: 1;
  justify-self: center;
  color: var(--accent-primary);
  transform: rotate(var(--globe-rotation, 0deg));
  transform-origin: 50% 50%;
  will-change: transform;
}
.scroll-globe svg {
  width: 100%;
  height: 100%;
  display: block;
}
.scroll-globe .globe-core {
  fill: var(--surface-elevated);
  stroke: var(--accent-primary);
  stroke-width: 2;
}
.scroll-globe .globe-lat,
.scroll-globe .globe-meridian {
  fill: none;
  stroke: var(--text-secondary);
  stroke-width: 1.2;
  opacity: 0.8;
}
.scroll-globe .globe-continent {
  fill: var(--accent-secondary);
  opacity: 0.45;
  stroke: var(--accent-primary);
  stroke-width: 0.8;
}
.scroll-globe .globe-star {
  fill: var(--accent-primary);
  opacity: 0.95;
}

/* ================================================================
   Post List Styling
   ================================================================ */
.post-list {
  list-style: none;
  padding-left: 0;
  width: min(100%, 56rem);
  margin: 0 auto 2rem;
  max-width: 100%;
}
.post-list > .post-item::before {
  content: none;
  margin-right: 0;
}
.post-list .post-item {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 0 auto 1.2rem;
  max-width: 100%;
  min-width: 0;
  padding: 0.75rem 1rem;
  background-color: var(--surface-elevated);
  border-left: 3px solid var(--accent-primary);
  border-radius: 2px;
  transition: all 0.2s ease;
}
.post-list .post-item:hover {
  background-color: var(--surface-light);
  border-left-color: var(--accent-secondary);
}
.post-list .post-item .post-date {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.9rem;
  color: var(--text-secondary);
  white-space: nowrap;
  font-weight: 600;
  min-width: 110px;
}
.post-list .post-item .post-separator {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0.25rem;
  background-color: var(--surface-elevated);
  padding: 0.1rem 0.3rem;
  border-radius: 2px;
}
.post-list .post-item .post-title {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 600;
  flex: 1;
  min-width: 0;
  hyphens: auto;
}
.post-list .post-item .post-title:hover {
  text-decoration: underline;
  color: var(--accent-secondary);
}

/* ================================================================
   View All Link
   ================================================================ */
.view-all {
  text-align: center;
  margin: 2rem 0;
  padding: 1.5rem;
  border-top: 2px solid var(--border-accent);
  border-bottom: 2px solid var(--border-accent);
}
.view-all a {
  color: var(--accent-primary);
  text-decoration: none;
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.view-all a:hover {
  text-decoration: underline;
  color: var(--accent-secondary);
}

/* ================================================================
   Quick Links Navigation
   ================================================================ */
.quick-links {
  margin-top: 2rem;
}
.quick-links ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 0;
}
.quick-links li {
  margin-bottom: 0;
}
.quick-links li a {
  display: block;
  padding: 1rem;
  background-color: var(--surface-elevated);
  border: 2px solid var(--accent-primary);
  border-radius: 3px;
  color: var(--accent-primary);
  text-decoration: none;
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.2px;
  transition: all 0.2s ease;
}
.quick-links li a:hover {
  background-color: var(--accent-primary);
  color: var(--surface-dark);
  transform: translateY(-2px);
}

/* ================================================================
   Responsive Adjustments
   ================================================================ */
@media (max-width: 768px) {
  .home-hero {
    margin: 2rem 0 2.5rem;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 1rem;
  }
  .home-hero p {
    font-size: 1rem;
    line-height: 1.6;
  }
  .home-hero h1 {
    font-size: 1.8rem;
  }
  .post-list {
    width: 100%;
    margin: 0 auto 1.5rem;
  }
  .post-list .post-item {
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.6rem 0.8rem;
    margin-bottom: 0.9rem;
  }
  .post-list .post-item .post-date {
    flex-basis: auto;
    margin-bottom: 0;
    min-width: auto;
    font-size: 0.85rem;
  }
  .post-list .post-item .post-separator {
    display: none;
  }
  .post-list .post-item .post-title {
    flex-basis: auto;
    width: auto;
    min-width: 0;
    font-size: 0.95rem;
  }
  .quick-links ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1.5rem;
  }
  .quick-links ul li a {
    padding: 0.8rem 0.6rem;
    font-size: 0.85rem;
  }
  .view-all {
    padding: 1rem;
    margin: 1.5rem 0;
  }
  .view-all a {
    font-size: 0.95rem;
  }
}
@media (max-width: 480px) {
  .home-hero {
    margin: 1.5rem 0 2rem;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    justify-items: center;
    text-align: left;
  }
  .home-hero .scroll-globe {
    max-width: 132px;
  }
  .home-hero p {
    font-size: 0.95rem;
    width: 100%;
  }
  .home-hero h1 {
    font-size: 1.4rem;
  }
  .post-list {
    margin: 0 auto 1.2rem;
  }
  .post-list .post-item {
    padding: 0.5rem 0.6rem;
    margin-bottom: 0.8rem;
    gap: 0.4rem;
  }
  .quick-links ul {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    margin-top: 1rem;
  }
  .quick-links ul li a {
    padding: 0.7rem 0.5rem;
    font-size: 0.8rem;
  }
  .view-all {
    padding: 0.8rem;
    margin: 1rem 0;
  }
  .view-all a {
    font-size: 0.9rem;
  }
}

/*# sourceMappingURL=main-paperback-classic.css.map */