:root {
  --void: #fff9f2;
  --star-white: #3b2436;
  --nebula-purple: #7b5ea7;
  --gold: #d97866;
  --gold-light: #3b2436;
  --aurora-teal: #a24f58;
  --font-serif: 'Libre Baskerville', Georgia, serif;
  --font-sans: 'Inter', -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--star-white);
  background: #fff9f2;
  line-height: 1.75;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}
.cosmos-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 1003;
  background: rgba(59,36,54,0.08);
  pointer-events: none;
}
.cosmos-progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, rgba(217,120,102,0), rgba(217,120,102,0.8), rgba(59,36,54,0.95));
  box-shadow: 0 0 12px rgba(217,120,102,0.4);
  animation: cosmosFill 156s linear infinite;
}
@keyframes cosmosFill {
  0% { width: 0; opacity: 0.3; }
  8%, 92% { opacity: 1; }
  100% { width: 100%; opacity: 0.3; }
}
.banner {
  position: relative;
  z-index: 51;
  min-height: 52px;
  padding: 0.78rem 1.5rem;
  color: #fffaf5;
  background: #3b2436;
  text-align: center;
}
.banner p { margin: 0; font-size: 0.92rem; font-weight: 500; letter-spacing: 0.045em; line-height: 1.45; }
.banner a { color: #f3c47f; text-decoration: underline; text-underline-offset: 3px; }
nav#mainNav {
  position: sticky;
  top: 44px;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,249,242,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(59,36,54,0.12);
  transition: top 0.4s ease, background 0.4s ease;
}
nav#mainNav.scrolled { top: 0; background: rgba(255,249,242,0.98); }
.nav-row { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 3rem; }
.nav-logo { color: var(--star-white); font-family: var(--font-serif); font-size: 1.44rem; font-weight: 400; letter-spacing: 0.015em; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 2.6rem; margin: 0; padding: 0; list-style: none; }
.nav-links a { color: var(--star-white); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.02em; text-decoration: none; }
.nav-links a:hover { color: #a24f58; }
.nav-cta { padding: 0.72rem 1.25rem; border: 0; border-radius: 2rem; background: #3b2436; color: #fffaf5 !important; }
.nav-toggle { display: none; padding: 0; border: 0; background: transparent; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--star-white); }
article { max-width: 780px; margin: 0 auto; padding: 5rem 1.5rem; }
.blog-hero-img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 2.2rem; border: 0; border-radius: 48% 48% 20px 20px; box-shadow: 0 18px 36px rgba(93,50,61,0.08); }
.eyebrow { margin: 0 0 1.5rem; color: #d97866; font-size: 1.02rem; letter-spacing: 0.2em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; }
h1 { margin: 0 0 1.5rem; color: #3b2436; font-size: clamp(2.3rem, 5vw, 4.4rem); line-height: 1; }
h2 { margin: 3rem 0 1rem; color: #3b2436; font-size: clamp(1.8rem, 3vw, 2.45rem); line-height: 1.2; }
h3 { margin: 2rem 0 0.75rem; color: #3b2436; font-size: 1.4rem; font-weight: 500; }
p { margin: 0 0 1.25rem; font-size: 1.02rem; }
p strong { color: #3b2436; font-weight: 500; }
ul { margin: 1rem 0 1.5rem 1.4rem; padding: 0; }
li { margin-bottom: 0.65rem; font-size: 1.05rem; }
a { color: #a24f58; text-decoration: none; border-bottom: 1px solid rgba(162,79,88,0.35); }
a:hover { border-color: #a24f58; }
.byline { margin-bottom: 2.5rem; color: rgba(59,36,54,0.55); font-size: 0.86rem; letter-spacing: 0.04em; }
.deck { margin-bottom: 2rem; color: rgba(59,36,54,0.72); font-family: var(--font-sans); font-size: 1.02rem; line-height: 1.8; }
.pullquote { margin: 2.8rem 0; padding: 0.5rem 0 0.5rem 1.5rem; border-left: 2px solid #d97866; color: #3b2436; font-family: var(--font-serif); font-size: clamp(1.45rem, 3vw, 1.8rem); font-style: italic; line-height: 1.35; }
.note-box, .safety-note { margin: 2rem 0; padding: 1.35rem 1.5rem; border-radius: 0 0.7rem 0.7rem 0; }
.note-box { border: 1px solid rgba(217,120,102,0.25); background: rgba(255,253,249,0.72); }
.safety-note { border-left: 2px solid #7b5ea7; background: rgba(123,94,167,0.08); }
.note-box p:last-child, .safety-note p:last-child { margin-bottom: 0; }
.faq-item { margin-bottom: 1.75rem; }
.faq-item h3 { margin: 0 0 0.5rem; font-size: 1.2rem; }
.cta-box { margin: 4rem 0 2rem; padding: 2.5rem; border: 1px solid rgba(217,120,102,0.3); border-radius: 1.35rem; background: rgba(255,253,249,0.72); box-shadow: 0 18px 40px rgba(93,50,61,0.06); text-align: center; }
.cta-box h3 { margin: 0 0 1rem; color: #3b2436; font-size: 1.8rem; }
.cta-box p { margin-bottom: 1.5rem; }
.btn { display: inline-block; padding: 1rem 2rem; border: 0; border-radius: 2rem; background: #3b2436; color: #fffaf5; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; }
.related { margin: 4rem 0 2rem; padding-top: 2rem; border-top: 1px solid rgba(59,36,54,0.14); }
.related h3 { margin-bottom: 1rem; color: #d97866; font-family: var(--font-sans); font-size: 1rem; letter-spacing: 0.15em; text-transform: uppercase; }
.related ul { margin-left: 0; list-style: none; }
.related li { margin-bottom: 0.5rem; }
footer { padding: 3rem 2rem; border-top: 1px solid rgba(59,36,54,0.12); background: #3b2436; color: rgba(255,250,245,0.74); font-size: 0.9rem; text-align: center; }
footer a { color: rgba(255,250,245,0.82); border: 0; }
@media (max-width: 1100px) {
  .banner { padding: calc(0.5rem + env(safe-area-inset-top, 0px)) 0.8rem 0.5rem; }
  .banner p { font-size: 0.7rem; }
  .banner a { display: block; margin-top: 0.15rem; }
  nav#mainNav { top: 0; }
  .nav-row { padding: 1rem 1.5rem; }
  .nav-toggle { display: block; }
  .nav-links { position: fixed; top: 0; right: -100%; width: 75%; max-width: 320px; height: 100vh; flex-direction: column; align-items: flex-start; padding: 6.5rem 2.5rem 2.5rem; gap: 2rem; background: #fff9f2; border-left: 1px solid rgba(123,94,167,0.2); transition: right 0.4s ease; }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1rem; }
  article { padding-top: 5rem; }
}
@media (max-width: 480px) {
  .banner p { font-size: 0.65rem; }
  nav#mainNav { top: 0; }
  .nav-row { padding: 0.7rem 1rem; }
  article { padding-right: 1.25rem; padding-left: 1.25rem; }
  .cta-box { padding: 2rem 1.25rem; }
}
