body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  background: #fdfdfd;
  color: #222;
}

.navbar {
  background-color: transparent;  /* no more bar */
  padding: 0.75rem 0;             /* optional: slightly tighter */
  display: flex;
  gap: 1.5rem;
}


.navbar a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.navbar a:hover {
  text-decoration: underline;
}

.kg-width-wide {
  max-width: 1200px;
  margin: 0 auto;
}

.kg-width-full {
  width: 100%;
}
/* === Lunestria Layout Shell === */

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at top, #0c2e59 0, #050814 45%, #02030a 100%);
  color: #eaf3ff;
}

.site-main {
  flex: 1;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.site-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.25rem 1.5rem 1.75rem;
  background: rgba(3,6,20,0.95);
}

.site-footer-inner {
  max-width: 960px;
  margin: 0 auto;
  font-size: 0.9rem;
  color: #a9b8d7;
}

/* === Hero Area === */

.page-hero {
  position: relative;
  padding: 2.6rem 1.5rem 2.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: radial-gradient(circle at 0 0, rgba(167, 211, 255, 0.25) 0, rgba(12, 46, 89, 0.2) 40%, rgba(5, 8, 20, 0.95) 100%);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 192, 0, 0.15), transparent 60%);
  pointer-events: none;
}

.page-hero:empty,
.page-hero-inner:empty {
  display: none;
}


.page-hero-inner {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}

/* Hero text */

.hero-title {
  margin: 0 0 0.6rem;
  font-size: clamp(1.9rem, 3.3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fdfbff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.45);
}

.hero-subtitle {
  margin: 0;
  max-width: 40rem;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-style: italic;
  color: #c5d3f2;
}

.site-header,
.site-nav,
.nav,
.nav li,
.nav a {
  color: #ffffff !important;   /* make nav text white */
}

.nav a {
  text-shadow: 0 0 3px rgba(0,0,0,0.8);   /* keep the cool outline/glow */
}

.nav a:hover,
.nav a:focus {
  color: #ffc000 !important; /* lunar gold hover effect */
}

/* General page body tweaks */

.page-body,
.content {
  line-height: 1.7;
  font-size: 1rem;
  color: #e8ecff;
}

.page-body p,
.content p {
  margin: 0 0 1.1rem;
}

.page-body a,
.content a {
  color: #ffc000;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,192,0,0.5);
}

.page-body a:hover,
.content a:hover {
  border-bottom-color: rgba(255,192,0,0.9);
}

/* Ensure posts on dark background read nicely */

.post-template .content,
.page-template .content {
  background: rgba(4, 9, 27, 0.75);
  border-radius: 18px;
  padding: 1.8rem 1.5rem;
  box-shadow: 0 18px 40px rgba(0,0,0,0.55);
}

/* === Contact Form === */

.contact-page {
  padding-top: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contact-form .field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-form label {
  font-weight: 600;
  font-size: 0.95rem;
  color: #dfe7ff;
}

.field-optional {
  font-weight: 400;
  font-size: 0.8rem;
  opacity: 0.75;
}

.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(163, 184, 230, 0.5);
  background: rgba(4, 9, 27, 0.85);
  color: #f6f8ff;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #ffc000;
  box-shadow: 0 0 0 1px rgba(255,192,0,0.5);
  background: rgba(9, 16, 46, 0.95);
}

.btn-primary {
  align-self: flex-start;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffc000, #ff9a1a);
  color: #111;
  box-shadow: 0 10px 24px rgba(0,0,0,0.45);
  transition: transform 0.08s ease, box-shadow 0.08s ease, filter 0.08s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.55);
  filter: brightness(1.05);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

.contact-footnote {
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
  color: #a9b8d7;
}


/* ===== Lunestria Carousel Nav (Global) ===== */
.lune-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #0C2E59;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.lune-carousel-container {
  display: grid;
  gap: 16px;
  padding: 14px 0;
}
.lune-brand { display: flex; align-items: center; gap: 10px; justify-content: center; }
.lune-title { color: #EAF3FF; font-weight: 800; letter-spacing: .3px; }

#lune-tabs {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center;
}
#lune-tabs button {
  appearance: none;
  border: 2px solid #1b4e87;
  background: #0C2E59;
  color: #dfe9f7;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: .2px;
  transition: transform .08s ease, background .15s ease, color .15s ease, border-color .15s ease;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 2px 6px rgba(0,0,0,0.25);
}
#lune-tabs button:hover { transform: translateY(-1px); }
#lune-tabs button.active, #lune-tabs button:focus-visible {
  background: #FFC000; border-color: #FFC000; color: #0C2E59; outline: none;
}

