/* =========================================
   Lannaex Typography Baseline
   ========================================= */

/* Root defaults */
html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  color: #111;
  background-color: #fff;
}

/* Constrain reading width */
.site-main,
.site-content,
main {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Headings */
h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.3;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.2rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.2rem;
}

/* Paragraph rhythm */
p {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

/* First paragraph spacing after headings */
h1 + p,
h2 + p,
h3 + p {
  margin-top: 0.5rem;
}

/* Links */
a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  text-decoration-thickness: 2px;
}

/* Footer */
.site-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  font-size: 0.9rem;
  color: #666;
}

/* Remove excessive default list spacing if any */
ul,
ol {
  margin-top: 0;
  margin-bottom: 1.25rem;
}
/* =========================================
   Header & Navigation Restraint
   ========================================= */

/* Header spacing */
.site-header {
  margin-top: 2rem;
  margin-bottom: 4rem;
}

/* Site title */
.site-title {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  font-weight: 500;
}

/* Remove default list styling from nav */
.main-navigation ul {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0 0 0;
}

/* Stack nav items quietly */
.main-navigation li {
  margin: 0.25rem 0;
}

/* Nav links */
.main-navigation a {
  text-decoration: none;
  font-weight: 500;
}

.main-navigation a:hover {
  text-decoration: underline;
}
/* =========================================
   Header Navigation Placement
   ========================================= */

.site-header {
  display: block;
}

.site-branding {
  margin-bottom: 0.75rem;
}

/* Make nav horizontal and subtle */
.main-navigation ul {
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.main-navigation li {
  margin: 0;
}

/* Reduce nav visual weight */
.main-navigation a {
  font-size: 0.9rem;
  font-weight: 500;
}
/* =========================================
   Homepage Navigation Suppression
   ========================================= */

.home .main-navigation {
  display: none;
}
.home .entry-header {
  margin-top: 2rem;
}
/* Hide the page title on the front page only */
.home .entry-title {
  display: none;
}
/* Hide page title on Philosophy page */
.page-id-10 .entry-header {
  display: none;
}
/* Hide menu toggle text/button entirely */
.menu-toggle {
  display: none;
}
/* Hide page title on Systems */
.page-id-12 .entry-header {
  display: none;
}
/* Global horizontal padding for structural elements */
.site-header,
.site-content,
.site-footer {
  padding-left: 2rem;
  padding-right: 2rem;
}

/* Optional: slightly wider on large screens */
@media (min-width: 1024px) {
  .site-header,
  .site-content,
  .site-footer {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}
/* Give the document a calm bottom edge */
.site-footer {
  padding-bottom: 2rem;
  margin-top: 4rem;
}
/* Site title should read like a mark, not a link */
.site-title a,
.site-title a:visited,
.site-title a:hover,
.site-title a:focus {
  text-decoration: none;
  color: inherit;
}
/* Hide site title on homepage only */
.home .site-title {
  display: none;
}
/* Quiet, respectful footer alignment */
.site-footer .site-info {
  text-align: center;
}
