/*
 * /2026report/: the web version of the 2026 report, on the plain template (css/bold-stack.css,
 * css/guide-page.css, css/plain-page.css first). Class prefix rp-. No page script: the charts are
 * inline SVG drawn ahead of time in three widths, the view buttons are radio inputs, and motion is
 * CSS (scroll-driven where the browser supports it; otherwise the charts simply sit finished).
 * Bold Stack rules hold: teal is the only accent, every string is solid white, text at or under
 * 16px sets at 500.
 */

.rp { --rp-gap: clamp(64px, 8vw, 112px); }
.rp .gd-main { max-width: 1180px; }
.rp-teal { color: var(--bs-teal); }
.rp-h1 { font-size: clamp(44px, 6.4vw, 92px); line-height: 0.98; letter-spacing: -0.045em; }

/* ---------------------------------------------------------------- hero */

.rp-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); align-items: center; gap: 24px 48px; margin-top: -140px; }
.rp-hero .rp-lede { padding-top: 140px; }
.rp-lede { max-width: 600px; }
.rp-lede p.rp-strap { font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; letter-spacing: -0.02em; color: var(--bs-teal); }
.rp-cover { position: relative; margin: 0; justify-self: center; width: min(100%, 460px); }
.rp-cover img { display: block; width: 100%; height: auto; transform-origin: 60% 75%; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1), filter 1.2s ease; }
.rp-cover:hover img { transform: scale(1.025) rotate(-0.6deg); filter: drop-shadow(0 0 28px rgba(20, 175, 172, 0.35)); }
/* Queenstown: a slow pulse where the ripples start. */
.rp-cover-pin { position: absolute; left: 27%; top: 77.5%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--bs-teal); box-shadow: 0 0 0 0 rgba(20, 175, 172, 0.6); animation: rp-pulse 2.6s ease-out infinite; }
@keyframes rp-pulse { 0% { box-shadow: 0 0 0 0 rgba(20, 175, 172, 0.55); } 80%, 100% { box-shadow: 0 0 0 34px rgba(20, 175, 172, 0); } }

/* ------------------------------------------------------------ sections */

.rp-sec { display: flex; flex-direction: column; gap: 18px; margin-top: var(--rp-gap); padding-top: 48px; border-top: 1px solid var(--bs-hairline); scroll-margin-top: 88px; }
.rp-kicker { display: flex; gap: 14px; align-items: baseline; font-size: 14px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bs-teal); }
.rp-kicker .rp-num { color: var(--bs-white); }
.rp-sample { font-size: 16px; font-weight: 500; margin-top: -8px; }
.rp-h2 { max-width: 920px; font-size: clamp(30px, 3.6vw, 50px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; text-wrap: balance; }
.rp-h2--sub { margin-top: 48px; font-size: clamp(26px, 2.8vw, 38px); }
.rp-h3 { margin-top: 22px; font-size: 17px; font-weight: 700; line-height: 1.35; }
.rp-h3 span { margin-left: 10px; font-weight: 500; font-size: 15px; }
.rp-p { max-width: 760px; font-size: 17px; line-height: 1.65; }
.rp-note { max-width: 900px; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--bs-hairline); font-size: 14px; font-weight: 500; line-height: 1.55; }
.rp-means { max-width: 900px; margin-top: 22px; padding-left: 22px; border-left: 4px solid var(--bs-teal); }
.rp-means-k { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bs-teal); }
.rp-means p:not(.rp-means-k) { margin-top: 8px; font-size: clamp(19px, 1.9vw, 24px); font-weight: 500; line-height: 1.4; }
.rp-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 56px; }
.rp-cols--waffle { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); align-items: center; margin-top: 12px; }
.rp-big { font-size: 18px; font-weight: 500; }
.rp-big b { display: inline-block; min-width: 52px; font-size: 34px; font-weight: 800; letter-spacing: -0.03em; }
.rp-waffle-key { display: flex; flex-direction: column; gap: 12px; }
.rp-waffle-key > p:last-child { font-size: 15px; font-weight: 500; }

/* ----------------------------------------------------- glance + story */

