/* ===== SEAL OF BILITERACY – MASTER STYLESHEET ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap');

/* ===== VARIABLES ===== */
:root {
  --navy: #1a2744;
  --navy-light: #2d4a6b;
  --gold: #c49a3c;
  --gold-light: #faf3e0;
  --teal: #1a6b5a;
  --teal-light: #e8f5f1;
  --white: #ffffff;
  --bg: #f7f7f7;
  --text: #2d2d2d;
  --text-light: #5a5a5a;
  --border: #e0e0e0;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 4px 20px rgba(0,0,0,0.12);
  --radius: 8px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.7; color: var(--text); background: var(--white); }
a { color: var(--teal); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

/* ===== CONTAINER ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* ===== NAVBAR ===== */
.navbar {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.navbar-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.navbar-logo a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.logo-mark {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
}
.logo-text {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
}
.nav-menu {
  display: flex;
  gap: 1.8rem;
  align-items: center;
}
.nav-menu a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0;
  position: relative;
  transition: color 0.2s;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav-menu a:hover,
.nav-menu a.active { color: var(--white); }
.nav-menu a:hover::after,
.nav-menu a.active::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 4.5rem 1.5rem;
  text-align: center;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 650px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.2s;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-primary:hover { background: #b38a30; color: var(--white); border-color: #b38a30; }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: var(--white); color: var(--white); }
.btn-secondary { background: var(--teal); color: var(--white); border-color: var(--teal); }
.btn-secondary:hover { background: #14544a; border-color: #14544a; color: var(--white); }
.btn-light { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-light:hover { background: #b38a30; color: var(--white); border-color: #b38a30; }
.btn-small { padding: 0.45rem 1rem; font-size: 0.82rem; }
.btn-purchase { padding: 0.7rem 1.5rem; font-size: 0.95rem; font-weight: 600; border-radius: 5px; }
.btn-purchase-primary { background: var(--teal); color: var(--white); }
.btn-purchase-primary:hover { background: #14544a; color: var(--white); }
.btn-purchase-secondary { background: #ff9900; color: #111; font-weight: 700; }
.btn-purchase-secondary:hover { background: #e68a00; color: #111; }

/* ===== SECTIONS ===== */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--bg); }
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header h2,
.section h2:not(.book-detail-title) {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.section-subtitle {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
}

/* ===== THREE PILLARS ===== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.pillar-card {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: box-shadow 0.3s, transform 0.3s;
}
.pillar-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.pillar-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.pillar-card p { color: var(--text-light); font-size: 0.92rem; margin-bottom: 0.75rem; }
.card-link { font-size: 0.9rem; font-weight: 600; color: var(--teal); }
.card-link:hover { color: var(--gold); }

/* ===== BOOK GRID (home + books overview) ===== */
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.book-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
}
.book-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.book-cover {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 180px;
  color: var(--white);
  overflow: hidden;
}
.book-cover .book-publisher,
.book-cover p.book-publisher {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
  margin-bottom: 0.3rem;
  color: inherit;
}
.book-cover .book-title,
.book-cover h3.book-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  color: inherit;
}
/* Also handle book-cover-area used on books.html */
.book-cover-area {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 200px;
  color: var(--white);
  overflow: hidden;
}
.book-cover-area .book-publisher { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.8; margin-bottom: 0.3rem; }
.book-cover-area .book-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; line-height: 1.3; }

/* Book cover images */
.book-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius) var(--radius) 0 0;
}
.book-cover-area .book-cover-img,
.book-cover .book-cover-img {
  border-radius: var(--radius) var(--radius) 0 0;
}
.book-cover-placeholder .book-cover-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.book-info, .book-card-content {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.book-meta {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}
.book-year {
  font-size: 0.72rem;
  color: var(--teal);
  background: var(--teal-light);
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  font-weight: 600;
}
.book-tag, .book-audience {
  font-size: 0.72rem;
  color: var(--navy);
  background: var(--gold-light);
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  font-weight: 600;
}
.book-description {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  flex: 1;
}
.book-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* ===== BOOK DETAIL PAGES ===== */
.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 500;
}
.book-detail-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  align-items: start;
}
.book-cover-placeholder {
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 1.3rem;
}
.cover-pathways { background: linear-gradient(135deg, #1a3a52, #2d5a7b); }
.cover-higher-ed { background: linear-gradient(135deg, #8b2e3b, #c74a5a); }
.cover-promoting { background: linear-gradient(135deg, #c9a843, #e5c158); }
.cover-case-studies { background: linear-gradient(135deg, #6b2635, #9d3a4c); }

.book-detail-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.3;
}
.book-detail-meta { margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.book-detail-item { margin-bottom: 0.75rem; }
.book-detail-label { font-weight: 600; font-size: 0.85rem; color: var(--text); margin-bottom: 2px; display: block; }
.book-detail-value { color: var(--text-light); font-size: 0.95rem; }
.detail-row { margin-bottom: 0.75rem; }
.detail-label { font-weight: 600; font-size: 0.85rem; color: var(--text); }
.detail-value { color: var(--text-light); }
.detail-link { color: var(--teal); }

.ideal-for { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.ideal-for-tag {
  background: var(--teal-light);
  color: var(--teal);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
}
.book-description-full { font-size: 1rem; color: var(--text-light); line-height: 1.8; margin-bottom: 1.5rem; }
.book-purchase-buttons { display: flex; gap: 0.75rem; margin-bottom: 1.5rem; flex-wrap: wrap; }

/* Research behind book */
.research-section {
  background: var(--bg);
  padding: 2rem;
  border-radius: var(--radius);
  margin-top: 2rem;
}
.research-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.research-description { color: var(--text-light); line-height: 1.7; margin-bottom: 1.5rem; }
.research-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.research-link-card {
  background: var(--white);
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.research-link-card:hover { border-color: var(--teal); box-shadow: 0 2px 10px rgba(26,107,90,0.1); }
.research-link-card a { display: flex; justify-content: space-between; align-items: center; font-weight: 500; color: var(--teal); }

/* ===== ABOUT LAYOUT (home page) ===== */
.about-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: center;
}
.about-image { text-align: center; }
.about-content h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.about-content p { color: var(--text-light); margin-bottom: 1rem; }

/* About page hero */
.about-hero {
  background: linear-gradient(135deg, var(--navy), #0f1a2e);
  color: var(--white);
  padding: 3.5rem 1.5rem;
  text-align: center;
}
.about-hero h1 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.about-hero p { color: rgba(255,255,255,0.8); }

/* Contact page hero */
.contact-hero {
  background: linear-gradient(135deg, var(--navy), #0f1a2e);
  color: var(--white);
  padding: 3.5rem 1.5rem;
  text-align: center;
}
.contact-hero h1 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.contact-hero p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto; }

/* ===== CONTACT PAGE ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.contact-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 1rem;
}
.contact-card p, .contact-card li { color: var(--text-light); font-size: 0.95rem; }
.contact-card ul { list-style: disc; padding-left: 1.25rem; }
.contact-card li { margin-bottom: 0.4rem; }
.speaking-topics { margin-bottom: 1.5rem; }
.contact-info-item { margin-bottom: 0.75rem; }
.contact-label { font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text); display: block; margin-bottom: 2px; }
.contact-value { color: var(--text-light); font-size: 0.95rem; }
.contact-email-link { color: var(--teal); font-weight: 600; font-size: 0.95rem; }
.profiles-section { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.profiles-section h4, .academic-profiles-section h4 { font-size: 0.9rem; color: var(--navy); margin-bottom: 0.75rem; }
.profiles-links, .profile-links { display: flex; flex-direction: column; gap: 0.5rem; }
.profile-link, .profile-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--bg);
  border-radius: var(--radius);
  transition: all 0.2s;
  text-decoration: none;
}
.profile-link:hover, .profile-item:hover { background: #eee; }
.profile-icon { font-size: 1.3rem; }
.profile-info h4, .profile-text h4 { font-size: 0.9rem; color: var(--navy); margin-bottom: 0; }
.profile-info p, .profile-text p { font-size: 0.8rem; color: var(--text-light); margin-bottom: 0; }

/* FAQ */
.faq-section { margin-top: 2rem; }
.faq-section h2, .faq-section h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.faq-item h4 { font-size: 1rem; color: var(--navy); margin-bottom: 0.5rem; }
.faq-item p { font-size: 0.92rem; color: var(--text-light); }
.response-time {
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--teal-light);
  border-radius: var(--radius);
}
.response-time h4 { font-size: 0.95rem; color: var(--teal); margin-bottom: 0.3rem; }
.response-time p { font-size: 0.88rem; color: var(--text-light); }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--teal), #1a7a66);
  color: var(--white);
  text-align: center;
  padding: 3rem 1.5rem;
}
.cta-banner h2 { font-family: var(--font-display); color: var(--white); margin-bottom: 0.5rem; font-size: 1.5rem; }
.cta-banner p { color: rgba(255,255,255,0.9); margin-bottom: 1.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-section {
  background: linear-gradient(135deg, var(--teal), #1a7a66);
  color: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  text-align: center;
}
.cta-section h3 { font-family: var(--font-display); color: var(--white); margin-bottom: 0.75rem; font-size: 1.4rem; }
.cta-section p { color: rgba(255,255,255,0.9); margin-bottom: 1.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ===== RESEARCH / ARTICLES PAGE ===== */
.research-header {
  background: linear-gradient(135deg, var(--navy) 0%, #2d3d56 100%);
  color: var(--white);
  padding: 4rem 2rem;
  text-align: center;
  margin-bottom: 2.5rem;
}
.research-header h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 0.75rem;
  font-weight: 700;
}
.research-header p { color: rgba(255,255,255,0.9); max-width: 700px; margin: 0 auto; font-size: 1.1rem; line-height: 1.6; }

.theme-section { margin-bottom: 2.5rem; }
.theme-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
}
.theme-intro {
  background: var(--bg);
  padding: 1rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

.articles-grid { display: flex; flex-direction: column; gap: 0.75rem; }

.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.article-card:hover { box-shadow: var(--shadow); }
.article-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  cursor: pointer;
  gap: 1rem;
}
.article-title-section { flex: 1; }
.article-year {
  font-size: 0.72rem;
  color: var(--teal);
  background: var(--teal-light);
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 0.3rem;
}
.article-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.4;
}
.expand-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--text-light);
  transition: transform 0.3s;
  flex-shrink: 0;
  padding: 0.25rem;
}
.expand-toggle.open { transform: rotate(180deg); }

.article-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.article-content.open,
.article-card.expanded .article-content { max-height: 800px; }
.article-card.expanded .expand-toggle { transform: rotate(180deg); }
.article-body { padding: 0 1.25rem 1.25rem; }

.article-citation {
  padding: 0 1.25rem;
  font-size: 0.88rem;
  color: var(--text-light);
  font-style: italic;
}
.doi-link {
  display: inline-block;
  margin: 0.3rem 1.25rem 0;
  font-size: 0.82rem;
  color: var(--teal);
  font-style: normal;
}
.article-summary {
  margin: 0.75rem 1.25rem 1.25rem;
  padding: 0.75rem;
  background: var(--teal-light);
  border-radius: 5px;
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== STATE RESOURCES PAGE ===== */
.state-resources-header {
  text-align: center;
  padding: 3rem 1.5rem;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
}
.state-resources-header h1 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.state-resources-header p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto; }

.stats-section { padding: 2rem 0; }
.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--navy);
  font-weight: 700;
}
.stat-label { font-size: 0.85rem; color: var(--text-light); margin-top: 0.25rem; }

.map-section { padding: 2rem 0; }
.map-container {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.svg-map { width: 100%; height: auto; }
.us-state { cursor: pointer; stroke: #fff; stroke-width: 1; transition: opacity 0.2s; }
.us-state:hover { opacity: 0.8; }

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg);
  border-radius: var(--radius);
  justify-content: center;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-light);
}
.legend-color {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  flex-shrink: 0;
}

.state-detail-panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  margin-top: 1rem;
}
.state-detail-panel h3 { font-family: var(--font-display); color: var(--navy); margin-bottom: 0.5rem; }

.distribution-section { padding: 2rem 0; }
.distribution-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 1rem;
}
.distribution-container { display: flex; flex-direction: column; gap: 1.5rem; }
.distribution-content { padding: 1rem 0; }
.level-group { margin-bottom: 1.25rem; }
.level-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.level-color { width: 14px; height: 14px; border-radius: 3px; flex-shrink: 0; }
.level-title { font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.level-count { font-size: 0.8rem; color: var(--text-light); margin-left: auto; }
.state-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.state-chip {
  font-size: 0.72rem;
  padding: 0.2rem 0.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.2s;
}
.state-chip:hover { background: var(--teal-light); color: var(--teal); border-color: var(--teal); }
.unverified-badge {
  font-size: 0.7rem;
  color: #c49a3c;
  font-style: italic;
}

/* ===== ABOUT PAGE SPECIFIC ===== */
.about-intro-section {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2.5rem;
}
.about-photo-container { text-align: center; }
.about-intro-content h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.about-intro-content .title { font-size: 1.1rem; color: var(--teal); font-weight: 600; margin-bottom: 0.3rem; }
.about-intro-content .institution { font-size: 0.95rem; color: var(--text-light); line-height: 1.6; }

.bio-section {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}
.bio-section p { color: var(--text-light); margin-bottom: 1rem; line-height: 1.8; }
.bio-section p:last-child { margin-bottom: 0; }

.awards-section, .research-interests-section, .academic-profiles-section {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}
.awards-section h3, .research-interests-section h3, .academic-profiles-section h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--gold);
}
.awards-grid { display: flex; flex-direction: column; gap: 1rem; }
.award-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  background: var(--bg);
  border-left: 4px solid var(--gold);
  border-radius: 4px;
}
.award-year {
  flex-shrink: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
}
.award-details h4 { font-size: 0.95rem; color: var(--navy); margin-bottom: 0.2rem; }
.award-details p { font-size: 0.85rem; color: var(--text-light); margin-bottom: 0; }

.interests-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.interest-tag {
  background: var(--teal-light);
  color: var(--teal);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.2s;
}
.interest-tag:hover { background: var(--teal); color: var(--white); }

/* Page header (used on books.html) */
.page-header { text-align: center; margin-bottom: 2rem; padding-top: 2rem; }
.page-title { font-family: var(--font-display); font-size: 2.2rem; color: var(--navy); margin-bottom: 0.5rem; }
.page-subtitle { font-size: 1rem; color: var(--text-light); max-width: 650px; margin: 0 auto; }

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 2rem 0;
}
.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-left p { font-size: 0.85rem; }
.footer-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-nav a { color: var(--gold); font-size: 0.82rem; font-weight: 500; }
.footer-nav a:hover { color: var(--white); }
/* alt footer structure used by some pages */
.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copyright { font-size: 0.85rem; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: var(--gold); font-size: 0.82rem; }
.footer-links a:hover { color: var(--white); }
.footer-section { margin-bottom: 1rem; }
.footer-section h4 { font-size: 0.9rem; color: var(--gold); margin-bottom: 0.5rem; }
.footer-bottom { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.8rem; }

