/* Size the two sentences to their own column, including on small screens. */
.sc-about .spring-about-copy { container-type: inline-size; }
.sc-home .sc-about .spring-about-copy h2.sc-care-heading {
  max-width: none;
  font-size: clamp(24px, 11.25cqi, 64px) !important;
  letter-spacing: -.045em !important;
}
.sc-home .sc-about .spring-about-copy .sc-care-heading * {
  font-size: inherit !important; letter-spacing: inherit !important; line-height: inherit !important;
}
.sc-care-heading .sc-sentence { display: block; white-space: nowrap; }
.sc-sentence-break { display: block; }
.sc-word-group { display: inline-block; max-width: 100%; }
.sc-quote-video .sc-quote-backdrop > img {
  width: 100%; height: 100%; object-fit: cover; object-position: 48% 48%;
}
.sc-quote .sc-form .sc-brief-note { display: block; margin-top: 14px; }
.sc-quote .sc-form .sc-optional-label {
  display: inline; font-size: .9em; font-weight: 400; color: #4c635c;
}
.sc-quote .sc-brief-note input { width: 100%; }
.sc-quote .sc-brief-note + .sc-submit { margin-top: 16px; }
.sc-home .sc-journey-intro, .sc-home .sc-faq-brand { position: relative; isolation: isolate; }
.sc-home .sc-journey-intro::before, .sc-home .sc-faq-brand::before {
  content: ""; position: absolute; pointer-events: none; z-index: -1;
  background: url("../images/logo/spring-sparkle.svg") center / contain no-repeat;
}
.sc-home .sc-journey-intro::before {
  width: clamp(88px, 13vw, 208px); aspect-ratio: 1;
  right: 3%; top: -18px; opacity: .095;
}
.sc-home .sc-faq-brand::before {
  width: clamp(98px, 12vw, 178px); aspect-ratio: 1;
  right: 5%; bottom: 12%; opacity: .07;
}
.sc-poddle { display: inline-flex; flex-direction: column; align-items: flex-start; margin: 28px 0 0; }
.sc-poddle figcaption { margin: 6px 0 0; color: #1d524a; font: italic 23px/1.2 'Instrument Serif', Georgia, serif; }
@media (max-width: 767px) {
  .sc-home .sc-journey-intro::before { width: 70px; right: 0; top: -16px; opacity: .065; }
  .sc-home .sc-faq-brand { display: grid; grid-template-columns: minmax(0,1fr) 78px; gap: 0 12px; align-content: center; }
  .sc-home .sc-faq-brand > .sc-eyebrow { grid-column: 1; align-self: end; }
  .sc-home .sc-faq-brand > h2 { grid-column: 1; align-self: start; }
  .sc-home .sc-faq-brand .sc-poddle { grid-column: 2; grid-row: 1 / 3; margin: 0; align-items: center; justify-content: center; }
  .sc-poddle-art { width: 72px; }
  .sc-poddle figcaption { font-size: 17px; }
  .sc-home .sc-faq-brand::before { width: 54px; right: 22%; top: -17px; bottom: auto; }
}

.sc-home .sc-about .spring-about-collage-main img { object-position: 54% 50%; }
.sc-home .sc-about .spring-about-collage-detail img { object-position: 21% 40%; }
.sc-home .sc-faq-brand .sc-poddle { margin-top: 24px; }
.sc-home .sc-faq-brand .sc-poddle-art { width: clamp(70px, 6vw, 96px); height: auto; aspect-ratio: auto; max-width: 100%; display: block; }
@media (max-width: 767px) {
  .sc-home .sc-faq-brand .sc-poddle { margin-top: 0; }
  .sc-home .sc-faq-brand .sc-poddle-art { width: 54px; }
}

/* The three stations echo the coverage note. Position and wheel rotation share a clock. */
.sc-home .sc-local-note { align-items: center; column-gap: clamp(24px, 3vw, 48px); }
.sc-cycle-route {
  --bike: 72px;
  --journey: 13s;
  appearance: none; display: block; position: relative; flex: 0 0 clamp(210px, 27vw, 350px);
  height: calc(var(--bike) + 18px); padding: 0; border: 0; border-radius: 8px;
  background: transparent; color: #1d524a; cursor: pointer;
}
.sc-cycle-route:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.sc-route-line {
  position: absolute; inset: auto calc(var(--bike) / 2) 16px; height: 1px;
  display: flex; justify-content: space-between; background: #1d524a55;
}
.sc-route-line i {
  position: relative; display: block; width: 5px; height: 5px; margin: -2px -2px 0;
  border: 1px solid #73918a; border-radius: 50%; background: #f8f5ec;
}
.sc-route-line i::after {
  content: attr(data-zone); position: absolute; top: 5px; left: 50%;
  transform: translateX(-50%); color: #526d63; font: 500 10px/1.1 system-ui,sans-serif;
}
.sc-ride-travel {
  position: absolute; inset: auto var(--bike) 18px 0; height: 0;
  animation: spring-delivery var(--journey) cubic-bezier(.42,0,.46,1) infinite both;
}
.sc-ride-facing { position: absolute; bottom: 0; left: 0; width: var(--bike); animation: spring-turn var(--journey) ease-in-out infinite both; }
.sc-cycle-rider { display: block; position: relative; width: 100%; height: auto; }
.sc-ride-wheel {
  position: absolute; width: 24%; aspect-ratio: 1; top: 70.2%; left: 3.8%;
  animation: spring-wheel var(--journey) cubic-bezier(.42,0,.46,1) infinite both;
}
.sc-ride-wheel + .sc-ride-wheel { left: 66.6%; }
.sc-ride-wheel::before, .sc-ride-wheel::after {
  content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1px; background: #1d524aa8;
}
.sc-ride-wheel::after { transform: rotate(90deg); }
.sc-cycle-route:not(.is-riding) :is(.sc-ride-travel,.sc-ride-facing,.sc-ride-wheel) { animation-play-state: paused; }
.sc-route-control {
  position: absolute; top: 3px; right: 0; display: grid; place-items: center;
  width: 24px; height: 24px; border-radius: 50%; background: #e6eae3;
  opacity: 0; transition: opacity .18s;
}
.sc-cycle-route:is(:hover,:focus-visible) .sc-route-control, .sc-cycle-route[data-stopped] .sc-route-control { opacity: 1; }
.sc-route-control::before { content: ""; width: 6px; height: 8px; border-inline: 2px solid currentColor; }
.sc-cycle-route[data-stopped] .sc-route-control::before { width: 0; height: 0; border: 4px solid transparent; border-left: 6px solid currentColor; transform: translateX(2px); }
@keyframes spring-delivery {
  0%,100% { transform: translateX(0); }
  20%,25%,74%,79% { transform: translateX(50%); }
  47%,54% { transform: translateX(100%); }
  95% { transform: translateX(0); }
}
@keyframes spring-turn {
  0%,48%,100% { transform: scaleX(1); }
  53%,96% { transform: scaleX(-1); }
}
@keyframes spring-wheel {
  0% { transform: rotate(0deg); }
  20%,25% { transform: rotate(300deg); }
  47%,54% { transform: rotate(600deg); }
  74%,79% { transform: rotate(900deg); }
  95%,100% { transform: rotate(1200deg); }
}
@media (max-width: 640px) {
  .sc-home .sc-local-note { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
  .sc-home .sc-local-note p { order: -1; margin: 0; }
  .sc-cycle-route { --bike: 57px; width: 100%; flex: 0 0 auto; }
}

/* Each close-up sits above the service list with its original room icon. */
.sc-service-guide .sc-deep-room .sc-room-visual {
  position: relative;
  margin: -10px -10px 14px;
}
.sc-deep-room .sc-room-photo {
  display: block;
  width: 100%;
  height: clamp(84px, 8vw, 130px);
  object-fit: cover;
  border-radius: 14px;
}
.sc-service-guide .sc-room-visual .sc-scope-icon {
  position: absolute;
  left: 8px;
  bottom: 8px;
  box-sizing: border-box;
  width: 34px;
  height: 34px;
  padding: 6px;
  margin: 0;
  background: #fff;
  border-radius: 50%;
}
@media (max-width: 680px) {
  .sc-service-guide .sc-deep-room .sc-room-visual { margin: -7px -5px 10px; }
  .sc-deep-room .sc-room-photo { height: clamp(65px, 19vw, 102px); border-radius: 11px; }
  .sc-service-guide .sc-room-visual .sc-scope-icon { width: 25px; height: 25px; padding: 4px; left: 5px; bottom: 5px; }
}
