/* AnewFamily — Theme Page Stylesheet
   Professional · NAEYC-inspired
   White-dominant, navy-heavy, orange as targeted accent */

:root {
  --orange: #F15D22;
  --orange-hover: #D94A15;
  --sun: #FDB515;
  --navy: #00264A;
  --navy-soft: #1E4066;
  --navy-mid: #4A6382;
  --teal: #008993;
  --crimson: #BA0C2F;
  --text: #333333;
  --text-soft: #5A5A5A;
  --text-mute: #8A8A8A;
  --off-white: #FAFAF7;    /* subtle warm off-white replacing most cream */
  --cream: #FFF5E6;         /* kept for accent glows only */
  --bg-alt: #F5F3EE;        /* section tint */
  --line: #E5E1D8;
  --line-strong: #D4CFC1;
  --line-cool: #DEE2E6;
  --shadow-sm: 0 1px 2px rgba(0,38,74,0.05);
  --shadow-md: 0 3px 10px rgba(0,38,74,0.06);
  --shadow-lg: 0 8px 24px rgba(0,38,74,0.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Avenir Next', 'Avenir', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text); background: #FFFFFF;
  line-height: 1.65; -webkit-font-smoothing: antialiased;
}
a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(0,38,74,0.25); }
a:hover { color: var(--orange); text-decoration-color: var(--orange); }
.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* ==================== HEADER ==================== */
header {
  border-bottom: 1px solid var(--line);
  background: #FFFFFF; position: sticky; top: 0; z-index: 50;
}
.nav-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 32px; max-width: 1200px; margin: 0 auto; gap: 48px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; margin-right: 24px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 46px; height: 46px; flex-shrink: 0; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: Georgia, serif; font-size: 19px; font-weight: 700; color: var(--navy); letter-spacing: -0.2px; }
.brand-subtitle { font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif; font-size: 11.5px; color: var(--text-mute); letter-spacing: 1.4px; margin-top: 2px; }
nav ul { display: flex; gap: 24px; list-style: none; align-items: center; }
nav a { color: var(--navy); font-size: 14.5px; font-weight: 600; letter-spacing: 0.2px; text-decoration: none; }
nav a:hover { color: var(--orange); text-decoration: none; }
nav li.nav-divider { width: 1px; height: 18px; background: var(--line); padding: 0; margin: 0 4px; }
.lang-switch {
  background: transparent; border: 1px solid var(--line-strong); border-radius: 3px;
  padding: 6px 12px; font-size: 12.5px; color: var(--navy); font-weight: 700; letter-spacing: 0.5px;
}
.lang-switch:hover { border-color: var(--navy); color: var(--navy); background: white; text-decoration: none; }
.nav-cta {
  background: var(--orange); color: white; padding: 10px 22px;
  border-radius: 3px; font-size: 13.5px; font-weight: 700; letter-spacing: 0.6px;
  text-decoration: none;
}
.nav-cta:hover { background: var(--orange-hover); text-decoration: none; }
.nav-toggle-checkbox { display: none; }
.nav-toggle-btn {
  display: none; margin-left: auto; cursor: pointer;
  width: 40px; height: 40px; align-items: center; justify-content: center;
  font-size: 24px; color: var(--navy); line-height: 1; border: none; background: none;
}
@media (max-width: 1100px) {
  .nav-row { flex-wrap: wrap; padding: 12px 24px; gap: 20px; }
  nav ul { gap: 18px; }
  nav a { font-size: 14px; }
}
@media (max-width: 800px) {
  .nav-row { position: relative; flex-wrap: nowrap; }
  .nav-toggle-btn { display: flex; }
  nav ul {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: white; border-bottom: 1px solid var(--line);
    padding: 16px 24px 20px; box-shadow: 0 12px 20px rgba(0,0,0,0.08);
  }
  nav li.nav-divider { display: none; }
  .nav-toggle-checkbox:checked ~ nav ul { display: flex; }
}

