/* =========================================================
   FUELED BY HOPE — Senior Adult Ministry (50+) page styles
   "But those who hope in the LORD will renew their strength."
    — Isaiah 40:31

   Anchored on the autumn-mountains hero photo: deep Hope navy
   surface + a warm amber/ember accent (the "fuel" in Fueled by
   Hope), with the brand sky-blue carried through as the through-
   line that ties this page to Woven, H.I.T., and College.

   Prefix: .fh-*
   ========================================================= */

:root {
  --fh-navy:       #0A1A2C;
  --fh-navy-soft:  #0F2440;
  --fh-blue:       var(--hope-blue);
  --fh-sky:        var(--hope-sky);
  --fh-bright:     var(--hope-bright);

  /* Warm "fuel" palette — drawn from the autumn ridge in the hero */
  --fh-ember:      #E08A2C;   /* warm amber: the spark of "fueled" */
  --fh-ember-deep: #B86A1A;
  --fh-gold:       #F2C77A;   /* soft glow tone */
  --fh-wash:       #F7EFDF;
}

/* =========================================================
   Section 1 — Anchor hero
   Two-column: copy on a deep navy field (with a subtle ember
   glow), photo card on the right with a warm autumn frame.
   ========================================================= */
.fh-anchor {
  position: relative;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
  background: var(--fh-navy);
  padding: 120px 0 128px;
}
.fh-anchor::before {
  /* Warm ember glow, lower-right */
  content: "";
  position: absolute;
  bottom: -260px; right: -220px;
  width: 760px; height: 760px;
  background: radial-gradient(circle, rgba(224,138,44,0.22) 0%, rgba(224,138,44,0.06) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.fh-anchor::after {
  /* Cool sky highlight, upper-left — ties to brand */
  content: "";
  position: absolute;
  top: -220px; left: -240px;
  width: 680px; height: 680px;
  background: radial-gradient(circle, rgba(0,171,248,0.20) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.fh-anchor-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 88px;
  align-items: center;
}

.fh-anchor-copy {
  max-width: 600px;
}

.fh-anchor-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--fh-gold);
  margin-bottom: 28px;
}
.fh-anchor-eyebrow::before {
  content: ""; width: 36px; height: 3px;
  background: var(--fh-ember);
  border-radius: 1px;
}

.fh-anchor h1 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.98; letter-spacing: -0.032em;
  margin: 0 0 32px;
  color: #fff;
}
.fh-anchor h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--fh-gold) 0%, var(--fh-ember) 60%, var(--fh-ember-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.fh-anchor-mission {
  font-size: 18px; line-height: 1.65;
  color: #fff;
  margin: 0 0 32px; max-width: 56ch;
}
.fh-anchor-mission strong { color: #fff; font-weight: 600; }

.fh-anchor-divider {
  width: 64px; height: 2px;
  background: var(--fh-ember);
  margin: 0 0 28px;
  border-radius: 2px;
}

.fh-verse {
  padding: 0 0 0 22px;
  border-left: 2px solid var(--fh-ember);
  max-width: 56ch;
  margin: 0 0 36px;
}
.fh-verse-ref {
  display: inline-block;
  font-size: 11px; font-weight: 800; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fh-gold);
  margin-bottom: 12px;
}
.fh-verse p {
  font-family: var(--font-display); font-weight: 400;
  font-style: italic;
  font-size: 16.5px; line-height: 1.6;
  color: #fff;
  margin: 0;
}
.fh-verse em { font-style: italic; color: #fff; font-weight: 500; }

.fh-anchor-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 8px;
}

/* Right column — photo card */
.fh-anchor-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fh-anchor-photo {
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 28px 64px -28px rgba(0,0,0,0.55),
    0 2px 0 rgba(255,255,255,0.04);
  /* Warm ember border-ring */
  outline: 1px solid rgba(242,199,122,0.18);
  outline-offset: 0;
}
.fh-anchor-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center 38%;
}
/* Subtle warm tone overlay so the photo sits with the palette */
.fh-anchor-photo::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,26,44,0.0) 55%, rgba(10,26,44,0.35) 100%),
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(224,138,44,0.18), transparent 65%);
  pointer-events: none;
}
/* Decorative offset accent block behind the photo */
.fh-anchor-media::before {
  content: "";
  position: absolute;
  inset: -22px -22px auto auto;
  width: 70%; height: 70%;
  border: 1.5px solid rgba(242,199,122,0.32);
  border-radius: 18px;
  z-index: -1;
  pointer-events: none;
}
.fh-anchor-media::after {
  content: "";
  position: absolute;
  inset: auto auto -22px -22px;
  width: 55%; height: 55%;
  background: linear-gradient(135deg, rgba(0,171,248,0.20), rgba(0,74,152,0.0));
  border-radius: 18px;
  z-index: -1;
  pointer-events: none;
}

