:root {
  --paper: #f2efe5;
  --ink: #172c25;
  --muted: #4f6158;
  --line: #c8cec1;
  --accent: #315f4f;
  --mint: #e4ebdc;
  --night: #152b24;
  --rehab-lime: #d9e881;
  --rehab-head: 68px;
  --rehab-gutter: clamp(1.25rem, 5.5vw, 6rem);
}

html {
  scroll-padding-top: var(--rehab-head);
}
:focus-visible {
  outline-color: #317a61;
}
.rehab-wrap {
  width: min(calc(100% - 2 * var(--rehab-gutter)), 1500px);
  margin-inline: auto;
}
.rehab-eyebrow {
  font-size: 0.72rem;
  font-weight: 730;
  letter-spacing: 0.135em;
  line-height: 1.4;
}
.rehab-arrow-link {
  display: inline-flex;
  width: fit-content;
  min-height: 40px;
  align-items: center;
  gap: 0.65rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.95rem;
  font-weight: 700;
  transition: color 0.22s;
}
.rehab-arrow-link span {
  display: inline-block;
  transition: transform 0.22s;
}
.rehab-arrow-link:hover span {
  transform: translate(3px, -2px);
}

.rehab-header {
  position: sticky;
  top: 0;
  z-index: 40;
  color: var(--paper);
  background: var(--ink);
}
.rehab-header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.65rem, 2.5vw, 2.3rem);
  height: var(--rehab-head);
}
.rehab-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
  flex-shrink: 0;
  line-height: 1;
  white-space: nowrap;
}
.rehab-logo strong {
  display: block;
  font-size: 1.62rem;
  font-weight: 760;
  letter-spacing: -0.06em;
}
.rehab-logo small {
  display: block;
  margin-top: 0.28rem;
  font-size: 0.67rem;
  font-weight: 660;
  letter-spacing: 0.05em;
}
.rehab-logo-mark {
  display: block;
  width: 33px;
  height: 29px;
  position: relative;
  flex-shrink: 0;
  border: 1px solid var(--rehab-lime);
  border-radius: 50%;
  transform: rotate(-29deg);
}
.rehab-logo-mark::before,
.rehab-logo-mark::after {
  position: absolute;
  top: 50%;
  left: -1px;
  right: -1px;
  height: 1px;
  content: '';
  background: var(--rehab-lime);
}
.rehab-logo-mark::before {
  transform: translateY(-4px);
}
.rehab-logo-mark::after {
  transform: translateY(4px);
}
.rehab-nav {
  display: flex;
  align-items: stretch;
  height: 100%;
  gap: clamp(0.65rem, 2.1vw, 2.25rem);
  margin-inline-start: auto;
}
.rehab-nav-group {
  display: flex;
  align-items: center;
  position: relative;
}
.rehab-nav-group > a {
  white-space: nowrap;
  font-size: 0.96rem;
  font-weight: 665;
}
.rehab-nav-group > a:hover {
  color: var(--rehab-lime);
}
.rehab-nav-group > button {
  display: grid;
  place-content: center;
  border: 0;
  background: none;
  color: var(--rehab-lime);
  height: 34px;
  width: 22px;
  cursor: pointer;
  padding: 0;
  font-weight: 700;
}
.rehab-nav-group > button[aria-expanded='true'] {
  transform: rotate(180deg);
}
.rehab-dropdown {
  position: absolute;
  top: 100%;
  left: -0.7rem;
  display: grid;
  min-width: 11.2rem;
  padding: 0.5rem;
  background: var(--paper);
  color: var(--ink);
  border-top: 3px solid var(--rehab-lime);
  box-shadow: 0 12px 30px #172c2540;
}
.rehab-dropdown a {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.6rem;
  font-size: 0.9rem;
  white-space: nowrap;
}
.rehab-dropdown a:hover {
  background: var(--mint);
}
.rehab-head-cta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 41px;
  padding: 0.4rem 0.68rem 0.4rem 0.82rem;
  color: var(--ink);
  background: var(--rehab-lime);
  font-size: 0.85rem;
  font-weight: 730;
  white-space: nowrap;
}
.rehab-head-cta:hover {
  background: #eff5b0;
}
.rehab-menu {
  position: relative;
}
.rehab-menu > summary {
  display: grid;
  align-content: center;
  gap: 5px;
  list-style: none;
  padding-inline: 0.52rem;
  width: 40px;
  height: 40px;
  cursor: pointer;
  border: 1px solid #ffffff75;
}
.rehab-menu summary::-webkit-details-marker {
  display: none;
}
.rehab-menu > summary span {
  height: 1px;
  background: var(--paper);
  transition: transform 0.23s;
}
.rehab-menu[open] > summary span:first-child {
  transform: translateY(3px) rotate(45deg);
}
.rehab-menu[open] > summary span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}
.rehab-menu nav {
  position: absolute;
  top: calc(100% + 0.85rem);
  right: 0;
  width: min(38rem, calc(100vw - 2 * var(--rehab-gutter)));
  max-height: calc(100svh - var(--rehab-head) - 1.3rem);
  overflow: auto;
  color: var(--paper);
  background: var(--ink);
  border-top: 2px solid var(--rehab-lime);
  padding: clamp(1rem, 3vw, 2.5rem);
  box-shadow: 0 18px 40px #152b245c;
}
.rehab-menu-group {
  position: relative;
  border-bottom: 1px solid #ffffff48;
  padding-block: 0.7rem;
  min-height: 49px;
}
.rehab-menu-group > a {
  font-size: 1.15rem;
  font-weight: 670;
}
.rehab-menu-group > a:hover {
  color: var(--rehab-lime);
}
.rehab-menu-group details summary {
  position: absolute;
  right: 0;
  top: 0.45rem;
  display: grid;
  place-content: center;
  width: 35px;
  height: 35px;
  border: 1px solid #ffffff60;
  color: var(--rehab-lime);
  cursor: pointer;
  list-style: none;
}
.rehab-menu-group details[open] summary {
  transform: rotate(45deg);
}
.rehab-menu-group details div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.1rem;
  padding: 0.45rem 2.5rem 0.1rem 0;
  color: #dbe3d2;
  font-size: 0.91rem;
}

