/* ==========================================================================
   HostRyze — HR-04 "10 Signed Homeowners in 60 Days" (/ten-owners-in-sixty-days)
   Page-only rules. Loaded after styles.css → pages.css → solutions.css.
   Two colours only; every element is var(--fg) on var(--bg).
   Contents: hero rail (.gantt, the 60-day campaign roadmap) · outcome band (.band)
   · nine deliverable cards (.cards9) · proposed commercial structure (.structure)
   · seven-phase timeline helper · weekly funnel report (.funnelreport) · trust
   · responsive (1180 / 900 / 640).
   ========================================================================== */

/* ---------- Hero rail: the 60-day campaign roadmap (.gantt) ----------
   <div class="gantt" role="img" aria-label="Illustrative example of the 60-day campaign roadmap">
     <div class="gantt__top"><p class="gantt__k">…</p><span class="illus">Illustrative example</span><p class="gantt__fine">…</p></div>
     <ol class="gantt__scale"><li style="--x:0%">Day 1</li> … <li style="--x:100%">Day 60</li></ol>
     <ol class="gantt__rows">
       <li class="gantt__row"><div class="gantt__label"><b><i>01</i>Discovery</b><small>…</small><em class="gantt__when">Opens Day 1</em></div>
           <div class="gantt__track"><span class="gantt__bar" style="--s:0%;--e:12%"></span></div></li> ×7
     </ol>
     <ul class="gantt__legend">…</ul>
   </div>
   --s / --e are the bar edges as a percentage of the 60 days (day / 60 × 100). Bars overlap on purpose. */
.phero__rail { margin-top: clamp(44px, 7vh, 80px); }
.gantt { --cols: minmax(220px, 27%) minmax(0, 1fr); --colgap: clamp(18px, 2.4vw, 36px); position: relative; padding: clamp(20px, 2.4vw, 30px) clamp(20px, 2.4vw, 34px) clamp(18px, 2.2vw, 26px); border: 1px solid rgba(var(--fgc), 0.3); border-radius: var(--r-lg); }
.gantt__top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: clamp(20px, 3vh, 30px); }
.gantt__k { font-size: 0.98rem; font-weight: 800; letter-spacing: -0.015em; margin-right: auto; }
.gantt__fine { flex-basis: 100%; font-size: 0.88rem; font-weight: 600; color: rgba(var(--fgc), 0.7); }
.gantt__head, .gantt__row { display: grid; grid-template-columns: var(--cols); column-gap: var(--colgap); }
.gantt__scale { grid-column: 2; position: relative; height: 24px; margin-bottom: 6px; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(var(--fgc), 0.7); font-variant-numeric: tabular-nums; }
.gantt__scale li { position: absolute; top: 0; left: var(--x, 0%); transform: translateX(-50%); white-space: nowrap; }
.gantt__scale li:first-child { transform: none; }
.gantt__scale li:last-child { transform: translateX(-100%); }
.gantt__scale li::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 6px; background: rgba(var(--fgc), 0.5); }
.gantt__scale li:first-child::after { left: 0; }
.gantt__scale li:last-child::after { left: auto; right: 0; }
.gantt__rows { border-top: 1.5px solid var(--fg); }
.gantt__row { align-items: center; padding: 6px 0; border-bottom: 1px solid rgba(var(--fgc), 0.16); }
.gantt__row:last-child { border-bottom: 0; }
.gantt__label { padding: 6px 0; min-width: 0; }
.gantt__label b { display: flex; align-items: baseline; gap: 10px; font-size: clamp(0.98rem, 1.15vw, 1.08rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.gantt__label b i { font-style: normal; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.06em; color: rgba(var(--fgc), 0.6); font-variant-numeric: tabular-nums; }
.gantt__label small { display: block; margin-top: 3px; font-size: 0.84rem; line-height: 1.35; color: rgba(var(--fgc), 0.72); }
.gantt__when { display: none; font-style: normal; }
.gantt__track { position: relative; height: 40px; border-right: 1px solid rgba(var(--fgc), 0.3); background-image: linear-gradient(to right, rgba(var(--fgc), 0.26) 1px, transparent 1px); background-size: 25% 100%; background-repeat: repeat-x; }
.gantt__bar { position: absolute; top: 9px; bottom: 9px; left: var(--s, 0%); width: calc(var(--e, 100%) - var(--s, 0%)); min-width: 10px; border-radius: 3px; background: var(--fg); }
.gantt__bar--marker { background: transparent; border: 1.5px dashed var(--fg); border-radius: 3px; }
.gantt__bar--marker::before { content: ""; position: absolute; left: -7px; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--fg); transform: translateY(-50%); box-shadow: 0 0 0 3px var(--bg); }
.gantt__bar--end { border-radius: 3px 0 0 3px; }
.gantt__bar--end::after { content: ""; position: absolute; right: -1px; top: -9px; bottom: -9px; width: 3px; background: var(--fg); }
.gantt__legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(var(--fgc), 0.2); font-size: 0.84rem; font-weight: 600; color: rgba(var(--fgc), 0.75); }
.gantt__legend li { display: inline-flex; align-items: center; gap: 8px; }
.gantt__legend li::before { content: ""; flex: none; width: 18px; height: 10px; border-radius: 2px; background: var(--fg); }
.gantt__legend .is-marker::before { background: transparent; border: 1.5px dashed var(--fg); }
.gantt__legend .is-end::before { width: 3px; border-radius: 0; }

