/* Riverlight Kids – main stylesheet */

:root {
  --rl-gold: #f4c542;
  --rl-gold-dark: #d9a441;
  --rl-navy: #050b1a;
  --rl-parchment: #f8e4c5;
  --rl-green: #6a7f4f;
  --rl-text-dark: #222222;
  --rl-text-light: #faf9f5;
  --rl-card-bg: #fff7ea;
  --rl-radius-lg: 24px;
  --rl-radius-pill: 999px;
  --rl-shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.18);
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
   color: var(--rl-text-light);
  background: radial-gradient(circle at top left, #fef5e4 0, #fef5e4 40%, #050b1a 40%, #050b1a 100%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin: 0 auto;
}

.site-header {
  background: linear-gradient(to right, var(--rl-navy), #111c32);
  color: var(--rl-text-light);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.brand.small {
  font-size: 0.8rem;
}

.brand-mark {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #fff, var(--rl-gold));
  box-shadow: 0 0 10px rgba(244, 197, 66, 0.6);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.nav-link {
  opacity: 0.85;
  padding-bottom: 0.15rem;
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  opacity: 1;
}

.nav-link.active {
  border-bottom-color: var(--rl-gold);
  opacity: 1;
}

.nav-pill {
  padding: 0.4rem 0.95rem;
  border-radius: var(--rl-radius-pill);
  border: 1px solid rgba(250, 249, 245, 0.3);
}

/* Hero */
.hero {
  padding: 3rem 0 2.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.75rem;
  align-items: center;
}

.hero-copy {
  background: var(--rl-parchment);
  border-radius: 40px;
  padding: 2.5rem 2.25rem;
  box-shadow: var(--rl-shadow-soft);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: #9b7a3c;
  margin: 0 0 0.5rem;
}

h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 3vw + 1rem, 2.7rem);
}

.hero-text {
  margin: 0 0 1.5rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: var(--rl-radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease,
    color 0.12s ease, border-color 0.12s ease;
}

.btn.primary {
  background: var(--rl-gold);
  color: var(--rl-navy);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.btn.primary:hover {
  transform: translateY(-1px);
  background: var(--rl-gold-dark);
}

.btn.secondary {
  background: #ffffff;
  color: var(--rl-text-dark);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.btn.secondary:hover {
  border-color: var(--rl-gold);
}

.btn.tertiary {
  background: transparent;
  color: var(--rl-gold);
  border: 1px solid rgba(244, 197, 66, 0.6);
}

.btn.tertiary:hover {
  background: rgba(244, 197, 66, 0.08);
}

.hero-art {
  text-align: center;
  color: var(--rl-text-light);
}

.aurelia-circle {
  width: min(320px, 80%);
  aspect-ratio: 1 / 1;
  margin: 0 auto 0.8rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #ffffff, #9fc8f4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.aurelia-circle img {
  width: 88%;
  height: auto;
}

.hero-art-caption {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Audience cards */
.audience {
  padding: 2.5rem 0 2.75rem;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--rl-card-bg);
  border-radius: 26px;
  padding: 1.6rem 1.5rem 1.8rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.card h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  line-height: 1.6;
}

/* World section */
.world {
  padding: 2.75rem 0 3.25rem;
  background: radial-gradient(circle at top, #111c32, var(--rl-navy));
  color: var(--rl-text-light);
}

.world-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 2.25rem;
  align-items: flex-start;
}

.world h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.world p {
  margin-top: 0;
  margin-bottom: 0.9rem;
  line-height: 1.7;
}

.pillars {
  background: rgba(5, 11, 26, 0.75);
  border-radius: 24px;
  padding: 1.7rem 1.5rem;
  border: 1px solid rgba(244, 197, 66, 0.35);
}

.pillars h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.pillars ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pillars li {
  margin-bottom: 0.55rem;
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.95rem;
}

.pillars li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--rl-gold);
}

/* Newsletter */
.newsletter {
  padding: 2.75rem 0 3rem;
  background: #050b1a;
  color: var(--rl-text-light);
}

.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.newsletter p {
  margin-top: 0.3rem;
  margin-bottom: 0;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.newsletter-form input {
  padding: 0.7rem 0.9rem;
  border-radius: var(--rl-radius-pill);
  border: 1px solid rgba(250, 249, 245, 0.4);
  background: transparent;
  color: var(--rl-text-light);
  min-width: min(260px, 100%);
}

.newsletter-form input::placeholder {
  color: rgba(250, 249, 245, 0.6);
}

/* Footer */
.site-footer {
  background: #020611;
  color: rgba(250, 249, 245, 0.86);
  padding: 1.8rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-links a {
  opacity: 0.85;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-meta {
  margin: 0.35rem 0 0;
  opacity: 0.85;
}

/* Accessibility helpers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy {
    order: 2;
  }

  .hero-art {
    order: 1;
  }

  .audience-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .world-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .newsletter-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    display: none; /* Could be replaced with a mobile menu later */
  }
}
/* === Contrast & Readability Patch v2 === */

/* 1) Global: body text is light because background is mostly dark/navy */
body {
  color: var(--rl-text-light);
}

/* 2) Light content blocks = dark text on parchment */
.hero-copy,
.card,
.section,
.section-books,
.page-hero,
.page-hero-books,
.page-hero-world,
.page-hero-activities,
.page-hero-about,
.page-hero-contact {
  background-color: var(--rl-parchment);
  color: var(--rl-text-dark);
}

/* 3) Dark “band” sections keep light text */
.world,
.newsletter {
  background-color: var(--rl-navy);
  color: var(--rl-text-light);
}

/* 4) Footer on dark background: light text */
.site-footer,
.site-footer p,
.site-footer a,
.footer-meta {
  color: #FAF9F5;
}
.aurelia-orb {
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.5), rgba(255,255,255,0) 70%),
    url("/img/aurelia-profile.png");   /* 👈 key change: leading slash */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 50%;
}