.rehab-hero {
  --rehab-open: 0;
  background: var(--paper);
}
.rehab-hero-stage {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  isolation: isolate;
  padding-top: clamp(1.8rem, 5vh, 4.3rem);
  overflow: clip;
}
.rehab-hero-text {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.4rem;
  margin-bottom: clamp(1rem, 3.4vh, 2.1rem);
  color: var(--ink);
}
.rehab-hero-text .rehab-eyebrow {
  margin-bottom: clamp(0.65rem, 1.8vh, 1.1rem);
  color: var(--accent);
}
.rehab-hero-text h1 {
  font-size: clamp(3.4rem, 7.05vw, 8.1rem);
  line-height: 0.99;
  letter-spacing: -0.084em;
  font-weight: 650;
  text-wrap: initial;
}
.rehab-hero-text h1 span {
  color: #528469;
}
.rehab-hero-aside {
  align-self: flex-end;
  max-width: 21rem;
  padding-bottom: 0.1rem;
}
.rehab-hero-aside p {
  font-size: clamp(0.97rem, 1.45vw, 1.22rem);
  color: var(--muted);
  line-height: 1.58;
}
.rehab-hero-aside .rehab-arrow-link {
  margin-top: 0.4rem;
}
.rehab-hero-gallery {
  position: relative;
  isolation: isolate;
  margin-inline: var(--rehab-gutter);
  display: grid;
  grid-template-columns: 1fr 2.55fr 0.91fr;
  gap: clamp(5px, 1.05vw, 18px);
  height: clamp(230px, 44svh, 520px);
  min-height: 0;
}
.rehab-hero-gallery figure {
  position: relative;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  background: #35473a;
}
.rehab-hero-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rehab-hero-side--detail img {
  object-position: 60% center;
}
.rehab-hero-side--studio img {
  object-position: 71% center;
}
.rehab-hero-main img {
  object-position: center 52%;
}
.rehab-hero-index {
  display: grid;
  grid-template-columns: 1fr 2.55fr 0.91fr auto;
  gap: 0.7rem;
  align-items: center;
  min-height: 50px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 650;
}
.rehab-hero-index a {
  color: var(--ink);
  font-weight: 730;
}
.rehab-hero[data-rehab-pinned] .rehab-hero-text {
  transform: translateY(calc(-3.4rem * var(--rehab-open)));
  opacity: max(0, calc(1 - 1.95 * var(--rehab-open)));
}
.rehab-hero[data-rehab-pinned] .rehab-hero-text:focus-within {
  position: relative;
  z-index: 3;
  opacity: 1;
  background: var(--paper);
}
.rehab-hero[data-rehab-pinned] .rehab-hero-gallery {
  position: absolute;
  inset: 0;
  z-index: -1;
  margin: 0;
  height: 100%;
  display: block;
  pointer-events: none;
}
.rehab-hero[data-rehab-pinned] .rehab-hero-gallery figure {
  position: absolute;
  bottom: calc(50px * (1 - var(--rehab-open)));
  height: calc(var(--rehab-photo-height) + (100% - var(--rehab-photo-height)) * var(--rehab-open));
}
.rehab-hero[data-rehab-pinned] .rehab-hero-main {
  z-index: 1;
  left: calc(
    (var(--rehab-gutter) + (100% - 2 * var(--rehab-gutter)) * 0.228) * (1 - var(--rehab-open))
  );
  right: calc(
    (var(--rehab-gutter) + (100% - 2 * var(--rehab-gutter)) * 0.205) * (1 - var(--rehab-open))
  );
}
.rehab-hero[data-rehab-pinned] .rehab-hero-main img {
  transform: scale(calc(1.055 - 0.055 * var(--rehab-open)));
}
.rehab-hero[data-rehab-pinned] .rehab-hero-main::after {
  position: absolute;
  inset: 0;
  content: '';
  background: linear-gradient(0deg, #102319b9, transparent 24%);
  opacity: var(--rehab-open);
}
.rehab-hero[data-rehab-pinned] .rehab-hero-side {
  opacity: calc(1 - 0.8 * var(--rehab-open));
}
.rehab-hero[data-rehab-pinned] .rehab-hero-side--detail {
  left: var(--rehab-gutter);
  width: calc((100% - 2 * var(--rehab-gutter)) * 0.214);
  transform: translateX(calc(-24vw * var(--rehab-open)));
}
.rehab-hero[data-rehab-pinned] .rehab-hero-side--studio {
  right: var(--rehab-gutter);
  width: calc((100% - 2 * var(--rehab-gutter)) * 0.191);
  transform: translateX(calc(23vw * var(--rehab-open)));
}
.rehab-hero[data-rehab-open] .rehab-hero-index,
.rehab-hero[data-rehab-open] .rehab-hero-index a {
  color: var(--paper);
}

.rehab-purpose {
  padding-block: clamp(4rem, 8vw, 8.35rem);
}
.rehab-purpose-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.21fr) minmax(0, 0.79fr);
  gap: clamp(1.4rem, 8vw, 8.5rem);
  align-items: center;
}
.rehab-purpose .rehab-eyebrow,
.rehab-spaces .rehab-eyebrow,
.rehab-guides .rehab-eyebrow,
.rehab-visit .rehab-eyebrow {
  color: var(--accent);
  margin-bottom: 0.8rem;
}
.rehab-purpose h2,
.rehab-spaces h2,
.rehab-guides h2,
.rehab-visit h2 {
  font-size: clamp(2.25rem, 4.7vw, 5.25rem);
  line-height: 1.04;
  letter-spacing: -0.067em;
  font-weight: 650;
  text-wrap: initial;
}
.rehab-purpose h2 + p {
  max-width: 29rem;
  margin-top: 0.95rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.19rem);
}
.rehab-purpose nav {
  border-top: 1px solid #172c255c;
}
.rehab-purpose nav a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(0.5rem, 1.4vw, 1.15rem);
  align-items: center;
  min-height: 66px;
  border-bottom: 1px solid #172c255c;
  padding: 0.45rem 0.25rem;
  transition:
    background 0.25s,
    padding 0.25s;
}
.rehab-purpose nav a:hover {
  background: var(--rehab-lime);
  padding-inline: 0.75rem;
}
.rehab-purpose nav strong {
  font-size: clamp(1.15rem, 2.15vw, 1.95rem);
  font-weight: 660;
}
.rehab-purpose nav small {
  font-size: 0.75rem;
  font-weight: 740;
  color: var(--accent);
}