/* ---------- Outcome band (.band): copy left, campaign components right ---------- */
.band { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.band .lede { margin-top: 18px; }
.band .lede + .lede { margin-top: 14px; }
.band__line { margin-top: clamp(20px, 3.4vh, 32px); padding-top: clamp(16px, 2.6vh, 24px); border-top: 1px solid rgba(var(--fgc), 0.2); font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 700; letter-spacing: -0.015em; max-width: 30ch; }

/* ---------- Nine deliverable cards in three rows (.cards9) ---------- */
.cards9 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.6vw, 44px) var(--gap); }
.cards9 .benefit { position: relative; }
.cards9 .benefit__n { display: block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; color: rgba(var(--fgc), 0.55); margin-bottom: 10px; font-variant-numeric: tabular-nums; }

/* ---------- Proposed commercial structure (.structure): banner + four tiles on green ---------- */
.structure { position: relative; padding: clamp(22px, 2.8vw, 40px); border-radius: var(--r-lg); }
.structure__banner { display: inline-flex; align-items: center; gap: 9px; padding: 7px 13px; border: 1.5px dashed var(--fg); border-radius: 999px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; line-height: 1.2; margin-bottom: clamp(22px, 3.4vh, 34px); }
.structure__banner::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.structure__tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.structure__tiles li { padding-top: 16px; border-top: 1.5px solid var(--fg); }
.structure__tiles b { display: block; font-size: clamp(2.3rem, 3.8vw, 3.5rem); font-weight: 800; font-stretch: 92%; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.structure__tiles span { display: block; margin-top: 12px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.structure__tiles small { display: block; margin-top: 6px; font-size: 0.9rem; line-height: 1.4; color: rgba(var(--fgc), 0.72); }
.structure__note { margin-top: var(--stack); max-width: 72ch; font-size: clamp(1.02rem, 1.2vw, 1.12rem); line-height: 1.5; color: rgba(var(--fgc), 0.85); }
.structure__defs { margin-top: clamp(28px, 4vh, 40px); }
.structure__defs h3 { margin-bottom: 12px; }
.structure__defs .list { margin-bottom: 0; }

/* ---------- Seven-phase timeline: close the rail at the end of the first row (4 columns) ---------- */
.timeline--7 .tl:nth-child(4n)::before { right: 0; }

/* ---------- Weekly funnel report (.funnelreport on top of .report) ---------- */
.funnelreport .report__head { align-items: center; flex-wrap: wrap; row-gap: 8px; }
.funnelreport__sub { display: block; }
.funnelreport .report__head .illus { font-size: 0.7rem; opacity: 0.9; white-space: normal; text-align: right; }
.report__status--out { border-style: dotted; border-color: rgba(var(--fgc), 0.55); color: rgba(var(--fgc), 0.72); }
.report__rows small b { font-weight: 700; color: var(--fg); }
.review60 { margin-top: clamp(28px, 4vh, 40px); }
.review60 .label { margin-bottom: 10px; }

/* ---------- Trust (green): ticks + fallback ---------- */
.trust__fallback { margin-top: clamp(22px, 3.6vh, 32px); padding-top: clamp(16px, 2.6vh, 24px); border-top: 1px solid rgba(var(--fgc), 0.2); font-weight: 600; color: rgba(var(--fgc), 0.82); max-width: 60ch; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .gantt { --cols: minmax(190px, 30%) minmax(0, 1fr); }
  .cards9 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .structure__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .timeline--7 .tl:nth-child(4n)::before { right: calc(var(--gap) * -1); }
  .timeline--7 .tl:nth-child(2n)::before { right: 0; }
}
@media (max-width: 900px) {
  .band { grid-template-columns: 1fr; }
  .gantt { --cols: minmax(160px, 34%) minmax(0, 1fr); }
  .gantt__label small { display: none; }
}
@media (max-width: 640px) {
  .phero__rail { margin-top: 40px; }
  .gantt { padding: 18px 16px 16px; }
  .gantt__top { margin-bottom: 18px; }
  .gantt__k { flex-basis: 100%; margin-right: 0; }
  /* phones: a vertical rail. The track and the scale go; each row keeps its dot, phase, window and one line. */
  .gantt__head, .gantt__scale, .gantt__track, .gantt__legend { display: none; }
  .gantt__rows { border-top: 0; }
  .gantt__row { display: block; position: relative; padding: 0 0 20px 26px; border-bottom: 0; }
  .gantt__row::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: -6px; width: 2px; background: rgba(var(--fgc), 0.22); }
  .gantt__row:last-child::before { display: none; }
  .gantt__row::after { content: ""; position: absolute; left: 0; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--fg); }
  .gantt__row--marker::after { background: var(--bg); border: 2px dashed var(--fg); box-sizing: border-box; }
  .gantt__label { padding: 0; }
  .gantt__label small { display: block; }
  .gantt__when { display: block; margin-top: 2px; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(var(--fgc), 0.65); }

  .band__line { font-size: 1.15rem; max-width: none; }
  .cards9 { grid-template-columns: 1fr; gap: 32px; }
  .cards9 .benefit { padding-top: 0; border-top: 0; }

  .structure { padding: 22px 20px; }
  .structure__banner { font-size: 0.72rem; letter-spacing: 0.05em; white-space: normal; }
  .structure__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
  .structure__tiles b { font-size: 2rem; }
  .structure__tiles span { font-size: 0.96rem; }
  .structure__tiles small { font-size: 0.84rem; }

  .funnelreport .report__head .illus { text-align: left; }
}
