/* ═══════════════════════════════════════════
   THE RECIPROCAL — Home page
   Photo sections and screen frames: base.css
   ═══════════════════════════════════════════ */

/* ── 1. Hero: photo behind the text, inbox screen over the bottom edge ── */
.hero {
  padding: 112px 0 220px;
  /* Only behind the text column, transparent beyond it */
  --photo-overlay: linear-gradient(90deg, rgba(15, 58, 47, .65) 0%, rgba(15, 58, 47, .65) calc(50% + 120px), rgba(15, 58, 47, 0) calc(50% + 420px));
}
.hero__inner { position: relative; }
.hero h1 { font-size: clamp(2.8rem, 7.5vw, 5.4rem); line-height: 1.02; margin-bottom: 28px; }
.hero .rc-lead { max-width: 600px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.hero-shot { position: relative; z-index: 2; max-width: 1088px; margin-top: -160px; }

@media (max-width: 900px) {
  .hero { --photo-overlay: linear-gradient(180deg, rgba(15, 58, 47, .65) 0%, rgba(15, 58, 47, .65) 85%, rgba(15, 58, 47, 0) 100%); }
}
@media (max-width: 600px) {
  .hero { padding: 64px 0 120px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero-shot { margin-top: -72px; }
}

/* ── 2. The problem ── */
.problem { padding-top: 88px; }
.problem__cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  margin-top: 56px;
}
.problem__side {
  font-size: 1.6rem; padding-bottom: 14px; margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.problem__list { list-style: none; }
.problem__list li {
  display: grid; grid-template-columns: 44px 1fr; column-gap: 12px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.problem__num {
  grid-row: span 2; font-family: var(--font-display); font-weight: 600;
  font-size: 1.6rem; line-height: 1.1; color: var(--gold-dark);
}
.problem__list h4 { font-weight: 600; font-size: 1.15rem; color: var(--green); line-height: 1.3; margin-bottom: 4px; }
.problem__list p  { font-weight: 300; }

@media (max-width: 800px) {
  .problem__cols { grid-template-columns: 1fr; gap: 40px; margin-top: 40px; }
}
@media (max-width: 600px) {
  .problem { padding-top: 56px; }
}

/* ── Photo band ── */
.band {
  display: flex; align-items: center;
  min-height: clamp(260px, 40vh, 440px);
  /* Darker only in the middle strip with the line of text */
  --photo-overlay: linear-gradient(180deg, rgba(15, 58, 47, .1) 0%, rgba(15, 58, 47, .5) 38%, rgba(15, 58, 47, .5) 62%, rgba(15, 58, 47, .1) 100%);
}
.band__inner { width: 100%; text-align: center; }
.band__text {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.15; color: var(--cream);
}

/* ── 3. The solution ── */
.solution__map { margin: 44px 0 16px; }
.features { margin-top: 40px; border-top: 1px solid var(--line); }
.features__row {
  display: grid; grid-template-columns: minmax(200px, 1fr) 2fr; gap: 32px;
  padding: 24px 0; border-bottom: 1px solid var(--line);
}
.features dt { font-weight: 600; font-size: 1.2rem; color: var(--green); line-height: 1.35; }
.features dd { font-weight: 300; }
.badge {
  display: inline-block; margin-left: 6px; padding: 2px 9px; vertical-align: 2px;
  border: 1px solid var(--gold-dark); border-radius: 3px;
  font-weight: 600; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-dark); white-space: nowrap;
}
@media (max-width: 700px) {
  .features__row { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
}

/* ── 4. What your members see ── */
.members__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.members__text .btn { margin-top: 28px; }
.members__phones { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 560px; justify-self: center; }
.members__phones .rc-shot:nth-child(2) { margin-top: 48px; }
@media (max-width: 900px) {
  .members__inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .members__phones { gap: 12px; }
  .members__phones .rc-shot:nth-child(2) { margin-top: 28px; }
  .rc-shot--phone { border-radius: 22px; padding: 6px; }
  .rc-shot--phone img { border-radius: 17px; }
}

/* ── Explainer video placeholder (assets/includes/home-video.php) ── */
.video-placeholder {
  position: relative; overflow: hidden;
  max-width: 960px; margin: 16px auto 0; aspect-ratio: 16 / 9;
  background: var(--green); border-radius: 4px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
}
.video-placeholder::before {
  content: ''; position: absolute; inset: -30%;
  background: url('/assets/img/rings.svg') no-repeat center / contain; opacity: .35;
}
.video-placeholder img, .video-placeholder p { position: relative; }
.video-placeholder p {
  color: var(--cream); font-weight: 600; font-size: .85rem;
  letter-spacing: .3em; text-transform: uppercase; padding: 0 16px;
}

/* ── 5. CTA (assets/includes/cta-block.php) and The Centenary strip ── */
.cta { --photo-overlay: linear-gradient(180deg, rgba(15, 58, 47, .35) 0%, rgba(15, 58, 47, .7) 22%, rgba(15, 58, 47, .7) 78%, rgba(15, 58, 47, .35) 100%); }
.cta .btn { margin-top: 36px; }
.cta .rc-title { font-size: clamp(2rem, 4.2vw, 2.8rem); }

.centenary-strip { background: var(--cream); border-bottom: 1px solid var(--line); }
.centenary-strip__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 20px;
  padding-top: 22px; padding-bottom: 22px; text-align: center;
  font-weight: 600; font-size: .85rem; letter-spacing: .25em; text-transform: uppercase; color: var(--muted);
}
.centenary-strip a { color: var(--green); text-decoration: none; border-bottom: 1px solid var(--gold); }
.centenary-strip a:hover { color: var(--gold-dark); }