.rehab-journey {
  position: relative;
  isolation: isolate;
  background: var(--night);
  color: var(--paper);
  padding-block: clamp(2.4rem, 6vw, 5rem);
}
.rehab-journey-backdrop {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.rehab-journey-background {
  position: absolute;
  inset: 0;
}
.rehab-journey-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.rehab-journey-background::after {
  position: absolute;
  inset: 0;
  content: '';
  background:
    linear-gradient(90deg, #10221cdd, #13241fc1 43%, #162c25a0),
    linear-gradient(0deg, #142a24af, transparent 35%);
}
.rehab-journey-heading {
  position: relative;
  z-index: 3;
  padding-bottom: 1rem;
}
.rehab-journey-heading .rehab-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.rehab-journey-heading .rehab-eyebrow {
  color: var(--rehab-lime);
  margin-bottom: 0.7rem;
}
.rehab-journey-heading h2 {
  font-size: clamp(2.45rem, 4.9vw, 5.35rem);
  line-height: 1.04;
  text-wrap: initial;
  font-weight: 640;
}
.rehab-journey-rail {
  position: relative;
  z-index: 4;
}
.rehab-journey-rail nav {
  display: flex;
  justify-content: flex-start;
  gap: clamp(0.45rem, 1.2vw, 1.4rem);
  align-items: center;
  flex-wrap: wrap;
}
.rehab-journey-rail nav a {
  display: flex;
  gap: 0.36rem;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 675;
  white-space: nowrap;
  color: #e6eadd;
  padding: 0.32rem 0.4rem;
  border: 1px solid transparent;
}
.rehab-journey-rail nav a span {
  width: 0.47rem;
  height: 0.47rem;
  border-radius: 50%;
  background: #d9e88177;
}
.rehab-journey-rail nav a[aria-current='step'] {
  color: var(--rehab-lime);
  border-color: #d9e88178;
}
.rehab-journey-rail nav a[aria-current='step'] span {
  background: var(--rehab-lime);
}
.rehab-journey :focus-visible {
  outline-color: var(--rehab-lime);
}
.rehab-journey-panels {
  display: grid;
  gap: clamp(1.4rem, 6vw, 6.4rem);
  padding-top: 1rem;
}
.rehab-panel {
  scroll-margin-top: 125px;
  width: min(83%, 1070px);
  display: grid;
  grid-template-columns: 1.13fr 0.87fr;
  align-items: stretch;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 16px 36px #0f261e3d;
}
.rehab-panel:nth-child(2) {
  margin-left: auto;
  grid-template-columns: 0.9fr 1.1fr;
}
.rehab-panel:nth-child(2) figure {
  grid-column: 2;
  grid-row: 1;
}
.rehab-panel:nth-child(3) {
  margin-left: 7%;
}
.rehab-panel figure {
  height: 100%;
  min-height: clamp(240px, 27vw, 380px);
  overflow: hidden;
  background: #c8cec1;
}
.rehab-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(var(--rehab-drift, 0px)) scale(var(--rehab-panel-scale, 1));
}
.rehab-panel-copy {
  padding: clamp(1.1rem, 3vw, 3.2rem);
  align-content: center;
  display: grid;
  justify-items: start;
  gap: 0.48rem;
}
.rehab-panel-copy .rehab-eyebrow {
  color: var(--accent);
}
.rehab-panel-copy .rehab-eyebrow span {
  margin-left: 0.35rem;
}
.rehab-panel h3 {
  font-size: clamp(1.55rem, 2.75vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.058em;
  font-weight: 650;
  text-wrap: initial;
}
.rehab-panel h3 + p {
  color: var(--muted);
  line-height: 1.58;
  max-width: 25rem;
}
.rehab-panel-tag {
  display: inline-block;
  background: var(--mint);
  padding: 0.19rem 0.42rem;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 660;
  margin-top: 0.2rem;
}
.rehab-panel .rehab-arrow-link {
  min-height: 32px;
  margin-top: 0.2rem;
}
.rehab-journey[data-rehab-pinned] {
  padding: 0 0 clamp(9rem, 28vh, 18rem);
}
.rehab-journey[data-rehab-pinned] .rehab-journey-background {
  position: sticky;
  top: var(--rehab-head);
  height: calc(100svh - var(--rehab-head));
  inset-inline: auto;
  bottom: auto;
}
.rehab-journey[data-rehab-pinned] .rehab-journey-backdrop {
  overflow: clip;
}
.rehab-journey[data-rehab-pinned] .rehab-journey-heading {
  padding-block: clamp(2.5rem, 8vh, 6.3rem) 0.85rem;
}
.rehab-journey[data-rehab-pinned] .rehab-journey-rail {
  position: sticky;
  top: var(--rehab-head);
  padding-block: 0.42rem;
  background: #172c25;
  border-block: 1px solid #d9e88131;
}
.rehab-journey[data-rehab-pinned] .rehab-journey-panels {
  gap: clamp(4.2rem, 20vh, 12rem);
  padding-top: clamp(2rem, 9vh, 7rem);
}
.rehab-journey[data-rehab-pinned] .rehab-panel {
  --rehab-panel-scale: 1.11;
  transform: translateY(var(--rehab-panel-y, 0px));
  scroll-margin-top: clamp(72px, 15vh, 180px);
}

.rehab-spaces {
  background: #e4eadd;
  padding-block: clamp(4rem, 8vw, 8rem);
}
.rehab-spaces-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: clamp(1.45rem, 3.65vw, 3.85rem);
}
.rehab-space-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(0.9rem, 4.4vw, 4.8rem);
  align-items: start;
}
.rehab-space-controls {
  display: none;
}
.rehab-spaces[data-rehab-ready] .rehab-space-controls {
  display: grid;
  gap: 1rem;
}
.rehab-space-select {
  display: grid;
  border-top: 1px solid #172c2550;
}
.rehab-space-select button {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: center;
  width: 100%;
  min-height: 74px;
  background: none;
  border: 0;
  border-bottom: 1px solid #172c2550;
  color: var(--ink);
  text-align: left;
  padding: 0.65rem 0.5rem;
  cursor: pointer;
  transition: background 0.25s;
}
.rehab-space-select button[aria-pressed='true'] {
  background: var(--rehab-lime);
}
.rehab-space-select button small {
  color: var(--accent);
  font-weight: 730;
}
.rehab-space-select button strong {
  display: block;
  font-size: clamp(0.99rem, 1.5vw, 1.27rem);
  font-weight: 710;
}
.rehab-space-select button > span > span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
}
.rehab-space-arrows {
  display: flex;
  align-items: center;
  gap: 0.42rem;
}
.rehab-space-arrows button {
  display: grid;
  place-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  color: var(--ink);
  background: transparent;
}
.rehab-space-arrows button:hover {
  background: var(--ink);
  color: var(--paper);
}
.rehab-space-arrows button[data-rehab-pause] {
  font-size: 0.8rem;
}
.rehab-space-media {
  width: 100%;
  min-width: 0;
}
.rehab-space-media:not(.swiper-initialized) {
  grid-column: 1 / -1;
}
.rehab-space-media:not(.swiper-initialized) .swiper-wrapper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}
.rehab-space-media img {
  width: 100%;
  aspect-ratio: 1.84;
  object-fit: cover;
}
.rehab-space-media figcaption {
  margin-top: 0.42rem;
  font-size: 0.86rem;
  color: var(--accent);
  font-weight: 650;
}

