:root {
  --ink: #192c39;
  --green: #006b91;
  --green-light: #e9f6fb;
  --paper: #ffffff;
  --line: #dce6eb;
  --muted: #5c6e79;
  --coral: #f4c329;
}
.announcement {
  background: #f4c329;
  color: #192c39;
  font-weight: 700;
}
.header {
  height: 94px;
}
.brand {
  gap: 11px;
  align-items: center;
}
.brand img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: contain;
}
.brand span {
  font-size: 20px;
  font-weight: 700;
}
.button {
  background: #f4c329;
  color: #192c39;
}
.button:hover {
  background: #ffe06b;
}
.button img {
  filter: none;
}
.button.light {
  color: #087ba6;
}
.button.light:hover {
  background: #e9f6fb;
}
.header nav a:hover,
.text-button:hover {
  color: #087ba6;
}
.hero {
  background-image: url("./media/laundry-room.webp");
  background-position: center 52%;
}

.journey {
  padding: 90px 24px;
  background: #fff;
}
.journey-grid {
  max-width: 1100px;
  margin: 50px auto 0;
  display: grid;
  gap: 50px;
}
.journey-item {
  min-width: 0;
  text-align: center;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 8%;
  align-items: center;
}
.journey-photo {
  position: relative;
  height: 400px;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(22, 46, 59, 0.15);
  transition: background-position 0.7s ease;
}
.motion-ready .journey-photo {
  background-size: 125% auto;
  transition: none;
}
.journey-photo .journey-disclaimer {
  position: absolute;
  bottom: 12px;
  right: 12px;
  margin: 0;
  padding: 5px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  color: #354d59;
  font-size: 11px;
  font-weight: 400;
}
.journey-edge {
  position: fixed;
  left: 0;
  right: 0;
  height: 20px;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  backdrop-filter: blur(2px);
  transition: opacity 0.3s ease;
}
.journey-edge-top {
  top: 0;
  mask-image: linear-gradient(#000, transparent);
}
.journey-edge-bottom {
  bottom: 0;
  mask-image: linear-gradient(transparent, #000);
}
.journey-active .journey-edge {
  opacity: 1;
}
body:has(dialog[open]) .journey-edge {
  display: none;
}
.illustration-note {
  text-align: center;
  font-size: 12px;
  color: #5c6e79;
}
.service-description .illustration-note {
  margin-top: 20px;
}
#booking-form [hidden],
#service-call[hidden],
#service-book[hidden] {
  display: none !important;
}
#booking-form select {
  width: 100%;
  padding: 12px;
  border: 1px solid #c7d9e1;
  border-radius: 4px;
  background: white;
  font: inherit;
}
.delivery-note {
  margin-top: 18px;
  padding: 14px;
  background: #edf8fc;
  line-height: 1.6;
}
.journey-pickup {
  background-image: url("./media/journey-1.webp");
}
.journey-wash {
  background-image: url("./media/journey-2.webp");
}
.journey-fold {
  background-image: url("./media/journey-3.webp");
}
.journey-home {
  background-image: url("./media/journey-4.webp");
}
.journey-item span {
  display: inline-block;
  color: #087ba6;
  font-size: 13px;
  margin-top: 22px;
  font-weight: 700;
}
.journey-item h3 {
  margin: 8px 0;
  font-size: 32px;
}
.journey-item p {
  color: #5c6e79;
  font-size: 17px;
}
.price-section {
  max-width: 1200px;
  margin: auto;
}
.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px 64px;
  margin-top: 50px;
}
.price-grid h3 {
  font-size: 23px;
  margin: 0 0 14px;
}
.price-grid p {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #dce6eb;
  padding: 12px 0;
  margin: 0;
}
.price-grid strong {
  white-space: nowrap;
  color: #087ba6;
}
.price-grid small {
  display: block;
  margin: 12px 0 25px;
  color: #5c6e79;
  line-height: 1.6;
}
.care-note {
  margin-top: 55px;
  padding: 30px;
  background: #edf8fc;
}
.care-note h3 {
  margin-top: 0;
}
.care-note p {
  margin: 10px 0;
}
.map-directions {
  display: inline-block;
  margin: 0 0 25px;
  color: #087ba6;
  font-weight: 700;
}
.map-zoom {
  font-size: 25px;
  font-weight: 400;
}
.care-choice {
  margin-top: 18px;
}
.care-choice select {
  width: 100%;
  padding: 12px;
  border: 1px solid #c7d9e1;
  border-radius: 4px;
  background: white;
  font: inherit;
}
.eco-choice {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}
.eco-choice[hidden] {
  display: none;
}
.motion-ready .journey-item {
  opacity: var(--journey-opacity, 1);
  transform: translateY(var(--journey-offset, 0px));
  will-change: transform, opacity;
}
@media (max-width: 800px) {
  .journey-photo {
    height: 300px;
  }
}
@media (max-width: 580px) {
  .journey {
    padding: 60px 20px;
  }
  .journey-grid {
    gap: 38px;
    margin-top: 30px;
  }
  .journey-item {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .journey-photo {
    height: 300px;
  }
  .journey-item h3 {
    font-size: 23px;
  }
  .journey-item p {
    font-size: 15px;
  }
  .price-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .care-note {
    padding: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .journey-photo {
    transition: none;
  }
  .motion-ready .journey-item {
    opacity: 1;
    transform: none;
  }
  .motion-ready .journey-photo {
    background-position: center !important;
  }
  .journey-edge {
    display: none;
  }
}

.hero:before {
  background: #041d28c4;
}
.hero-inner {
  justify-content: center;
  padding: 66px 32px 90px;
  min-height: 620px;
}
.hero-copy {
  width: 800px;
  margin: auto;
  text-align: center;
}
.hero .eyebrow {
  color: white;
  justify-content: center;
}
.hero .status-dot {
  background: #f4c329;
}
.hero h1 {
  color: white;
  font-size: 66px;
}
.hero h1 span {
  color: #ffe16d;
}
.hero-description {
  color: #fff;
  margin: 0 auto 28px;
  font-size: 18px;
  font-weight: 700;
  text-shadow: 0 2px 6px #000;
}
.address-form {
  width: 520px;
  max-width: 100%;
  margin-inline: auto;
  text-align: right;
}
.address-form > label {
  color: #fff;
}
.address-row {
  border-color: #ffffff77;
  box-shadow: none;
}
.hero-note {
  color: #fff;
}
.photo-caption {
  color: #192c39;
  right: 50%;
  left: auto;
  transform: translateX(50%);
  white-space: nowrap;
}
.promise-strip {
  background: #edf8fc;
}
.promise-strip span:before {
  background: #f4c329;
}
.section-heading {
  display: block;
  text-align: center;
}
.section-heading .eyebrow,
.center-heading .eyebrow {
  justify-content: center;
}
.section-heading > p {
  margin: 22px auto 0;
}
.steps {
  text-align: center;
}
.steps p {
  margin: auto;
}
.step-number {
  color: #087ba6;
}
.services-section {
  background: #f2f8fb;
}
.service-tabs {
  border-color: #c9e2ef;
}
.service-description {
  text-align: center;
}
.service-description .eyebrow {
  justify-content: center;
}
.service-description > p:not(.eyebrow) {
  margin-inline: auto;
}
.service-description li:before {
  background: #087ba6;
}
.service-photo > img {
  object-position: 25% center;
}
.service-photo {
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(22, 46, 59, 0.15);
}
.shop-photographs img {
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(22, 46, 59, 0.12);
}
.service-photo.combined {
  display: flex;
  gap: 3px;
}
.service-photo.combined > img {
  width: calc(50% - 1.5px);
  min-width: 0;
}
.service-photo > img[hidden] {
  display: none;
}
.personal-band {
  background: #087ba6;
}
.personal-inner .eyebrow,
.personal-inner p:not(.eyebrow) {
  color: #fff;
}
.closing {
  background: #fff8dc;
}
.faq-section {
  display: block;
  max-width: 920px;
}
.faq-section > div:first-child {
  text-align: center;
  margin-bottom: 40px;
}
.faq-section .eyebrow {
  justify-content: center;
}
.footer-top .brand {
  align-items: center;
}
.footer-top .brand img {
  width: 58px;
  height: 58px;
}
.service-options label:has(input:checked) {
  background: #edf8fc;
}
.booking-progress li.complete {
  border-color: #9dcadd;
}
.order-summary {
  margin-block: 0;
}

.shop-section {
  padding-top: 80px;
  background: #f9fbfc;
  overflow: hidden;
}
.center-heading {
  text-align: center;
  max-width: 760px;
  padding: 0 24px;
  margin: 0 auto 28px;
}
.center-heading h2 {
  margin-bottom: 20px;
}
.center-heading > p:not(.eyebrow) {
  font-size: 15px;
}
.scene-stage {
  position: relative;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
}
.shop-stage {
  height: 620px;
  background: #eff4f8;
}
.scene-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
}
.scene-stage canvas:active {
  cursor: grabbing;
}
.scene-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.scene-actions {
  display: none;
  position: absolute;
  z-index: 2;
  bottom: 26px;
  right: max(24px, calc((100% - 1100px) / 2));
  gap: 8px;
}
.scene-ready .scene-actions {
  display: flex;
}
.scene-actions .icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid #c9dce4;
  background: white;
  border-radius: 5px;
}
.scene-actions .icon-button[aria-pressed="true"] {
  background: #f4c329;
  border-color: #d5ab23;
}
.scene-place {
  position: absolute;
  bottom: 28px;
  left: max(24px, calc((100% - 1100px) / 2));
  font-size: 13px;
  font-weight: 700;
  color: #3a5665;
}
.scene-place span {
  font-weight: 400;
  display: block;
  color: #627c8a;
  font-size: 11px;
}
.shop-photographs {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 24px 70px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
}
.shop-photographs figure {
  margin: 0;
}
.shop-photographs img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 4px;
}
.shop-photographs figure:last-child img {
  object-position: center 48%;
}
.shop-photographs figcaption {
  padding-top: 12px;
  font-size: 12px;
  color: #5c6e79;
}
.area-section {
  display: block;
  max-width: none;
  padding: 80px 0 0;
}
.area-copy {
  max-width: 690px;
  margin: auto;
  text-align: center;
  padding: 0 24px;
}
.area-copy .eyebrow {
  justify-content: center;
}
.area-copy > p:not(.eyebrow) {
  margin: 24px auto 15px;
  max-width: 520px;
}
.area-footnote {
  justify-content: center;
  border: 0;
  margin-top: 4px;
  margin-bottom: 25px;
  padding-top: 0;
}
.map-stage {
  height: 610px;
  background: #edf3f3;
}
.map-fallback {
  object-fit: contain;
}
.map-attribution {
  position: absolute;
  bottom: 12px;
  left: 16px;
  z-index: 2;
  background: #ffffffed;
  color: #365360;
  padding: 3px 6px;
  border-radius: 2px;
  font-size: 10px;
}
.map-stage .scene-actions {
  bottom: 34px;
}