#lune-carousel {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.0));
  border: 2px solid #1b4e87;
  border-radius: 14px;
  padding: 24px 22px;
  color: #eaf3ff;
  text-align: center;
}
#lune-carousel-title {
  margin: 0 0 6px 0;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 800; letter-spacing: .3px;
}
#lune-carousel-snippet {
  margin: 0; color: #c7d6ee; font-size: clamp(.95rem, 1.6vw, 1.05rem);
}

/* Loading overlay for swapped content */
main.content:not(.lune-carousel-container).loading {
  opacity: 0.5; position: relative;
}
main.content:not(.lune-carousel-container).loading::after {
  content: "Loading…"; position: absolute; inset: 0;
  display: grid; place-items: center; font-weight: 700; color: #0C2E59;
}

/* Space below sticky header */
main.content:not(.lune-carousel-container) {
  scroll-margin-top: 110px; margin-top: 14px;
}

/* ===== Continuum Signal styles ===== */
.page-header {
  text-align: center;
  margin-bottom: 20px;
}

.signal-intro {
  font-size: 1rem;
  color: #c7d6ee;
}

.signal-list {
  display: grid;
  gap: 22px;
}

.signal-item {
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  background: rgba(12,46,89,0.3);
}

.signal-item h2 {
  margin: 0 0 6px;
  font-size: 1.3rem;
}

.signal-item a {
  text-decoration: none;
  color: #FFC000;
}

.signal-item time {
  display: block;
  font-size: 0.9rem;
  color: #a9c2e0;
  margin-bottom: 8px;
}

.signal-excerpt {
  margin: 0;
  color: #dfe9f7;
}


/* Lunestria Brand Accent (see previous message for full comments) */
:root {
  --lun-primary: #3b3f9e;      /* Indigo-iris */
  --lun-primary-100: #f0f2fc;
  --lun-primary-200: #dfe4f7;
  --lun-primary-300: #d1d5f0;
  --lun-ink: #2b2f35;
  --lun-muted: #5b6572;
  --lun-bg: #f9f9f9;
  --lun-bg-2: #f4f6fa;
  --lun-surface: #eef1fb;
  --lun-border: #d1d5f0;
  --lun-radius: 12px;
  --lun-radius-lg: 16px;
  --lun-shadow: 0 6px 18px rgba(59, 63, 158, 0.08);
  --lun-maxw: 920px;
}
/* Add the rest of the styling from the full snippet here */


.lunestria-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.lunestria-wordmark {
  font-weight: 700;
  color: var(--lun-primary);
  font-size: 1.2rem;
}


/* Darken header text and nav links */
.site-header, .lunestria-logo, .site-header a {
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.lunestria-wordmark {
  font-weight: 700;
  color: var(--lun-ink) !important;
  font-size: 1.2rem;
}

/* Carousel area background */
.carousel, .hero, .page-template .carousel {
  background-color: #1c2a4f !important; /* dark blue */
  position: relative;
}

/* Add semi-transparent overlay on carousel */
.carousel::before, .hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.2); /* 20% black overlay */
  z-index: 1;
}

/* Ensure carousel content is above overlay */
.carousel > *, .hero > * {
  position: relative;
  z-index: 2;
}


/* Darken header text for readability */
.site-header, .site-header a, .lunestria-logo .lunestria-wordmark {
  text-shadow: 0 1px 3px rgba(255,255,255,0.6);
}

/* Carousel background fix */
.carousel, .hero, .carousel-container {
  background-color: #1f2b48 !important;
  position: relative;
}

/* Semi-transparent overlay */
.carousel::before, .hero::before, .carousel-container::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.25); /* 25% black overlay */
  z-index: 1;
}

/* Ensure carousel content stays above overlay */
.carousel *,
.hero *,
.carousel-container * {
  position: relative;
  z-index: 2;
}


/* Force dark text colors in header/nav */
.site-header, .site-header *,
.lunestria-logo, .lunestria-wordmark, .site-header a {
  text-shadow: 0 2px 4px rgba(255,255,255,0.6);
}

/* Carousel background and overlay */
.carousel, .hero, .carousel-container {
  background-color: #1f2b48 !important;
  position: relative;
}
.carousel::before, .hero::before, .carousel-container::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.25);
  z-index: 1;
}
.carousel *, .hero *, .carousel-container * {
  position: relative;
  z-index: 2;
}


/* Brand styles for header and nav */
.lunestria-logo svg { flex-shrink: 0; }
.lunestria-wordmark { color: #111 !important; text-shadow: 0 1px 3px rgba(255,255,255,0.7); }


/* Carousel overlay */
.carousel, .hero, .carousel-container {
  background-color: #1f2b48 !important;
  position: relative;
}
.carousel::before, .hero::before, .carousel-container::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.25);
  z-index: 1;
}
.carousel *, .hero *, .carousel-container * {
  position: relative;
  z-index: 2;
}


