/* ==========================================================================
   HostRyze — /rental-growth-and-support (HR-16, Homeowner Acquisition +
   12-Hour Co-Hosting + OTA Expansion). Page-only rules on top of
   styles.css → pages.css → solutions.css.
   Builds the "three-part acquisition / distribution / support journey"
   (brief Part 7, concept 16) on the shared .journey component: a compact
   connected strip in the hero, and the full three-node system with labeled
   connectors in #offer. Plus the channel rollout tracker mock and a few
   layout helpers. Two colours only: everything is var(--fg) on var(--bg).
   ========================================================================== */

/* ---------- Hero ---------- */
/* three-sentence H1: one step smaller than the default .phero size so it holds three lines */
.phero--hr16 h1 { font-size: clamp(2.2rem, min(3.9vw, 8vh), 4rem); }
.phero--hr16 .label { max-width: 60ch; }
.phero--hr16 .ticks { margin-top: clamp(18px, 3vh, 26px); }
.phero--hr16 .ticks li { font-size: 0.94rem; }

/* ---------- Journey additions (kicker + "You keep" footer) ---------- */
.journey__k { font-size: 0.76rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(var(--fgc), 0.65); margin-bottom: 10px; }
.journey__keep { margin-top: 18px; padding-top: 14px; border-top: 1.5px solid rgba(var(--fgc), 0.35); font-size: 0.9rem; line-height: 1.45; color: rgba(var(--fgc), 0.78); }
.journey__keep b { color: var(--fg); }
.journey__stage .list + .journey__keep { margin-top: auto; padding-top: 18px; }
.journey__stage .list { padding-bottom: 6px; }

/* ---------- Hero strip: three compact connected tiles under the hero grid ---------- */
.journey--strip { --jg: clamp(40px, 5vw, 72px); margin-top: clamp(36px, 6vh, 64px); gap: var(--jg); }
.journey--strip .journey__stage { padding: 18px 20px 20px; border: 1.5px solid rgba(var(--fgc), 0.35); border-radius: var(--r-lg); }
.journey--strip .journey__stage h3 { font-size: clamp(1.1rem, 1.4vw, 1.3rem); margin-bottom: 6px; }
.journey--strip .journey__stage p:not(.journey__k) { font-size: 0.94rem; line-height: 1.45; color: rgba(var(--fgc), 0.78); }
.journey--strip .journey__k { margin-bottom: 8px; }
/* connector: a hairline across the gap with the shared chevron at its tip */
.journey--strip .journey__stage:not(:last-child)::before { content: ""; position: absolute; left: 100%; top: 50%; width: var(--jg); height: 1.5px; background: rgba(var(--fgc), 0.35); }
.journey--strip .journey__stage:not(:last-child)::after { top: 50%; right: calc(var(--jg) / -2 - 7px); transform: translateY(-50%) rotate(45deg); border-color: rgba(var(--fgc), 0.6); }

/* ---------- Full system: three nodes with labeled connectors ---------- */
.journey--linked { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(14px, 1.6vw, 22px); align-items: stretch; }
.journey--linked .journey__stage::after { display: none; }
.journey--linked .journey__stage.green { padding: clamp(20px, 2.2vw, 28px); border-top: 0; border-radius: var(--r-lg); background: var(--bg); color: var(--fg); }
.journey--linked .journey__stage .list li { font-size: 0.94rem; line-height: 1.4; padding: 9px 0; }
.journey__link { display: flex; flex-direction: column; align-items: center; width: clamp(96px, 9vw, 136px); padding-top: 96px; text-align: center; }
.journey__link i { position: relative; display: block; width: 100%; height: 1.5px; background: var(--fg); }
.journey__link i::after { content: ""; position: absolute; right: -1px; top: 50%; width: 10px; height: 10px; border: solid var(--fg); border-width: 1.5px 1.5px 0 0; transform: translateY(-50%) rotate(45deg); }
.journey__link span { margin-top: 10px; font-size: 0.78rem; font-weight: 700; line-height: 1.3; color: rgba(var(--fgc), 0.72); }

/* ---------- Problem: lede under the statement ---------- */
.problem__lede { margin-top: 18px; }

