/* ==========================================================================
   HostRyze — /reach-and-support (HR-10, 12-Hour Co-Hosting + OTA Expansion)
   Page-only rules on top of styles.css → pages.css → solutions.css.
   Adds the two-stage ".story" visual (brief Part 7, concept 10: booking discovery
   plus guest support) and a handful of tweaks. Two colours only: everything is
   var(--fg) on var(--bg); the left panel simply carries the .green surface.
   ========================================================================== */

/* ---------- Two-stage story: "Where guests find you" → "What happens next" ---------- */
.story { --sg: clamp(20px, 2.4vw, 32px); position: relative; }
.story__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.story__k { font-size: 0.9rem; font-weight: 700; color: rgba(var(--fgc), 0.72); }
.story__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(14px, 1.8vw, 24px); align-items: stretch; }
.story__panel { display: flex; flex-direction: column; padding: clamp(20px, 2.4vw, 30px); border: 1.5px solid currentColor; border-radius: var(--r-lg); }
.story__h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: clamp(18px, 2.4vh, 26px); padding-bottom: 12px; border-bottom: 1px solid rgba(var(--fgc), 0.25); }
.story__h b { font-size: clamp(1.1rem, 1.4vw, 1.3rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.story__h span { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(var(--fgc), 0.65); white-space: nowrap; }
.story__body { flex: 1 1 auto; }
.story__foot { margin-top: clamp(18px, 2.4vh, 26px); padding-top: 14px; border-top: 1px solid rgba(var(--fgc), 0.25); font-size: 0.84rem; line-height: 1.45; color: rgba(var(--fgc), 0.72); }

/* left panel: a property tile with branches to channel tiles */
.story__net { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 var(--sg); align-items: center; }
.story__core { position: relative; display: grid; align-content: center; justify-items: center; gap: 4px; width: clamp(128px, 12vw, 160px); aspect-ratio: 1; padding: 14px; border: 1.5px solid currentColor; border-radius: 50%; text-align: center; }
.story__core svg { width: 28px; height: 28px; margin-bottom: 4px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.story__core b { font-size: 1rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.story__core small { font-size: 0.78rem; color: rgba(var(--fgc), 0.7); }
.story__core::after { content: ""; position: absolute; left: 100%; top: 50%; width: var(--sg); height: 1.5px; background: rgba(var(--fgc), 0.45); }
.story__spokes { position: relative; display: grid; gap: 8px; padding-left: 22px; }
.story__spokes::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 1.5px; background: rgba(var(--fgc), 0.45); }
.story__spokes li { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border: 1.5px solid rgba(var(--fgc), 0.42); border-radius: var(--r); font-size: 0.94rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.story__spokes li::before { content: ""; position: absolute; right: 100%; top: 50%; width: 22px; height: 1.5px; background: rgba(var(--fgc), 0.45); }
.story__spokes li small { display: block; margin-top: 2px; font-size: 0.8rem; font-weight: 500; color: rgba(var(--fgc), 0.7); }
.story__spokes li.is-included { border-color: currentColor; background: rgba(var(--fgc), 0.1); }
.story__spokes li.is-eligible { border-style: dashed; }
.story__spokes .tag { flex: none; }

/* right panel: 24-hour bar (reuses .shift__track from solutions.css) + a mini shift desk */
.story__bar { margin-top: 30px; }
.story__cap { margin-top: 12px; font-size: 0.86rem; line-height: 1.45; color: rgba(var(--fgc), 0.75); }
.story__cap b { color: var(--fg); }
.story__desk-k { margin-top: clamp(18px, 2.4vh, 26px); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(var(--fgc), 0.65); }
.story__desk { margin-top: 8px; border-top: 1.5px solid currentColor; }
.story__desk li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(var(--fgc), 0.2); font-size: 0.94rem; font-weight: 700; }
.story__desk li small { display: block; margin-top: 2px; font-size: 0.84rem; font-weight: 400; color: rgba(var(--fgc), 0.7); }

/* the join between the panels: label + arrow (points right; points down when stacked) */
.story__join { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: clamp(110px, 12vw, 170px); text-align: center; }
.story__join span { font-size: 0.8rem; font-weight: 700; line-height: 1.3; color: rgba(var(--fgc), 0.75); }
.story__join i { position: relative; display: block; width: 100%; height: 1.5px; background: var(--fg); }
.story__join 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); }

/* ---------- Small page tweaks ---------- */
/* the outcome "versus" pair is two full sentences; keep them readable */
.versus--sm p { font-size: clamp(1.55rem, 2.7vw, 2.5rem); line-height: 1.1; }
/* scope: the "not included" column spans the full width under the two included columns */
.scope__col--wide { margin-top: var(--gap); }
.scope__col--wide .scope__list.list--cols li { break-inside: avoid; }
/* three proof slots side by side */
.proofs--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* marker inside the inverted report header keeps its own size */
.report__head .illus { font-size: 0.7rem; opacity: 0.9; }
/* note under the PMS wall */
.wallnote { margin-top: 14px; font-size: 0.9rem; color: rgba(var(--fgc), 0.7); }
/* systems photo keeps a landscape crop */
.sys-shot img { aspect-ratio: 16 / 10; object-position: center; }
/* roadmap track labels read as the two tracks */
.roadmap__days.is-both { color: var(--fg); }
/* final form: the optional Channel Gap Map checkbox sits on its own row */
.checks--one .checks__grid { grid-template-columns: 1fr; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .proofs--3 { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .story__grid { grid-template-columns: 1fr; }
  .story__join { width: 100%; flex-direction: row; gap: 14px; padding: 2px 0; }
  .story__join i { width: 1.5px; height: 44px; flex: none; }
  .story__join i::after { right: auto; left: 50%; top: auto; bottom: -1px; transform: translateX(-50%) rotate(135deg); }
}
@media (max-width: 640px) {
  .story__top { flex-direction: column; align-items: flex-start; gap: 8px; }
  .story__panel { padding: 18px 16px; }
  .story__h { flex-direction: column; gap: 4px; }
  .story__h span { white-space: normal; }
  .story__net { grid-template-columns: 1fr; gap: 14px; }
  .story__core { width: 100%; aspect-ratio: auto; border-radius: var(--r); padding: 14px; }
  .story__core::after { display: none; }
  .story__spokes { padding-left: 0; }
  .story__spokes::before, .story__spokes li::before { display: none; }
  .story__spokes li { flex-wrap: wrap; padding: 10px 12px; }
  .story__bar { margin-top: 22px; }
  .story__desk li { grid-template-columns: 1fr; gap: 6px; }
  .story__desk li .tag { justify-self: start; }
  .versus--sm p { font-size: 1.5rem; }
}

/* keep the window label on one line inside a half-width panel */
.story__bar .shift__win b { font-size: 0.82rem; }
.story__bar .shift__win small { font-size: 0.7rem; }
@media (max-width: 640px) {
  /* report header: hide the window note, keep the marker on the right */
  .report__head { flex-wrap: wrap; align-items: center; gap: 8px 12px; }
  .report__head > span:not(.illus) { display: none; }
  .report__head .illus { margin-left: auto; }
}
