/* =========================================================
   WLUPR HOME PAGE
   Designed to work with header.css + footer.css + Bootstrap 5.3
   ========================================================= */

:root {
  --wl-home-ink: var(--wlupr-ink, #17212b);
  --wl-home-muted: var(--wlupr-muted, #61707d);
  --wl-home-accent: var(--wlupr-accent, #315f50);
  --wl-home-accent-dark: var(--wlupr-accent-dark, #24483d);
  --wl-home-soft: #f4f6f5;
  --wl-home-paper: #ffffff;
  --wl-home-line: #dde3e1;
  --wl-home-dark: #18251f;
}

body {
  margin: 0;
  background: var(--wl-home-paper);
  color: var(--wl-home-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

main {
  overflow: hidden;
}

.wl-section {
  padding: 5.5rem 0;
}

.wl-section-light {
  background: #fafbfa;
}

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

.wl-section-dark {
  background: var(--wl-home-dark);
  color: rgba(255,255,255,.84);
}

.wl-section-dark h2 {
  color: #fff;
}

.wl-eyebrow {
  color: var(--wl-home-accent);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.wl-eyebrow-light {
  color: rgba(255,255,255,.65);
}

.wl-section-heading {
  max-width: 48rem;
  margin-bottom: 2.6rem;
}

.wl-section-heading h2,
.wl-section h2,
.wl-home-cta h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 720;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.wl-section-heading p {
  margin-bottom: 0;
  color: var(--wl-home-muted);
  font-size: 1.05rem;
}

/* Hero */

.wl-home-hero {
  position: relative;
  background: radial-gradient(circle at 88% 10%, rgba(49,95,80,.12), transparent 30rem),
    linear-gradient(180deg, #fff 0%, #f7f9f8 100%);
  border-bottom: 1px solid var(--wl-home-line);
}

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

.wl-hero-title {
  max-width: 56rem;
  color: var(--wl-home-ink);
  font-weight: 760;
  letter-spacing: -.052em;
  line-height: .98;
}

.wl-hero-lead {
  max-width: 49rem;
  color: #46535e;
  font-size: clamp(1.06rem, 1.7vw, 1.3rem);
  line-height: 1.62;
}

.wl-heritage-line {
  color: var(--wl-home-muted);
  font-size: .92rem;
  font-style: italic;
}

.wl-hero-panel {
  padding: 2.3rem;
  background: #fff;
  border: 1px solid var(--wl-home-line);
  box-shadow: 0 28px 70px rgba(23,33,43,.08);
}

.wl-panel-kicker {
  color: var(--wl-home-muted);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.wl-topic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .7rem;
  margin-top: 1.25rem;
}

.wl-topic-grid span {
  padding: .8rem .9rem;
  background: var(--wl-home-soft);
  border-left: 3px solid var(--wl-home-accent);
  color: var(--wl-home-ink);
  font-size: .86rem;
  font-weight: 650;
}

.wl-panel-divider {
  height: 1px;
  margin: 1.7rem 0;
  background: var(--wl-home-line);
}

.wl-hero-panel > p:last-child {
  color: var(--wl-home-muted);
  font-size: .93rem;
}

/* Buttons */

.wl-btn-primary,
.wl-btn-secondary,
.wl-btn-light,
.wl-btn-outline-light {
  padding: .78rem 1.15rem;
  border-radius: .2rem;
  font-size: .88rem;
  font-weight: 750;
}

.wl-btn-primary {
  background: var(--wl-home-accent);
  border: 1px solid var(--wl-home-accent);
  color: #fff;
}

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

.wl-btn-secondary {
  background: transparent;
  border: 1px solid #9da9a4;
  color: var(--wl-home-ink);
}

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

.wl-btn-light {
  background: #fff;
  border: 1px solid #fff;
  color: var(--wl-home-dark);
}

.wl-btn-outline-light {
  border: 1px solid rgba(255,255,255,.62);
  color: #fff;
}

.wl-btn-outline-light:hover {
  background: #fff;
  color: var(--wl-home-dark);
}

/* Books */

.wl-book-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--wl-home-line);
  transition: transform .18s ease, box-shadow .18s ease;
}

.wl-book-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(23,33,43,.08);
}

.wl-cover-placeholder {
  min-height: 25rem;
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}

.wl-cover-placeholder strong {
  max-width: 18rem;
  margin-bottom: .85rem;
  font-size: 2.1rem;
  line-height: 1.04;
}

.wl-cover-placeholder > span:last-child {
  max-width: 21rem;
  font-size: .9rem;
  line-height: 1.45;
}

.wl-cover-small {
  margin-bottom: auto;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.wl-cover-health {
  background: radial-gradient(circle at 75% 20%, rgba(255,255,255,.24), transparent 10rem),
    linear-gradient(145deg, #284f44, #5f8478);
}

.wl-cover-water {
  background: radial-gradient(circle at 70% 20%, rgba(255,255,255,.18), transparent 10rem),
    linear-gradient(145deg, #21495b, #4b7888);
}

.wl-cover-leverage {
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.16), transparent 10rem),
    linear-gradient(145deg, #252c31, #6a7773);
}

.wl-book-body {
  padding: 1.6rem 1.6rem 1.8rem;
}

.wl-status {
  display: inline-block;
  margin-bottom: .8rem;
  color: var(--wl-home-accent);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.wl-book-body h3 {
  margin-bottom: .65rem;
  font-size: 1.4rem;
  font-weight: 740;
}

.wl-book-body p {
  color: var(--wl-home-muted);
}

/* Category cards */

.wl-category-card {
  display: block;
  min-height: 13rem;
  padding: 1.6rem;
  background: #fff;
  border: 1px solid var(--wl-home-line);
  color: inherit;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.wl-category-card:hover,
.wl-category-card:focus {
  transform: translateY(-2px);
  border-color: #a8b6b0;
  box-shadow: 0 14px 32px rgba(23,33,43,.06);
  color: inherit;
}

.wl-category-number {
  display: block;
  margin-bottom: 2.2rem;
  color: var(--wl-home-accent);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .09em;
}

.wl-category-card h3 {
  font-size: 1.28rem;
  font-weight: 740;
}

.wl-category-card p {
  margin-bottom: 0;
  color: var(--wl-home-muted);
  font-size: .94rem;
}

/* Publishing pathway */

.wl-pathway {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .7rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
  counter-reset: pathway;
}

.wl-pathway li {
  position: relative;
  min-height: 8rem;
  padding: 1.15rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
}

.wl-pathway li::before {
  counter-increment: pathway;
  content: "0" counter(pathway);
  display: block;
  margin-bottom: 2rem;
  color: rgba(255,255,255,.48);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.wl-pathway li span {
  color: #fff;
  font-size: .93rem;
  font-weight: 700;
  line-height: 1.25;
}

.wl-pathway-note {
  color: rgba(255,255,255,.67);
}

/* Development catalogue */

.wl-development-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--wl-home-line);
}

.wl-dev-item {
  display: flex;
  flex-direction: column;
  min-height: 9.5rem;
  padding: 1.4rem 1.5rem;
  border-right: 1px solid var(--wl-home-line);
  border-bottom: 1px solid var(--wl-home-line);
  color: inherit;
  text-decoration: none;
}

.wl-dev-item:nth-child(even) {
  border-right: 0;
}

.wl-dev-item:hover,
.wl-dev-item:focus {
  background: var(--wl-home-soft);
  color: inherit;
}

.wl-dev-field {
  margin-bottom: auto;
  color: var(--wl-home-accent);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.wl-dev-item strong {
  margin-top: 1.6rem;
  font-size: 1.12rem;
  line-height: 1.2;
}

.wl-dev-item > span:last-child {
  margin-top: .28rem;
  color: var(--wl-home-muted);
  font-size: .84rem;
}

/* Why / story */

.wl-large-copy {
  color: var(--wl-home-ink);
  font-size: 1.3rem;
  line-height: 1.55;
}

.wl-text-link {
  color: var(--wl-home-accent);
  font-weight: 750;
  text-decoration: none;
}

.wl-text-link:hover,
.wl-text-link:focus {
  color: var(--wl-home-accent-dark);
  text-decoration: underline;
  text-underline-offset: .18em;
}

.wl-year-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 20rem;
  padding: 2rem;
  background: var(--wl-home-soft);
  border-left: 5px solid var(--wl-home-accent);
}

.wl-year-block span {
  color: var(--wl-home-muted);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.wl-year-block strong {
  margin: .2rem 0;
  color: var(--wl-home-ink);
  font-size: clamp(4.8rem, 10vw, 8rem);
  font-weight: 760;
  letter-spacing: -.07em;
  line-height: .95;
}

.wl-year-block small {
  color: var(--wl-home-accent);
  font-size: .9rem;
  font-weight: 750;
}

/* Whole Life Field */

.wl-field-section {
  background: #fafbfa;
  border-top: 1px solid var(--wl-home-line);
  border-bottom: 1px solid var(--wl-home-line);
}

.wl-field-card {
  display: flex;
  flex-direction: column;
  min-height: 10rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--wl-home-line);
  color: inherit;
  text-decoration: none;
}

.wl-field-card:hover {
  border-color: #9cacA5;
  color: inherit;
}

.wl-field-card strong {
  margin-bottom: auto;
  color: var(--wl-home-ink);
  font-size: 1.16rem;
}

.wl-field-card span {
  color: var(--wl-home-muted);
  font-size: .88rem;
}

/* News */

.wl-news-card {
  height: 100%;
  padding: 1.6rem 1.6rem 1.8rem;
  border-top: 3px solid var(--wl-home-accent);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--wl-home-line);
}

.wl-news-card > span {
  color: var(--wl-home-accent);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.wl-news-card h3 {
  margin: .65rem 0;
  font-size: 1.3rem;
  font-weight: 740;
}

.wl-news-card p {
  color: var(--wl-home-muted);
}

.wl-news-card a {
  color: var(--wl-home-accent);
  font-size: .88rem;
  font-weight: 750;
  text-decoration: none;
}

/* CTA */

.wl-home-cta {
  padding: 4rem 0;
  background: var(--wl-home-accent-dark);
  color: #fff;
}

.wl-home-cta h2 {
  margin-bottom: 0;
  max-width: 48rem;
  color: #fff;
}

/* Responsive */
@media (max-width: 991.98px) {
  .wl-section {
    padding: 4.5rem 0;
  }

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

  .wl-pathway {
    grid-template-columns: 1fr 1fr;
  }

  .wl-pathway li:last-child {
    grid-column: 1 / -1;
  }
}

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

  .wl-hero-title {
    font-size: clamp(2.55rem, 13vw, 4.5rem);
  }

  .wl-topic-grid,
  .wl-development-grid,
  .wl-pathway {
    grid-template-columns: 1fr;
  }

  .wl-pathway li:last-child {
    grid-column: auto;
  }

  .wl-dev-item,
  .wl-dev-item:nth-child(even) {
    border-right: 0;
  }

  .wl-cover-placeholder {
    min-height: 21rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wl-book-card,
  .wl-category-card {
    transition: none;
  }
}


/* Whole Life Times cover-history slider */

.wl-cover-history {
  min-width: 0;
}

.wl-cover-history-intro {
  color: var(--wl-home-muted);
  font-size: .9rem;
}

.wl-cover-controls {
  display: flex;
  gap: .45rem;
  flex: 0 0 auto;
}

.wl-cover-arrow {
  width: 2.55rem;
  height: 2.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #aeb9b5;
  background: #fff;
  color: var(--wl-home-ink);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}

.wl-cover-arrow:hover,
.wl-cover-arrow:focus {
  background: var(--wl-home-ink);
  border-color: var(--wl-home-ink);
  color: #fff;
}

.wl-cover-track {
  display: flex;
  gap: 1.125rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: thin;
  padding: .25rem .15rem 1rem;
}

.wl-cover-slide {
  flex: 0 0 clamp(140px, 19vw, 205px);
  display: block;
  margin: 0;
  scroll-snap-align: start;
  text-decoration: none;
}

.wl-cover-slide img {
  width: 100%;
  aspect-ratio: 0.71;
  object-fit: cover;
  display: block;
  background: #eef1ef;
  border: 1px solid var(--wl-home-line);
  box-shadow: 0 10px 24px rgba(23,33,43,.10);
}

.wl-cover-slide figcaption {
  margin-top: .65rem;
  color: var(--wl-home-muted);
  font-size: .76rem;
  line-height: 1.25;
}

@media (max-width: 767.98px) {
  .wl-cover-slide {
    flex-basis: 42vw;
  }

  .wl-cover-controls {
    display: none;
  }
}


.wl-cover-history-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  margin-top: .85rem;
  font-size: .82rem;
}

.wl-cover-history-links a {
  color: var(--wl-home-accent);
  font-weight: 700;
  text-decoration: none;
}

.wl-cover-history-links a:hover,
.wl-cover-history-links a:focus {
  color: var(--wl-home-accent-dark);
  text-decoration: underline;
  text-underline-offset: .18em;
}
