/* Seeking Higher Ground landings.
   Scoped so pathway readers and the Horizon hub stay unchanged.
   Hero proportions follow the existing pathway heroes. */

.shg-page {
  background: transparent;
  color: var(--gf-body-text, #595348);
}

.shg-hero {
  position: relative;
  min-height: clamp(560px, 48vw, 760px);
  margin-top: 4.5rem;
  overflow: hidden;
  background-color: #fbf6ec;
  display: flex;
  align-items: center;
}

.shg-hero__scene,
.shg-hero__atmosphere,
.shg-hero__portrait {
  position: absolute;
  inset: 0;
}

.shg-hero__atmosphere {
  background-color: #f5e4d0;
}

/* Temporary hero file: images/Seeking Higher Ground/seeking-higher-ground-christ.webp
   Replace that file later to change the painting. The full painting stays visible.
   The image box matches the painting, anchored to the right, so the left edge can fade. */
.shg-hero__portrait {
  inset: auto;
  top: 0;
  right: 0;
  width: auto;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  z-index: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.05) 2%, rgba(0, 0, 0, 0.18) 6%, rgba(0, 0, 0, 0.45) 11%, rgba(0, 0, 0, 0.82) 14%, #000 16%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.05) 2%, rgba(0, 0, 0, 0.18) 6%, rgba(0, 0, 0, 0.45) 11%, rgba(0, 0, 0, 0.82) 14%, #000 16%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.shg-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 150px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(244, 230, 212, 0.08) 28%,
    rgba(244, 230, 212, 0.55) 68%,
    #f4e6d4 100%
  );
}

.shg-hero__copy {
  position: relative;
  z-index: 3;
  width: min(42%, 560px);
  max-width: 560px;
  margin-left: max(1.5rem, calc((100% - 1500px) / 2));
  padding: clamp(1.75rem, 3.5vw, 3.25rem) clamp(1.5rem, 3vw, 2.75rem);
  text-align: center;
  box-sizing: border-box;
}

.shg-hero__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 0 0.85rem;
  color: #596247;
  font-family: "Cormorant Garamond", Baskerville, Georgia, serif;
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.35;
  text-transform: uppercase;
}

.shg-hero__eyebrow::before,
.shg-hero__eyebrow::after {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: rgba(89, 98, 71, 0.45);
  flex: 0 0 auto;
}

.shg-hero__title {
  margin: 0 0 0.75rem;
  color: #173d5a;
  font-family: "Great Vibes", "Segoe Script", "Brush Script MT", cursive;
  font-size: clamp(2.8rem, 4.6vw, 4.4rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-shadow:
    0 0 28px rgba(255, 252, 245, 0.92),
    0 0 8px rgba(255, 255, 255, 0.85);
}

.shg-hero__ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  max-width: 14rem;
  margin: 0 auto 1.15rem;
}

.shg-hero__ornament span {
  flex: 1 1 auto;
  height: 1px;
  background: rgba(89, 98, 71, 0.45);
}

.shg-hero__heart {
  flex: 0 0 auto;
  height: auto;
  background: none;
  color: #596247;
  font-size: 0.95rem;
  line-height: 1;
}

.shg-hero__subtitle {
  margin: 0;
  color: #595348;
  font-family: "Cormorant Garamond", Baskerville, Georgia, serif;
  font-size: clamp(1.05rem, 1.45vw, 1.4rem);
  font-weight: 500;
  line-height: 1.4;
}

.shg-hero__subtitle strong {
  color: #596247;
  font-weight: 600;
}

.shg-page .shg-wrap {
  width: min(68rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.35rem 0 3rem;
}

.shg-page .shg-lead {
  max-width: 38rem;
  margin: 0 auto 1.85rem;
  text-align: center;
  font-family: "Cormorant Garamond", Baskerville, Georgia, serif;
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 1.55;
  color: #3c4e60;
}

.shg-band {
  padding: 1.6rem 0 0.2rem;
  text-align: center;
}

@media (min-width: 1200px) {
  .shg-page .shg-band {
    padding-top: 8.25rem;
  }
}

.shg-band__eyebrow {
  margin: 0 0 0.35rem;
  color: #786f63;
  font-family: "Cormorant Garamond", Baskerville, Georgia, serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.shg-band__title {
  margin: 0;
  color: #173d5a;
  font-family: "Great Vibes", "Segoe Script", "Brush Script MT", cursive;
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.1;
}

.shg-band__rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  width: min(14rem, 72%);
  margin: 0.85rem auto 0;
}

.shg-band__rule::before,
.shg-band__rule::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(139, 107, 69, 0.45), rgba(139, 107, 69, 0.08));
}

.shg-band__rule::after {
  background: linear-gradient(90deg, rgba(139, 107, 69, 0.08), rgba(139, 107, 69, 0.45));
}

