@charset "UTF-8";
:root {
  --bs-primary: #0E2D42;
  --bs-secondary: #64829E;
  --bs-light: #C0C5C8;
  --bs-white: #FFFFFF;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #AEB4B7;
  color: #0E2D42;
  background-image: none;
  line-height: 1.7;
}

a:focus {
  outline: 2px solid #577589;
  outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: #0E2D42;
  line-height: 1.3;
}

.lead {
  font-size: 1.25rem;
  color: #577589;
}

p a:not(.btn), li a:not(.btn) {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}

.btn {
  font-weight: 600;
}

.btn-primary {
  background-color: #0E2D42;
  border-color: #0E2D42;
  color: #FFFFFF;
}
.btn-primary:hover, .btn-primary:focus {
  background-color: rgb(9.5375, 30.65625, 44.9625);
  border-color: rgb(9.5375, 30.65625, 44.9625);
  color: #FFFFFF;
}

.btn-outline-primary {
  color: #0E2D42;
  border-color: #0E2D42;
  background: transparent;
}
.btn-outline-primary:hover, .btn-outline-primary:focus {
  background: #0E2D42;
  color: #FFFFFF;
  border-color: #0E2D42;
}

.hero {
  background: linear-gradient(to bottom, #AEB4B7 0%, #FFFFFF 100%);
  color: #0E2D42;
  padding: 4rem 2rem;
  text-align: center;
}

.hero-parallax {
  min-height: 60vh;
  background-color: #0D1F33; /* fallback solid color for contrast tools */
  max-height: 80vh;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-parallax::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(14, 45, 66, 0.8) 0%, rgba(14, 45, 66, 0.6) 30%, rgba(14, 45, 66, 0.3) 60%, rgba(14, 45, 66, 0) 90%);
}

.hero-image {
  background: url("/assets/images/book-cover.png") center top/cover no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  filter: brightness(0.7);
  will-change: transform;
}

