/* =========================================================
   WLUPR MASTER STYLESHEET
   Whole Life Universal Publications & Recordings
   ========================================================= */

/*
   Load this file after Bootstrap 5.3.

   Suggested HTML:
   <link rel="stylesheet" href="/css/styles.css">
*/

@import url("header.css");
@import url("pages.css");
@import url("footer.css");

/* ---------------------------------------------------------
   SITE-WIDE DESIGN TOKENS
   --------------------------------------------------------- */

:root {
  --wlupr-ink: #17212b;
  --wlupr-muted: #61707d;
  --wlupr-accent: #315f50;
  --wlupr-accent-dark: #24483d;
  --wlupr-paper: #ffffff;
  --wlupr-soft: #f4f6f5;
  --wlupr-light: #fafbfa;
  --wlupr-line: #dde3e1;
  --wlupr-dark: #18251f;

  --wlupr-content-width: 1200px;
  --wlupr-reading-width: 780px;
}

/* ---------------------------------------------------------
   BASE
   --------------------------------------------------------- */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--wlupr-paper);
  color: var(--wlupr-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--wlupr-accent);
}

a:hover,
a:focus {
  color: var(--wlupr-accent-dark);
}

::selection {
  background: rgba(49, 95, 80, .18);
}

/* ---------------------------------------------------------
   ACCESSIBILITY
   --------------------------------------------------------- */

.visually-hidden-focusable:not(:focus):not(:focus-within) {
  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;
}

.visually-hidden-focusable:focus {
  position: fixed;
  z-index: 9999;
  top: 1rem;
  left: 1rem;
  padding: .7rem 1rem;
  background: #fff;
  color: var(--wlupr-ink);
  border: 2px solid var(--wlupr-accent);
}

/* ---------------------------------------------------------
   COMMON TYPOGRAPHY
   --------------------------------------------------------- */

.wlupr-eyebrow {
  margin-bottom: .65rem;
  color: var(--wlupr-accent);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.wlupr-lead {
  color: #46535e;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.65;
}

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

/* ---------------------------------------------------------
   COMMON BUTTONS
   --------------------------------------------------------- */

.wlupr-btn-primary {
  display: inline-block;
  padding: .78rem 1.15rem;
  background: var(--wlupr-accent);
  border: 1px solid var(--wlupr-accent);
  border-radius: .2rem;
  color: #fff;
  font-size: .88rem;
  font-weight: 750;
  text-decoration: none;
}

.wlupr-btn-primary:hover,
.wlupr-btn-primary:focus {
  background: var(--wlupr-accent-dark);
  border-color: var(--wlupr-accent-dark);
  color: #fff;
}

.wlupr-btn-secondary {
  display: inline-block;
  padding: .78rem 1.15rem;
  background: transparent;
  border: 1px solid #9da9a4;
  border-radius: .2rem;
  color: var(--wlupr-ink);
  font-size: .88rem;
  font-weight: 750;
  text-decoration: none;
}

.wlupr-btn-secondary:hover,
.wlupr-btn-secondary:focus {
  background: var(--wlupr-ink);
  border-color: var(--wlupr-ink);
  color: #fff;
}

/* ---------------------------------------------------------
   UTILITIES
   --------------------------------------------------------- */

.wlupr-section {
  padding: 5rem 0;
}

.wlupr-section-soft {
  background: var(--wlupr-soft);
}

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

.wlupr-border-top {
  border-top: 1px solid var(--wlupr-line);
}

.wlupr-border-bottom {
  border-bottom: 1px solid var(--wlupr-line);
}

@media (max-width: 767.98px) {
  .wlupr-section {
    padding: 3.75rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
