/* the top block is centred, like the home page hero: headline, one line of lead, the form under it */
#rw-hero { padding-block: clamp(56px, 5vw, 88px) clamp(64px, 6vw, 104px); }
#rw-hero .wrap > .rw-hero-ey { display: flex; width: max-content; margin-inline: auto; }
#rw-hero .rw-hero-h { text-align: center; font-size: clamp(52px, 7vw, 124px); }
#rw-hero .rw-hero-row { margin: clamp(20px, 2vw, 28px) auto 0; display: grid; justify-items: center; gap: clamp(26px, 2.6vw, 36px); max-width: 560px; text-align: center; }
#rw-hero .rw-hero-row .cp-lead { margin: 0; max-width: 44ch; text-wrap: balance; }
#rw-hero .rw-hero-join { width: min(100%, 480px); display: grid; gap: 12px; }
#rw-hero .waitlist { background: var(--paper-3); border-color: var(--ink); }   /* same field as the home page hero: paper with an ink edge */
#rw-hero .cp-note { font-size: var(--t-small); color: var(--fg2); }
@media (max-width: 560px) {
  #rw-hero .rw-hero-h { font-size: 11.4vw; }
}

/* ---- The blueprint house. The whole house is drawn as an elevation; the part that is built rises from
   the ground to the member's share of 15,000 points. The levels down the right are the protections. ---- */
#rw-hero .rwb { margin: clamp(20px, 2vw, 32px) auto 0; width: min(100%, 880px); }
#rw-hero .rwb-stage { position: relative; }
#rw-hero .rwb-house { position: relative; width: min(100%, 560px); margin-inline: auto; }
#rw-hero .rwb-art { display: block; width: 100%; height: auto; }
/* blueprint */
#rw-hero .bp .p-line { fill: none; stroke: rgba(22,33,29,.42); stroke-width: 1.4; stroke-linejoin: round; }
#rw-hero .bp .p-dash { fill: none; stroke: rgba(22,33,29,.3); stroke-width: 1.2; stroke-dasharray: 5 5; }
#rw-hero .bp .p-axis { fill: none; stroke: rgba(22,33,29,.22); stroke-width: 1; stroke-dasharray: 14 4 2 4; }
#rw-hero .p-ground { stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
/* built: flat planes, the site's illustration palette */
#rw-hero .bt .b-wall { fill: #A9BFAE; }
#rw-hero .bt .b-lap { stroke: rgba(22,33,29,.13); stroke-width: 1; }
#rw-hero .bt .b-shade { fill: rgba(22,33,29,.1); }
#rw-hero .bt .b-found { fill: #5A635F; }
#rw-hero .bt .b-roof { fill: #2A3934; }
#rw-hero .bt .b-fascia { fill: #F2F4F1; }
#rw-hero .bt .b-brick { fill: #9E5B3E; }
#rw-hero .bt .b-cap { fill: #5A635F; }
#rw-hero .bt .b-trim { fill: #F2F4F1; }
#rw-hero .bt .b-glass { fill: #2F3F3A; }
#rw-hero .bt .b-mull { stroke: #F2F4F1; stroke-width: 3; fill: none; }
#rw-hero .bt .b-sill { fill: #E3E7E2; }
#rw-hero .bt .b-porch { fill: #2A3934; }
#rw-hero .bt .b-post { fill: #F2F4F1; }
#rw-hero .bt .b-pier { fill: #8A8F8B; }
#rw-hero .bt .b-door { fill: #0E6B4E; }
#rw-hero .bt .b-dglass { fill: #F0DDB0; }
#rw-hero .bt .b-knob { fill: #E3B667; }
#rw-hero .bt .b-step { fill: #C9CEC8; }
#rw-hero .bt .b-box { fill: #7A5232; }
#rw-hero .bt .b-leaf { fill: #2C8A68; }

/* the build line, at the member's count */
#rw-hero .rwb-line { position: absolute; left: 0; right: 0; top: var(--b); height: 0; border-top: 2px solid var(--ink); pointer-events: none; }
#rw-hero .rwb-tag { position: absolute; left: 0; bottom: 0; display: inline-flex; align-items: baseline; gap: 10px; padding: 7px 11px 6px; background: var(--ink); color: var(--paper-3); }
#rw-hero .rwb-tag .rwb-k { color: rgba(242,244,241,.66); }
#rw-hero .rwb-tag b { font-family: var(--f-display); font-weight: 800; font-size: 22px; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
#rw-hero .rwb-k { font-family: var(--f-mono); font-size: var(--t-label); letter-spacing: .1em; text-transform: uppercase; line-height: 1; color: var(--ink-70); }

