/* ==========================================================================
   Customer stories page (customer-stories.html), rebuilt 26 Nov 2026 (asked by Tommy).
   Built on the Odro Vantage page system: load after tokens.css, sections.css,
   motion.css, product-page.css and flow.css.

   1. Hero: copy left, the six Talent on Tap clips fanned like a hand of cards
      over Odro's navy pebble file (assets/pebbles/). They deal in once; no loop.
   2. 01 / Talent on Tap: customer logos on white pebbles, scattered like beer
      mats. Picking one flips it and puts that clip in the frame. A thin gold
      "pint" fills up the frame's edge as the clip plays.
   3. 02 / Customer results: the homepage's results tiles (.rg-*, copied from
      index.html word for word, then extended), on navy with dust particles.
      Extra stat styles here: ticked benefits, a three-step journey, rising
      bars and a portrait ring for quote-only stories.
   4. Close: as speed-demos.html (.book .p-close in flow.css).

   Pebbles: only the supplied files (white webp, navy svg). Nothing drawn.
   Reduced motion: everything shows in its finished state, nothing moves.
   ========================================================================== */

/* ---------- 1. Hero ---------- */
.cs-hero { overflow: hidden; }
.cs-hero .wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: var(--space-10) var(--space-12); align-items: center; padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(48px, 6vw, 88px); min-height: min(calc(100vh - 130px), 680px); }
.cs-hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; gap: var(--space-7); }
.cs-hero h1 { font-size: clamp(42px, 5vw, 68px); line-height: 1.02; letter-spacing: -0.035em; }
.cs-hero-line { font-size: clamp(19px, 1.7vw, 22px); max-width: 520px; }
.cs-hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-5) var(--space-9); margin-top: var(--space-2); }
.cs-hero-cta .text-more { color: var(--odro-navy); font-size: var(--text-body); }
.cs-hero-cta .text-more svg { transition: transform .2s; }
.cs-hero-cta .text-more:hover svg { transform: translateY(3px); }

/* The fan of clips */
.cs-fan { position: relative; height: clamp(520px, 49vw, 720px); isolation: isolate; }   /* bigger, 27 Nov 2026 (Tommy) */
/* Pebble centred behind the fan and sized from the clip width, so the two always scale together (Peter, 30 Nov 2026: it sat
   about 110px too high and was too big). */
.cs-fan-peb { position: absolute; z-index: -1; left: 58%; top: 59%; width: calc(clamp(150px, 15.5vw, 232px) * 2.96); height: auto; max-width: none; transform: translate(-50%, -50%) rotate(-8deg); filter: drop-shadow(0 30px 60px rgba(14, 32, 80, .18)); pointer-events: none; }
.cs-card { --w: clamp(150px, 15.5vw, 232px); position: absolute; left: 58%; bottom: 19.5%; width: var(--w); aspect-ratio: 9 / 16; margin-left: calc(var(--w) / -2);
  padding: 0; border: 3px solid #fff; border-radius: 22px; overflow: hidden; background: var(--odro-navy); cursor: pointer;
  transform-origin: 50% 160%; transform: rotate(var(--r)) translateY(var(--y, 0px)); box-shadow: 0 18px 36px rgba(14, 32, 80, .28);
  transition: transform .35s var(--spring), box-shadow .35s; z-index: var(--z, 1); }