.shg-band__rule span {
  width: 0.7rem;
  height: 0.7rem;
  background: url("../images/Preparing with Love/icons/pwl-icon-05-heart.svg") center / contain no-repeat;
  filter: sepia(1) saturate(0.75) brightness(0.62) hue-rotate(348deg);
}

.shg-tiles {
  display: grid;
  gap: 1.35rem;
  margin: 0 auto;
  align-items: stretch;
}

.shg-tiles--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 44rem;
}

.shg-tiles--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 64rem;
}

.shg-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(111, 96, 73, 0.18);
  background: #fbf6ec;
  box-shadow:
    0 8px 22px rgba(90, 58, 36, 0.22),
    0 3px 8px rgba(139, 107, 69, 0.14);
  text-decoration: none;
  color: inherit;
}

.shg-tile__art {
  flex: 1 1 auto;
  min-height: 46%;
  background-color: #f4ebdd;
  background-image: url("../images/Pathway%202/Pathway-02-Hero_Background.png?v=20260731-pathways-r3");
  background-repeat: no-repeat;
  background-size: cover;
}

.shg-tile__art--traditions { background-position: 82% 38%; }
.shg-tile__art--veil { background-position: 96% 78%; }
.shg-tile__art--readings { background-position: 72% 32%; }
.shg-tile__art--nazarene { background-position: 0% 100%; background-size: 340% auto; }
.shg-tile__art--protestant { background-position: 64% 22%; }
.shg-tile__art--before { background-position: 40% 24%; }
.shg-tile__art--thisside { background-position: 78% 70%; }
.shg-tile__art--more { background-position: 0% 92%; background-size: 300% auto; }

.shg-tile__shade {
  display: none;
}

.shg-tile__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.85rem 0.95rem 0.95rem;
  background: rgba(251, 246, 236, 0.97);
}

.shg-tile__kicker {
  margin: 0;
  font-family: "Cormorant Garamond", Baskerville, Georgia, serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #596247;
}

.shg-tile__title {
  margin: 0;
  font-family: "Cormorant Garamond", Baskerville, Georgia, serif;
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  font-weight: 600;
  line-height: 1.12;
  color: #173d5a;
}

.shg-tile__text {
  margin: 0;
  font-family: "Cormorant Garamond", Baskerville, Georgia, serif;
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.4;
  color: #3c4e60;
}

.shg-tile__status {
  margin: 0.2rem 0 0;
  font-family: "Cormorant Garamond", Baskerville, Georgia, serif;
  font-size: 1rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1.3;
  color: #424a36;
}

a.shg-tile:hover,
a.shg-tile:focus-visible {
  box-shadow:
    0 12px 26px rgba(90, 58, 36, 0.28),
    0 3px 8px rgba(139, 107, 69, 0.16);
}

a.shg-tile:focus {
  outline: none;
}

a.shg-tile:focus-visible {
  outline: 2px solid #c6a15a;
  outline-offset: 4px;
}

.shg-tile--future {
  box-shadow: none;
}

.shg-tile--future .shg-tile__art {
  filter: saturate(0.45) brightness(1.08);
  opacity: 0.72;
}

.shg-tile--future .shg-tile__shade {
  display: none;
}

.shg-tile--future .shg-tile__kicker,
.shg-tile--future .shg-tile__text {
  color: #786f63;
}

.shg-tile--future .shg-tile__title {
  color: #5c6358;
}

.shg-tile--future .shg-tile__status {
  color: #8a2428;
}

.shg-return {
  margin: 2rem 0 0;
  text-align: center;
}

.shg-return a {
  display: inline-block;
  background-color: #424a36;
  color: #fff;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
}

.shg-return a:hover,
.shg-return a:focus-visible {
  background-color: #173d5a;
}

.shg-return a:focus {
  outline: none;
}

.shg-return a:focus-visible {
  outline: 2px solid #c6a15a;
  outline-offset: 4px;
}

@media (min-width: 1200px) {
  .shg-hero__portrait {
    transform: translateY(56px);
  }
}

@media (max-width: 1199px) {
  .shg-hero {
    margin-top: 0;
  }
}

@media (max-width: 840px) {
  .shg-hero__portrait {
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
    object-fit: contain;
    object-position: center top;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

@media (max-width: 900px) {
  .shg-tiles--three {
    grid-template-columns: 1fr;
    max-width: 22rem;
  }

  .shg-hero__copy {
    width: min(92%, 36rem);
    margin-left: auto;
    margin-right: auto;
    background: rgba(251, 246, 236, 0.55);
    border-radius: 12px;
  }
}

@media (max-width: 700px) {
  .shg-hero {
    min-height: 520px;
    align-items: flex-end;
  }

  .shg-hero__portrait {
    object-position: center top;
  }

  .shg-hero__eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  .shg-tiles--two {
    grid-template-columns: 1fr;
    max-width: 22rem;
  }

  .shg-tile {
    aspect-ratio: 3 / 4;
  }
}