@media (min-width: 1600px) {
  .hero-inner {
    min-height: 650px;
  }
}
@media (max-width: 1100px) {
  .hero h1 {
    font-size: 58px;
  }
  .brand span {
    font-size: 17px;
  }
  .brand img {
    width: 52px;
    height: 52px;
  }
}
@media (max-width: 800px) {
  .header {
    height: 80px;
  }
  .header nav {
    top: 114px;
  }
  .hero-inner {
    min-height: 590px;
    padding: 60px 30px 80px;
  }
  .hero h1 {
    font-size: 53px;
  }
  .shop-stage {
    height: 550px;
  }
  .shop-photographs img {
    height: 280px;
  }
}
@media (max-width: 580px) {
  .header {
    height: 78px;
    padding-inline: 16px;
  }
  .header nav {
    top: 108px;
  }
  .brand {
    gap: 7px;
  }
  .brand img {
    width: 47px;
    height: 47px;
  }
  .brand span {
    font-size: 14px;
  }
  .header-actions .button {
    font-size: 10px;
    padding-inline: 10px;
  }
  .hero,
  .hero-inner {
    min-height: 600px;
  }
  .hero {
    background-position: 39% center;
  }
  .hero:before {
    background: #041d28c4;
  }
  .hero-inner {
    padding: 54px 22px 84px;
    display: flex;
  }
  .hero h1 {
    font-size: 43px;
  }
  .hero-description {
    font-size: 16px;
  }
  .hero .eyebrow {
    font-size: 10px;
  }
  .hero-note {
    font-size: 10px;
  }
  .photo-caption {
    font-size: 10px;
    bottom: 25px;
  }
  .steps li {
    padding-right: 0;
    padding-top: 46px;
  }
  .step-number {
    top: 18px;
    right: 50%;
    transform: translateX(50%);
  }
  .steps h3 {
    margin-bottom: 12px;
  }
  .shop-section {
    padding-top: 55px;
  }
  .center-heading h2 {
    font-size: 34px;
  }
  .center-heading > p:not(.eyebrow) {
    font-size: 16px;
  }
  .shop-stage {
    height: 460px;
  }
  .scene-place {
    left: 20px;
    bottom: 22px;
    font-size: 11px;
  }
  .scene-actions {
    right: 20px;
    bottom: 20px;
  }
  .shop-photographs {
    padding: 25px 20px 50px;
    gap: 14px;
    grid-template-columns: 1fr 1fr;
  }
  .shop-photographs img {
    height: 220px;
  }
  .shop-photographs figcaption {
    font-size: 10px;
  }
  .area-section {
    padding-top: 55px;
  }
  .area-copy h2 {
    font-size: 34px;
  }
  .area-copy > p:not(.eyebrow) {
    margin-inline: auto;
  }
  .map-stage {
    height: 460px;
  }
  .map-attribution {
    font-size: 8px;
  }
  .service-description .eyebrow {
    justify-content: center;
  }
  .service-description h3 {
    min-height: 64px;
  }
  .faq-section h2 {
    text-align: center;
  }
}
@media (max-width: 359px) {
  .brand span {
    font-size: 12px;
  }
  .brand img {
    width: 40px;
    height: 40px;
  }
  .header {
    padding-inline: 12px;
    gap: 7px;
  }
  .header-actions {
    gap: 1px;
  }
  .header-actions .button {
    padding-inline: 8px;
    font-size: 9px;
    gap: 5px;
  }
  .header-actions .button img {
    width: 12px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero-inner {
    padding-inline: 18px;
  }
}
@media (max-width: 580px) and (max-height: 740px) {
  .hero,
  .hero-inner {
    min-height: 0;
  }
  .hero-inner {
    padding-top: 30px;
    padding-bottom: 70px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero-description {
    font-size: 13px;
  }
  .hero:before {
    background: #041d28c4;
  }
  .photo-caption {
    bottom: 15px;
  }
}

/* The four steps surround the laundry rather than moving the photographs. */
.journey {
  background: #f3f9fb;
  overflow: hidden;
}
.journey-wheel {
  max-width: 1120px;
  margin: 55px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px minmax(0, 1fr);
  grid-template-areas: "one hub two" "three hub four";
  gap: 36px 38px;
  align-items: center;
}
.journey-node {
  min-width: 0;
  min-height: 190px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 24px 26px 38px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  background-color: #4c6067;
  background-blend-mode: multiply;
  color: white;
  box-shadow: 0 14px 35px rgba(20, 56, 73, 0.2);
}
.journey-pickup {
  grid-area: one;
}
.journey-wash {
  grid-area: two;
}
.journey-fold {
  grid-area: three;
}
.journey-home {
  grid-area: four;
}
.journey-node::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -38px;
  width: 38px;
  border-top: 2px dotted #80b1c4;
}
.journey-wash::after,
.journey-home::after {
  left: auto;
  right: -38px;
}
.journey-copy {
  position: relative;
  z-index: 1;
  text-align: right;
}
.journey-copy > span {
  color: #ffe16d;
  font-size: 13px;
  font-weight: 700;
}
.journey-copy h3 {
  color: white;
  font-size: 24px;
  margin: 8px 0;
}
.journey-copy p {
  color: white;
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}
.journey-node small,
.journey-hub-photo small {
  position: absolute;
  bottom: 10px;
  left: 12px;
  color: white;
  font-size: 10px;
  background: rgba(20, 40, 49, 0.8);
  border-radius: 5px;
  padding: 3px 6px;
}
.journey-hub {
  grid-area: hub;
  position: relative;
  transform: rotate(var(--hub-rotation, 0deg));
}
.journey-hub::before {
  content: "";
  position: absolute;
  inset: -11px;
  border: 2px dashed #6cb8d0;
  border-radius: 50%;
  animation: journey-orbit 28s linear infinite;
}
.journey-hub-photo {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    linear-gradient(#12374788, #12374788),
    url("./media/laundry-room.webp") center / cover;
  box-shadow: 0 16px 35px rgba(20, 56, 73, 0.25);
  color: white;
  font-size: 21px;
  font-weight: 700;
}
.journey-hub-photo small {
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-weight: 400;
}
@keyframes journey-orbit {
  to {
    transform: rotate(360deg);
  }
}
.service-photo > .service-disclaimer {
  right: auto;
  left: 12px;
  bottom: 12px;
  font-size: 10px;
}
.care-note {
  background: transparent;
  padding: 24px 0 0;
  border-top: 1px solid #c9dce4;
}
.care-note h3 {
  font-size: 20px;
}
.care-note p {
  color: #5c6e79;
}
.care-note + .care-note {
  margin-top: 26px;
}
.care-note ul {
  margin: 10px 0;
  padding-inline-start: 22px;
  color: #5c6e79;
  line-height: 1.8;
}
.viewport-edge {
  position: fixed;
  inset-inline: 0;
  height: 16px;
  z-index: 20;
  pointer-events: none;
  opacity: 0;
  backdrop-filter: blur(3px);
  transition: opacity 0.2s ease;
}
.viewport-edge-top {
  top: 0;
  mask-image: linear-gradient(#000, transparent);
}
.viewport-edge-bottom {
  bottom: 0;
  mask-image: linear-gradient(transparent, #000);
}
.page-scrolling .viewport-edge {
  opacity: 1;
}
body:has(dialog[open]) .viewport-edge {
  display: none;
}
.motion-ready .scroll-warp {
  transform: scale(var(--warp-scale, 1));
}
.motion-ready .scroll-warp:focus-within {
  opacity: 1;
  transform: none;
}
@media (max-width: 800px) {
  .journey-wheel {
    grid-template-columns: minmax(0, 1fr) 170px minmax(0, 1fr);
    gap: 25px 22px;
  }
  .journey-node {
    padding: 20px 16px 38px;
  }
  .journey-node::after {
    left: -22px;
    width: 22px;
  }
  .journey-wash::after,
  .journey-home::after {
    left: auto;
    right: -22px;
  }
  .journey-copy h3 {
    font-size: 20px;
  }
  .journey-hub-photo {
    font-size: 16px;
  }
  .journey-hub-photo small {
    bottom: 24px;
    font-size: 9px;
  }
}
@media (max-width: 620px) {
  .journey-wheel {
    max-width: 440px;
    grid-template-columns: 1fr;
    grid-template-areas: "hub" "one" "two" "three" "four";
    gap: 18px;
    margin-top: 35px;
  }
  .journey-hub {
    width: 170px;
    margin: 0 auto 14px;
  }
  .journey-node {
    min-height: 160px;
  }
  .journey-node::after,
  .journey-wash::after,
  .journey-home::after {
    top: -18px;
    left: 50%;
    right: auto;
    width: 0;
    height: 18px;
    border-top: 0;
    border-left: 2px dotted #80b1c4;
  }
}
@media (prefers-reduced-motion: reduce) {
  .journey-hub::before {
    animation: none;
  }
  .journey-hub {
    transform: none;
  }
  .motion-ready .scroll-warp {
    opacity: 1;
    transform: none;
  }
  .viewport-edge {
    display: none;
  }
}

/* Keep service tabs and image position stable as content changes. */
.service-tabs {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.service-tabs-nav {
  display: none;
}
.service-photo > img.is-loading {
  opacity: 0;
}
.service-photo > .service-image-status {
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: max-content;
  max-width: 90%;
  color: #192c39;
}
.service-photo > .service-image-status[hidden] {
  display: none;
}
.service-detail {
  align-items: start;
  min-height: 440px;
}
.service-photo {
  align-self: start;
}
.service-description {
  min-height: 440px;
}
@media (max-width: 620px) {
  .service-tabs-shell.has-controls {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    align-items: center;
    margin-bottom: 25px;
  }
  .service-tabs-nav:not([hidden]) {
    display: grid;
    place-items: center;
    width: 40px;
    height: 44px;
    padding: 8px;
    border: 0;
    border-radius: 4px;
    background: #fff;
  }
  .service-tabs-nav img {
    width: 20px;
    height: 20px;
    filter: none;
  }
  .service-tabs-nav[data-tabs-previous] img {
    transform: rotate(180deg);
  }
  .service-tabs-nav:disabled {
    opacity: 0.35;
  }
  .service-tabs {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    min-width: 0;
    margin-bottom: 0;
    scroll-snap-type: x mandatory;
  }
  .service-tabs button {
    flex: 0 0 calc((100% - 3px) / 2);
    min-width: 0;
    padding-inline: 10px;
    scroll-snap-align: start;
  }
  .service-detail {
    min-height: 0;
  }
  .service-photo {
    order: -1;
  }
  .service-description {
    min-height: 440px;
  }
}
@media (min-width: 480px) and (max-width: 620px) {
  .service-tabs button {
    flex-basis: calc((100% - 6px) / 3);
  }
}

/* Temporary reading order while the next journey design is being chosen. */
@media (min-width: 621px) {
  .journey-wheel {
    grid-template-areas: "one hub three" "two hub four";
  }
}
.journey-node::after {
  display: none;
}
.journey-sequence {
  color: #5c6e79;
  font-size: 14px;
}
.motion-ready .journey-wheel:not(.has-entered) .journey-copy {
  opacity: 0;
}
.motion-ready .journey-wheel.has-entered .journey-copy {
  animation: journey-enter 0.55s ease both;
}
.motion-ready .journey-wheel.has-entered .journey-wash .journey-copy {
  animation-delay: 0.12s;
}
.motion-ready .journey-wheel.has-entered .journey-fold .journey-copy {
  animation-delay: 0.24s;
}
.motion-ready .journey-wheel.has-entered .journey-home .journey-copy {
  animation-delay: 0.36s;
}
@keyframes journey-enter {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* A static edge blur approximates a lens look without blocking interaction. */
.viewport-edge {
  opacity: 1;
  height: 36px;
  backdrop-filter: blur(6px);
  transition: none;
}
@media (prefers-reduced-motion: reduce) {
  .motion-ready .journey-wheel:not(.has-entered) .journey-copy {
    opacity: 1;
  }
  .motion-ready .journey-wheel.has-entered .journey-copy {
    animation: none;
  }
  .viewport-edge {
    display: block;
  }
}

/* One image stays in view while the four steps pass beside it. */
.journey {
  overflow: visible;
}
.story-layout {
  max-width: 1120px;
  margin: 36px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 8%;
  align-items: start;
}
.story-visual {
  position: sticky;
  top: 14vh;
  height: 72vh;
  max-height: 650px;
  min-height: 340px;
  overflow: hidden;
  border-radius: 16px;
  background: #dce8ed;
  box-shadow: 0 16px 38px rgba(20, 56, 73, 0.2);
}
.story-images {
  position: absolute;
  inset: 0;
}
.story-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 0.55s ease,
    transform 1s ease;
}
.story-image.is-active {
  opacity: 1;
  transform: scale(1);
}
.story-progress {
  position: absolute;
  z-index: 1;
  top: 18px;
  right: 18px;
  left: 18px;
  display: flex;
  gap: 6px;
  direction: rtl;
}
.story-progress span {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}
.story-progress span.is-active {
  background: #f4c329;
}
.story-illustration {
  position: absolute;
  z-index: 1;
  bottom: 14px;
  left: 14px;
  padding: 5px 9px;
  color: #243e4a;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 5px;
  font-size: 11px;
}
.story-step {
  min-height: 52vh;
  display: flex;
  align-items: center;
  padding: 50px 0;
}
.story-step > div {
  max-width: 420px;
  opacity: 1;
  transform: translateY(12px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}
.story-step.is-active > div {
  opacity: 1;
  transform: none;
}
.story-number {
  display: block;
  color: #006b91;
  font-size: 16px;
  font-weight: 700;
}
.story-number span {
  color: #526674;
  font-weight: 400;
}
.story-step h3 {
  color: #192c39;
  font-size: 38px;
  margin: 16px 0 14px;
}
.story-step p {
  color: #465d69;
  font-size: 18px;
  line-height: 1.7;
  margin: 0;
}
.story-step noscript img {
  width: 100%;
  margin-top: 20px;
}
@media (max-width: 700px) {
  .story-layout {
    display: block;
    margin-top: 28px;
  }
  .story-visual {
    top: 10px;
    height: 40vh;
    min-height: 190px;
    max-height: 320px;
    z-index: 2;
  }
  .story-step {
    min-height: 43vh;
    padding: 36px 8px;
  }
  .story-step > div {
    width: 100%;
  }
  .story-number {
    text-align: right;
  }
  .story-step h3 {
    font-size: 30px;
  }
  .story-step p {
    font-size: 16px;
  }
}

.map-address {
  margin: 20px 0 12px;
  color: #243e4a;
  font-weight: 700;
}
.map-navigation {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.map-navigation a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  min-width: 130px;
  padding: 10px 18px;
  border: 1px solid #08749d;
  border-radius: 6px;
  color: #075a7a;
  background: #fff;
  font-weight: 700;
  text-decoration: none;
}
.map-navigation a:hover {
  background: #e7f5fa;
}
.map-navigation a:focus-visible {
  outline: 3px solid #004564;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #fff;
}
@media (prefers-reduced-motion: reduce) {
  .story-image {
    transition: none;
    transform: none;
  }
  .story-step > div {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