.cs-card img.cs-card-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cs-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,32,80,0) 55%, rgba(14,32,80,.75) 100%); }
.cs-card-logo { position: absolute; z-index: 1; left: 8px; width: 60%; bottom: 10px; height: 36px; box-sizing: border-box; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 5px 10px; }
.cs-card-logo img { max-height: 24px; max-width: 100%; width: auto; height: auto; }
.cs-card-play { position: absolute; z-index: 1; left: 50%; top: 42%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--odro-gold); display: grid; place-items: center; transform: scale(.6); opacity: 0; transition: transform .3s var(--spring), opacity .25s; }
.cs-card:hover, .cs-card:focus-visible { transform: rotate(calc(var(--r) * .55)) translateY(calc(var(--y, 0px) - 26px)); box-shadow: 0 28px 50px rgba(14, 32, 80, .35); z-index: 10; }
.cs-card:hover .cs-card-play, .cs-card:focus-visible .cs-card-play { transform: scale(1); opacity: 1; }
.cs-card:focus-visible { outline: 3px solid var(--odro-deep-blue); outline-offset: 4px; }
/* Deal in once, from a neat stack */
.anim-ready .cs-hero .cs-card { opacity: 0; }
.anim-ready .cs-hero.in .cs-card { animation: cs-deal .8s var(--spring) var(--d, 0s) both; }
@keyframes cs-deal { from { opacity: 0; transform: rotate(0deg) translateY(60px) scale(.9); } 30% { opacity: 1; } to { opacity: 1; transform: rotate(var(--r)) translateY(var(--y, 0px)); } }

@media (max-width: 900px) {
  .cs-hero .wrap { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .cs-fan { height: 320px; max-width: 520px; width: 100%; justify-self: center; }
  .cs-card { --w: 104px; left: 50%; bottom: 10%; border-radius: 16px; border-width: 2px; transform-origin: 50% 170%; }
  .cs-fan-peb { left: 50%; top: 69%; width: 340px; }   /* 104px clips: same proportion as on desktop */
  .cs-card-logo { height: 26px; left: 6px; right: 6px; bottom: 6px; border-radius: 8px; padding: 3px 6px; }
  .cs-card-logo img { max-height: 16px; }
}

/* ---------- 2. 01 / Talent on Tap ---------- */
.cs-tot .wrap { gap: var(--space-10); }
.v-page > .cs-tot > .wrap { padding-bottom: calc(var(--section-pad-y) + 60px); }  /* clears the navy wave below, which overlaps by 90px */
.cs-tot-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.cs-tot-copy { display: flex; flex-direction: column; gap: var(--space-7); }
.cs-tot-copy { align-self: start; padding-top: clamp(0px, 2vw, 32px); }   /* sits near the top of the frame, not centred on it (Tommy, 26 Nov 2026) */
.cs-tot-copy h2 { text-wrap: balance; font-size: clamp(40px, 3.8vw, 56px); line-height: 1.05; }
@media (max-width: 1000px) { .cs-tot-copy { padding-top: 0; } }
.cs-tot-copy .muted { max-width: 520px; font-size: var(--text-lead); }

/* Beer mats: supplied white pebble, customer logo on top */
.cs-mats { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 22px; max-width: 520px; }
.cs-mat { appearance: none; position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 789 / 621; padding: 0; border: 0; background: none; cursor: pointer;
  transform: rotate(var(--mr, 0deg)); transition: transform .35s var(--spring); filter: drop-shadow(0 10px 16px rgba(14, 32, 80, .16)); perspective: 600px; }
.cs-mat-in { position: absolute; inset: 0; display: grid; place-items: center; transform-style: preserve-3d; }
.cs-mat-peb { position: absolute; inset: 0; width: 100%; height: 100%; }
.cs-mat-logo { position: relative; max-width: 62%; max-height: 38%; width: auto; height: auto; }
.cs-mat:hover { transform: rotate(0deg) translateY(-4px); }
.cs-mat[aria-pressed="true"] { transform: rotate(0deg) translateY(-6px) scale(1.06); }
.cs-mat[aria-pressed="true"]::after { content: ""; position: absolute; left: 30%; right: 30%; bottom: -12px; height: 4px; border-radius: 4px; background: var(--odro-gold); }
.cs-mat:focus-visible { outline: 3px solid var(--odro-deep-blue); outline-offset: 4px; border-radius: 40%; }
.cs-mat.is-flip .cs-mat-in { animation: cs-flip .75s cubic-bezier(.3, 1.3, .5, 1) both; }
@keyframes cs-flip { 0% { transform: rotateY(0) translateY(0); } 45% { transform: rotateY(200deg) translateY(-14px); } 100% { transform: rotateY(360deg) translateY(0); } }
/* Mats land on the bar one after another */
.anim-ready .cs-tot .cs-mat-in { opacity: 0; }
.anim-ready .cs-tot.in .cs-mat-in { animation: cs-land .6s var(--spring) var(--d, 0s) both; }
@keyframes cs-land { from { opacity: 0; transform: translateY(-30px) rotate(-25deg) scale(1.15); } to { opacity: 1; transform: none; } }
.anim-ready .cs-tot.in .cs-mat.is-flip .cs-mat-in { opacity: 1; animation: cs-flip .75s cubic-bezier(.3, 1.3, .5, 1) both; }

/* The stage: one portrait frame, the speech bubble beside it */
.cs-stage-wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 34px; align-items: center; }
.cs-stage { --p: 0; position: relative; width: clamp(240px, 22vw, 320px); aspect-ratio: var(--ar, 9 / 16); transition: aspect-ratio .45s ease; }
.cs-frame { position: absolute; inset: 0; border-radius: 26px; overflow: hidden; background: var(--odro-navy); box-shadow: 0 26px 50px rgba(14, 32, 80, .28); border: 4px solid #fff; }
.cs-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cs-cover { appearance: none; position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; color: #fff; text-align: left; }
.cs-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cs-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,32,80,0) 50%, rgba(14,32,80,.85) 100%); }
.cs-cover:hover img { transform: scale(1.04); }
.cs-cover-play { position: absolute; z-index: 1; left: 50%; top: 45%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: var(--odro-gold); display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.3); transition: transform .3s var(--spring); }
.cs-cover:hover .cs-cover-play { transform: scale(1.08); }
.cs-cover-meta { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 14px; display: flex; flex-direction: column; gap: 2px; }
.cs-cover-meta b { font: 700 18px/1.2 var(--font-display); }
.cs-cover-meta span { font-size: 14px; opacity: .9; }
.cs-cover:focus-visible { outline: 3px solid var(--odro-gold); outline-offset: -6px; border-radius: 22px; }
/* The pint: a glass on the frame's left edge that fills with gold (and a little foam) as the clip plays */
.cs-pint { position: absolute; left: -22px; top: 8%; bottom: 8%; width: 10px; border-radius: 6px; background: var(--odro-navy-a10, rgba(14,32,80,.1)); overflow: visible; }
.cs-pint i { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--p) * 100%); border-radius: 6px; background: var(--odro-gold); transition: height .3s linear; }
.cs-pint i::before { content: ""; position: absolute; left: -2px; right: -2px; top: -5px; height: 8px; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px var(--odro-navy-a10, rgba(14,32,80,.1)); opacity: 0; transition: opacity .3s; }
.cs-stage.is-playing .cs-pint i::before { opacity: 1; }