.rp-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 12px; }
.rp-stats a { height: 100%; display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 20px; border: 1px solid var(--bs-hairline); border-radius: var(--bs-radius-card); background: var(--bs-surface); color: var(--bs-white); transition: border-color .25s ease, transform .25s ease, background .25s ease; }
.rp-stats a:hover, .rp-stats a:focus-visible { border-color: var(--bs-teal); transform: translateY(-3px); background: var(--bs-teal-wash); }
.rp-stat-n { font-size: clamp(44px, 4.6vw, 60px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--bs-teal); font-variant-numeric: tabular-nums; }
.rp-stats a > span:nth-child(2) { font-size: 16px; font-weight: 500; line-height: 1.4; }
.rp-stat-ch { margin-top: auto; padding-top: 6px; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bs-teal); }

.rp-story { display: flex; flex-direction: column; margin-top: 28px; list-style: none; padding: 0; counter-reset: none; }
.rp-story a { display: grid; grid-template-columns: 200px minmax(0, 1fr); grid-template-areas: "k h" "k p"; gap: 4px 28px; padding: 18px 12px; border-top: 1px solid var(--bs-hairline); color: var(--bs-white); border-radius: 12px; transition: background .2s ease; }
.rp-story li:last-child a { border-bottom: 1px solid var(--bs-hairline); }
.rp-story a:hover, .rp-story a:focus-visible { background: var(--bs-surface); }
.rp-story a:hover .rp-story-h { color: var(--bs-teal); }
.rp-story-k { grid-area: k; font-size: 17px; font-weight: 800; }
.rp-story-k em { display: block; margin-top: 4px; font-style: normal; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bs-teal); }
.rp-story-h { grid-area: h; font-size: 19px; font-weight: 700; line-height: 1.3; transition: color .2s ease; }
.rp-story-p { grid-area: p; font-size: 16px; font-weight: 500; line-height: 1.5; }

/* -------------------------------------------------------------- toggles */

.rp-toggle { display: inline-flex; flex-wrap: wrap; align-self: flex-start; gap: 4px; padding: 4px; border: 1px solid var(--bs-outline); border-radius: 24px; }

/* -------------------------------------------------------------- charts */

.rp-chart { position: relative; margin: 0; width: 100%; view-timeline: --rp-fig block; }
.rp-chart svg { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--bs-font); }
.rp-chart text { fill: var(--bs-white); font-weight: 500; }
.rp-chart .t-b { font-weight: 800; }
.rp-chart .t-teal { fill: var(--bs-teal); }
.rp-chart .t-dark { fill: var(--bs-slate); }
.rp-chart .hit { fill: transparent; }
.rp-chart .grid { stroke: rgba(255, 255, 255, 0.18); stroke-width: 1; }
.rp-chart .zero { stroke: var(--bs-white); stroke-width: 1.5; }
.rp-chart .cross { display: none; }
.rp-chart svg g:has(> title) { cursor: help; }
/* Pointing at a mark lights it; its <title> gives the detail. */
.rp-chart .bar, .rp-chart .dot, .rp-chart .rp-bubble { transition: filter .2s ease; }
.rp-chart svg g:hover > .bar, .rp-chart svg g:hover > .dot, .rp-chart svg g:hover > .rp-bubble,
.rp-chart svg g:hover > circle.pop { filter: brightness(1.2) drop-shadow(0 0 10px rgba(20, 175, 172, 0.6)); }
.rp-chart svg g:hover > text.t-b { fill: var(--bs-teal); }
.rp-chart svg g:hover > text.t-b.t-dark { fill: var(--bs-slate); }

/* Three drawings of each chart; the one that fits the column shows. */
.rp-w { position: relative; }
.rp-w-mid, .rp-w-narrow { display: none; }
@media (max-width: 860px) { .rp-w-wide { display: none; } .rp-w-mid { display: block; } }
@media (max-width: 600px) { .rp-w-mid { display: none; } .rp-w-narrow { display: block; } }