/* ==================== BREADCRUMB ==================== */
.breadcrumb {
  background: var(--off-white);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.breadcrumb-list { font-size: 13px; color: var(--text-soft); letter-spacing: 0.3px; }
.breadcrumb a { color: var(--navy); font-weight: 600; text-decoration: none; }
.breadcrumb a:hover { color: var(--orange); text-decoration: underline; }
.breadcrumb-sep { margin: 0 10px; color: var(--text-mute); }
.breadcrumb-current { color: var(--text-soft); font-weight: 600; }

/* ==================== HERO ==================== */
.pillar-hero {
  background: #FFFFFF;
  padding: 84px 0 88px;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--line);
}
/* single very subtle sun accent — barely visible, adds warmth without cartoon feel */
.hero-sun {
  position: absolute; top: -160px; right: -160px; width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 45%, rgba(253,181,21,0.18) 0%, rgba(253,181,21,0.04) 50%, rgba(253,181,21,0) 70%);
  z-index: 0; pointer-events: none;
}
.hero-blob { display: none; }
.pillar-hero .container { position: relative; z-index: 1; max-width: 880px; }
.pillar-hero-eyebrow {
  display: inline-block;
  font-size: 11px; letter-spacing: 3.5px; text-transform: uppercase;
  color: var(--orange); font-weight: 700;
  padding: 0;
  border: none; background: transparent;
  border-left: 3px solid var(--orange);
  padding-left: 14px;
  margin-bottom: 20px;
  line-height: 1.4;
}
.pillar-hero h1 {
  font-family: Georgia, serif; font-size: 52px; line-height: 1.15;
  color: var(--navy); font-weight: 700; letter-spacing: -0.8px;
  max-width: 820px;
}
.pillar-hero-tagline {
  margin-top: 18px; font-family: Georgia, serif; font-size: 20px;
  color: var(--text-soft); font-weight: 400; font-style: italic; line-height: 1.5;
  max-width: 720px;
}
.pillar-hero-lede {
  margin-top: 26px; font-size: 18px; line-height: 1.7; max-width: 720px;
  color: var(--text);
}