.hero-backdrop {
  background: rgba(13, 31, 51, 0.6);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-overlay {
  z-index: 2;
  color: #AEB4B7;
  text-shadow: 0 2px 8px rgba(14, 45, 66, 0.5), 0 1px 3px rgba(0, 0, 0, 0.4);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 700px;
  padding: 2rem 1rem;
  background: rgba(14, 45, 66, 0.6);
  border-radius: 1rem;
  box-shadow: 0 4px 32px rgba(13, 31, 51, 0.16), 0 0 0 1px rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 32px rgba(14, 45, 66, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.hero-overlay h1 {
  color: #AEB4B7;
}
@media (max-width: 768px) {
  .hero-overlay h1 {
    font-size: 2rem;
  }
}
.hero-overlay p {
  color: #FFFFFF;
  font-size: 1.35rem;
  line-height: 1.55;
  margin-top: 1rem;
  max-width: 60ch;
}
@media (max-width: 768px) {
  .hero-overlay p {
    font-size: 1.05rem;
  }
}
.hero-overlay .hero-desc {
  color: #FFFFFF;
  font-weight: 400;
  letter-spacing: 0.25px;
  text-shadow: 0 2px 6px rgba(14, 45, 66, 0.55);
}

.hero-overlay h1, .hero-overlay p {
  text-shadow: 0 2px 8px rgba(14, 45, 66, 0.5), 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-lead-contrast {
  color: #FFFFFF !important;
  font-size: 1.5rem;
  line-height: 1.55;
  font-weight: 500;
  text-shadow: 0 3px 14px rgba(14, 45, 66, 0.55), 0 2px 4px rgba(0, 0, 0, 0.4);
  max-width: 65ch;
}
.hero-lead-contrast a {
  color: rgb(142.4642857143, 167.1071428571, 183.5357142857) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero-lead-contrast a:hover, .hero-lead-contrast a:focus {
  color: #FFFFFF;
}

.navbar {
  background-color: #0E2D42;
}
.navbar .navbar-brand {
  color: #AEB4B7;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 1.25rem;
}
.navbar .nav-link {
  color: #FFFFFF;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.2s;
  text-decoration: none;
}
.navbar .nav-link:hover, .navbar .nav-link:focus-visible {
  color: #AEB4B7;
  border-bottom: 2px solid #577589;
}
.navbar .nav-link.active {
  color: #AEB4B7;
}

.custom-navbar {
  background-color: #0E2D42;
}
.custom-navbar .nav-link {
  color: #FFFFFF;
  font-weight: 500;
}
.custom-navbar .nav-link:hover, .custom-navbar .nav-link:focus-visible {
  color: #AEB4B7 !important;
  border-bottom: 2px solid #577589;
}
.custom-navbar .nav-link.active {
  color: #AEB4B7 !important;
}
.custom-navbar .nav-link .nav-link.active {
  color: rgb(71.1535714286, 95.6892857143, 112.0464285714) !important;
}

footer, .site-footer {
  background: #E6EAED;
  color: #0E2D42;
  border-top: 2px solid rgb(206.2790697674, 214.0744186047, 219.9209302326);
}
footer a, .site-footer a {
  color: #0E2D42 !important;
  text-decoration: none !important;
}
footer a:hover, footer a:focus-visible, .site-footer a:hover, .site-footer a:focus-visible {
  color: rgb(3.29, 10.575, 15.51) !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1.2px !important;
  text-underline-offset: 2px !important;
}
footer a:focus-visible, .site-footer a:focus-visible {
  outline: 3px solid rgb(40.775, 131.0625, 192.225);
  outline-offset: 3px;
}
footer a.text-decoration-none, .site-footer a.text-decoration-none {
  color: #0E2D42 !important;
  text-decoration: none !important;
}
footer a.text-decoration-none:hover, footer a.text-decoration-none:focus-visible, .site-footer a.text-decoration-none:hover, .site-footer a.text-decoration-none:focus-visible {
  text-decoration: underline !important;
  text-decoration-thickness: 1.2px !important;
  text-underline-offset: 2px !important;
}

.post-share-mobile .post-share, .post-toc, .post-share, .card, .cta-card {
  background: #FFFFFF;
  color: #0E2D42;
  border-radius: 1rem;
  box-shadow: 0 2px 16px rgba(13, 31, 51, 0.08);
  padding: 3rem 3rem;
  margin-bottom: 2rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover, .cta-card:hover {
  box-shadow: 0 4px 32px rgba(13, 31, 51, 0.16);
  transform: translateY(-0.125rem);
}

.section-light, .section-feature, .home-about {
  background-color: #FFFFFF;
  border-top: 2px solid #ECEFF1;
  box-shadow: 0 -2px 8px rgba(14, 45, 66, 0.04) inset;
  border-radius: 0;
}

.section-muted {
  background-color: #E6EAED;
  border-top: 2px solid #ECEFF1;
  box-shadow: 0 -2px 8px rgba(14, 45, 66, 0.04) inset;
  border-radius: 0;
}
.section-muted a:not(.btn) {
  color: rgb(8.645, 27.7875, 40.755);
}
.section-muted a:not(.btn):hover, .section-muted a:not(.btn):focus {
  color: rgb(3.29, 10.575, 15.51);
  text-decoration: underline;
}

.section-dark {
  background-color: #0E2D42;
  color: #FFFFFF;
  border-radius: 0;
  position: relative;
}
.section-dark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 40px;
  background: linear-gradient(to bottom, #0E2D42 60%, #E6EAED 100%);
  pointer-events: none;
  z-index: 1;
}
.section-dark::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 40px;
  background: linear-gradient(to top, #0E2D42 60%, #E6EAED 100%);
  pointer-events: none;
  z-index: 1;
}
.section-dark a:not(.btn) {
  color: #577589;
}
.section-dark a:not(.btn):hover, .section-dark a:not(.btn):focus {
  color: rgb(111.2723214286, 142.7455357143, 163.7276785714);
  text-decoration: underline;
}
.section-dark h2, .section-dark h3 {
  color: #FFFFFF;
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark p, .section-dark .text-accent, .section-dark .lead, .section-dark .btn {
  background-color: #0E2D42;
  position: relative;
  z-index: 1;
}

.section-spaced, .outro-block, .section-feature, .home-about {
  padding-block: 4rem;
  margin-block: 0;
}
@media (max-width: 768px) {
  .section-spaced, .outro-block, .section-feature, .home-about {
    padding-block: 2.5rem;
  }
}

.section-base, .outro-block {
  background-color: #AEB4B7;
  padding-top: 4rem;
  padding-bottom: 4rem;
  text-align: center;
  color: #0D1F33;
}
.section-base a:not(.btn), .outro-block a:not(.btn),
.section-base .lead,
.outro-block .lead {
  color: #0E2D42;
}
.section-base .text-muted, .outro-block .text-muted, .section-base p.small, .section-base .small, .outro-block .small {
  color: #0E2D42 !important;
}
.section-base a:not(.btn), .outro-block a:not(.btn) {
  color: rgb(8.645, 27.7875, 40.755);
}
.section-base a:not(.btn):hover, .outro-block a:not(.btn):hover, .section-base a:not(.btn):focus, .outro-block a:not(.btn):focus {
  color: rgb(3.29, 10.575, 15.51);
  text-decoration: underline;
}
.section-base .btn, .outro-block .btn {
  font-weight: 600;
}

.home-about .container {
  max-width: 700px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.home-about h2 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: #0E2D42;
  line-height: 1.3;
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  font-family: "Playfair Display", serif;
  font-weight: 600;
}
.home-about .section-subhead {
  font-size: 1.25rem;
  color: rgb(51.3455357143, 69.0508928571, 80.8544642857);
  font-style: italic;
  margin-bottom: 1.5rem;
  text-align: center;
}
.home-about p {
  margin-bottom: 1.25rem;
}
.home-about .about-list {
  list-style: none;
  padding: 0;
}
.home-about .about-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}
.home-about .about-list li .icon {
  color: rgb(77.0959821429, 103.6808035714, 121.4040178571);
  margin-right: 0.5rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

@media (max-width: 768px) {
  .hero-overlay h1 {
    font-size: 1.75rem;
  }
}
.section-accent {
  background: linear-gradient(90deg, #f8fafc 60%, #e6eaed 100%);
}
.section-accent a.btn-outline-primary {
  background-color: transparent;
  color: #0E2D42;
  border-color: #0E2D42;
}
.section-accent a.btn-outline-primary:hover, .section-accent a.btn-outline-primary:focus {
  background-color: rgba(14, 45, 66, 0.06);
  color: #0E2D42;
}
.section-accent a:not(.btn) {
  color: rgb(8.645, 27.7875, 40.755);
}
.section-accent a:not(.btn):hover, .section-accent a:not(.btn):focus {
  color: rgb(3.29, 10.575, 15.51);
  text-decoration: underline;
}

/* Global tertiary / CTA backgrounds and footer link contrast fixes */
.bg-body-tertiary {
  background-color: #E6EAED !important;
}
.bg-body-tertiary a:not(.btn) {
  color: rgb(8.645, 27.7875, 40.755);
}
.bg-body-tertiary a:not(.btn):hover, .bg-body-tertiary a:not(.btn):focus {
  color: rgb(3.29, 10.575, 15.51);
  text-decoration: underline;
}
.bg-body-tertiary .lead {
  color: #0E2D42;
}

.site-footer {
  background-color: #E6EAED !important;
  color: #0E2D42;
  position: relative;
  z-index: 2;
}
.site-footer a {
  color: #0E2D42 !important;
  text-decoration: none !important;
}
.site-footer a:hover, .site-footer a:focus-visible {
  color: rgb(3.29, 10.575, 15.51) !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1.2px !important;
  text-underline-offset: 2px !important;
}
.site-footer a.text-decoration-none {
  text-decoration: none !important;
}
.site-footer a.text-decoration-none:hover, .site-footer a.text-decoration-none:focus-visible {
  text-decoration: underline !important;
  text-decoration-thickness: 1.2px !important;
  text-underline-offset: 2px !important;
}

.section-light a:not(.btn), .section-feature a:not(.btn), .home-about a:not(.btn) {
  color: rgb(8.645, 27.7875, 40.755);
}
.section-light a:not(.btn):hover, .section-feature a:not(.btn):hover, .home-about a:not(.btn):hover, .section-light a:not(.btn):focus, .section-feature a:not(.btn):focus, .home-about a:not(.btn):focus {
  color: rgb(3.29, 10.575, 15.51);
  text-decoration: underline;
}
.section-light .text-muted, .section-feature .text-muted, .home-about .text-muted, .section-light p.small, .section-light .small, .section-feature .small, .home-about .small {
  color: #0E2D42 !important;
}

.testimonial-initials {
  color: #FFFFFF !important;
  border-color: #0E2D42 !important;
  background-color: #0E2D42 !important;
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.home-quote {
  background: #FFFFFF;
}
.home-quote .home-quote-block {
  border-left: none;
  padding: 0;
  margin: 0 auto;
  max-width: 700px;
  font-size: 1.25rem;
  color: #0E2D42;
  font-family: "Playfair Display", serif;
}
.home-quote .home-quote-text {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.5rem;
  font-family: "Playfair Display", serif;
  color: #0E2D42;
  font-size: 1.25rem;
  font-weight: 400;
  background: none;
  border: none;
  margin-bottom: 1rem;
}
.home-quote .quote-mark {
  color: #577589;
  font-size: 2.5rem;
  line-height: 1;
  vertical-align: -0.5em;
  font-family: "Playfair Display", serif;
}
.home-quote .home-quote-content {
  color: #0E2D42;
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.6;
}
.home-quote .home-quote-footer {
  color: rgb(77.0959821429, 103.6808035714, 121.4040178571);
  font-style: italic;
  font-size: 1rem;
}

.section-feature .container {
  max-width: 700px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.section-feature .section-feature-title {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: #0E2D42;
  line-height: 1.3;
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  font-family: "Playfair Display", serif;
  font-weight: 600;
}
.section-feature .section-feature-subhead {
  font-size: 1.25rem;
  color: #577589;
  font-style: italic;
  margin-bottom: 1.5rem;
  text-align: center;
}
.section-feature .section-feature-label {
  font-size: 1.1rem;
  color: #0E2D42;
  font-style: italic;
  margin-bottom: 1.25rem;
  text-align: center;
}
.section-feature .section-feature-body {
  margin-bottom: 1.25rem;
}

.outro-block .container {
  max-width: 700px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.outro-block .h4 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: #0E2D42;
  line-height: 1.3;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  font-family: "Playfair Display", serif;
  font-weight: 600;
}
.outro-block .lead {
  font-size: 1.25rem;
  color: #0E2D42;
  margin-bottom: 1.5rem;
  text-align: center;
}

.divider {
  border: 0;
  margin: 2.5rem 0;
  height: 1px;
  background-color: rgba(14, 45, 66, 0.18);
}

.divider--subtle {
  background-color: rgba(14, 45, 66, 0.18);
}

.divider--accent {
  background-color: rgba(87, 117, 137, 0.35);
}

.divider--on-dark {
  background-color: rgba(255, 255, 255, 0.35);
}

.post-layout {
  max-width: 1320px;
}

.post-header {
  border-bottom: 1px solid #ECEFF1;
  padding-bottom: 1.25rem;
  margin-bottom: 2.5rem;
}

.post-title {
  font-family: "Playfair Display", serif;
  line-height: 1.15;
}

.post-meta .post-date {
  font-weight: 600;
}
.post-meta span + span:before {
  content: "•";
  margin: 0 0.5rem;
  color: #AEB4B7;
}

.post-content {
  font-size: 1.08rem;
  line-height: 1.6;
}
.post-content p {
  margin-bottom: 1.25rem;
}
.post-content ul, .post-content ol {
  margin-bottom: 1.5rem;
}
.post-content li {
  margin-bottom: 0.4rem;
}

.post-toc, .post-share {
  padding: 0;
  box-shadow: 0 2px 16px rgba(13, 31, 51, 0.08);
}

.post-aside {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.toc-list {
  counter-reset: toc-counter;
}
.toc-list li {
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}
.toc-list li a {
  text-decoration: none;
}
.toc-list li a:hover, .toc-list li a:focus-visible {
  text-decoration: underline;
}

@media (min-width: 992px) {
  .post-aside {
    position: sticky;
    top: 5rem;
  }
}
.reading-time {
  color: #5f6568;
}

.glossary-search-wrapper {
  position: relative;
}

.glossary-search-input {
  padding-left: 2.25rem;
}

.glossary-search-icon {
  position: absolute;
  top: 50%;
  left: 0.75rem;
  transform: translateY(-50%);
  font-size: 0.9rem;
  pointer-events: none;
  color: var(--bs-secondary-color, #6c757d);
}

.glossary-index {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  font-size: 0.75rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.glossary-index a {
  text-decoration: none;
  padding: 0.25rem 0.45rem;
  border-radius: 4px;
  color: inherit;
  background: var(--bs-light, #f8f9fa);
  transition: background 0.15s ease-in-out;
}

.glossary-index a:hover,
.glossary-index a:focus-visible {
  background: var(--bs-secondary-bg, #e9ecef);
  text-decoration: none;
}

.glossary-index a.is-active {
  background: var(--bs-primary, #0d6efd);
  color: #fff;
}

.glossary-grid {
  column-count: 1;
  column-gap: 1.5rem;
}

@media (min-width: 992px) {
  .glossary-grid {
    column-count: 2;
  }
}
.glossary-card {
  display: block;
  break-inside: avoid;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  padding: 0.85rem 0.95rem 0.75rem;
  margin: 0 0 1rem;
  position: relative;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.glossary-card summary {
  cursor: pointer;
  list-style: none;
}

.glossary-card summary::-webkit-details-marker {
  display: none;
}

.glossary-card summary:focus-visible {
  outline: 2px solid var(--bs-primary, #0d6efd);
  outline-offset: 2px;
}

.glossary-card summary h3 {
  font-size: 0.95rem;
  margin: 0 0 0.25rem;
  font-weight: 600;
}

.glossary-card .glossary-short {
  font-size: 0.75rem;
  color: var(--bs-secondary-color, #6c757d);
  margin: 0 0 0.35rem;
}

.glossary-card .glossary-long {
  font-size: 0.75rem;
  margin: 0 0 0.5rem;
}

.glossary-card .glossary-chapter {
  font-size: 0.65rem;
  margin: 0.25rem 0 0.5rem;
  color: var(--bs-secondary-color, #6c757d);
  font-style: italic;
}

.glossary-card .glossary-related {
  font-size: 0.7rem;
  margin: 0;
  color: var(--bs-secondary-color, #6c757d);
}

.glossary-card mark {
  background: #ffe69c;
  padding: 0 2px;
  border-radius: 2px;
}

.glossary-empty {
  padding: 1rem;
  background: var(--bs-light, #f8f9fa);
  border: 1px dashed rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  font-size: 0.9rem;
}

.glossary-letter-header {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--bs-secondary-color, #6c757d);
  margin: 0.5rem 0 0.25rem;
}

.py-6 {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

.py-7 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

/* Ensure hero backdrop provides a measurable background for contrast tools */
.hero-backdrop {
  background: linear-gradient(to bottom right, rgba(13, 31, 51, 0.75), rgba(10, 45, 66, 0.75));
}

/* Fallback visually-hidden for accessibility (Bootstrap supplies this, but keep a small fallback) */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.navbar .nav-link,
.custom-navbar .nav-link,
.site-footer a,
footer a {
  text-decoration: none !important;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus-visible,
.custom-navbar .nav-link:hover,
.custom-navbar .nav-link:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible,
footer a:hover,
footer a:focus-visible {
  text-decoration: underline !important;
}

a.glossary-link,
a.glossary-link:link,
a.glossary-link:visited {
  color: inherit !important;
  text-decoration: none !important;
  font-weight: inherit;
  background: transparent;
}

a.glossary-link:active,
a.glossary-link:focus,
a.glossary-link:hover,
a.glossary-link:visited {
  color: inherit !important;
}

.hero-banner a.glossary-link {
  color: inherit !important;
}

a.glossary-link:hover,
a.glossary-link:focus-visible {
  color: inherit !important;
  text-decoration: underline dotted !important;
  text-decoration-thickness: from-font;
  text-underline-offset: 2px;
  outline: none;
}

/*# sourceMappingURL=custom.css.map */