.rehab-guides {
  padding-block: clamp(3.4rem, 7vw, 7.3rem);
}
.rehab-guides-grid {
  display: grid;
  grid-template-columns: 0.61fr 1.39fr;
  gap: 1.45rem 4.4rem;
}
.rehab-guides header a {
  margin-top: 0.7rem;
}
.rehab-guides h2 {
  font-size: clamp(2.1rem, 4.1vw, 4.5rem);
}
.rehab-guide-list {
  border-top: 1px solid #172c2550;
}
.rehab-guide-list a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(0.7rem, 2vw, 1.75rem);
  align-items: baseline;
  padding: 0.95rem 0.3rem;
  border-bottom: 1px solid #172c2550;
}
.rehab-guide-list a:hover {
  color: var(--accent);
  background: #e8ecdd;
}
.rehab-guide-list time {
  color: var(--muted);
  font-size: 0.8rem;
}
.rehab-guide-list strong {
  font-size: clamp(1.05rem, 1.64vw, 1.37rem);
  font-weight: 660;
  word-break: keep-all;
}

.rehab-visit {
  background: var(--rehab-lime);
  padding-block: clamp(2.6rem, 6vw, 6.25rem);
}
.rehab-visit-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.25rem, 6vw, 6.4rem);
  align-items: center;
}
.rehab-visit-copy p:not(.rehab-eyebrow) {
  margin: 0.72rem 0 0.28rem;
  max-width: 29rem;
  color: #334d3e;
}
.rehab-visit-details {
  border: 1px solid #172c2580;
  padding: clamp(1rem, 3vw, 2.6rem);
}
.rehab-visit-details h3 {
  font-size: clamp(1.2rem, 1.9vw, 1.65rem);
  font-weight: 680;
  text-align: left;
}
.rehab-visit-details dl {
  margin: 0.6rem 0 0.82rem;
  border-top: 1px solid #172c2570;
}
.rehab-visit-details dl > div {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.34rem 0;
  border-bottom: 1px solid #172c2545;
}
.rehab-visit-details a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  padding: 0.65rem 0.78rem;
  background: var(--ink);
  color: var(--paper);
  font-weight: 680;
}
.rehab-visit-details a:hover {
  background: #284e3f;
}
.rehab-footer {
  background: var(--ink);
  color: #e8ebdf;
  padding-block: clamp(2rem, 4vw, 3.8rem);
}
.rehab-footer-layout {
  display: grid;
  grid-template-columns: 0.58fr 1.42fr;
  gap: 1.3rem 3rem;
}
.rehab-footer-brand {
  display: grid;
  align-content: space-between;
  justify-items: start;
  gap: 1.25rem;
  border-right: 1px solid #ffffff43;
}
.rehab-top {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  color: var(--rehab-lime);
  font-size: 0.86rem;
  font-weight: 680;
}
.rehab-footer-info nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  border-bottom: 1px solid #ffffff43;
  padding-bottom: 0.8rem;
  font-size: 0.92rem;
  font-weight: 660;
}
.rehab-footer-info nav a:hover {
  color: var(--rehab-lime);
}
.rehab-footer-info > div {
  padding: 0.85rem 0 0.65rem;
  font-size: 0.83rem;
  color: #cfdbcc;
}
.rehab-footer-info strong {
  color: #f2efe5;
  display: block;
  margin-bottom: 0.24rem;
}
.rehab-footer-info address {
  font-style: normal;
}
.rehab-footer-info > p {
  font-size: 0.82rem;
  color: #cfdbcc;
}