/* =========================================================
   Section 2 — A new ministry: single-column copy band
   ========================================================= */
.fh-secondhalf {
  background: #fff;
  padding: 120px 0;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}
.fh-secondhalf-copy {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.fh-secondhalf-copy h2 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.04; letter-spacing: -0.024em;
  margin: 0 0 26px;
  color: var(--fh-navy);
}
.fh-secondhalf-copy h2 em { font-style: normal; color: var(--fh-ember-deep); }
.fh-secondhalf-copy p {
  font-size: 18px; line-height: 1.7;
  color: var(--fg-2);
  margin: 0 auto 18px; max-width: 60ch;
}
.fh-secondhalf-copy p strong { color: var(--ink-900); font-weight: 600; }
.fh-secondhalf-copy p:last-child { margin-bottom: 0; }

/* Shared eyebrow style (used by Section 2, 4, 5) */
.fh-eyebrow {
  display: inline-block;
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fh-ember-deep);
  margin-bottom: 18px;
}

/* =========================================================
   Section 3 — Gallery: recent gatherings
   Asymmetric scrapbook grid that lets each photo breathe.
   Warm ember accent on hover; cream-wash field so the
   photos feel like they're set on heavyweight paper.
   ========================================================= */
.fh-gallery {
  background: #fff;
  padding: 112px 0 120px;
  border-top: 1px solid var(--border-hairline);
}
.fh-gallery-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.fh-gallery-head h2 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.05; letter-spacing: -0.022em;
  margin: 0 0 16px; color: var(--fh-navy);
}
.fh-gallery-head h2 em { font-style: normal; color: var(--fh-ember-deep); }
.fh-gallery-head p {
  font-size: 17px; line-height: 1.65;
  color: var(--fg-2); max-width: 60ch;
  margin: 0 auto;
}

.fh-gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-flow: row dense;
  gap: 18px;
}
.fh-gphoto {
  position: relative;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--fh-wash);
  box-shadow:
    0 14px 32px -20px rgba(10,26,44,0.30),
    0 1px 0 rgba(10,26,44,0.04);
  outline: 1px solid rgba(10,26,44,0.06);
}
.fh-gphoto img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.fh-gphoto:hover img { transform: scale(1.04); }

.fh-gphoto figcaption {
  position: absolute;
  left: 14px; right: 14px; bottom: 12px;
  z-index: 1;
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 2px rgba(0,0,0,0.45);
}
.fh-gphoto::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,26,44,0) 55%, rgba(10,26,44,0.55) 100%);
  pointer-events: none;
}

/* Layout positions — asymmetric scrapbook
   Row 1: wide porch group (8) + bingo selfie (4)
   Row 2: Perkins (4) + Jonesborough (4) + creek (4)
   Row 3: outreach (6) + picnic (6)
   Row 4: Bays Mountain hike (8) + Operation Christmas Child (4)
   Row 5: potluck-by-the-creek banner (12)
*/
.fh-gphoto-porch        { grid-column: span 8; aspect-ratio: 16 / 9; }
.fh-gphoto-bingo        { grid-column: span 4; aspect-ratio: 4 / 5; }
.fh-gphoto-perkins      { grid-column: span 4; aspect-ratio: 4 / 5; }
.fh-gphoto-perkins img  { object-position: center 28%; }
.fh-gphoto-jonesborough { grid-column: span 4; aspect-ratio: 4 / 5; }
.fh-gphoto-creek        { grid-column: span 4; aspect-ratio: 4 / 5; }
.fh-gphoto-outreach     { grid-column: span 6; aspect-ratio: 3 / 2; }
.fh-gphoto-picnic       { grid-column: span 6; aspect-ratio: 3 / 2; }
.fh-gphoto-bays         { grid-column: span 8; aspect-ratio: 16 / 9; }
.fh-gphoto-occ          { grid-column: span 4; aspect-ratio: 4 / 5; }
.fh-gphoto-potluck2     { grid-column: span 12; aspect-ratio: 3 / 1.4; }

/* =========================================================
   Section 4 — Calendar (Subsplash)
   ========================================================= */
