/* ── Container ── */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--reading {
  max-width: var(--reading-width);
}

/* ── Section ── */

.hl-section {
  padding: var(--section-padding-mobile) 0;
}

@media (min-width: 900px) {
  .hl-section {
    padding: var(--section-padding-desktop) 0;
  }
}

.hl-section--parchment { background: var(--parchment); }
.hl-section--cloud    { background: var(--cloud-white); }

/* ── Section heading group ── */

.hl-section-label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--stone-gray);
  margin-bottom: 0.25rem;
  font-family: var(--font-body);
  font-weight: 600;
}

.hl-section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hl-section-lead {
  font-size: 18px;
  line-height: 1.6;
  max-width: 640px;
  margin-bottom: 2rem;
}

/* ── Divider ── */

.hl-divider {
  border: none;
  border-top: 1px dashed rgba(184, 150, 104, 0.6);
  margin: 2rem 0;
}

/* ── Inline ornamental divider ── */

.hl-ornament {
  text-align: center;
  color: var(--aged-sepia);
  font-size: 20px;
  margin: 2rem 0;
}

/* ── Grid helpers ── */

.hl-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .hl-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hl-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── CTA band ── */

.hl-cta-band {
  background: var(--compass-red);
  padding: 3rem 1.5rem;
  text-align: center;
}

.hl-cta-band h2,
.hl-cta-band h3 {
  color: var(--cloud-white);
  margin-bottom: 1rem;
}

.hl-cta-band p { color: var(--cloud-white); }

/* Inverted buttons for the compass-red band background */
.hl-cta-band .hl-btn--primary {
  background: var(--cloud-white);
  color: var(--compass-red);
  border-color: var(--cloud-white);
}
.hl-cta-band .hl-btn--primary:hover {
  background: var(--parchment);
  border-color: var(--parchment);
  color: var(--compass-red);
  box-shadow: none;
}
.hl-cta-band .hl-btn--secondary {
  color: var(--cloud-white);
  border-color: var(--cloud-white);
}
.hl-cta-band .hl-btn--secondary:hover {
  background: var(--cloud-white);
  color: var(--compass-red);
}
.hl-cta-band .hl-btn-row { justify-content: center; }

/* ── Visibility 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;
}

/* ── Scroll reveal ── */

.hl-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out);
}

.hl-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hl-reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Footer ── */

.hl-footer {
  background: var(--parchment);
  border-top: 1px solid rgba(184, 150, 104, 0.4);
  padding: 3rem 0 2rem;
}

.hl-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .hl-footer-inner {
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start;
  }
}

.hl-footer-logo { height: 40px; width: auto; display: block; margin-bottom: 1rem; }

.hl-footer-tagline {
  font-family: var(--font-accent);
  font-size: 16px;
  color: var(--ink-black);
  margin-bottom: 0.5rem;
}

.hl-footer-nav { list-style: none; padding: 0; margin: 0; }
.hl-footer-nav li + li { margin-top: 0.4rem; }
.hl-footer-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-black);
  text-decoration: none;
}
.hl-footer-nav a:hover { color: var(--compass-red); }

.hl-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hl-footer-social a {
  color: var(--ink-black);
  font-size: 20px;
  text-decoration: none;
  transition: color var(--transition-fast);
}
.hl-footer-social a:hover { color: var(--compass-red); }

.hl-footer-copy {
  font-size: 13px;
  color: var(--stone-gray);
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px dashed rgba(184, 150, 104, 0.4);
  text-align: center;
}

.hl-footer-copy a { color: var(--atlas-blue); }