.rehab-motion [data-rehab-reveal] {
  transition:
    opacity 0.54s,
    transform 0.57s cubic-bezier(0.22, 0.7, 0.35, 1);
}
.rehab-motion [data-rehab-reveal]:not(.rehab-revealed):not(:focus-within) {
  opacity: 0;
  transform: translateY(18px);
}
@media (min-width: 961px) and (min-height: 660px) {
  .rehab-hero[data-rehab-pinned] {
    --rehab-photo-height: clamp(215px, 42svh, 535px);
    height: 164svh;
  }
  .rehab-hero[data-rehab-pinned] .rehab-hero-stage {
    position: sticky;
    top: var(--rehab-head);
    height: calc(100svh - var(--rehab-head) - var(--union-demo-height, 0px));
  }
}
@media (max-width: 960px) {
  :root {
    --rehab-head: 61px;
    --rehab-gutter: clamp(1.15rem, 4.5vw, 3rem);
  }
  .rehab-nav {
    display: none;
  }
  .rehab-head-cta {
    margin-left: auto;
  }
  .rehab-hero-text h1 {
    font-size: clamp(3rem, 7.3vw, 5.9rem);
  }
  .rehab-hero-gallery {
    height: clamp(230px, 49vw, 410px);
  }
  .rehab-journey-background img {
    object-position: 43% center;
  }
  .rehab-panel {
    width: 94%;
  }
  .rehab-panel:nth-child(3) {
    margin-left: 3%;
  }
  .rehab-panel figure {
    min-height: clamp(220px, 34vw, 335px);
  }
}
@media (max-width: 630px) {
  .rehab-logo {
    gap: 0.42rem;
  }
  .rehab-logo-mark {
    width: 28px;
    height: 24px;
  }
  .rehab-logo strong {
    font-size: 1.35rem;
  }
  .rehab-logo small {
    font-size: 0.61rem;
  }
  .rehab-head-cta {
    min-height: 36px;
    gap: 0.32rem;
    font-size: 0.73rem;
    padding-inline: 0.48rem;
  }
  .rehab-menu > summary {
    width: 35px;
    height: 36px;
  }
  .rehab-hero-stage {
    padding-top: 2rem;
  }
  .rehab-hero-text {
    display: grid;
    gap: 0.7rem;
  }
  .rehab-hero-text h1 {
    font-size: clamp(2.8rem, 11.3vw, 4.8rem);
  }
  .rehab-hero-aside p {
    font-size: 0.95rem;
  }
  .rehab-hero-gallery {
    margin-top: 0.55rem;
    grid-template-columns: 0.72fr 2.1fr 0.56fr;
    height: clamp(180px, 52vw, 275px);
  }
  .rehab-hero-index {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 0.7rem;
    min-height: 42px;
    font-size: 0.67rem;
  }
  .rehab-hero-index a {
    display: none;
  }
  .rehab-purpose-grid,
  .rehab-space-grid,
  .rehab-guides-grid,
  .rehab-visit-grid,
  .rehab-footer-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .rehab-purpose nav a {
    min-height: 55px;
  }
  .rehab-journey-heading .rehab-wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.6rem;
  }
  .rehab-journey-heading h2 br {
    display: none;
  }
  .rehab-journey-rail nav {
    justify-content: flex-start;
  }
  .rehab-journey-rail nav a {
    font-size: 0.72rem;
  }
  .rehab-panel,
  .rehab-panel:nth-child(2),
  .rehab-panel:nth-child(3) {
    width: 100%;
    margin: 0;
    grid-template-columns: minmax(0, 1fr);
    scroll-margin-top: 12px;
  }
  .rehab-panel:nth-child(2) figure {
    grid-column: 1;
  }
  .rehab-panel figure {
    min-height: 0;
    height: clamp(170px, 52vw, 290px);
  }
  .rehab-spaces-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.4rem;
  }
  .rehab-space-controls {
    grid-row: 2;
  }
  .rehab-space-media:not(.swiper-initialized) .swiper-wrapper {
    grid-template-columns: minmax(0, 1fr);
  }
  .rehab-space-select button {
    min-height: 58px;
  }
  .rehab-guide-list a {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.18rem 0.52rem;
  }
  .rehab-guide-list time {
    grid-column: 1/-1;
  }
  .rehab-footer-brand {
    border: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rehab-motion [data-rehab-reveal],
  .rehab-menu > summary span,
  .rehab-arrow-link span,
  .rehab-space-select button,
  .rehab-purpose nav a {
    transition: none;
  }
}