/* ===== ALT NAV (header-based, used on books/detail pages) ===== */
header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.header-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.logo-symbol, .logo-sb {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
}
.logo .logo-text {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
}
header nav {
  display: flex;
  align-items: center;
}
header nav ul {
  display: flex;
  gap: 1.8rem;
  align-items: center;
  list-style: none;
}
header nav ul a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0;
  position: relative;
  transition: color 0.2s;
}
header nav ul a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}
header nav ul a:hover,
header nav ul a.active { color: var(--white); }
header nav ul a:hover::after,
header nav ul a.active::after { width: 100%; }

/* main wrapper used by book pages */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

/* hidden utility */
.hidden { display: none !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }
  .nav-menu.active { display: flex; }
  .nav-menu li { padding: 0.6rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); width: 100%; }
  .nav-menu li:last-child { border-bottom: none; }
  /* Alt nav (header-based) mobile */
  header nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--navy); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
  header nav.active { display: block; }
  header nav ul { flex-direction: column; padding: 1rem 1.5rem; gap: 0; }
  header nav ul li { padding: 0.6rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
  header nav ul li:last-child { border-bottom: none; }

  .hero { padding: 3rem 1.5rem; }
  .hero h1 { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }

  .pillars-grid { grid-template-columns: 1fr; }
  .books-grid { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; text-align: center; }
  .about-intro-section { grid-template-columns: 1fr; text-align: center; }
  .contact-layout { grid-template-columns: 1fr; }
  .book-detail-wrapper { grid-template-columns: 1fr; }
  .book-cover-placeholder { min-height: 280px; }
  .stats-container { grid-template-columns: repeat(2, 1fr); }
  .footer-content, .footer-container { flex-direction: column; text-align: center; }
  .footer-nav, .footer-links { justify-content: center; }
  .profile-links { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.7rem; }
  .stats-container { grid-template-columns: 1fr; }
  .award-item { flex-direction: column; }
  .book-purchase-buttons { flex-direction: column; }
}
