:root {
  --color-bg: #f6f3ef;
  --color-text: #151515;
  --color-accent: #0a4d4a;
  --color-muted: #6b6b6b;
  --color-surface: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --max-width: 1100px;
  --font-head: "Playfair Display", "Times New Roman", serif;
  --font-body: "Source Sans 3", "Helvetica", Arial, sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: #ffffff;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 243, 239, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.site-header__inner,
.site-footer__inner,
.content-area__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-title {
  font-family: var(--font-head);
  font-size: 1.8rem;
  text-decoration: none;
}

.site-description {
  margin: 4px 0 0;
  color: var(--color-muted);
}

.site-nav .menu {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  font-weight: 600;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus {
  left: 24px;
  top: 24px;
  background: var(--color-accent);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 100;
}

.site-content {
  padding: 48px 0 64px;
}

.entry {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}

.entry-title {
  font-family: var(--font-head);
  margin: 0 0 8px;
}

.entry-meta {
  color: var(--color-muted);
  font-size: 0.9rem;
  display: flex;
  gap: 12px;
}

.page-header {
  margin-bottom: 24px;
}

.site-footer {
  background: #131313;
  color: #f8f4ef;
  margin-top: 48px;
}

.site-footer__nav .menu {
  list-style: none;
  display: flex;
  gap: 16px;
  padding: 0;
  margin: 0 0 12px;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.posts-navigation {
  margin-top: 24px;
}

.hide-scrollbar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

@media (max-width: 768px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav .menu {
    flex-wrap: wrap;
  }
}

/* Global nav styling for all pages */
body.admin-bar .site-nav {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-nav {
    top: 46px;
  }
}

.site-menu,
.site-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2.5rem;
}

.site-menu a {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #64748b;
  text-decoration: none;
  transition: color 200ms ease;
}

.site-menu a:hover,
.site-menu a:focus {
  color: #0f172a;
}