/* the timeline under the house: five protections spaced evenly, each gap filled by how far through it */
#rw-hero .rcp-track { --tok: 42px; position: relative; margin-top: clamp(28px, 3vw, 40px); }
#rw-hero .rcp-rail { position: absolute; left: 10%; right: 10%; top: calc(var(--tok) / 2 - 3px); height: 6px; border-radius: 3px; background: rgba(22,33,29,.16); }
#rw-hero .rcp-fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--p) * 100%); border-radius: inherit; background: var(--ink); }
#rw-hero .rcp-you { position: absolute; top: 50%; left: clamp(calc(var(--pa) * 100% + var(--tok) / 2 + 10px), calc(var(--p) * 100%), calc(var(--pb) * 100% - var(--tok) / 2 - 10px)); width: 16px; height: 16px; translate: -50% -50%; border-radius: 50%; background: var(--paper-3); box-shadow: inset 0 0 0 4px var(--ink); z-index: 2; }
#rw-hero .rcp-you > span { position: absolute; bottom: calc(100% + 9px); left: 50%; translate: -50% 0; padding: 6px 9px 5px; background: var(--ink); color: var(--paper-3); font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; line-height: 1; white-space: nowrap; border-radius: 4px; }
#rw-hero .rcp-you > span::after { content: ""; position: absolute; top: 100%; left: 50%; translate: -50% 0; border: 4px solid transparent; border-top-color: var(--ink); }
#rw-hero .rcp-stops { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
#rw-hero .rcs { display: grid; justify-items: center; text-align: center; }
#rw-hero .rcs-tok { position: relative; z-index: 1; display: grid; place-items: center; width: var(--tok); height: var(--tok); border-radius: 50%; background: var(--amber-light); color: rgba(22,33,29,.45); box-shadow: inset 0 0 0 1.5px rgba(22,33,29,.25); transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease); }
#rw-hero .rcs-tok svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
#rw-hero .rcs.is-on .rcs-tok { background: var(--ink); color: var(--paper-3); box-shadow: none; }
#rw-hero .rcs.is-next .rcs-tok { background: var(--paper-3); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
#rw-hero .rcs b { margin-top: 14px; font-family: var(--f-display); font-weight: 700; font-size: clamp(17px, 1.5vw, 21px); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: rgba(22,33,29,.5); }
#rw-hero .rcs.is-on b, #rw-hero .rcs.is-next b { color: var(--ink); }
#rw-hero .rcs-name { margin-top: 8px; font-family: var(--f-mono); font-size: var(--t-label); letter-spacing: .08em; text-transform: uppercase; line-height: 1.25; color: rgba(22,33,29,.5); }
#rw-hero .rcs.is-on .rcs-name, #rw-hero .rcs.is-next .rcs-name { color: var(--ink-70); }
#rw-hero .rwb-sm { display: none; }

/* stickers */
#rw-hero .rwb-chip { position: absolute; }
#rw-hero .rwb-chip b { display: block; }
#rw-hero .rwb-rent { left: -10%; top: 30%; }
#rw-hero .rwb-rent b { margin-top: 6px; font-size: 16px; }
#rw-hero .rwb-month { left: -6%; top: calc(var(--b) + 6%); display: grid; gap: 6px; padding: 10px 14px; background: var(--green-light); }
#rw-hero .rwb-month b { font-family: var(--f-display); font-weight: 800; font-size: 26px; line-height: 1; letter-spacing: -0.035em; }

#rw-hero .rwb-cap { display: flex; justify-content: space-between; gap: 16px; margin-top: 30px; padding-top: 16px; border-top: 1px solid rgba(22,33,29,.18); font-family: var(--f-mono); font-size: var(--t-label); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-70); }
#rw-hero .rwb-cap b { font-weight: 400; color: var(--ink); }

@media (max-width: 1100px) { #rw-hero .rwb-rent { left: -2%; } }
@media (max-width: 640px) {
  /* phones: the timeline runs the full width of the house's ground line. Five equal columns, widened so the
     first and last tokens sit flush with the ground line's ends (inset 10/560 in the drawing) */
  #rw-hero .rcp-track { --tok: 34px; margin-inline: calc(var(--tok) * .625 - 10.268%); }
  #rw-hero .rcs-tok svg { width: 17px; height: 17px; }
  #rw-hero .rcs b { margin-top: 10px; font-size: 14px; }
  #rw-hero .rcs-name { font-size: 12.5px; letter-spacing: .03em; }
  #rw-hero .rcp-you > span { font-size: 12.5px; padding: 4px 6px; }
  #rw-hero .rwb-lg { display: none; } #rw-hero .rwb-sm { display: inline; }
  #rw-hero .rwb-tag { padding: 5px 8px 4px; gap: 7px; }
  #rw-hero .rwb-tag b { font-size: 17px; }
  #rw-hero .rwb-k { font-size: 12.5px; letter-spacing: .04em; }
  #rw-hero .rwb-chip { padding: 8px 10px; gap: 9px; box-shadow: 4px 4px 0 var(--ink); }
  #rw-hero .rwb-rent { left: 0; top: -5%; }
  #rw-hero .rwb-rent .rwb-k { font-size: 12.5px; }
  #rw-hero .rwb-month { display: none !important; }
  #rw-hero .rwb-rent .ico { width: 26px; height: 26px; }
  #rw-hero .rwb-rent b { font-size: 14px; margin-top: 4px; }
  #rw-hero .rwb-month { left: -1%; padding: 7px 10px; }
  #rw-hero .rwb-month b { font-size: 19px; }
  #rw-hero .rwb-cap { font-size: 12.5px; letter-spacing: .04em; flex-direction: column; gap: 6px; }
}