.cs-say { margin: 0; position: relative; align-self: center; background: #007BC4; color: #fff; border-radius: 26px; padding: 26px 28px 28px; box-shadow: 0 22px 44px rgba(14, 32, 80, .18); max-width: 360px; }
.cs-say::after { content: ""; position: absolute; left: -26px; top: 46px; width: 30px; height: 36px; background: #007BC4; clip-path: polygon(100% 0, 100% 100%, 0 30%); }
.cs-say .rg-q { display: block; font: 800 56px/0.62 'Baloo 2', sans-serif; color: var(--odro-gold); height: 26px; }
.cs-say p { margin: 0; font: 700 19px/1.35 'Baloo 2', sans-serif; }
.cs-say .cs-say-who { margin-top: 12px; font: 600 15px/1.3 var(--font-body); }
.cs-say.is-new { animation: cs-pop .5s var(--spring) both; }
@keyframes cs-pop { from { opacity: 0; transform: translateY(10px) scale(.94); } to { opacity: 1; transform: none; } }
.cs-tot-note { font-size: 12px; color: var(--color-ink); opacity: .7; }

@media (max-width: 1000px) {
  .cs-tot-grid { grid-template-columns: minmax(0, 1fr); }
  .cs-mats { max-width: none; }
}
@media (max-width: 640px) {
  .cs-stage-wrap { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 30px; }
  .cs-stage { width: min(78vw, 300px); }
  .cs-say::after { left: 40px; top: -26px; width: 36px; height: 30px; clip-path: polygon(0 100%, 100% 100%, 30% 0); }
  .cs-mats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 14px; }
}

/* ---------- 3. 02 / Customer results (navy, dust particles) ---------- */
.cs-results { isolation: isolate; overflow: hidden; }
.cs-results .bokeh { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.cs-results .wrap { gap: var(--space-9); }
.cs-results-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-7); }
.cs-results-head h2 { font-size: var(--text-h2); line-height: var(--leading-heading); letter-spacing: -0.025em; }
.cs-results-head p { margin-top: var(--space-3); font-size: var(--text-lead); color: var(--color-soft-on-dark, #94CEF2); }
/* Filter (Tommy, 26 Nov 2026): a slim tab row, like the Odro Vantage "How it works" tabs. "All stories" in white text,
   then the white product logos; the rest dimmed; a gold bar slides under the picked one (placed by scripts/customer-stories.js).
   Phones: one line, logos a little smaller; scrolls sideways if it doesn't fit. */
.cs-filter { position: relative; display: flex; align-items: center; gap: 36px; box-shadow: inset 0 -2px 0 rgba(255,255,255,.18); overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.cs-filter::-webkit-scrollbar { display: none; }
.cs-chip { appearance: none; flex: none; cursor: pointer; background: none; border: 0; color: #fff; display: flex; align-items: center; height: 58px; padding: 0 2px 4px; opacity: .55; transition: opacity .2s; }
.cs-chip:hover, .cs-chip[aria-pressed="true"] { opacity: 1; }
.cs-chip:focus-visible { outline: 3px solid var(--odro-gold); outline-offset: -2px; border-radius: 6px; }
.cs-tab-text { font: 600 18px/1 'Epilogue', sans-serif; white-space: nowrap; }
.cs-tab-logo { height: 24px; width: auto; display: block; }
.cs-filter-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: var(--bw, 0px); border-radius: 3px; background: var(--odro-gold); transform: translateX(var(--bx, 0px)); transition: transform .45s cubic-bezier(.2,.7,.2,1), width .45s cubic-bezier(.2,.7,.2,1); }
@media (max-width: 640px) {
  .cs-results-head > * { min-width: 0; max-width: 100%; }
  .cs-filter { gap: 20px; width: 100%; }
  .cs-tab-text { font-size: 16px; }
  .cs-tab-logo { height: 24px; }   /* brand minimum for logos; the row scrolls sideways if it doesn't fit */
}
@media (prefers-reduced-motion: reduce) { .cs-filter-bar { transition: none; } }.cs-more-row { display: flex; justify-content: center; }
.cs-more-row[hidden] { display: none; }
.cs-more { appearance: none; cursor: pointer; background: transparent; color: #fff; border: 2px solid var(--button-outline-on-dark, #94CEF2); border-radius: var(--radius-btn); padding: 12px 24px; font: 700 var(--text-body)/1 var(--font-body); }
.cs-more:hover { background: rgba(255,255,255,.08); }
.cs-more:focus-visible { outline: 3px solid var(--odro-gold); outline-offset: 3px; }
.cs-count { font-size: 14px; color: rgba(255,255,255,.7); }

/* Homepage results tiles: copied from index.html (Peter, 25 Nov 2026), word for word apart from the pebble,
   which is the supplied image file here (.rg-peb is an <img>) */
.rg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px 64px; margin-top: 40px; }
.rg-tile { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 28px; align-items: start; color: #fff; }
.rg-tile[hidden] { display: none; }
.rg-left { display: flex; flex-direction: column; gap: 30px; }
.rg-bubble { position: relative; background: #007BC4; border-radius: 26px; padding: 30px 34px 32px; box-shadow: 0 22px 44px rgba(0,0,0,.22);
  opacity: 0; transform: translateY(18px) scale(.96); transform-origin: 12% 100%; transition: opacity .5s calc(var(--i) * .12s), transform .7s cubic-bezier(.2,1.2,.35,1) calc(var(--i) * .12s); }
.rg-bubble::after { content: ""; position: absolute; left: 44px; top: calc(100% - 2px); width: 44px; height: 30px; background: #007BC4;
  clip-path: polygon(0 0, 100% 0, 8% 100%); border-bottom-left-radius: 4px; }
.rg-q { display: block; font: 800 64px/0.62 'Baloo 2', sans-serif; color: #FFDB29; height: 30px; }
.rg-bubble blockquote { margin: 0; }
.rg-bubble p { margin: 0; font: 700 21px/1.32 'Baloo 2', sans-serif; }
.rg-tile--long .rg-bubble p { font-size: 18px; }
.rg-logo { position: absolute; right: -22px; top: -34px; width: 118px; aspect-ratio: 789 / 621; display: grid; place-items: center; filter: drop-shadow(0 10px 18px rgba(0,0,0,.3));
  opacity: 0; transform: translateY(-24px) rotate(-30deg) scale(.7); transition: opacity .4s calc(var(--i) * .12s + .25s), transform .7s cubic-bezier(.2,1.3,.35,1) calc(var(--i) * .12s + .25s); }
.rg-peb { position: absolute; inset: 0; width: 100%; height: 100%; }
.rg-logo img:not(.rg-peb) { position: relative; max-width: 66%; max-height: 46%; width: auto; height: auto; }
.rg-person { display: flex; align-items: center; gap: 14px; padding-left: 8px; opacity: 0; transform: translateX(-14px); transition: opacity .5s calc(var(--i) * .12s + .35s), transform .6s calc(var(--i) * .12s + .35s); }
.rg-person img, .rg-initials { width: 58px; height: 58px; border-radius: 50%; border: 3px solid #007BC4; flex: none; }
.rg-initials { display: grid; place-items: center; background: #225B88; font: 700 18px/1 'Epilogue', sans-serif; color: #fff; box-sizing: border-box; }
.rg-person p { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.rg-person strong { font: 700 17px/1.2 'Epilogue', sans-serif; }
.rg-person span { font-size: 14px; opacity: .8; }
.rg-stat { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding-top: 4px; opacity: 0; transition: opacity .6s calc(var(--i) * .12s + .3s); }
.rg-tile.is-in .rg-bubble, .rg-tile.is-in .rg-person { opacity: 1; transform: none; }
.rg-tile.is-in .rg-logo { opacity: 1; transform: rotate(var(--lr, 8deg)); }
.rg-tile.is-in .rg-stat { opacity: 1; }
.rg-big { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.rg-big b { font: 800 46px/1 'Baloo 2', sans-serif; color: #FFDB29; letter-spacing: -0.02em; white-space: nowrap; }
.rg-big span { font-size: 13px; line-height: 1.35; opacity: .9; max-width: 190px; }
.rg-track { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 12; }
.rg-rings { display: flex; gap: 14px; }
.rg-ring { margin: 0; position: relative; width: 92px; display: flex; flex-direction: column; align-items: center; }
.rg-ring svg { width: 72px; height: 72px; }
.rg-ring b { position: absolute; top: 25px; left: 0; right: 0; font: 800 18px/1 'Baloo 2', sans-serif; }
.rg-ring figcaption { font-size: 11.5px; line-height: 1.3; margin-top: 6px; opacity: .85; }
.rg-fill { fill: none; stroke: #FFDB29; stroke-width: 12; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.rg-dial { position: relative; width: 170px; aspect-ratio: 1; }
.rg-dial svg { width: 100%; height: 100%; }
.rg-ticks line { stroke: rgba(255,255,255,.3); stroke-width: 2.5; }
.rg-dial .rg-track { stroke-width: 18; }
.rg-arc { fill: none; stroke: #FFDB29; stroke-width: 18; stroke-linecap: round; stroke-dasharray: 1000; stroke-dashoffset: 950; }
.rg-dial-num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.rg-dial-num b { font: 800 60px/1 'Baloo 2', sans-serif; }
.rg-dial-num span { font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; opacity: .8; }
.rg-cap { margin: 0; font-size: 13px; line-height: 1.4; } .rg-cap s { opacity: .6; } .rg-cap strong { color: #FFDB29; }
.rg-blocks { display: grid; grid-template-columns: repeat(7, 18px); gap: 5px; }
.rg-blk { width: 18px; height: 18px; border-radius: 4px; background: #FFDB29; transform: scale(0); transition: transform .3s cubic-bezier(.2,1.4,.4,1); }
.rg-blk--in { background: transparent; border: 2px solid rgba(255,255,255,.75); }
.rg-blk.on { transform: scale(1); }
.rg-dots { display: grid; grid-template-columns: repeat(17, 7px); gap: 4px; }
.rg-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.12); transition: background .2s, transform .3s; }
.rg-dot.on { background: rgba(255,255,255,.85); } .rg-dot.gold { background: #FFDB29; transform: scale(1.35); }
.rg-key { margin: 0; display: flex; gap: 12px; font-size: 11.5px; opacity: .9; }
.rg-key span { display: inline-flex; align-items: center; gap: 5px; }
.rg-k { width: 10px; height: 10px; border-radius: 3px; background: #FFDB29; display: inline-block; } .rg-k--in { background: transparent; border: 2px solid rgba(255,255,255,.75); }
.rg-k--dot { border-radius: 50%; background: rgba(255,255,255,.85); } .rg-k--gold { border-radius: 50%; }
.rg-prods { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; justify-content: center; margin-top: 4px; }
.rg-prods img { height: 22px; width: auto; }
.rg-note { text-align: center; font-size: 12px; color: rgba(255,255,255,.6); margin: 8px 0 0; }

/* New stat styles (this page) */
/* Ticked benefits: each tick pops in, gold */
.rg-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; width: 100%; }
.rg-chips li { display: flex; align-items: center; gap: 10px; text-align: left; font-size: 14px; font-weight: 600; line-height: 1.3; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); border-radius: 999px; padding: 7px 14px 7px 7px;
  opacity: 0; transform: translateX(12px); transition: opacity .35s, transform .45s var(--spring); }
.rg-chips li.on { opacity: 1; transform: none; }
.rg-tick { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #FFDB29; display: grid; place-items: center; transform: scale(0); transition: transform .4s var(--spring) .15s; }
.rg-chips li.on .rg-tick { transform: scale(1); }
/* Journey (Pertemps): CV, then the solo interview, then the offer */
.rg-journey { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
.rg-journey li { position: relative; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); border-radius: 16px; padding: 10px 14px; text-align: left; opacity: .25; transform: scale(.94); transition: opacity .4s, transform .5s var(--spring), background .4s; }
.rg-journey li + li { margin-top: 26px; }
.rg-journey li + li::before { content: ""; position: absolute; left: 50%; top: -22px; width: 2px; height: 16px; margin-left: -1px; background: #FFDB29; border-radius: 2px; transform: scaleY(0); transform-origin: top; transition: transform .3s; }
.rg-journey li.on { opacity: 1; transform: none; }
.rg-journey li.on + li::before, .rg-journey li.on::before { transform: scaleY(1); }
.rg-journey small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.rg-journey b { font: 700 16px/1.25 'Epilogue', sans-serif; }
.rg-journey li.rg-goal.on { background: #FFDB29; color: var(--odro-navy); border-color: #FFDB29; }
.rg-journey li.rg-goal small { opacity: .8; }
/* Rising bars (Abrivia) */
.rg-bars { display: flex; align-items: flex-end; gap: 7px; height: 70px; }
.rg-bar { width: 20px; height: var(--h); border-radius: 5px 5px 2px 2px; background: rgba(255,255,255,.75); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--spring); }
.rg-bar--gold { background: #FFDB29; }
.rg-bar.on { transform: scaleY(1); }
/* Portrait with a gold ring that draws round it (quote-only stories) */
.rg-portrait { position: relative; width: 150px; aspect-ratio: 1; }
.rg-portrait img { position: absolute; inset: 15px; width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.rg-portrait svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.rg-ring-draw { fill: none; stroke: #FFDB29; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.rg-tile.is-in .rg-ring-draw { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s ease-out .6s; }
.rg-who { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.rg-who strong { font: 700 16px/1.2 'Epilogue', sans-serif; }
.rg-who span { font-size: 13px; opacity: .8; }
.rg-link { color: #fff; font-weight: 700; font-size: 14px; }
.rg-link:hover { color: var(--odro-gold); }

/* The story behind each tile: opens under the tile */
.rg-story { grid-column: 1 / -1; margin-top: -6px; border-top: 1px solid rgba(255,255,255,.18); }
.rg-story summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; padding: 12px 0 0; font-weight: 700; font-size: 15px; color: #fff; }
.rg-story summary::-webkit-details-marker { display: none; }
.rg-story summary svg { transition: transform .2s; }
.rg-story[open] summary svg { transform: rotate(180deg); }
.rg-story summary:focus-visible { outline: 3px solid var(--odro-gold); outline-offset: 3px; border-radius: 6px; }
.rg-story-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; padding-top: 14px; font-size: 15px; line-height: 1.5; }
.rg-story-body h3 { font: 700 12px/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: #FFDB29; margin: 0 0 4px; }
.rg-facts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.12); }
.rg-facts div { display: flex; flex-direction: column; gap: 2px; }
.rg-facts dt { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #94CEF2; }
.rg-facts dd { margin: 0; font-weight: 700; font-size: 15px; }

@media (max-width: 1100px) { .rg { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) {
  .rg-tile { grid-template-columns: 1fr !important; row-gap: 28px; }
  .rg-stat { justify-self: center; }
  .rg-bubble { padding: 26px 24px 28px; }
  .rg-bubble p { font-size: 19px; }
  .rg-tile--long .rg-bubble p { font-size: 17px; }
  .rg-logo { width: 96px; right: -10px; }
  .rg-story-body { grid-template-columns: minmax(0, 1fr); }
}

/* The results run straight into the close, so they keep only their top wave: the close's own wave
   (flow.css .book) sits over their last 90px, and navy shows through it rather than the page background. */
.v-page > .section.dark.cs-results { margin-bottom: 0; padding-bottom: 90px; background: linear-gradient(180deg, #0B4A86 0px, #0E2050 150px, #0E2050 100%);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 90V58C240 8 520 0 760 30S1220 88 1440 34V90Z'/%3E%3C/svg%3E") top / 100% 90px no-repeat, linear-gradient(#000, #000) bottom / 100% calc(100% - 89px) no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 90V58C240 8 520 0 760 30S1220 88 1440 34V90Z'/%3E%3C/svg%3E") top / 100% 90px no-repeat, linear-gradient(#000, #000) bottom / 100% calc(100% - 89px) no-repeat; }

/* ---------- 4. Close ---------- */
.cs-close .book-line a { color: #fff; font-weight: 700; }
.cs-close .book-line a:hover { color: var(--odro-gold); }

/* Placeholder flags (Staging review) on navy */
.cs-flag { display: inline-block; align-self: flex-start; border: 2px dashed var(--border-placeholder, #94CEF2); border-radius: var(--radius-md); padding: 2px 10px; font-size: 13px; font-weight: 600; line-height: 1.4; }

/* Reduced motion: finished state */
@media (prefers-reduced-motion: reduce) {
  .rg-tile *, .cs-card, .cs-mat, .cs-mat-in, .cs-say, .cs-pint i, .cs-cover img { transition: none !important; animation: none !important; }
  .rg-chips li, .rg-journey li { opacity: 1; transform: none; }
  .rg-tick, .rg-bar { transform: none; }
  .rg-ring-draw { stroke-dashoffset: 0; }
}

/* Phones and tablets (Peter, 27 Nov 2026): the customer pebbles spin in from an angle and briefly poked about 28px past the screen edge, so the page could wobble sideways while they settled. */
.cs-tot { overflow-x: clip; }
