/* The 400ms opacity transition follows the reference site's fadeTo timing. */
body { transition: opacity .4s ease-in-out; }
body.rs-leaving { opacity: 0; }
reference-story { display: block; --rs-blue: #a84119; color: #151515; word-break: keep-all; }
reference-story :is(h2,h3,p,figure) { margin: 0; }
reference-story :is(h2,p,h3) { font-family: inherit; }
reference-story h2, reference-story .rs-banner p {
  font-size: clamp(36px, 4.25vw, 68px); font-weight: 780; line-height: 1.28; letter-spacing: -.062em;
}
reference-story strong { color: var(--rs-blue); font-weight: inherit; }
reference-story .rs-intro, reference-story .rs-gallery { background: #f5f3ee; text-align: center; }
.rs-intro { padding: clamp(66px,8vw,124px) 0 0; }
.rs-mobile-break { display: none; }
reference-story :is(.rs-intro,.rs-gallery-intro) > p { margin: 1.25rem auto 2.45rem; padding: 0 20px; font-size: clamp(16px,1.7vw,24px); line-height: 1.7; }
reference-story .rs-wide { width: 60%; max-width: 100%; height: auto; margin: 0 auto; border-radius: 20px; transition: width .3s ease-out; display: block; }
.rs-wide-wrap figcaption, .rs-gallery-foot, .rs-banner small { font-size: 12px; letter-spacing: -.01em; }
.rs-wide-wrap figcaption { padding: .55rem 0 1rem; color: #68727a; }
reference-story .rs-gallery { background: #f5f3ee; padding: clamp(70px,9vw,144px) 0 clamp(54px,7vw,104px); }
.rs-window { --rs-card: clamp(290px,41vw,710px); --rs-gap: 20px; overflow: hidden; }
.rs-track, .rs-run { display: flex; width: max-content; }
.rs-track { animation: rs-travel 48s linear infinite; }
.rs-run { gap: var(--rs-gap); padding-right: var(--rs-gap); }
.rs-run img { width: var(--rs-card); height: auto; aspect-ratio: 1.62; border-radius: 15px; object-fit: cover; display: block; }
.rs-gallery[data-paused] .rs-track, .rs-gallery:focus-within .rs-window:focus .rs-track { animation-play-state: paused; }
.rs-gallery-foot { width: min(94%,1280px); margin: 12px auto 0; display: flex; align-items: center; justify-content: space-between; color: #5d6d77; }
.rs-toggle { color: inherit; background: transparent; border: 1px solid #bac5cb; border-radius: 100px; padding: 7px 13px; font: inherit; cursor: pointer; }
reference-story .rs-why { background: #202622; color: #fff; text-align: center; padding: clamp(66px,8vw,130px) 3vw; }
.rs-principles { display: grid; grid-template-columns: repeat(3,1fr); width: min(1250px, 100%); margin: clamp(36px,5vw,82px) auto 0; }
.rs-principles article { padding: 10px 16px; }
.rs-principles article + article { border-left: 1px solid #ffffff40; }
.rs-principles img { width: 72px; height: 72px; object-fit: contain; }
reference-story .rs-principles h3 { margin: 1.45rem 0 .65rem; font-size: clamp(19px,1.8vw,27px); letter-spacing: -.04em; font-weight: 750; }
.rs-principles p { font-size: 16px; line-height: 1.65; color: #dbdfd7; }
reference-story .rs-banner { position: relative; min-height: clamp(340px,44vw,620px); display: grid; place-items: center; text-align: center; color: #fff; background: linear-gradient(#0b182599,#101b29a8),url('media/field/clear.webp') center 56% / cover; }
reference-story .rs-banner p { padding: 1.4rem; font-size: clamp(31px,3.75vw,60px); line-height: 1.45; }
.rs-banner p span { background: #a8421c; padding: 0 .1em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.rs-banner small { position: absolute; right: 20px; bottom: 15px; color: #fff; }
.rs-awaiting { opacity: 0; }
.rs-awaiting.rs-shown { animation: rs-fade var(--rs-duration, .8s) ease both; }
.rs-shown[data-rs-anim="rise"] { animation-name: rs-rise; }
.rs-shown[data-rs-anim="zoom"] { animation-name: rs-zoom; }
@keyframes rs-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rs-rise { from { opacity: 0; transform: translate3d(0,60%,0); } to { opacity: 1; transform: none; } }
@keyframes rs-zoom { from { opacity: 0; transform: scale3d(.8,.8,.8); } to { opacity: 1; transform: none; } }
@keyframes rs-travel { to { transform: translate3d(-50%,0,0); } }
@media (max-width: 767px) {
  .rs-mobile-break { display: initial; }
  reference-story h2 { padding-inline: 12px; font-size: clamp(30px,7.3vw,46px); }
  reference-story .rs-wide { width: 30%; border-radius: 8px; }
  .rs-window { --rs-card: min(75vw,420px); --rs-gap: 12px; }
  .rs-principles { max-width: 410px; grid-template-columns: 1fr; text-align: left; padding: 0 18px; }
  .rs-principles article { display: grid; column-gap: 22px; grid-template-columns: 52px 1fr; align-items: center; padding: 22px 0; }
  .rs-principles article + article { border-left: 0; border-top: 1px solid #ffffff40; }
  .rs-principles img { width: 52px; height: 52px; grid-row: span 2; }
  reference-story .rs-principles h3 { margin: 0 0 .3em; }
  .rs-principles p { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  body, reference-story .rs-wide { transition: none; }
  body.rs-leaving, .rs-awaiting, .rs-awaiting.rs-shown { opacity: 1; animation: none; }
  .rs-window { overflow-x: auto; }
  .rs-track { animation: none; }
  .rs-run[aria-hidden], .rs-toggle { display: none; }
}

@media(max-width:767px){.rs-desktop-break{display:none}}