/* ==================== SECTIONS ==================== */
section.pillar-section { padding: 80px 0; }
.pillar-section.tinted { background: var(--off-white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillar-section-eyebrow {
  font-size: 11px; letter-spacing: 3.5px; text-transform: uppercase;
  color: var(--orange); font-weight: 700; margin-bottom: 14px;
}
.pillar-section-title {
  font-family: Georgia, serif; font-size: 34px; color: var(--navy);
  line-height: 1.25; max-width: 820px; font-weight: 700; letter-spacing: -0.5px;
}
.pillar-section-lede {
  margin-top: 18px; font-size: 17px; line-height: 1.7; max-width: 720px; color: var(--text);
}

/* ==================== PRINCIPLES ==================== */
.principles-grid {
  margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.principle-card {
  background: white; padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.principle-card:hover {
  border-color: var(--navy-mid);
  box-shadow: var(--shadow-md);
}
.principle-icon {
  width: 44px; height: 44px; border-radius: 4px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.principle-num {
  font-family: Georgia, serif; font-size: 18px; font-weight: 700;
  color: white; line-height: 1;
}
.principle-title {
  font-family: Georgia, serif; font-size: 19px; font-weight: 700;
  color: var(--navy); line-height: 1.35;
}
.principle-body {
  margin-top: 12px; font-size: 15px; line-height: 1.7; color: var(--text);
}
@media (max-width: 920px) {
  .principles-grid { grid-template-columns: 1fr; }
}

/* ==================== SCIENCE ==================== */
.science-band { background: white; padding: 80px 0; position: relative; }
.science-band .pillar-section-title { padding-bottom: 20px; border-bottom: 2px solid var(--navy); display: inline-block; }
.science-grid {
  margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.science-stat {
  padding: 28px 26px 26px;
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.science-stat-num {
  font-family: Georgia, serif; font-size: 52px; font-weight: 700;
  color: var(--navy); line-height: 1;
  letter-spacing: -1.5px;
}
.science-stat-label {
  margin-top: 10px; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text-soft); font-weight: 700;
}
.science-stat-body {
  margin-top: 14px; font-size: 14.5px; line-height: 1.7; color: var(--text);
}
.science-source {
  margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line);
  font-size: 11.5px; letter-spacing: 0.3px;
}
.science-source a { color: var(--navy); font-weight: 600; text-decoration: none; }
.science-source a:hover { color: var(--orange); text-decoration: underline; }
@media (max-width: 920px) {
  .science-grid { grid-template-columns: 1fr; }
}

/* ==================== STRENGTHS ==================== */
.strengths-grid {
  margin-top: 36px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
.strength-pill {
  background: white; border-radius: 4px;
  padding: 18px 22px;
  display: flex; align-items: center; gap: 16px;
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.strength-pill:hover {
  border-color: var(--navy);
  background: white;
  text-decoration: none;
}
.strength-pill-num {
  font-family: Georgia, serif; font-size: 20px; font-weight: 700;
  color: var(--navy); line-height: 1; flex-shrink: 0;
  width: 38px; height: 38px;
  background: var(--off-white); border-radius: 3px;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.strength-pill:hover .strength-pill-num { color: var(--orange); border-color: var(--orange); }
.strength-pill-name {
  font-family: Georgia, serif; font-size: 16.5px; font-weight: 700;
  color: var(--navy); line-height: 1.3;
}
.strength-pill-arrow {
  margin-left: auto; color: var(--navy); font-size: 16px;
  transition: transform 0.2s ease, color 0.2s ease;
  opacity: 0.6;
}
.strength-pill:hover .strength-pill-arrow { transform: translateX(3px); opacity: 1; color: var(--orange); }
@media (max-width: 720px) {
  .strengths-grid { grid-template-columns: 1fr; }
}

/* ==================== PROGRAMS ==================== */
.programs-stack { margin-top: 36px; display: grid; gap: 14px; }
.program-card {
  background: white; border-radius: 4px;
  padding: 28px 32px; display: grid;
  grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.program-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
}
.program-eyebrow {
  font-size: 10.5px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--text-soft); font-weight: 700;
}
.program-name {
  font-family: Georgia, serif; font-size: 21px; font-weight: 700;
  color: var(--navy); margin-top: 6px;
}
.program-desc {
  margin-top: 8px; font-size: 14.5px; line-height: 1.7; color: var(--text-soft); max-width: 640px;
}
.program-link {
  background: var(--navy); color: white;
  padding: 12px 24px; border-radius: 3px;
  font-weight: 700; font-size: 13px; letter-spacing: 0.6px;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.15s;
}
.program-link:hover { background: var(--orange); text-decoration: none; }
@media (max-width: 720px) {
  .program-card { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .program-link { justify-self: start; }
}

/* ==================== CTA ==================== */
.pillar-cta-band {
  padding: 80px 0;
  background: var(--navy);
  color: white;
}
.pillar-cta-card {
  background: transparent;
  padding: 0;
  text-align: center; max-width: 720px; margin: 0 auto;
  position: relative;
  border: none; box-shadow: none;
}
.pillar-cta-card::before { display: none; }
.pillar-cta-eyebrow {
  font-size: 11px; letter-spacing: 3.5px; text-transform: uppercase;
  color: var(--sun); font-weight: 700; margin-bottom: 18px;
}
.pillar-cta-title {
  font-family: Georgia, serif; font-size: 34px; font-weight: 700;
  color: white; max-width: 640px; margin: 0 auto; line-height: 1.3;
  letter-spacing: -0.5px;
}
.pillar-cta-sub {
  margin-top: 18px; font-size: 16.5px; line-height: 1.7; max-width: 560px; margin-left: auto; margin-right: auto;
  color: rgba(255,255,255,0.85);
}
.pillar-cta-buttons {
  margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
}
.pillar-cta-primary {
  display: inline-block;
  background: var(--orange); color: white;
  padding: 15px 34px; border-radius: 3px;
  font-weight: 700; font-size: 14px; letter-spacing: 0.6px;
  text-decoration: none;
  transition: background 0.15s;
}
.pillar-cta-primary:hover { background: var(--orange-hover); text-decoration: none; }
.pillar-cta-secondary {
  display: inline-block;
  background: transparent; color: white;
  padding: 15px 34px; border-radius: 3px;
  font-weight: 700; font-size: 14px; letter-spacing: 0.6px;
  border: 1px solid rgba(255,255,255,0.5);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.pillar-cta-secondary:hover { background: white; color: var(--navy); border-color: white; text-decoration: none; }

/* ==================== SIBLING NAV ==================== */
.sibling-nav { background: white; padding: 44px 0; border-top: 1px solid var(--line); }
.sibling-nav .container { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sibling-link {
  color: var(--navy); display: block;
  background: white;
  border: 1px solid var(--line);
  padding: 22px 26px; border-radius: 4px;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.sibling-link:hover {
  border-color: var(--navy);
  text-decoration: none;
}
.sibling-link.next { text-align: right; }
.sibling-link-label {
  font-size: 10.5px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--text-soft); font-weight: 700;
}
.sibling-link-title {
  font-family: Georgia, serif; font-size: 17px; font-weight: 700;
  color: var(--navy); margin-top: 6px; line-height: 1.35;
}
.sibling-link:hover .sibling-link-title { color: var(--orange); }
@media (max-width: 720px) {
  .sibling-nav .container { grid-template-columns: 1fr; }
  .sibling-link.next { text-align: left; }
}

/* ==================== FOOTER ==================== */
footer {
  background: var(--navy); color: rgba(255,255,255,0.82);
  padding: 60px 0 32px;
}
footer .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer-brand-row { display: flex; align-items: center; gap: 12px; }
.footer-brand-mark { width: 42px; height: 42px; object-fit: contain; }
.footer-brand-name { color: white; font-family: Georgia, serif; font-size: 18px; font-weight: 700; }
.footer-brand-subtitle { color: rgba(255,255,255,0.55); font-size: 11.5px; letter-spacing: 1.4px; margin-top: 2px; }
.footer-brand-tag {
  margin-top: 18px; font-size: 13.5px; line-height: 1.7; color: rgba(255,255,255,0.72);
  max-width: 340px;
}
.footer-col-title {
  font-size: 10.5px; letter-spacing: 2.5px; text-transform: uppercase;
  color: white; font-weight: 700; margin-bottom: 18px;
  padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.2);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.82); font-size: 13.5px; text-decoration: none; }
.footer-col a:hover { color: white; text-decoration: underline; }
.footer-bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 11.5px; color: rgba(255,255,255,0.5); text-align: center; letter-spacing: 0.4px;
}
@media (max-width: 720px) {
  footer .container { grid-template-columns: 1fr; gap: 32px; }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 720px) {
  .pillar-hero { padding: 56px 0 64px; }
  .pillar-hero h1 { font-size: 34px; }
  .pillar-hero-tagline { font-size: 17px; }
  .pillar-hero-lede { font-size: 16px; }
  .pillar-section-title { font-size: 26px; }
  .pillar-cta-title { font-size: 24px; }
  .science-stat-num { font-size: 42px; }
}

/* ==================== NEWSLETTER / LETTER PAGES ==================== */
.letter-intro { margin-top: 24px; font-size: 18px; line-height: 1.7; max-width: 720px; color: var(--text); }
.letter-quote {
  font-family: Georgia, serif; font-style: italic; font-size: 18.5px; line-height: 1.65;
  color: var(--navy); border-left: 3px solid var(--orange);
  padding: 4px 0 4px 24px; margin: 26px 0; max-width: 700px;
}
.letter-callout {
  background: var(--off-white); border: 1px solid var(--line); border-radius: 4px;
  padding: 26px 28px; margin-top: 24px; max-width: 720px;
}
.letter-callout-label {
  font-size: 11px; letter-spacing: 2.2px; text-transform: uppercase;
  color: var(--orange); font-weight: 700; margin-bottom: 8px;
}
.letter-callout-body { font-size: 15.5px; line-height: 1.7; color: var(--text); }
.letter-callout ul { margin: 10px 0 0 0; padding-left: 20px; }
.letter-callout li { margin-bottom: 8px; font-size: 15.5px; line-height: 1.6; color: var(--text); }
.letter-signoff { margin-top: 36px; font-size: 16px; line-height: 1.8; color: var(--text); }
.letter-signoff strong { color: var(--navy); font-family: Georgia, serif; font-size: 17px; }

/* Newsletter index — issue list, reusing program-card visual language */
.issue-card {
  background: white; border-radius: 4px;
  padding: 30px 32px; display: grid;
  grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.issue-card:hover { border-color: var(--navy); box-shadow: var(--shadow-md); }
.issue-card.featured { border-color: var(--orange); box-shadow: var(--shadow-md); }
.issue-eyebrow { font-size: 10.5px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--orange); font-weight: 700; }
.issue-date { font-family: Georgia, serif; font-size: 23px; font-weight: 700; color: var(--navy); margin-top: 6px; }
.issue-desc { margin-top: 10px; font-size: 15px; line-height: 1.7; color: var(--text-soft); max-width: 640px; }
.issue-link {
  background: var(--navy); color: white; padding: 12px 24px; border-radius: 3px;
  font-weight: 700; font-size: 13px; letter-spacing: 0.6px; white-space: nowrap; text-decoration: none;
  transition: background 0.15s;
}
.issue-link:hover { background: var(--orange); text-decoration: none; }
@media (max-width: 720px) {
  .issue-card { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .issue-link { justify-self: start; }
}