.site-header {
  background: linear-gradient(90deg, #07162e 0%, #0c2e59 45%, #3a321b 100%);
  padding: 12px 0;
  border-bottom: none;
  box-shadow: none;
}

.site-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.lunestria-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.lunestria-logo svg {
  flex-shrink: 0;
}
.lunestria-wordmark {
  font-weight: 700;
  font-size: 1.25rem;
  color: #111 !important;
  text-shadow: 0 1px 2px rgba(255,255,255,0.6);
}

/* Ensure nav text is visible */
.site-nav a {
  font-weight: 600;
}

/* Carousel background and overlay */
.carousel, .hero, .carousel-container {
  background-color: #1f2b48 !important;
  position: relative;
}
.carousel::before, .hero::before, .carousel-container::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.25);
  z-index: 1;
}
.carousel *, .hero *, .carousel-container * {
  position: relative;
  z-index: 2;
}


/* --- Lunestria header inline fixes --- */
.lune-carousel-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 14px 0;
  flex-wrap: wrap;
}
@media (min-width: 820px) {
  .lune-carousel-container { justify-content: space-between; }
}
.lune-brand { display: flex; align-items: center; gap: 10px; justify-content: flex-start; }
.lune-title { color: #111 !important; font-weight: 800; letter-spacing: .3px;
  text-shadow: 0 1px 2px rgba(255,255,255,0.6);
}

/* Ensure hero/carousel text is readable */
#lune-carousel h2, #lune-carousel p { color: #18202c !important; }



/* --- Adjust header wordmark color and carousel layout --- */
.lune-title {
  color: #EAF3FF !important;
  font-weight: 800;
  letter-spacing: .3px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

/* Separate carousel from nav and center it */
.lune-carousel-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 0;
  gap: 16px;
}

.lune-brand {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 10px;
}

#lune-tabs {
  justify-content: center;
}

#lune-carousel {
  align-self: center;
  width: 90%;
  max-width: 800px;
}



/* Carousel text color and style adjustments */
#lune-carousel-title {
  color: #EAF3FF !important;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: .4px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

#lune-carousel-snippet {
  color: #dfe9f7 !important;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-style: italic;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}


/* Force bright carousel title/snippet colors */
#lune-carousel-title {
  color: #ffffff !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4) !important;
}

#lune-carousel-snippet {
  color: #f1f5ff !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
}


/* Logo tweaks */
.lune-brand svg {
  display: block;
}
.lune-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lune-title {
  color: #EAF3FF;
  font-weight: 800;
  font-size: 1.4rem;
}

/* --- Lunestria header cleanup: remove glow and normalize text --- */

.site-header,
.site-header *,
.site-header a,
.navbar a,
.lunestria-logo,
.lunestria-wordmark {
  text-shadow: none !important;
}

/* Make the Lunestria wordmark match the nav (light on dark) */
.lunestria-wordmark,
.lunestria-wordmark a {
  color: #EAF3FF !important;  /* soft moonlight white/blue */
}

/* Give the logo a subtle glow without affecting text */
.lunestria-logo svg {
  filter: drop-shadow(0 0 6px rgba(234, 243, 255, 0.25));
}

/* Soften About page styling to match other pages more closely */
.page-template.page-about .content {
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.55);
  /* If you see an extra border there, kill it: */
  border: none;
}

/* === Ghost callout cards (used on About) === */

/* === Ghost callout cards (used on About) === */

.kg-card.kg-callout-card,
.kg-callout-card {
  background: #ffffff;
  color: var(--lun-ink);
  border-radius: 12px;
  border: 1px solid rgba(209, 213, 240, 0.8);
  padding: 1rem 1.25rem;
}

.kg-callout-card .kg-callout-text {
  color: var(--lun-ink);
}

.kg-callout-card strong {
  color: var(--lun-primary);
}

.kg-callout-card a {
  color: var(--lun-primary);
  border-bottom: 1px solid rgba(59, 63, 158, 0.4);
  text-decoration: none;
}

.kg-callout-card a:hover {
  border-bottom-color: rgba(59, 63, 158, 0.8);
}


/* Strip the old full-page "panel" styling on About's outer wrapper */
.page-template.page-about .page-body > div:first-child {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
}

/* About / general callout boxes */

.page-template .content .callout {
  background: #f5f7ff;
  color: var(--lun-ink);  /* your dark text color */
  border-radius: 12px;
  border: 1px solid rgba(209, 213, 240, 0.9);
  padding: 1rem 1.25rem;
  margin: 1.2rem 0;
}

.page-template .content .callout p {
  margin: 0;
}

.page-template .content .callout strong {
  color: var(--lun-primary);  /* that nice indigo/blue accent */
}