/* Views: each set of buttons is radio inputs read by the rules at the end of this file. */
.rp-view { display: none; }
.rp-radio { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.rp-toggle label { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; color: var(--bs-white); font: 700 14px/1 var(--bs-font); cursor: pointer; transition: background .2s ease, color .2s ease; }
.rp-toggle label:hover { background: var(--bs-teal-wash); }

/* Scroll-in, where the browser can tie motion to scrolling: bars grow, dots pop, lines draw, and the
   world map's circles swell from last year's size. Elsewhere the charts are simply there, finished. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rp-chart .grow-x, .rp-chart .grow-y, .rp-chart .pop, .rp-chart .draw, .rp-chart .rp-bubble, .rp-chart .rp-world-map {
      animation-timeline: --rp-fig; animation-fill-mode: both; animation-timing-function: cubic-bezier(.2, .7, .2, 1);
      animation-range: entry 0% cover 30%;
    }
    .rp-chart .grow-x { transform-box: fill-box; transform-origin: left center; animation-name: rp-grow-x; }
    .rp-chart .grow-y { transform-box: fill-box; transform-origin: center bottom; animation-name: rp-grow-y; }
    .rp-chart .pop, .rp-chart .rp-bubble { transform-box: fill-box; transform-origin: center; animation-name: rp-pop; }
    .rp-chart .draw { stroke-dasharray: 1; animation-name: rp-draw; animation-range: entry 0% cover 40%; }
    .rp-chart .rp-bubble { animation-name: rp-swell; animation-range: entry 20% cover 45%; }
    .rp-chart .rp-world-map { animation-name: rp-fade; animation-range: entry 0% cover 30%; }
  }
}
@keyframes rp-grow-x { from { transform: scaleX(0); } }
@keyframes rp-grow-y { from { transform: scaleY(0); } }
@keyframes rp-pop { from { transform: scale(0); } }
@keyframes rp-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes rp-swell { from { transform: scale(var(--from, 1)); fill-opacity: 0; } 30% { fill-opacity: 0.78; } }
@keyframes rp-fade { from { opacity: 0; transform: scale(0.985); } }

.rp-legend { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 15px; font-weight: 500; }
.rp-key { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.rp-key.rp-view { display: none; }
.rp-key::before { content: ""; width: 22px; height: 4px; border-radius: 2px; background: var(--bs-white); }
.rp-key--teal::before { background: var(--bs-teal); }
.rp-key--outline::before { height: 14px; border: 2px solid var(--bs-white); background: transparent; box-sizing: border-box; border-radius: 3px; }
.rp-key--dot::before { width: 16px; height: 16px; border-radius: 50%; }
.rp-key--ring::before { width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--bs-white); background: transparent; box-sizing: border-box; }

/* ------------------------------------------------------- chapter parts */

.rp-list ul { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; padding: 0; list-style: none; }
.rp-list li { padding-left: 22px; position: relative; font-size: 16px; font-weight: 500; }
.rp-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--bs-teal); }

.rp-timeline { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; margin-top: 8px; padding: 0; list-style: none; }
.rp-timeline li { position: relative; padding: 30px 14px 0 0; font-size: 15px; font-weight: 500; line-height: 1.4; }
.rp-timeline li::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: var(--bs-teal); }
.rp-timeline li::after { content: ""; position: absolute; left: 0; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--bs-teal); transition: transform .25s ease; }
.rp-timeline li:hover::after { transform: scale(1.4); }
.rp-timeline li.rp-next::before { background: repeating-linear-gradient(90deg, var(--bs-teal) 0 6px, transparent 6px 11px); }
.rp-timeline li.rp-next::after { background: var(--bs-slate); border: 2px solid var(--bs-teal); box-sizing: border-box; }
.rp-timeline b { display: block; margin-bottom: 4px; font-size: 15px; font-weight: 800; color: var(--bs-teal); }

.rp-next-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 10px; padding: 0; list-style: none; }
.rp-next-list li { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--bs-hairline); border-radius: var(--bs-radius-card); background: var(--bs-surface); transition: border-color .25s ease, transform .25s ease; }
.rp-next-list li:hover { border-color: var(--bs-teal); transform: translateY(-3px); }
.rp-next-k { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bs-teal); }
.rp-next-list h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.015em; line-height: 1.2; }
.rp-next-list p:not(.rp-next-k) { font-size: 16px; font-weight: 500; line-height: 1.55; }

.rp-method { margin-top: 8px; }
.rp-method details p { margin-top: 10px; }
.rp-method details p b { font-weight: 700; }
.rp-final { margin-top: var(--rp-gap); }

/* Motion off when asked. */
@media (prefers-reduced-motion: reduce) {
  .rp-cover-pin { animation: none; }
  .rp-cover img, .rp-stats a, .rp-next-list li { transition: none; }
}

