:root {
  --navy: #071a2b;
  --navy-light: #102c43;
  --burgundy: #6f1d2d;
  --gold: #c89a49;
  --cream: #f4efe4;
  --ivory: #fffdf8;
  --charcoal: #262626;
  --muted: #6f6a63;
  --border: #d9cfbf;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 26, 43, 0.98);
  border-bottom: 1px solid rgba(200, 154, 73, 0.45);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: white;
  text-decoration: none;
}

.brand-main {
  font-size: 2.8rem;
  line-height: 1;
  letter-spacing: 0.04em;
}

.brand-sub {
  max-width: 140px;
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
}

.main-nav a {
  color: white;
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.main-nav a:hover {
  color: var(--gold);
}

.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(7, 26, 43, 0.78), rgba(7, 26, 43, 0.7)),
    url("/images/library-hero.jpg") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 26, 43, 0.92) 0%, rgba(7, 26, 43, 0.62) 55%, rgba(7, 26, 43, 0.25) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  padding: 90px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.pathway-card h2,
.standards h2,
.cta h2 {
  margin: 0;
  font-weight: 400;
  line-height: 1.12;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
}

.hero-copy {
  max-width: 680px;
  margin: 28px 0 0;
  font-size: 1.2rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.button {
  display: inline-block;
  padding: 15px 24px;
  border: 1px solid transparent;
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.button-primary {
  color: white;
  background: var(--burgundy);
}

.button-primary:hover {
  background: #8a283a;
}

.button-secondary {
  color: var(--navy);
  background: var(--gold);
}

.button-secondary:hover {
  background: #ddb267;
}

.pathways {
  background: var(--navy);
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.pathway-card {
  min-height: 320px;
  padding: 60px;
  color: white;
  border-right: 1px solid rgba(255,255,255,0.14);
}

.pathway-card:last-child {
  border-right: 0;
  background: var(--burgundy);
}

.pathway-card h2 {
  font-size: 2.4rem;
}

.pathway-card p {
  max-width: 520px;
}

.text-link {
  color: var(--gold);
  font-family: Arial, sans-serif;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
}

.section {
  padding: 86px 0;
}

.section-light {
  background: var(--cream);
}

.section-dark {
  color: white;
  background: var(--navy);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading h2 {
  color: inherit;
  font-size: clamp(2.3rem, 4vw, 3.5rem);
}

.book-grid,
.service-grid,
.process-grid {
  display: grid;
  gap: 28px;
}

.book-grid {
  grid-template-columns: repeat(3, 1fr);
}

.book-placeholder {
  text-align: center;
}

.book-cover-placeholder {
  aspect-ratio: 2 / 3;
  display: grid;
  place-items: center;
  max-width: 260px;
  margin: 0 auto 18px;
  color: white;
  background: linear-gradient(145deg, var(--navy), var(--burgundy));
  border: 8px solid white;
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
  font-size: 1.4rem;
}

.book-placeholder h3 {
  margin-bottom: 4px;
  font-size: 1.3rem;
}

.book-placeholder p {
  margin-top: 0;
  color: var(--muted);
}

.service-grid {
  grid-template-columns: repeat(4, 1fr);
}

.service-grid article {
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.04);
}

.service-grid h3 {
  color: var(--gold);
}

.centered-action {
  margin-top: 42px;
  text-align: center;
}

.process-grid {
  grid-template-columns: repeat(4, 1fr);
}

.process-grid div {
  padding: 28px;
  background: var(--ivory);
  border: 1px solid var(--border);
}

.process-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: white;
  background: var(--navy);
  font-family: Arial, sans-serif;
  font-weight: 700;
}

.standards {
  padding: 72px 0;
  color: white;
  background: var(--burgundy);
}

.standards-inner,
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.standards-inner > div,
.cta-inner > div {
  max-width: 760px;
}

.cta {
  padding: 70px 0;
  background: #e9dfcf;
}

.site-footer {
  color: white;
  background: #04111d;
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 44px;
}

.footer-grid h3 {
  color: var(--gold);
}

.footer-grid a {
  display: block;
  margin: 8px 0;
  color: #e9e9e9;
  text-decoration: none;
}

.footer-bottom {
  margin-top: 48px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.14);
  color: #c6c6c6;
  font-family: Arial, sans-serif;
  font-size: 0.84rem;
}

@media (max-width: 950px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px 0;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .two-column,
  .book-grid,
  .service-grid,
  .process-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .standards-inner,
  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 650px) {
  .hero {
    min-height: 540px;
  }

  .main-nav {
    gap: 12px;
  }

  .main-nav a {
    font-size: 0.68rem;
  }

  .two-column,
  .book-grid,
  .service-grid,
  .process-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .pathway-card {
    padding: 42px 26px;
  }

  .section {
    padding: 64px 0;
  }
}


.homepage-book-cover {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
  margin: 0 auto 18px;
  border: 8px solid white;
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

.book-placeholder h3 a {
  color: inherit;
  text-decoration: none;
}

.book-placeholder h3 a:hover {
  color: var(--burgundy);
}
