.docband {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: clamp(40px, 6vw, 96px);
  width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto;
}
.docband__photo { position: relative; aspect-ratio: 4 / 5; max-height: 640px; overflow: hidden; border-radius: 16px; background: #E8EEF9; }
.docband__photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 12% 50%;
  transform-origin: 26% 38%; transition: transform 6s cubic-bezier(.25, .1, .25, 1);
}

.docband[data-ch="1"] .docband__photo img { transform: scale(1.07); }
.docband[data-ch="2"] .docband__photo img { transform: scale(1.04) translateX(1.2%); }
.docband[data-ch="3"] .docband__photo img { transform: scale(1.08) translate(-1%, 1%); }
.docband[data-ch="4"] .docband__photo img { transform: scale(1.05) translate(1.5%, -1%); }
.docband[data-ch="5"] .docband__photo img { transform: scale(1.02); }
.docband__story { min-width: 0; }

.rl-stage { display: grid; }
.rl-ready .rl-ch { grid-area: 1 / 1; align-self: end; visibility: hidden; }
.rl-ready .rl-ch.is-on, .rl-ready .rl-ch.is-out { visibility: visible; }
.rl-ch + .rl-ch { margin-top: 40px; }
.rl-ready .rl-ch + .rl-ch { margin-top: 0; }

.rl-eye { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font: 500 12.5px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--blue-deep); }
.rl-eye::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.docband__years { display: flex; align-items: baseline; gap: 12px; margin: 0; color: var(--blue-deep); }
.docband__years strong { font: 500 clamp(52px, 5vw, 80px)/.9 var(--f-head); letter-spacing: -.04em; }
.docband__years span { font-size: 17px; color: var(--gray-70); }
.docband__name { margin-top: 14px; font-family: var(--f-head); font-weight: 500; font-size: clamp(30px, 2.8vw, 42px); line-height: 1.06; letter-spacing: -.03em; color: var(--ink); }
.docband__creds { margin-top: 24px; }
.docband__creds li { display: flex; gap: 14px; align-items: flex-start; padding: 15px 0; border-top: 1px solid rgba(0, 91, 182, .2); font-size: 16px; line-height: 1.5; color: #3A4654; }
.docband__creds li:last-child { border-bottom: 1px solid rgba(0, 91, 182, .2); }
.docband__creds .icon { width: 22px; height: 22px; margin-top: 1px; color: var(--blue-deep); flex: none; }
.rl-quote { font: 500 clamp(24px, 2.3vw, 34px)/1.24 var(--f-head); letter-spacing: -.02em; color: var(--ink); }
.rl-p { font-size: clamp(17px, 1.32vw, 19.5px); line-height: 1.68; color: #3A4654; }
.rl-p strong { font-weight: 600; color: var(--ink); }
.rl-call { font: 500 clamp(21px, 1.9vw, 27px)/1.32 var(--f-head); letter-spacing: -.015em; color: var(--ink); }
.rl-cta { margin-top: 26px; }

.rl-w { display: inline-block; }
.rl-ch.is-on > * { animation: rl-block .55s var(--ease) both; animation-delay: calc(var(--b, 0) * 60ms + 60ms); }
.rl-ch.is-on > .rl-split { animation: none; }
.rl-ch.is-on .rl-w { animation: rl-word .5s var(--ease) both; animation-delay: calc(var(--w) * 8ms + 80ms); }
.rl-ch.is-out { animation: rl-out .3s var(--ease) both; }
@keyframes rl-block { from { opacity: 0; transform: translateY(18px); } }
@keyframes rl-word { from { opacity: 0; transform: translateY(.45em); filter: blur(6px); } }
@keyframes rl-out { to { opacity: 0; transform: translateY(-14px); filter: blur(4px); } }

.rl-nav { display: flex; align-items: flex-end; gap: 18px; margin-top: 36px; }
.rl-segs { flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(max-content, 1fr); gap: 6px; min-width: 0; }
.rl-seg { display: grid; gap: 9px; padding: 10px 0 0; border: 0; background: none; text-align: left; cursor: pointer; font: 500 11.5px/1.2 var(--f-body); letter-spacing: .02em; color: var(--gray-50); transition: color .3s; }
.rl-seg.is-done { color: var(--gray-70); }
.rl-seg:hover, .rl-seg.is-on { color: var(--ink); }
.rl-seg:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.rl-seg__bar { position: relative; height: 3px; border-radius: 3px; background: rgba(0, 91, 182, .16); overflow: hidden; }
.rl-seg__bar i { position: absolute; inset: 0; background: var(--blue-deep); transform: scaleX(0); transform-origin: left; }
.rl-seg.is-done .rl-seg__bar i { transform: scaleX(1); }
.rl-seg.is-on .rl-seg__bar i { animation: rl-fill var(--dur, 8s) linear forwards; }
.is-paused .rl-seg.is-on .rl-seg__bar i { animation-play-state: paused; }
.is-manual .rl-seg.is-on .rl-seg__bar i { animation: none; transform: scaleX(1); }
@keyframes rl-fill { to { transform: scaleX(1); } }
.rl-seg__t { white-space: nowrap; }
.rl-ctrl { display: flex; gap: 6px; flex: none; }
.rl-btn { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(0, 91, 182, .25); border-radius: 50%; background: rgba(255, 255, 255, .65); color: var(--blue-deep); cursor: pointer; transition: background .2s, border-color .2s; }
.rl-btn:hover { background: var(--white); border-color: var(--blue-deep); }
.rl-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.rl-btn .icon { width: 16px; height: 16px; }
.rl-btn[data-d="-1"] .icon { transform: rotate(180deg); }

@media (max-width: 1100px) { .rl-segs { grid-auto-columns: minmax(0, 1fr); } .rl-seg__t { overflow: hidden; text-overflow: ellipsis; } }
@media (max-width: 960px) {
  .docband { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .docband__photo { aspect-ratio: 4 / 3; max-height: none; }
  .docband__photo img { object-position: 18% 50%; }
  .rl-ready .rl-ch { align-self: start; }
}
@media (max-width: 640px) {
  .rl-nav { align-items: center; gap: 14px; margin-top: 30px; }
  .rl-segs { gap: 5px; }
  .rl-seg { padding: 12px 0; }
  .rl-seg__t { display: none; }
}

:where(.rl-ch) > * + * { margin-top: 16px; }
.rl-p--s { font-size: clamp(15.5px, 1.15vw, 17px); line-height: 1.6; }
.rl-tag { display: flex; align-items: center; gap: 12px; margin-top: 24px; font: 600 15px/1.4 var(--f-body); color: var(--blue-deep); }
.rl-tag::before { content: ""; flex: none; width: 28px; height: 1.5px; background: currentColor; }
.rl-ch .rl-quote { text-wrap: balance; }

@media (prefers-reduced-motion: reduce) {
  .rl-ch.is-on > *, .rl-ch.is-on .rl-w, .rl-ch.is-out { animation: none; }
  .docband__photo img { transition: none; transform: none !important; }
}

.docband__photo img { object-position: 50% 22%; transform-origin: 50% 32%; }
@media (max-width: 960px) {
  .docband__photo { aspect-ratio: 1 / 1; }
  .docband__photo img { object-position: 50% 42%; }
}

@media (max-width: 960px) { .rl-ready .rl-stage { transition: height .45s var(--ease); } }
@media (max-width: 960px) and (prefers-reduced-motion: reduce) { .rl-ready .rl-stage { transition: none; } }