@media (max-width: 960px) {
  .rp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rp-timeline { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .rp-timeline li { padding: 0 0 0 30px; }
  .rp-timeline li::before { left: 6px; right: auto; top: 14px; bottom: -18px; width: 2px; height: auto; }
  .rp-timeline li.rp-next::before { display: none; }
  .rp-timeline li:last-child::before { display: none; }
}

@media (max-width: 860px) {
  .rp-hero { grid-template-columns: minmax(0, 1fr); margin-top: 0; }
  .rp-hero .rp-lede { padding-top: 0; }
  .rp-cover { width: min(70%, 300px); }
  .rp-cols, .rp-cols--waffle, .rp-next-list { grid-template-columns: minmax(0, 1fr); }
  .rp-story a { grid-template-columns: minmax(0, 1fr); grid-template-areas: "k" "h" "p"; padding: 16px 4px; }
  .rp-sec { padding-top: 36px; }
  .rp-h3 span { display: block; margin: 4px 0 0; }
}

@media (max-width: 520px) {
  .rp-stats { grid-template-columns: minmax(0, 1fr); }
  .rp-toggle label { padding: 0 12px; font-size: 13px; }
}

/* ---------------------------------------------------------------- views
   Generated with the page: the checked radio shows its view and marks its label. */
#v-fall-buys:checked ~ * .rp-view--fall-buys, #v-fall-buys:checked ~ .rp-view--fall-buys { display: block; }
#v-fall-buys:checked ~ * .rp-key.rp-view--fall-buys { display: inline-flex; }
#v-fall-buys:checked ~ .rp-toggle label[for="v-fall-buys"] { background: var(--bs-teal); color: var(--bs-slate); }
#v-fall-buys:focus-visible ~ .rp-toggle label[for="v-fall-buys"] { outline: 2px solid var(--bs-teal); outline-offset: 2px; }
#v-fall-buyers:checked ~ * .rp-view--fall-buyers, #v-fall-buyers:checked ~ .rp-view--fall-buyers { display: block; }
#v-fall-buyers:checked ~ * .rp-key.rp-view--fall-buyers { display: inline-flex; }
#v-fall-buyers:checked ~ .rp-toggle label[for="v-fall-buyers"] { background: var(--bs-teal); color: var(--bs-slate); }
#v-fall-buyers:focus-visible ~ .rp-toggle label[for="v-fall-buyers"] { outline: 2px solid var(--bs-teal); outline-offset: 2px; }
#v-fall-dollars:checked ~ * .rp-view--fall-dollars, #v-fall-dollars:checked ~ .rp-view--fall-dollars { display: block; }
#v-fall-dollars:checked ~ * .rp-key.rp-view--fall-dollars { display: inline-flex; }
#v-fall-dollars:checked ~ .rp-toggle label[for="v-fall-dollars"] { background: var(--bs-teal); color: var(--bs-slate); }
#v-fall-dollars:focus-visible ~ .rp-toggle label[for="v-fall-dollars"] { outline: 2px solid var(--bs-teal); outline-offset: 2px; }
#v-moves-oneoff:checked ~ * .rp-view--moves-oneoff, #v-moves-oneoff:checked ~ .rp-view--moves-oneoff { display: block; }
#v-moves-oneoff:checked ~ * .rp-key.rp-view--moves-oneoff { display: inline-flex; }
#v-moves-oneoff:checked ~ .rp-toggle label[for="v-moves-oneoff"] { background: var(--bs-teal); color: var(--bs-slate); }
#v-moves-oneoff:focus-visible ~ .rp-toggle label[for="v-moves-oneoff"] { outline: 2px solid var(--bs-teal); outline-offset: 2px; }
#v-moves-auto:checked ~ * .rp-view--moves-auto, #v-moves-auto:checked ~ .rp-view--moves-auto { display: block; }
#v-moves-auto:checked ~ * .rp-key.rp-view--moves-auto { display: inline-flex; }
#v-moves-auto:checked ~ .rp-toggle label[for="v-moves-auto"] { background: var(--bs-teal); color: var(--bs-slate); }
#v-moves-auto:focus-visible ~ .rp-toggle label[for="v-moves-auto"] { outline: 2px solid var(--bs-teal); outline-offset: 2px; }
#v-custody-buys:checked ~ * .rp-view--custody-buys, #v-custody-buys:checked ~ .rp-view--custody-buys { display: block; }
#v-custody-buys:checked ~ * .rp-key.rp-view--custody-buys { display: inline-flex; }
#v-custody-buys:checked ~ .rp-toggle label[for="v-custody-buys"] { background: var(--bs-teal); color: var(--bs-slate); }
#v-custody-buys:focus-visible ~ .rp-toggle label[for="v-custody-buys"] { outline: 2px solid var(--bs-teal); outline-offset: 2px; }
#v-custody-dollars:checked ~ * .rp-view--custody-dollars, #v-custody-dollars:checked ~ .rp-view--custody-dollars { display: block; }
#v-custody-dollars:checked ~ * .rp-key.rp-view--custody-dollars { display: inline-flex; }
#v-custody-dollars:checked ~ .rp-toggle label[for="v-custody-dollars"] { background: var(--bs-teal); color: var(--bs-slate); }
#v-custody-dollars:focus-visible ~ .rp-toggle label[for="v-custody-dollars"] { outline: 2px solid var(--bs-teal); outline-offset: 2px; }
#v-where-dollars:checked ~ * .rp-view--where-dollars, #v-where-dollars:checked ~ .rp-view--where-dollars { display: block; }
#v-where-dollars:checked ~ * .rp-key.rp-view--where-dollars { display: inline-flex; }
#v-where-dollars:checked ~ .rp-toggle label[for="v-where-dollars"] { background: var(--bs-teal); color: var(--bs-slate); }
#v-where-dollars:focus-visible ~ .rp-toggle label[for="v-where-dollars"] { outline: 2px solid var(--bs-teal); outline-offset: 2px; }
#v-where-buys:checked ~ * .rp-view--where-buys, #v-where-buys:checked ~ .rp-view--where-buys { display: block; }
#v-where-buys:checked ~ * .rp-key.rp-view--where-buys { display: inline-flex; }
#v-where-buys:checked ~ .rp-toggle label[for="v-where-buys"] { background: var(--bs-teal); color: var(--bs-slate); }
#v-where-buys:focus-visible ~ .rp-toggle label[for="v-where-buys"] { outline: 2px solid var(--bs-teal); outline-offset: 2px; }
#v-network-buys:checked ~ * .rp-view--network-buys, #v-network-buys:checked ~ .rp-view--network-buys { display: block; }
#v-network-buys:checked ~ * .rp-key.rp-view--network-buys { display: inline-flex; }
#v-network-buys:checked ~ .rp-toggle label[for="v-network-buys"] { background: var(--bs-teal); color: var(--bs-slate); }
#v-network-buys:focus-visible ~ .rp-toggle label[for="v-network-buys"] { outline: 2px solid var(--bs-teal); outline-offset: 2px; }
#v-network-dollars:checked ~ * .rp-view--network-dollars, #v-network-dollars:checked ~ .rp-view--network-dollars { display: block; }
#v-network-dollars:checked ~ * .rp-key.rp-view--network-dollars { display: inline-flex; }
#v-network-dollars:checked ~ .rp-toggle label[for="v-network-dollars"] { background: var(--bs-teal); color: var(--bs-slate); }
#v-network-dollars:focus-visible ~ .rp-toggle label[for="v-network-dollars"] { outline: 2px solid var(--bs-teal); outline-offset: 2px; }
#v-growth-growth:checked ~ * .rp-view--growth-growth, #v-growth-growth:checked ~ .rp-view--growth-growth { display: block; }
#v-growth-growth:checked ~ * .rp-key.rp-view--growth-growth { display: inline-flex; }
#v-growth-growth:checked ~ .rp-toggle label[for="v-growth-growth"] { background: var(--bs-teal); color: var(--bs-slate); }
#v-growth-growth:focus-visible ~ .rp-toggle label[for="v-growth-growth"] { outline: 2px solid var(--bs-teal); outline-offset: 2px; }
#v-growth-places:checked ~ * .rp-view--growth-places, #v-growth-places:checked ~ .rp-view--growth-places { display: block; }
#v-growth-places:checked ~ * .rp-key.rp-view--growth-places { display: inline-flex; }
#v-growth-places:checked ~ .rp-toggle label[for="v-growth-places"] { background: var(--bs-teal); color: var(--bs-slate); }
#v-growth-places:focus-visible ~ .rp-toggle label[for="v-growth-places"] { outline: 2px solid var(--bs-teal); outline-offset: 2px; }

/* Chapter 06 shows the report page itself */
.rp-page { margin: 28px auto 0; max-width: 760px; }
.rp-page img { display: block; width: 100%; height: auto; border-radius: 14px; }