/* ---------- Outcome band: copy left, measured-on chips right ---------- */
.oband { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.oband .lede { margin-top: 18px; }
.oband .lede + .lede { margin-top: 14px; }
.oband .metrics { gap: 12px; }
.oband .metrics li { padding: 14px 22px; font-size: clamp(1rem, 1.3vw, 1.2rem); }
.oband__line { margin-top: 24px; font-size: clamp(1.25rem, 1.9vw, 1.7rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; }

/* ---------- How it works: six stages as 3 × 2 ---------- */
@media (min-width: 1181px) {
  .timeline--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: clamp(40px, 5vh, 56px); }
  .timeline--3 .tl:nth-child(3n)::before { right: 0; }
  .timeline--3 .tl p { max-width: 36ch; }
}

/* ---------- Systems: ten badges in two rows of five, three short notes ---------- */
@media (min-width: 901px) {
  .pms--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.pms img[src$=".svg"][width="38"] { max-height: 30px; }
.pms__cap { margin-top: 12px; font-size: 0.88rem; line-height: 1.45; color: rgba(var(--fgc), 0.7); max-width: 80ch; }
.sysnotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: var(--stack); }
.sysnotes p { padding-top: 14px; border-top: 1.5px solid var(--fg); font-size: 0.98rem; line-height: 1.5; color: rgba(var(--fgc), 0.82); }

/* ---------- Reporting: funnel rail, rollout tracker, handoff ---------- */
.rail__k { font-size: 0.76rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(var(--fgc), 0.65); margin-bottom: 12px; }
.rail { gap: 12px 28px; }
.rail li { position: relative; }
.rail li + li::before { content: ""; position: absolute; right: calc(100% + 7px); top: 50%; width: 14px; height: 1.5px; background: rgba(var(--fgc), 0.5); transform: translateY(-50%); }
.rail li + li::after { content: ""; position: absolute; right: calc(100% + 7px); top: 50%; width: 7px; height: 7px; border: solid rgba(var(--fgc), 0.5); border-width: 1.5px 1.5px 0 0; transform: translateY(-50%) rotate(45deg); }
.rail li:last-child { background: var(--fg); color: var(--bg); }
.rail__note { margin-top: 14px; font-size: 0.9rem; line-height: 1.45; color: rgba(var(--fgc), 0.72); max-width: 70ch; }

.reports { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap); align-items: start; margin-top: var(--stack); }
.reports .report { max-width: none; }
.reports__p { margin-top: 20px; font-size: 0.92rem; line-height: 1.45; color: rgba(var(--fgc), 0.72); max-width: 80ch; }

/* channel rollout tracker: rows = channel or asset, columns = Channel · Status · Note */
.rollout__rows { padding: 4px 20px; }
.rollout__rows li { display: grid; grid-template-columns: minmax(0, 5fr) auto minmax(0, 8fr); gap: 10px 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(var(--fgc), 0.2); font-size: 0.96rem; }
.rollout__rows li:last-child { border-bottom: 0; }
.rollout__rows b { font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.rollout__rows small { font-size: 0.88rem; line-height: 1.4; color: rgba(var(--fgc), 0.7); }
.rollout__rows .tag { justify-self: start; min-width: 112px; justify-content: center; }
.rollout__rows .rollout__h { padding: 10px 0 8px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(var(--fgc), 0.6); }
.rollout__rows .rollout__h span:nth-child(2) { min-width: 112px; }
.rollout__note { padding: 12px 20px 16px; border-top: 1.5px solid var(--fg); font-size: 0.86rem; line-height: 1.45; color: rgba(var(--fgc), 0.72); }

/* ---------- Trust: three commitment cards ---------- */
.lines3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }

/* ---------- Final CTA: long closing headline, contact row under the fine print ---------- */
.cta--hr16 h2:not(.audit__title) { font-size: clamp(2rem, 4vw, 3.6rem); }
.cta__links { margin-top: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .journey__link { width: clamp(72px, 7vw, 100px); }
  .journey__link span { font-size: 0.72rem; }
}
@media (max-width: 900px) {
  .oband, .sysnotes, .lines3, .reports { grid-template-columns: 1fr; }
  .reports { gap: 32px; }
  /* strip stacks (solutions.css sets .journey to one column); connectors turn downward */
  .journey--strip { gap: 22px; }
  .journey--strip .journey__stage:not(:last-child)::before { display: none; }
  .journey--strip .journey__stage:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -18px; transform: translateX(-50%) rotate(135deg); }
  /* linked system stacks with the connector as a down arrow beside its label */
  .journey--linked { grid-template-columns: 1fr; gap: 18px; }
  .journey__link { flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; width: auto; padding: 4px 0 4px 8px; text-align: left; }
  .journey__link i { width: 1.5px; height: 44px; flex: none; }
  .journey__link i::after { right: auto; left: 50%; top: auto; bottom: -1px; transform: translateX(-50%) rotate(135deg); }
  .journey__link span { margin-top: 0; font-size: 0.8rem; }
}
@media (max-width: 640px) {
  .phero--hr16 .label { font-size: 0.9rem; }
  .rail { gap: 8px; }
  .rail li + li::before, .rail li + li::after { display: none; }
  .rollout .mock__title b { white-space: normal; overflow: visible; text-overflow: clip; font-size: 0.98rem; line-height: 1.2; }
  .rollout__rows { padding: 2px 16px; }
  .rollout__rows li { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
  .rollout__rows small { grid-column: 1 / -1; }
  .rollout__rows .rollout__h span:nth-child(3) { display: none; }
  .rollout__rows .tag { min-width: 0; }
  .rollout__note { padding: 12px 16px 14px; }
  .oband .metrics li { padding: 11px 16px; font-size: 0.98rem; }
  .journey--strip .journey__stage { padding: 16px 18px 18px; }
}