.fh-calendar {
  background: var(--fh-wash);
  padding: 112px 0;
  border-top: 1px solid var(--border-hairline);
}
.fh-calendar-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.fh-calendar-head h2 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(34px, 4vw, 44px);
  line-height: 1.05; letter-spacing: -0.022em;
  margin: 0 0 14px; color: var(--fh-navy);
}
.fh-calendar-head h2 em { font-style: normal; color: var(--fh-ember-deep); }
.fh-calendar-head p {
  font-size: 17px; line-height: 1.6;
  color: var(--fg-2); max-width: 560px;
  margin: 0 auto;
}
.fh-calendar-frame {
  background: #fff;
  border: 1px solid var(--border-hairline);
  border-radius: 18px;
  padding: 12px;
  min-height: 540px;
  box-shadow: 0 18px 40px -28px rgba(10,26,44,0.18);
}
.fh-calendar-frame .subsplash-embed-host { min-height: 520px; }

/* =========================================================
   Section 5 — CTA band
   Warm navy → ember radial wash, matches anchor energy.
   ========================================================= */
.fh-cta-band {
  position: relative;
  padding: 120px 0 112px;
  background:
    radial-gradient(ellipse 70% 55% at 85% 25%, rgba(224,138,44,0.32), transparent 60%),
    radial-gradient(ellipse 60% 50% at 15% 90%, rgba(0,171,248,0.18), transparent 60%),
    var(--fh-navy);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.fh-cta-band > .container { position: relative; z-index: 1; }
.fh-cta-band .fh-eyebrow { color: var(--fh-gold); }
.fh-cta-band h2 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(40px, 5.4vw, 60px);
  line-height: 1.02; letter-spacing: -0.026em;
  color: #fff;
  max-width: 820px; margin: 0 auto 22px;
}
.fh-cta-band h2 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--fh-gold) 0%, var(--fh-ember) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fh-cta-band > .container > p {
  color: #fff;
  font-size: 18px; line-height: 1.65;
  max-width: 640px; margin: 0 auto 40px;
}
.fh-cta-back { margin-top: 32px; }
.fh-cta-back a {
  color: #fff;
  font-size: 14px; letter-spacing: 0.02em;
  text-decoration: none;
}
.fh-cta-back a:hover { color: #fff; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1000px) {
  .fh-anchor { padding: 88px 0 96px; }
  .fh-anchor-inner { grid-template-columns: 1fr; gap: 56px; }
  .fh-anchor-copy { max-width: none; }
  .fh-anchor h1 { font-size: clamp(48px, 9vw, 80px); }
  .fh-anchor-photo img { aspect-ratio: 16 / 10; }

  /* Gallery: collapse to a friendlier 2-col layout */
  .fh-gallery-grid { grid-template-columns: repeat(6, 1fr); gap: 14px; }
  .fh-gphoto-porch        { grid-column: span 6; aspect-ratio: 16 / 9; }
  .fh-gphoto-bingo        { grid-column: span 3; aspect-ratio: 4 / 5; }
  .fh-gphoto-perkins      { grid-column: span 3; aspect-ratio: 4 / 5; }
  .fh-gphoto-jonesborough { grid-column: span 3; aspect-ratio: 4 / 5; }
  .fh-gphoto-creek        { grid-column: span 3; aspect-ratio: 4 / 5; }
  .fh-gphoto-outreach     { grid-column: span 6; aspect-ratio: 3 / 2; }
  .fh-gphoto-picnic       { grid-column: span 6; aspect-ratio: 3 / 2; }
  .fh-gphoto-bays         { grid-column: span 6; aspect-ratio: 16 / 9; }
  .fh-gphoto-occ          { grid-column: span 3; aspect-ratio: 4 / 5; }
  .fh-gphoto-potluck2     { grid-column: span 6; aspect-ratio: 3 / 1.6; }
}
@media (max-width: 720px) {
  .fh-anchor { padding: 72px 0 84px; }
  .fh-secondhalf,
  .fh-gallery,
  .fh-calendar,
  .fh-cta-band { padding: 80px 0; }
  .fh-anchor-actions { gap: 10px; }

  /* Gallery: single column on small screens */
  .fh-gallery-grid { grid-template-columns: 1fr; gap: 12px; }
  .fh-gphoto-porch,
  .fh-gphoto-bingo,
  .fh-gphoto-perkins,
  .fh-gphoto-jonesborough,
  .fh-gphoto-creek,
  .fh-gphoto-outreach,
  .fh-gphoto-picnic,
  .fh-gphoto-bays,
  .fh-gphoto-occ,
  .fh-gphoto-potluck2 { grid-column: span 1; aspect-ratio: 4 / 3; }
  .fh-gphoto-porch,
  .fh-gphoto-bays { aspect-ratio: 16 / 10; }
}
