@font-face {
  font-family: "FS Siena Web";
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src:
    url("fonts/FSSienaWeb-Thin.woff2") format("woff2"),
    url("fonts/FSSienaWeb-Thin.woff") format("woff");
}




@font-face {
  font-family: "FS Siena Web";
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src:
    url("fonts/FSSienaWeb-ExtraLight.woff2") format("woff2"),
    url("fonts/FSSienaWeb-ExtraLight.woff") format("woff");
}

@font-face {
  font-family: "FS Siena Web";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src:
    url("fonts/FSSienaWeb-Light.woff2") format("woff2"),
    url("fonts/FSSienaWeb-Light.woff") format("woff");
}

@font-face {
  font-family: "FS Siena Web";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src:
    url("fonts/FSSienaWeb-Regular.woff2") format("woff2"),
    url("fonts/FSSienaWeb-Regular.woff") format("woff");
}

@font-face {
  font-family: "FS Siena Web";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src:
    url("fonts/FSSienaWeb-Medium.woff2") format("woff2"),
    url("fonts/FSSienaWeb-Medium.woff") format("woff");
}

:root {
  --font-siena: "FS Siena Web", system-ui, -apple-system, "Segoe UI", sans-serif;
  --page-bg: #e9e8e2;
  --page-bg-dark: #322c29;
  --text-dark: #1a1a1a;
  --text-medium: #34393e;
  --text-light: #ffffff;
  --footer-bg: #322c29;
  --footer-text: #e9e8e2;
  --footer-muted: rgba(233, 232, 226, 0.72);
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 56px;
}

html,
body {
  margin: 0;
  padding: 0;
  background-color: var(--page-bg);
}

body {
  font-family: var(--font-siena);
  font-weight: 200;
  color: var(--text-dark);
  line-height: 1.5;
}

a[href^="mailto:"] {
  text-decoration: none;
}

a[href^="mailto:"]:hover,
a[href^="mailto:"]:focus-visible {
  text-decoration: underline;
}

b,
strong {
  font-weight: 500;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transform: translate3d(0, -100%, 0);
  pointer-events: none;
  opacity: 0;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease;
}

.site-nav.is-visible {
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
  opacity: 1;
}

.spacer-small {height:1.4rem;}

/* e.g. location.html: no hero, nav fixed at top from first paint */
body.page-location {
  padding-top: 3.5rem;
}

body.page-amenities {
  padding-top: 3.5rem;
}


body.page-amenities  .feature-image {
  width: 100vw;
  height: 90vh;
  background-image: url("../assets/images/45-charles-dining.webp");
  background-size: cover;
  background-position: center;
}

/* amenities.html — static 50/50: NOT .split-section--scroll-story (sticky+z-index would mask the rest of the page) */
body.page-amenities .amenities-split-section.split-section {
  position: relative;
  top: auto;
  z-index: auto;
  box-sizing: border-box;
  min-height: 80vh;
  height: 80vh;
  align-items: stretch;
  background-color: var(--page-bg);
}

body.page-amenities .amenities-split-section .split-right {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--page-bg-dark);
}

body.page-amenities .amenities-split-section .split-left {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  min-height: 0;
  height: 100%;
}

body.page-amenities .amenities-split-section .text-phase--a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  min-height: 0;
  width: 100%;
  margin: 0;
  color: #ffffff;
}

body.page-amenities .amenities-split-section .text-phase--a .text-item,
body.page-amenities .amenities-split-section .text-phase--a .text-item p,
body.page-amenities .amenities-split-section .text-phase--a .text-item .text-item-headline-line {
  color: #000000;
}

body.page-amenities
  .amenities-split-section
  .text-item[data-story-item="1"]
  .text-item-headline-mask {
  background-color: var(--page-bg);
}

/* Two blocks only: flow from top of column (no triple absolute story layout) */
body.page-amenities .amenities-split-section .text-stack--amenities {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 0;
}

body.page-amenities .amenities-split-section .text-stack--amenities .text-item {
  position: relative;
  top: auto;
  bottom: auto;
  left: auto;
  right: auto;
  transform: none;
}

body.page-amenities
  .amenities-split-section
  .text-stack--amenities
  .text-item[data-story-item="2"] {
  margin-top: auto;
}

body.page-amenities
  .amenities-split-section
  .text-stack--amenities
  .text-item[data-story-item="2"]
  .text-item-text-base {
  margin: 0;
}

body.page-amenities .text-item-text-base {
  font-size: clamp(1.6rem, 2.4vw, 3.04rem);
  letter-spacing: 0.04em;
}

body.page-amenities .amenities-feature-grid {
  width: var(--image-size);
  max-width: 100%;
  margin: 0;
  padding: 0.75rem 0.25rem;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, auto);
  gap: clamp(1rem, 2.5vw, 1.5rem) clamp(0.85rem, 2vw, 1.35rem);
  align-content: start;
  box-sizing: border-box;
}

body.page-amenities .amenities-feature-grid__item {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 0.5rem;

}

body.page-amenities .amenities-feature-grid__icon {
  display: block;
  width: 80px;
  height: 80px;
  object-fit: contain;
}

body.page-amenities .amenities-feature-grid__text {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.35;
}

/* plans.html — nav fixed like location; static 50/50 intro above accordion */
body.page-plans {
  --plans-content-max: 1100px;
  padding-top: 3.5rem;
}

/* Match accordion content width (.floor-plans-accordion-inner: max-width 1100px + section padding 1.2rem) */
body.page-plans .plans-split-section.split-section {
  position: relative;
  box-sizing: border-box;
  display: block;
  padding-left: 1.2rem;
  padding-right: 1.2rem;
  min-height: unset;
  height: auto;
  background: var(--page-bg-dark);
}

body.page-plans .plans-split-inner {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  box-sizing: border-box;
  width: 100%;
  min-height: unset;
  height: auto;
  margin: 0 auto;
}

body.page-plans .plans-split-section .split-left {
  display: flex;
  align-items:flex-start;
  justify-content: flex-start;
  padding-left:2.3rem
}

body.page-plans .plans-split-section .split-right {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

body.page-plans .plans-split-section .text-phase--a {
  width: 100%;
}

body.page-plans .plans-split-section .text-phase--a .text-item,
body.page-plans .plans-split-section .text-phase--a .text-item .text-item-headline-line {
  color: var(--text-light);
}

body.page-plans
  .plans-split-section
  .text-item[data-story-item="1"]
  .text-item-headline-mask {
  background-color: var(--page-bg-dark);
}

body.page-plans .plans-split-section .text-stack--plans {
  position: relative;
  width: 100%;
  min-height: unset;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}

body.page-plans .plans-split-section .text-stack--plans .text-item {
  position: relative;
  top: auto;
  bottom: auto;
  left: auto;
  right: auto;
  transform: none;
}

body.page-plans .plans-split-placeholder {
  margin: 0;
  max-width: 36em;
}

body.page-plans .plans-split-placeholder p {
  margin: 0;
  font-size: clamp(1.44rem, 1.52vw, 1.72rem);
  line-height:  2.4rem;
  font-weight: 200;
  letter-spacing: 0.1rem;
  color: var(--text-light);
  text-transform: uppercase;
}

.site-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 52px;
  padding: 0.35rem 1.25rem;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(10px);
}

.site-nav-logo {


  text-decoration: none;
  color: var(--text-dark);
  white-space: nowrap;
  padding-left: 1.8rem;
}

.site-nav-logo img {
  height: 12px;
  width: auto;
  object-fit: contain;
  object-position: left center;
}

.site-nav-logo:hover {
  opacity: 0.75;
}

.site-nav-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 1.25rem;
  padding-right:1.8rem;
}

/* Nav links: two-line roll-up (overflow clip + stack translate), a la “rollover” menus */
.site-nav-link {
  position: relative;
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #444;
  padding: 0.35rem 0;
  line-height: 1.05;
  vertical-align: top;
}

.site-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.site-nav-link:hover::after,
.site-nav-link:focus-visible::after,
.site-nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav-link[aria-current="page"] {
  color: var(--text-dark);
}

.site-nav-link__sizer {
  display: block;
  overflow: hidden;
  height: 1.05em;
  line-height: 1.05;
}

.site-nav-link__stack {
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav-link__line {
  display: block;
  line-height: 1.35;
  white-space: nowrap;
}

.site-nav-link:hover,
.site-nav-link:focus-visible {
  color: var(--text-dark);
}

.site-nav-link:hover .site-nav-link__stack,
.site-nav-link:focus-visible .site-nav-link__stack {
  transform: translate3d(0, -50%, 0);
}

.site-nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  color: #f2f2f2;
}

.site-nav-burger:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.site-nav-burger-bar {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}

.site-nav--menu-open .site-nav-burger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-nav--menu-open .site-nav-burger-bar:nth-child(2) {
  opacity: 0;
}

.site-nav--menu-open .site-nav-burger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 600px) {
  body.site-nav-mobile-open {
    overflow: hidden;
  }

  :root {
    /* Overlay top: overridden on <html> via JS (nav bar height); fallback until measure */
    --site-nav-mobile-overlay-top: calc(3.25rem + env(safe-area-inset-top, 0px));
    --site-nav-mobile-backdrop-dur: 0.34s;
    --site-nav-mobile-links-delay: 0.2s;
  }

  /*
   * Wave backdrop on body — .site-nav uses transform, which traps fixed/::before to a ~header-tall
   * box so ::before on .site-nav had no visible area. Fixed layer here sits under nav (z-index 1000).
   */
  body::before {
    content: "";
    position: fixed;
    left: 0;
    right: 0;
    top: var(--site-nav-mobile-overlay-top);
    bottom: 0;
    z-index: 999;
    pointer-events: none;
    background-color: var(--page-bg-dark);
    background-image: url("../assets/images/waves.jpg");
    background-image: image-set(
      url("../assets/images/waves-mobile.webp") type("image/webp"),
      url("../assets/images/waves.jpg") type("image/jpeg")
    );
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity var(--site-nav-mobile-backdrop-dur) ease,
      visibility 0s linear var(--site-nav-mobile-backdrop-dur);
  }



  body.site-nav-mobile-open::before {
    opacity: 1;
    visibility: visible;
    transition:
      opacity var(--site-nav-mobile-backdrop-dur) ease,
      visibility 0s linear 0s;
  }

  .site-nav-inner {
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    row-gap: 0;
    padding-top: calc(0.35rem + env(safe-area-inset-top, 0px));
    padding-left: calc(1.25rem + env(safe-area-inset-left, 0px));
    padding-right: calc(1.25rem + env(safe-area-inset-right, 0px));
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(10px);
  }

  .site-nav--menu-open .site-nav-inner {
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  }

  .site-nav-burger {
    display: inline-flex;
    margin-left: auto;
    margin-right: 0rem;
    color: var(--text-dark);
  }

  .site-nav-burger:focus-visible {
    outline: 2px solid var(--text-dark);
    outline-offset: 2px;
  }

  .site-nav-logo {
    color: var(--text-dark);
    padding-left: 0rem;
  }

  .site-nav-logo img {
    filter: none;
  }

  /* Menu: no horizontal slide; full area above backdrop for links only */
  .site-nav:not(.site-nav--menu-open) .site-nav-menu {
    transform: none;
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0s linear var(--site-nav-mobile-backdrop-dur);
  }

  .site-nav--menu-open .site-nav-menu {
    transform: none;
    pointer-events: auto;
    visibility: visible;
    transition: visibility 0s linear 0s;
  }

  .site-nav-menu {
    order: 3;
    display: flex;
    position: fixed;
    z-index: 1;
    left: 0;
    right: 0;
    top: var(--site-nav-mobile-overlay-top);
    width: 100%;
    height: calc(100vh - var(--site-nav-mobile-overlay-top));
    height: calc(100dvh - var(--site-nav-mobile-overlay-top));
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 0 calc(1.25rem + env(safe-area-inset-right, 0px)) 0
      calc(1.25rem + env(safe-area-inset-left, 0px));
    padding-top: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-top: none;
    background: transparent;
  }

  .site-nav-menu > .site-nav-link:first-of-type {
    padding-top: 2.5rem;
  }

  /* Each link: text rises from behind an overflow clip (mask), same timing on open */
  .site-nav-menu .site-nav-link {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.9rem;
    font-weight: 200;
    letter-spacing: 0.08em;
    padding: 0.4rem 0;
    border-bottom: none;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    opacity: 1;
    transform: none;
  }

  .site-nav-menu .site-nav-link .site-nav-link__stack {
    display: block;
    transform: translate3d(0, 108%, 0);
    transition: transform 0.48s cubic-bezier(0.16, 1, 0.32, 1);
    transition-delay: 0s;
    will-change: transform;
  }

  .site-nav--menu-open .site-nav-menu .site-nav-link .site-nav-link__stack {
    transform: translate3d(0, 0, 0);
    transition-delay: var(--site-nav-mobile-links-delay);
  }

  .site-nav:not(.site-nav--menu-open) .site-nav-menu .site-nav-link .site-nav-link__stack {
    transform: translate3d(0, 108%, 0);
    transition-delay: 0s;
  }

  .site-nav-link[aria-current="page"] {
    color: #ffffff;
  }

  .site-nav-link::after {
    display: none;
  }

  .site-nav-link:hover,
  .site-nav-link:focus-visible {
    color: #ffffff;
  }

  .site-nav-link:hover .site-nav-link__stack,
  .site-nav-link:focus-visible .site-nav-link__stack {
    transform: translate3d(0, 0, 0);
  }

  .site-nav-link__sizer {
    height: auto;
    overflow: visible;
  }

  .site-nav-menu .site-nav-link .site-nav-link__sizer {
    overflow: hidden;
    display: block;
  }

  .site-nav-link__stack .site-nav-link__line:nth-child(2) {
    display: none;
  }

  .plans-fullscreen-image {height:auto!important;}


}

@media (max-width: 600px) and (prefers-reduced-motion: reduce) {
  body::before,
  body.site-nav-mobile-open::before {
    transition: none;
  }

  body:not(.site-nav-mobile-open)::before {
    opacity: 0;
    visibility: hidden;
  }

  body.site-nav-mobile-open::before {
    opacity: 1;
    visibility: visible;
  }

  .site-nav:not(.site-nav--menu-open) .site-nav-menu,
  .site-nav--menu-open .site-nav-menu {
    transition-duration: 0.01ms;
  }

  .site-nav:not(.site-nav--menu-open) .site-nav-menu {
    display: none;
  }

  .site-nav--menu-open .site-nav-menu {
    display: flex;
    transform: none;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav-menu .site-nav-link,
  .site-nav--menu-open .site-nav-menu .site-nav-link {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .site-nav-menu .site-nav-link .site-nav-link__stack,
  .site-nav--menu-open .site-nav-menu .site-nav-link .site-nav-link__stack {
    transform: none;
    transition: none;
    will-change: auto;
  }

  .site-nav-burger-bar {
    transition-duration: 0.01ms;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav {
    transition-duration: 0.01ms;
  }

  .site-nav-link__stack {
    transition-duration: 0.01ms;
  }

  .site-nav-link::after {
    transition-duration: 0.01ms;
  }

  .site-nav-link:hover .site-nav-link__stack,
  .site-nav-link:focus-visible .site-nav-link__stack {
    transform: none;
  }



  #panel--brand-intro__logo svg#Layer_1 {
    opacity: 1;
    filter: none;
    animation: none;
    will-change: auto;
  }
}
.text-item-text-top {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.9rem);
  line-height: clamp(1.3, 1.45vw, 1.55);
  font-weight: 100;
  letter-spacing: 0.04em;
  color: var(--text-medium);
  text-align: left;
}

.text-item-text-base {
  margin: 0;
  font-size: 1.52vw;
  line-height:  2.4rem;
  font-weight: 200;
  letter-spacing: 0.1rem;
  color: var(--text-medium);
  text-align: left;
  text-transform: uppercase;
}




.hero {
  width: 100%;
  height: 100vh;
  background-image: url("../assets/images/waves.jpg");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(0, 0, 0, 0.15);
  padding: 1rem;
}

#panel--brand-intro__logo {
  width: 100%;
  max-width: 740px;
  padding: 0 1rem;
  margin: 0 auto;
}

#panel--brand-intro__logo img {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  opacity: 0;
  filter: blur(14px);
  animation: brandLogoReveal 1.45s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
  will-change: opacity, filter;
}

#panel--brand-intro__logo svg#Layer_1 .cls-3 {
  fill: #ffffff;
}



@keyframes brandLogoReveal {
  0% {
    opacity: 0;
    filter: blur(14px);
  }
  60% {
    opacity: 0.72;
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
  }
}

.arrow {
  position: absolute;
  left: 50%;
  bottom: clamp(1.2rem, 3.5vh, 2.5rem);
  transform: translateX(-50%);
  z-index: 2;
  opacity: 1;
  animation: downArrowFloat 2.3s ease-in-out infinite;
}

.arrow img {
  display: block;
  width: clamp(24px, 2.2vw, 42px);
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
  opacity: 1;
}

@keyframes downArrowFloat {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

.strapline {
  color: var(--text-light);
  font-size: clamp(2rem, 4vw, 4rem);
  max-width: 900px;
  margin: 0;
}

.split-scroll-gate {
  position: relative;
  min-height: calc(10 * 100vh);
  background: var(--page-bg);
}

/* Shorter run-out to the next section after the third split stage (location) */
body.page-location .split-scroll-gate {
  min-height: calc(6.5 * 100vh);
}

/* index + location — stacked split stories (no scroll gate on index; location mirrors index structure) */
body.page-home .page-home-split-story,
body.page-location .page-home-split-story {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  align-items: stretch;
  background: var(--page-bg);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  /* Image column is full 50vw; padding lives only on .split-left (text) */
  --image-size: 50vw;
  --home-split-text-inset-y: clamp(2.25rem, 6vh, 5rem);
}

/* Text column: top inset for headline; default tight bottom (reverse panel overrides below) */
body.page-home .page-home-split-story > .split-left,
body.page-location .page-home-split-story > .split-left {
  align-items: flex-start;
  padding-top: var(--home-split-text-inset-y);
  padding-bottom: clamp(0.35rem, 1vw, 0.85rem);
  padding-left: var(--split-padding);
  padding-right: var(--split-padding);
}

/* Non-reverse story columns: bottom padding matches top headline inset */
body.page-home .page-home-split-story:not(.page-home-split-story--reverse) > .split-left,
body.page-location .page-home-split-story:not(.page-home-split-story--reverse) > .split-left {
  padding-bottom: var(--home-split-text-inset-y);
}

/* #story + Workspace experience (--dark): stretch stack to full .split-left height — body at column base */
body.page-home .page-home-split-story#story > .split-left,
body.page-location .page-home-split-story#story > .split-left,
body.page-home .page-home-split-story.page-home-split-story--dark > .split-left,
body.page-location .page-home-split-story.page-home-split-story--dark > .split-left {
  flex-direction: column;
  align-items: stretch;
}

body.page-home .page-home-split-story#story > .split-left .text-phase,
body.page-location .page-home-split-story#story > .split-left .text-phase,
body.page-home .page-home-split-story.page-home-split-story--dark > .split-left .text-phase,
body.page-location .page-home-split-story.page-home-split-story--dark > .split-left .text-phase {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
}

body.page-home .page-home-split-story#story .text-stack.text-stack--story,
body.page-location .page-home-split-story#story .text-stack.text-stack--story,
body.page-home .page-home-split-story.page-home-split-story--dark .text-stack.text-stack--story,
body.page-location .page-home-split-story.page-home-split-story--dark .text-stack.text-stack--story {
  flex: 1 1 auto;
  min-height: var(--image-stack-height);
  height: auto;
}

body.page-home .page-home-split-story#story .text-stack--story .text-item[data-story-item="0"],
body.page-location .page-home-split-story#story .text-stack--story .text-item[data-story-item="0"],
body.page-home .page-home-split-story.page-home-split-story--dark .text-stack--story .text-item[data-story-item="0"],
body.page-location .page-home-split-story.page-home-split-story--dark .text-stack--story .text-item[data-story-item="0"] {
  top: auto;
  bottom: 0;
  transform: none;
}

/* 2nd panel (--reverse): body at top, headline at bottom; same insets */
body.page-home .page-home-split-story.page-home-split-story--reverse .text-stack--story .text-item[data-story-item="0"],
body.page-location .page-home-split-story.page-home-split-story--reverse .text-stack--story .text-item[data-story-item="0"] {
  top: var(--home-split-text-inset-y);
  bottom: auto;
}

body.page-home .page-home-split-story.page-home-split-story--reverse .text-stack--story .text-item[data-story-item="1"],
body.page-location .page-home-split-story.page-home-split-story--reverse .text-stack--story .text-item[data-story-item="1"] {
  top: auto;
  bottom: 0;
  transform: none;
}

/* Body-first row: stretch column so headline sits on base of .split-left (+ bottom inset padding) */
body.page-home .page-home-split-story.page-home-split-story--reverse > .split-left,
body.page-location .page-home-split-story.page-home-split-story--reverse > .split-left {
  padding-top: 0;
  padding-bottom: var(--home-split-text-inset-y);
  flex-direction: column;
  align-items: stretch;
}

body.page-home .page-home-split-story.page-home-split-story--reverse > .split-left .text-phase,
body.page-location .page-home-split-story.page-home-split-story--reverse > .split-left .text-phase {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
}

body.page-home .page-home-split-story.page-home-split-story--reverse .text-stack.text-stack--story,
body.page-location .page-home-split-story.page-home-split-story--reverse .text-stack.text-stack--story {
  flex: 1 1 auto;
  min-height: var(--image-stack-height);
  height: auto;
}

/* Image half: no padding — true 50% width; stack fills column height (no top/bottom gap) */
body.page-home .page-home-split-story > .split-right,
body.page-location .page-home-split-story > .split-right {
  display: flex;
  flex-direction: column;
  padding: 0;
  align-items: stretch;
}

body.page-home .page-home-split-story .split-image-stack,
body.page-location .page-home-split-story .split-image-stack {
  width: 100%;
  max-width: none;
  flex: 1 1 auto;
  min-height: 100vh;
  height: auto;
  aspect-ratio: unset;
}

body.page-home .page-home-split-story--dark,
body.page-location .page-home-split-story--dark {
  background: #322c29;
  color: #ffffff;
}

body.page-home .page-home-split-story--dark .text-stack--story .text-item[data-story-item="1"] .text-item-headline-mask,
body.page-location .page-home-split-story--dark .text-stack--story .text-item[data-story-item="1"] .text-item-headline-mask {
  background-color: #322c29;
}

body.page-home .page-home-split-story--dark .text-stack--story .text-item,
body.page-location .page-home-split-story--dark .text-stack--story .text-item,
body.page-home .page-home-split-story--dark .text-stack--story .text-item p,
body.page-location .page-home-split-story--dark .text-stack--story .text-item p,
body.page-home .page-home-split-story--dark .text-stack--story .text-item .text-item-headline-line,
body.page-location .page-home-split-story--dark .text-stack--story .text-item .text-item-headline-line {
  color: #ffffff;
}

body.page-home .page-home-split-image--solo .split-image-layer,
body.page-location .page-home-split-image--solo .split-image-layer {
  opacity: 1;
}

/* Match former scroll-gate story motion timing */
body.page-home .page-home-split-story .text-stack--story .text-item,
body.page-location .page-home-split-story .text-stack--story .text-item {
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.page-home .page-home-split-story .text-stack--story .text-item[data-story-item="1"] .text-item-headline-line,
body.page-location .page-home-split-story .text-stack--story .text-item[data-story-item="1"] .text-item-headline-line {
  transition-duration: 0.48s;
  transition-delay: 0s;
}

body.page-home
  .page-home-split-story
  .text-stack--story
  .text-item[data-story-item="1"].is-revealed
  .text-item-headline-line,
body.page-location
  .page-home-split-story
  .text-stack--story
  .text-item[data-story-item="1"].is-revealed
  .text-item-headline-line {
  transition-delay: 0s;
}

body.page-home
  .page-home-split-story
  .text-stack--story
  .text-item[data-story-item="1"].is-revealed
  .text-item-headline-mask
  + .text-item-headline-mask
  .text-item-headline-line,
body.page-location
  .page-home-split-story
  .text-stack--story
  .text-item[data-story-item="1"].is-revealed
  .text-item-headline-mask
  + .text-item-headline-mask
  .text-item-headline-line {
  transition-duration: 0.48s;
  transition-delay: 0.12s;
}

body.page-home .page-home-split-story .text-stack--story .text-item .text-item-text-top,
body.page-location .page-home-split-story .text-stack--story .text-item .text-item-text-top,
body.page-home .page-home-split-story .text-stack--story .text-item .text-item-text-base,
body.page-location .page-home-split-story .text-stack--story .text-item .text-item-text-base {
  transition:
    transform 0.48s cubic-bezier(0.22, 1, 0.32, 1),
    opacity 0.35s ease;
}

/* 2nd story: image on left, copy on right (DOM unchanged; IO + is-revealed unchanged) */
@media (min-width: 601px) {
  body.page-home .page-home-split-story.page-home-split-story--reverse,
  body.page-location .page-home-split-story.page-home-split-story--reverse {
    flex-direction: row-reverse;
  }
}

@media (max-width: 600px) {
  body.page-home .page-home-split-story.page-home-split-story--reverse,
  body.page-location .page-home-split-story.page-home-split-story--reverse {
    flex-direction: column-reverse;
  }
}

/* index — keep split-left text frame flush with top of split-right image (same height as --image-stack-height) */
body.page-home .split-section.split-section--scroll-story {
  align-items: flex-start;
}

/* index — static BREEAM / sustainability split (no scroll-story sticky) */
body.page-home .home-breeam-split {
  position: relative;
  z-index: 1;
  min-height: auto;
  align-items: center;
  background: var(--page-bg);
  box-sizing: border-box;
}

body.page-home .home-breeam-split.dark-bg {
  background: var(--page-bg-dark);
  color: var(--text-light);
}

body.page-home
  .home-breeam-split.dark-bg
  .text-stack--home-breeam
  .text-item[data-story-item="1"]
  .text-item-headline-mask {
  background-color: var(--page-bg-dark);
}

body.page-home
  .home-breeam-split.dark-bg
  .text-stack--home-breeam
  .text-item[data-story-item="1"]
  .text-item-headline-line {
  color: var(--text-light);
}

body.page-home .home-breeam-split.dark-bg .text-stack--home-breeam .text-item-text-base {
  color: var(--text-light);
}

body.page-home .home-breeam-split.dark-bg .offices-spec-caption.dark h3,
body.page-home .home-breeam-split.dark-bg .offices-spec-caption.dark span {
  color: var(--text-light);
}

body.page-home .home-breeam-split .split-left,
body.page-home .home-breeam-split .split-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Sustainability sections — no vertical padding on icon/text column (horizontal stays --split-padding) */
body.page-home .home-breeam-split .split-left {
  padding-top: 0;
  padding-bottom: 0;
}

body.page-home .home-breeam-split.home-breeam-split--headline-reveal {
  align-items: stretch;
}

body.page-home .home-breeam-split.home-breeam-split--headline-reveal .split-left,
body.page-home .home-breeam-split.home-breeam-split--headline-reveal .split-right {
  align-items: flex-start;
}

/* Stretch left column to match grid height; pin body copy to bottom (baseline with last icon row). */
body.page-home .home-breeam-split.home-breeam-split--headline-reveal .split-left {
  align-items: stretch;
  justify-content: flex-start;
}

body.page-home .home-breeam-split.home-breeam-split--headline-reveal .split-left .text-phase {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
}

/* First block only: icon grid left, headline + copy right — mirror text-column flex layout onto .split-right */
body.page-home .home-breeam-split.home-breeam-split--swap-cols.home-breeam-split--headline-reveal .split-left {
  align-items: flex-start;
  justify-content: flex-start;
}

body.page-home .home-breeam-split.home-breeam-split--swap-cols.home-breeam-split--headline-reveal .split-right {
  align-items: flex-start;
  justify-content: flex-start;
}

body.page-home .home-breeam-split.home-breeam-split--swap-cols.home-breeam-split--headline-reveal .split-right .text-phase {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
}

body.page-home .home-breeam-split.home-breeam-split--headline-reveal .text-stack--home-breeam {
  flex: 1 1 auto;
  min-height: 0;
  gap: 0;
}

body.page-home
  .home-breeam-split--headline-reveal
  .text-stack--home-breeam
  .text-item[data-story-item="0"] {
  margin-top: auto;
}

/* First BREEAM block: body on top, headline at bottom */
body.page-home
  .home-breeam-split--swap-cols.home-breeam-split--headline-reveal
  .text-stack--home-breeam
  .text-item[data-story-item="0"] {
  margin-top: 0;
}

body.page-home .home-breeam-split.home-breeam-split--swap-cols .text-stack--home-breeam {
  flex-direction: column-reverse;
  justify-content: space-between;
}

/* Swap BREEAM (desktop): two-column row, full-width cells; text stack height set in JS to match .home-breeam-grid */
@media (min-width: 601px) {
  body.page-home
    .home-breeam-split.home-breeam-split--swap-cols.home-breeam-split--headline-reveal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  body.page-home
    .home-breeam-split.home-breeam-split--swap-cols.home-breeam-split--headline-reveal
    .split-left,
  body.page-home
    .home-breeam-split.home-breeam-split--swap-cols.home-breeam-split--headline-reveal
    .split-right {
    width: 100%;
  }

  body.page-home
    .home-breeam-split.home-breeam-split--swap-cols.home-breeam-split--headline-reveal
    .text-stack--home-breeam {
    flex: 0 0 auto;
    min-height: 0;
  }
}

body.page-home .home-breeam-split .split-right.dark-bg {
  align-self: stretch;
  background-color: var(--page-bg-dark);
}

body.page-home .home-breeam-split .split-right.dark-bg .home-breeam-grid__text {
  color: var(--text-light);
}

body.page-home .text-stack--home-breeam {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: clamp(1.25rem, 3vw, 2rem);
}

body.page-home .text-stack--home-breeam .text-item {
  position: relative;
  top: auto;
  bottom: auto;
  left: auto;
  right: auto;
  transform: none;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  margin: 0;
  padding: 0;
}

body.page-home .text-stack--home-breeam .text-item[data-story-item="1"] {
  top: auto;
  transform: none;
}

body.page-home .text-stack--home-breeam .text-item[data-story-item="1"] .text-item-headline-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

body.page-home .text-stack--home-breeam .text-item[data-story-item="1"] .text-item-headline-mask {
  overflow: hidden;
  display: block;
  width: 100%;
  max-width: 100%;
  background-color: var(--page-bg);
}

body.page-home .text-stack--home-breeam .text-item[data-story-item="1"] .text-item-headline-line {
  display: block;
  margin: 0;
  font-weight: 100;
  font-size: clamp(2rem, 4.3vw, 5rem);
  letter-spacing: 0.15em;
  line-height: clamp(2.2rem, 4.8vw, 5.6rem);
  transform: none;
  color: var(--text-dark);
}

/* home-breeam-split--headline-reveal — match .text-stack--story mask slide-up */
body.page-home
  .home-breeam-split--headline-reveal
  .text-stack--home-breeam
  .text-item[data-story-item="1"]
  .text-item-headline-line {
  transform: translate3d(0, 108%, 0);
  transition: transform 0.72s cubic-bezier(0.22, 1, 0.32, 1);
  transition-delay: 0.58s;
  will-change: transform;
}

body.page-home
  .home-breeam-split--headline-reveal
  .text-stack--home-breeam
  .text-item[data-story-item="1"]
  .text-item-headline-mask
  + .text-item-headline-mask
  .text-item-headline-line {
  transition-duration: 0.72s;
  transition-delay: 0s;
}

/* Swap BREEAM: headlines start ~20% lower before mask reveal (108% → ~130%) */
body.page-home
  .home-breeam-split--swap-cols.home-breeam-split--headline-reveal
  .text-stack--home-breeam
  .text-item[data-story-item="1"]
  .text-item-headline-line {
  transform: translate3d(0, 130%, 0);
}

body.page-home
  .home-breeam-split--headline-reveal
  .text-stack--home-breeam
  .text-item[data-story-item="1"].is-revealed
  .text-item-headline-line {
  transform: translate3d(0, 0, 0);
  transition-delay: 0s;
}

body.page-home
  .home-breeam-split--headline-reveal.page-location .text-phase--a .text-item, .page-location .text-phase--a .text-item p, .page-location .text-phase--a .text-item .text-item-headline-line
  .text-stack--home-breeam
  .text-item[data-story-item="1"].is-revealed
  .text-item-headline-mask
  + .text-item-headline-mask
  .text-item-headline-line {
  transition-delay: 0.58s;
}

/* swap-cols only: headline lines reveal per mask (JS timers); not whole article.is-revealed */
body.page-home
  .home-breeam-split--swap-cols.home-breeam-split--headline-reveal
  .text-stack--home-breeam
  .text-item[data-story-item="1"]
  .text-item-headline-mask.is-revealed
  .text-item-headline-line {
  transform: translate3d(0, 0, 0);
  transition-delay: 0s;
}

/* home-breeam-split--headline-reveal — body copy slide-up (match .text-stack--story) */
body.page-home
  .home-breeam-split--headline-reveal
  .text-stack--home-breeam
  .text-item[data-story-item="0"] {
  overflow: hidden;
}

body.page-home
  .home-breeam-split--headline-reveal
  .text-stack--home-breeam
  .text-item[data-story-item="0"]
  .text-item-text-base {
  display: block;
  transform: translate3d(0, 108%, 0);
  opacity: 0;
  transition:
    transform 0.72s cubic-bezier(0.22, 1, 0.32, 1),
    opacity 0.5s ease;
  will-change: transform, opacity;
}

body.page-home
  .home-breeam-split--headline-reveal
  .text-stack--home-breeam
  .text-item[data-story-item="0"].is-revealed
  .text-item-text-base {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}



@media (min-width: 901px) {
  body.page-home
    .home-breeam-split--headline-reveal
    .text-stack--home-breeam
    .text-item[data-story-item="1"]
    .text-item-headline-line {
    font-size: clamp(2.4rem, 5.16vw, 6rem);
    line-height: clamp(2.64rem, 5.76vw, 6.72rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-home
    .home-breeam-split--headline-reveal
    .text-stack--home-breeam
    .text-item[data-story-item="1"]
    .text-item-headline-line {
    transform: none;
    transition: none;
    transition-delay: 0s;
  }

  body.page-home
    .home-breeam-split--swap-cols.home-breeam-split--headline-reveal
    .text-stack--home-breeam
    .text-item[data-story-item="1"]
    .text-item-headline-mask.is-revealed
    .text-item-headline-line {
    transform: none;
    transition: none;
    transition-delay: 0s;
  }

  body.page-home
    .home-breeam-split--headline-reveal
    .text-stack--home-breeam
    .text-item[data-story-item="0"]
    .text-item-text-base {
    transform: none;
    opacity: 1;
    transition: none;
  }
}

body.page-home .home-breeam-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, auto);
  gap: clamp(1rem, 5vw, 5rem) clamp(0.85rem, 3vw, 1rem);
  width: 100%;
  max-width: var(--image-size);
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

body.page-home .home-breeam-grid__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 0.5rem;
}

body.page-home .home-breeam-grid__icon {
  display: block;
  width: clamp(56px, 12vw, 100px);
  height: auto;
  object-fit: contain;
}

body.page-home .home-breeam-grid__text {
  margin: 0;
  font-family: var(--font-siena);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1.35;
  color: var(--text-dark);
  max-width: 12rem;
}

.split-section {
  min-height: 70vh;
  display: flex;
  width: 100%;
  align-items: center;
  --split-padding: 3rem;
  --image-size: min(calc(50vw - (var(--split-padding) * 2)), 720px);
  /* Match split image assets (e.g. 1767×1567), slightly wider than tall */
  --split-image-aspect-w: 1767;
  --split-image-aspect-h: 1567;
  --image-stack-height: calc(
    var(--image-size) * var(--split-image-aspect-h) / var(--split-image-aspect-w)
  );
}


.padding-4rem {
  padding: 4rem 0;
}

.split-section--scroll-story {
  position: sticky;
  top: 0;
  min-height: 100vh;
  z-index: 2;
  background: var(--page-bg);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.split-left {
  width: 50%;
  padding: var(--split-padding);
}

.split-right {
  width: 50%;

}

.split-left {
  display: flex;
  justify-content: center;
  position: relative;
}

.text-phase {
  width: 100%;
  display: flex;
  flex-direction: column;

}

.text-phase--b {
  display: none;
}

.text-phase--c {
  display: none;
}

.split-scroll-gate.is-phase-b .text-phase--a {
  display: none;
}

.split-scroll-gate.is-phase-b .text-phase--b {
  display: flex;
}

.split-scroll-gate.is-phase-c .text-phase--a,
.split-scroll-gate.is-phase-c .text-phase--b {
  display: none;
}

.split-scroll-gate.is-phase-c .text-phase--c {
  display: flex;
}

.split-scroll-gate.is-phase-c .split-section--scroll-story {
  background: #322c29;
}


.page-location .split-scroll-gate.is-phase-c .split-section--scroll-story {
  background: none;
}

.split-scroll-gate.is-phase-c .text-phase--c .text-item,
.split-scroll-gate.is-phase-c .text-phase--c .text-item p,
.split-scroll-gate.is-phase-c .text-phase--c .text-item h2,
.split-scroll-gate.is-phase-c .text-phase--c .text-item .text-item-headline-line {
  color: #ffffff;
}


.page-location .split-scroll-gate.is-phase-c .text-phase--c .text-item,
.page-location .split-scroll-gate.is-phase-c .text-phase--c .text-item p,
.page-location .split-scroll-gate.is-phase-c .text-phase--c .text-item h2,
.page-location .split-scroll-gate.is-phase-c .text-phase--c .text-item .text-item-headline-line {
  color: #000000;
}

.split-scroll-gate.is-phase-c
  .text-phase--c
  .text-item[data-story-item="1"]
  .text-item-headline-mask {
  background-color: #322c29;
}

.page-location .split-scroll-gate.is-phase-c
  .text-phase--c
  .text-item[data-story-item="1"]
  .text-item-headline-mask {
    background-color: var(--page-bg);
}

/* location.html — full 50/50 split in phase A */
.page-location
  .split-scroll-gate:not(.is-phase-b):not(.is-phase-c)
  .split-section--scroll-story {
  background: #322c29;
}

.page-location .text-phase--a {
  color: #ffffff;
}

.page-location .text-phase--a .text-item,
.page-location .text-phase--a .text-item p,
.page-location .text-phase--a .text-item .text-item-headline-line {
  color: #000000;
}



.page-location
  .split-scroll-gate:not(.is-phase-b):not(.is-phase-c)
  .split-image-hint {
  color: rgba(255, 255, 255, 0.6);
}

.text-stack {
  width: min(100%);
  height: var(--image-stack-height);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.text-stack--story {
  position: relative;
  justify-content: unset;
  gap: 0;
}

.text-item {
  max-width: 100%;
}

.text-stack--story .text-item {
  position: absolute;
  left: 0;
  right: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.split-scroll-gate .text-stack--story .text-item {
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.text-stack--story .text-item[data-story-item="0"] {
  top: 0;
  transform: none;
  overflow: hidden;
}

.text-stack--story .text-item[data-story-item="1"] {
  top: 50%;
  transform: translateY(-50%);
}

.text-stack--story .text-item[data-story-item="2"] {
  top: auto;
  bottom: 0;
  transform: none;
  overflow: hidden;
}

/* index + location (stacked 50/50 story sections): match split-right image frame */
body.page-home .text-stack--story .text-item[data-story-item="1"],
body.page-location .text-stack--story .text-item[data-story-item="1"] {
  top: 0;
  bottom: auto;
  transform: none;
}

body.page-home .text-stack--story .text-item[data-story-item="0"],
body.page-location .text-stack--story .text-item[data-story-item="0"] {
  top: auto;
  bottom: 0;
  transform: none;
}

body.page-home .text-stack--story .text-item[data-story-item="2"],
body.page-location .text-stack--story .text-item[data-story-item="2"] {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
}

.text-stack--story .text-item.is-revealed {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.text-stack--story .text-item[data-story-item="1"] .text-item-headline-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.text-stack--story .text-item[data-story-item="1"] .text-item-headline-mask {
  overflow: hidden;
  display: block;
  width: 100%;
  max-width: 100%;
  background-color: var(--page-bg);
}

.text-stack--story .text-item[data-story-item="1"] .text-item-headline-line {
  display: block;
  margin: 0;
  font-weight: 100;
  font-size: clamp(2rem, 4.3vw, 5rem);
  letter-spacing: 0.15em;
  line-height: clamp(2.2rem, 4.8vw, 5.7rem);
  transform: translate3d(0, 108%, 0);
  transition: transform 0.72s cubic-bezier(0.22, 1, 0.32, 1);
  transition-delay: 0.58s;
  will-change: transform;
}

@media (min-width: 901px) {
  .text-stack--story .text-item[data-story-item="1"] .text-item-headline-line {
    font-size: clamp(2.4rem, 5.16vw, 6rem);
  line-height: clamp(2.2rem, 4.8vw, 5.7rem);
  }

  .text-item h2 {
    font-size: clamp(2.4rem, 5.16vw, 6rem);
    line-height: clamp(2.64rem, 5.76vw, 6.72rem);
  }
}

.text-stack--story
  .text-item[data-story-item="1"]
  .text-item-headline-mask
  + .text-item-headline-mask
  .text-item-headline-line {
  transition-duration: 0.72s;
  transition-delay: 0s;
}

.text-stack--story .text-item[data-story-item="1"].is-revealed .text-item-headline-line {
  transform: translate3d(0, 0, 0);
  transition-delay: 0s;
}

.text-stack--story
  .text-item[data-story-item="1"].is-revealed
  .text-item-headline-mask
  + .text-item-headline-mask
  .text-item-headline-line {
  transition-delay: 0.58s;
}

/* index + location scroll gate: faster in-view headline/body motion */
.split-scroll-gate .text-stack--story .text-item[data-story-item="1"] .text-item-headline-line {
  transition-duration: 0.48s;
  transition-delay: 0.05s;
}

.split-scroll-gate .text-stack--story .text-item[data-story-item="1"].is-revealed .text-item-headline-line {
  transition-delay: 0s;
}

.split-scroll-gate
  .text-stack--story
  .text-item[data-story-item="1"].is-revealed
  .text-item-headline-mask
  + .text-item-headline-mask
  .text-item-headline-line {
  transition-duration: 0.48s;
  transition-delay: 0.12s;
}

.split-scroll-gate .text-stack--story .text-item .text-item-text-top,
.split-scroll-gate .text-stack--story .text-item .text-item-text-base {
  transition:
    transform 0.48s cubic-bezier(0.22, 1, 0.32, 1),
    opacity 0.35s ease;
}

.text-stack--story .text-item .text-item-text-top,
.text-stack--story .text-item .text-item-text-base {
  display: block;
  transform: translate3d(0, 108%, 0);
  opacity: 0;
  transition:
    transform 0.72s cubic-bezier(0.22, 1, 0.32, 1),
    opacity 0.5s ease;
  will-change: transform, opacity;
}

.text-stack--story .text-item.is-revealed .text-item-text-top,
.text-stack--story .text-item.is-revealed .text-item-text-base {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .text-stack--story .text-item[data-story-item="1"] .text-item-headline-line {
    transform: none;
    transition: none;
    transition-delay: 0s;
  }

  .text-stack--story .text-item .text-item-text-top,
  .text-stack--story .text-item .text-item-text-base {
    transform: none;
    opacity: 1;
    transition: none;
  }
}

.split-image-hint {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: 0.875rem;
  color: #666;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.split-scroll-gate.is-waiting-image .split-image-hint {
  opacity: 1;
}

.text-item h2 {
  margin: 0 0 0.5rem;
  font-weight: 100;
  font-size: clamp(2rem, 4.3vw, 5rem);
  line-height: clamp(2.2rem, 4.8vw, 5.6rem);
}

.text-item p {
  margin: 0;
}

.split-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.split-image-stack {
  position: relative;
  width: var(--image-size);
  height: 100vh;
  aspect-ratio: var(--split-image-aspect-w) / var(--split-image-aspect-h);
  overflow: hidden;
}


[data-split-image-entrance] {
  opacity: 0;
  transform: translate3d(0, 40px, 0) scale(0.982);
  filter: blur(5px);
  transition:
    opacity 1.1s cubic-bezier(0.16, 1, 0.32, 1),
    transform 1.15s cubic-bezier(0.16, 1, 0.32, 1),
    filter 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 1s ease;
  will-change: opacity, transform, filter;
}

[data-split-image-entrance].is-scroll-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  [data-split-image-entrance] {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
    will-change: auto;
  }
}

.split-image-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.split-image-layer--back {
  z-index: 1;
  transition:
    opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.95s cubic-bezier(0.22, 1, 0.36, 1);
}

/* index.html — back layer: day ↔ night crossfade (scroll gate uses data-split-image-back on day img) */
.split-home-exterior-duo {
  overflow: hidden;
}

.split-home-exterior-duo__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.split-home-exterior-duo__night {
  z-index: 1;
}

.split-home-exterior-duo__day {
  z-index: 2;
}

body.page-home .split-home-exterior-duo__day {
  animation: home-exterior-day-night 20s ease-in-out infinite;
}

@keyframes home-exterior-day-night {
  0%,
  15% {
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
  50%,
  65% {
    opacity: 0;
  }
  75% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-home .split-home-exterior-duo__day {
    animation: none;
    opacity: 1;
  }
}

.split-image-layer--front {
  z-index: 2;
  opacity: 0;
  transition: opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity;
}

.split-image-stack.is-reveal-open .split-image-layer--front:not(.split-image-layer--front-next) {
  opacity: 1;
}

/* index.html — phase B → C: crossfade (same duration/easing as front layer reveal) */
.split-image-layer--front-next {
  z-index: 3;
}

.split-scroll-gate.is-phase-c .split-image-stack.is-reveal-open .split-image-layer--front-primary {
  opacity: 0;
}

.split-scroll-gate.is-phase-c .split-image-layer--front-next {
  opacity: 1;
}

.split-image-stack.is-reveal-done .split-image-layer--back {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* location.html — phase-B slideshow sits in the same stack slot as index `front-primary` */
.split-b-slideshow {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: visible;
  transition:
    opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.95s cubic-bezier(0.22, 1, 0.36, 1);
}

.split-image-stack.is-reveal-open .split-b-slideshow.split-image-layer--front-primary {
  visibility: visible;
}

/* Gateless home/location: entrance IO adds .is-scroll-visible (no [data-split-gate] / .is-reveal-open). */
body.page-home .split-image-stack.is-scroll-visible .split-b-slideshow.split-image-layer--front-primary,
body.page-location .split-image-stack.is-scroll-visible .split-b-slideshow.split-image-layer--front-primary {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.split-scroll-gate.is-phase-b:has([data-split-b-slideshow])
  .split-image-stack.is-reveal-open
  .split-b-slideshow {
  pointer-events: auto;
}

.split-scroll-gate.is-phase-c .split-b-slideshow.split-image-layer--front-primary {
  pointer-events: none;
}

.split-scroll-gate.is-phase-b:has([data-split-b-slideshow]) .split-image-stack {
  overflow: visible;
}

/* Phase C — hide map back layer so it never shows through while logos PNG loads/decodes */
.split-scroll-gate.is-phase-c .split-image-layer--back {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.split-b-slideshow__viewport {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: var(--page-bg);
  border-radius: 2px;
}

.split-b-slideshow__track {
  display: flex;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  will-change: transform;
  transition: transform 0.75s cubic-bezier(0.25, 0.1, 0.25, 1);
  background: var(--page-bg);
}

.split-b-slideshow__slide {
  box-sizing: border-box;
  flex: 0 0 calc(100% / var(--split-b-slides, 4));
  height: 100%;
  margin: 0;
  background: var(--page-bg);
  overflow: hidden;
}

.split-b-slideshow__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  background: var(--page-bg);
}

/* Split-B arrows use shared .carousel-arrow styles (see location.html) */

.split-b-slideshow__dots {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0.5rem 0.25rem 0;
  background: none;
  pointer-events: auto;
}

.split-b-slideshow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.split-b-slideshow__dot.is-active {
  background: rgba(0, 0, 0, 0.55);
  transform: scale(1.2);
}

@media (prefers-reduced-motion: reduce) {
  .split-image-layer--front {
    transition-duration: 0.01ms;
  }

  .split-image-layer--back {
    transition-duration: 0.01ms;
  }

  .split-b-slideshow {
    transition: none;
  }

  .split-b-slideshow__track {
    transition: none;
  }

  .split-b-slideshow__dot {
    transition: none;
  }
}

.square-image {
  width: var(--image-size);
  height: auto;
  aspect-ratio: 1767 / 1567;
  object-fit: cover;
  display: block;
}

.feature-image {
  position: relative;
  width: 100vw;
  height: 90vh;
  background-image: url("../assets/images/45-charles-lounge.webp");
  background-size: cover;
  background-position: center;
}

.feature-image__caption {
  position: absolute;
  z-index: 1;
  left: clamp(1.25rem, 4vw, 3rem);
  bottom: clamp(1.25rem, 4vw, 3rem);
  margin: 0;
  max-width: min(32rem, 85vw);
  color: #fff;
  font-size: clamp(1rem, 1vw, 1.58rem);
  font-weight: 200;
  letter-spacing: 0.1rem;
  line-height: 1.4;
  text-transform: uppercase;
  text-align: left;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.5),
    0 0 1.25rem rgba(0, 0, 0, 0.35);
  pointer-events: none;
}



.plans-fullscreen-image {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.plans-fullscreen-image-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.floor-plans-accordion {
  width: 100%;
  background: #322c29;
  padding: 2rem 4rem;
}

.floor-plans-accordion-inner {
  /* max-width: var(--plans-content-max, 1100px); */
  margin: 0 auto;
}

.floor-plans-section-title {
  margin: 0 0 1.5rem;
  color: #ffffff;
  font-family: var(--font-siena);
  font-weight: 300;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
  text-align: left;
}

.floor-plan-columns-title {
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 0.6fr 0.35fr;
  align-items: center;
  column-gap: 1rem;
  padding: 0 0 0.65rem;
  margin-bottom: 0.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  color: #ffffff;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.floor-plan-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.floor-plan-row:first-child {
  border-top: none;
}

.offices-spec {
  width: 100%;
  background: #322c29;
  padding: 3rem 1.2rem 2.5rem;
  color: #ffffff;
  font-family: var(--font-siena);
  font-weight: 300;
}

.offices-spec-inner {
  max-width: var(--plans-content-max, 1100px);
  margin: 0 auto;
}

.offices-spec-row {
  display: grid;
  grid-template-columns: minmax(5.5rem, 0.9fr) repeat(4, 1fr);
  align-items: top;
  column-gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.offices-spec-label {
  text-align: left;
  font-size: 1.5rem;
  line-height: 1.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
font-weight: 100;
}

.offices-spec-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.45rem;
  min-height: 4.5rem;
  /* background:lightpink; */
}

.offices-spec-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
}

.offices-spec-caption span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  line-height: 1.35;
text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  margin:0 auto

}

.offices-spec-caption.dark span {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  line-height: 1.35;
text-transform: uppercase;
color: #000000;
  margin:0 auto

}

.offices-spec-caption.dark h3 {
  font-size: 1.4rem;
  line-height: 1.2rem;
  font-weight: 100;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #000000;
  margin-bottom: 0.2rem;
  margin-top:0.5rem

}

.offices-spec-caption h3 {
  font-size: 1.2rem;
  line-height: 1.2rem;
  font-weight: 100;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 0.2rem;
  margin-top:0.5rem
}

@media (max-width: 720px) {
  .offices-spec-row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 1rem;
    column-gap: 0.75rem;
    padding: 1.25rem 0;
  }

  .offices-spec-label {
    grid-column: 1 / -1;
    padding-bottom: 0.5rem;
    margin-bottom: 0.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  }

  .offices-spec-cell {
    min-height: 0;
  }
}

.floor-plan-trigger {
  width: 100%;
  border: none;
  background: transparent;
  padding: 1.4rem 0;
  color: #ffffff;
  font-family: var(--font-siena);
  font-weight: 200;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 0.6fr 0.35fr;
  align-items: center;
  column-gap: 1rem;
  border-radius: 2px;
  transition: background-color 0.25s ease;
}

.floor-plan-trigger:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.floor-plan-trigger:focus-visible {
  outline: none;
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.floor-plan-col {
  display: block;
}

.floor-plan-col--level {
  text-align: left;
}

.floor-plan-col--num,
.floor-plan-col--icon {
  text-align: center;
  color: #ffffff;
}

.floor-plan-col--icon-toggle .floor-plan-trigger-icon {
  display: inline-block;
  min-width: 1.25em;
  text-align: center;
  vertical-align: middle;
}

.floor-plan-trigger-icon-x {
  display: block;
  width: 0.95em;
  height: 0.95em;
}

.floor-plan-row:not(.is-open) .floor-plan-trigger-icon--close {
  display: none;
}

.floor-plan-row.is-open .floor-plan-trigger-icon--view {
  display: none;
}

.floor-plan-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s ease, opacity 0.35s ease, padding 0.35s ease;
  padding: 0;
}

.floor-plan-panel.is-open {
  max-height: 1400px;
  opacity: 1;
  padding: 0 0 1rem;
  background: var(--page-bg);
}

.floor-plan-panel-inner {
  position: relative;
  padding-top: 2rem;
  padding-bottom: 1.8rem;
  min-height: 260px;
  color: #000000;
}

/* Office floors 4–1: plan + icons column; icons stack top-aligned under title-small */
.floor-plan-panel-inner:has(.floor-plan-panel-lower-ground-aside--icons-only):not(
    :has(.floor-plan-panel-image-container-special)
  ) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  grid-template-rows: auto;
  align-items: start;
  column-gap: 1rem;
}

.floor-plan-panel-inner:has(.floor-plan-panel-lower-ground-aside--icons-only):not(
    :has(.floor-plan-panel-image-container-special)
  )
  > .floor-plan-panel-image-container {
  grid-column: 1;
  grid-row: 1;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-width: 0;
}

.floor-plan-panel-inner:has(.floor-plan-panel-lower-ground-aside--icons-only):not(
    :has(.floor-plan-panel-image-container-special)
  )
  > .floor-plan-panel-icons-column {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 0;
}

.floor-plan-panel-icons-column .floor-plan-panel-title-small {
  margin-bottom: 1.5rem;
}

.floor-plan-panel-icons-column .floor-plan-panel-lower-ground-aside--icons-only {
  margin-top: 0;
}

/* Ground / lower ground: plan left, title-small + icons right; intro text below */
.floor-plan-panel-special-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  grid-template-rows: auto;
  align-items: start;
  column-gap: 1rem;
}

.floor-plan-panel-special-row > .floor-plan-panel-image-container-special {
  grid-column: 1;
  grid-row: 1;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-width: 0;
}

.floor-plan-panel-special-row > .floor-plan-panel-icons-column {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 0;
}

.floor-plan-panel-lower-ground-aside--text-below {
  display: block;
  width: 100%;
  margin-top: 1.25rem;
  margin-bottom: 2rem;
  padding: 0 2rem;
  box-sizing: border-box;
}

.floor-plan-panel-lower-ground-aside--text-below .floor-plan-panel-lower-ground-aside-text {
  flex: none;
  min-width: 0;
  max-width: none;
}

.floor-plan-panel-lower-ground-aside--text-below
  .floor-plan-panel-lower-ground-aside-text
  .floor-plan-panel-title-extra-text {
  padding: 0;
}

.floor-plan-panel-lower-ground-aside--text-below .floor-plan-panel-image-container-special-text {
  margin-top: 0;
}

.floor-plan-panel-title {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  color: #000000;
  font-size: 1.5rem;
  font-weight: 200;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: right;
  padding :2rem 2rem 0 2rem;
  line-height: 1.4rem;
}

.floor-plan-panel-title-small {
  font-size: 1rem;
  line-height: 1.2rem;
  text-align: right;
  padding :1rem 2rem 0 2rem;
  margin-bottom:2rem;
}

.floor-plan-panel-title-small-mobile {display:none}

.floor-plan-panel-note-group {
  position: absolute;
  right: 0;
  bottom: 0.1rem;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0.45rem;
  max-width: 100%;
  font-size: 0.72rem;
  line-height: 1.3;
}

.floor-plan-panel-note {
  margin: 0;
  color: #000000;
  font-size: 1em;
  line-height: inherit;
  letter-spacing: 0.04em;
  text-align: right;
}

/* ~10% of prior 2.6em height; keep small next to note text */
.floor-plan-panel-note-symbol {
  display: block;
  height: 3em;
  width: auto;
  object-fit: contain;
  object-position: right bottom;
  flex-shrink: 0;
  margin-right:2em
}

/* Floor plan graphic only; not .floor-plan-panel-note-symbol */
.floor-plan-panel-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.floor-plan-panel-image-container > img {
  display: block;
  width: min(100%, 760px);
  height: auto;
}

.floor-plan-panel-image-container.floor-plan-panel-image-container--has-lightbox {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Width matches the plan graphic; absolute eye controls use % of this box (not the full panel). */
.floor-plan-image-lightbox-frame {
  position: relative;
  display: block;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  width: 100%;
}

.floor-plan-panel-image-container-special .floor-plan-image-lightbox-frame {
  width: min(100%, 1050px);
  padding-top: 2rem;
}

.floor-plan-panel-image-container--has-lightbox .floor-plan-image-lightbox-frame {
  width: min(100%, 760px);
}

.floor-plan-image-lightbox-frame > img {
  display: block;
  width: 100%;
  height: auto;
}

.floor-plan-panel-image-container-special--has-lightbox {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.floor-plan-image-lightbox-open {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  padding: 0;
  border-radius: 50px;
  background: rgba(50, 44, 41, 1);
  color: #ffffff;
  font-size: 1.1rem;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

/* First floor — percentages of frame */
.floor-plan-panel-image-container--lightbox-first-floor .floor-plan-image-lightbox-open {
  top: 73%;
  right: 49%;
  bottom: auto;
  left: auto;
}

/* Ground — primary top-right, secondary bottom-left */
.floor-plan-panel-image-container-special--has-lightbox-double
  .floor-plan-image-lightbox-open:not(.floor-plan-image-lightbox-open--secondary) {
  top: 28.8%;
  right: 71%;
  bottom: auto;
  left: auto;
}

.floor-plan-panel-image-container-special--has-lightbox-double .floor-plan-image-lightbox-open--secondary {
  top: auto;
  right: auto;
  bottom: 40%;
  left: 67.5%;
}

/* Lower ground — three targets inside frame */
.floor-plan-panel-image-container-special--has-lightbox-lower-ground
  .floor-plan-image-lightbox-open:not(.floor-plan-image-lightbox-open--secondary):not(
    .floor-plan-image-lightbox-open--tertiary
  ) {
  top: auto;
  bottom: 47%;
  right: 27%;
  left: auto;
}

.floor-plan-panel-image-container-special--has-lightbox-lower-ground.floor-plan-panel-image-container-special--has-lightbox-lower-triple
  .floor-plan-image-lightbox-open--secondary {
  top: 72%;
  left: 63.5%;
  right: auto;
  bottom: auto;
}

.floor-plan-panel-image-container-special--has-lightbox-lower-ground.floor-plan-panel-image-container-special--has-lightbox-lower-triple
  .floor-plan-image-lightbox-open--tertiary {
  top: 14.4%;
  right: 13%;
  left: auto;
  bottom: auto;
}

.floor-plan-image-lightbox-open:hover,
.floor-plan-image-lightbox-open:focus-visible {
  background: rgba(50, 44, 41, 1);
  outline: none;
}

.floor-plan-image-lightbox-open:focus-visible {
  box-shadow:
    0 0 0 2px var(--page-bg),
    0 0 0 4px #322c29;
}

.floor-plan-lightbox {
  padding: 0;
  border: none;
  max-width: min(calc(100vw - 2.5rem), 980px);
  width: 100%;
  margin: auto;
  background: transparent;
  color: #e9e8e2;
}

.floor-plan-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.78);
  cursor: pointer;
}

.floor-plan-lightbox__inner {
  position: relative;
  padding: 2.75rem 1.5rem 1.5rem;
  background: #000000;
  border-radius: 4px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.floor-plan-lightbox__close {
  position: absolute;
  top: 0.85rem;
  right: 1.5rem;
  z-index: 2;
  margin: 0;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(233, 232, 226, 0.35);
  border-radius: 2px;
  background: transparent;
  color: #e9e8e2;
  font-family: var(--font-siena);
  font-size: 0.72rem;
  font-weight: 200;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
}

.floor-plan-lightbox__close:hover,
.floor-plan-lightbox__close:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.floor-plan-lightbox__img {
  display: block;
  width: 100%;
  max-height: min(78vh, 900px);
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  margin:1rem 0rem
}

.floor-plan-lightbox__caption {
  margin: 1.25rem 0 0;
  padding: 0 0.25rem;
  font-family: var(--font-siena);
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  font-weight: 200;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: rgba(233, 232, 226, 0.92);
  text-align: center;
}

.floor-plan-lightbox__caption strong {
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82em;
}

.floor-plan-panel-image-container-special {
  text-align: center;
}

.floor-plan-panel-image-container-special-text {text-align:left; margin-top:2rem}

.floor-plan-panel-lower-ground-aside {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem 1.75rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding: 0 2rem;
  width: 100%;
  box-sizing: border-box;
}

.floor-plan-panel-lower-ground-aside--icons-only {
  justify-content: flex-end;
  margin-top: 0.35rem;
  margin-bottom: 0.75rem;
}

.floor-plan-panel-lower-ground-aside--icons-only .floor-plan-panel-lower-ground-icon-stack {
  flex: 0 0 auto;
  margin-left: auto;
}

.floor-plan-panel-lower-ground-aside:not(.floor-plan-panel-lower-ground-aside--icons-only)
  .floor-plan-panel-lower-ground-icon-stack {
  margin-left: auto;
}

.floor-plan-panel-lower-ground-aside-text {
  margin-top: 0;
  flex: 1 1 14rem;
  min-width: min(100%, 12rem);
}

.floor-plan-panel-lower-ground-aside-text .floor-plan-panel-title-extra-text {
  padding: 0 0.5rem 0 0;
}

.floor-plan-panel-lower-ground-icon-stack {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 0.65rem;
  flex: 0 0 auto;
  min-width: 0;
  max-width: 12rem;
}

.floor-plan-panel-lower-ground-icon-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
  flex: 0 0 auto;
  width: max-content;
  width:5rem;
  max-width: 11rem;
}

.floor-plan-panel-lower-ground-icon-stack
  .floor-plan-panel-lower-ground-icon-row:last-child {
  margin-bottom: 2rem;
}

.floor-plan-panel-lower-ground-icon {
  display: block;
  width: clamp(2.25rem, 6vw, 3rem);
  height: auto;
  object-fit: contain;
}

.floor-plan-panel-lower-ground-icon-label {
  font-family: var(--font-siena);
  font-size: clamp(0.5rem, 1.15vw, 0.625rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.3;
  color: #000000;
  max-width: 100%;
  hyphens: auto;
}

.floor-plan-panel-lower-ground-icon-stack--three {
  max-width: 11rem;
}

/* plans.html — viewports wider than 768px: keep vertical icon stack on the right (not the ≤768 horizontal bar). */
@media (min-width: 769px) {
  body.page-plans .floor-plan-panel-lower-ground-aside--icons-only .floor-plan-panel-lower-ground-icon-stack {
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-end;
    align-content: stretch;
    max-width: 12rem;
    width: auto;
    margin-left: auto;
    gap: 0.65rem;
  }

  body.page-plans .floor-plan-panel-lower-ground-icon-stack--three {
    max-width: 11rem;
  }

  body.page-plans .floor-plan-panel-lower-ground-icon-stack .floor-plan-panel-lower-ground-icon-row:last-child {
    margin-bottom: 2rem;
  }
}

.floor-plan-panel-title-extra-text {font-size:1rem; line-height:1.5rem; font-weight:200; letter-spacing:0.04em; text-align:left; padding:0 2rem;}
.carousel-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 3rem 0;
  background: var(--page-bg);
  overflow: hidden;
}

.carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
  --carousel-gap: 24px;
  --carousel-side-scale: 0.66;
  --carousel-center-scale: 1;
}

.carousel.is-dragging {
  cursor: grabbing;
}

/* Above .carousel-slide (z-index 0–100 in JS) so prev/next are actually clickable */
.carousel-arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 200;
  /* Wide hit zone; visual control is the ::before circle */
  width: min(24vw, 240px);
  min-width: 5.5rem;
  height: 100%;
  border: none;
  background: transparent;
  color: transparent;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  opacity: 1;
  pointer-events: auto;
  isolation: isolate;
}

.carousel-arrow--prev {
  left: 0;
}

.carousel-arrow--next {
  right: 0;
}

.carousel-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 3.25rem;
  height: 3.25rem;
  min-width: 3.25rem;
  min-height: 3.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #221f1d;
  font-size: 1.4rem;
  line-height: 3.25rem;
  text-align: center;
  transform: translateY(-50%) scale(0.92);
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.carousel-arrow--prev::before {
  content: "\2190";
  left: clamp(0.5rem, 2vw, 1.75rem);
}

.carousel-arrow--next::before {
  content: "\2192";
  right: clamp(0.5rem, 2vw, 1.75rem);
}

.carousel-arrow:hover::before,
.carousel-arrow:focus-visible::before,
.carousel-arrow:active::before {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.carousel-arrow:focus-visible {
  outline: none;
}

.carousel-track {
  position: relative;
  z-index: 0;
  width: 100%;
  height: clamp(220px, 43.5vw, 627px);
}

.carousel-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(320px, 58vw, 842px);
  margin: 0;
  transform-origin: center center;
  will-change: transform;
  pointer-events: auto;
  cursor: pointer;
}

.carousel-slide-media {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 2px;
  transform: scale(var(--carousel-side-scale));
  transform-origin: center;
  /* JS sets scale every frame; a CSS transition lags behind and can jitter at rest */
  transition: none;
  will-change: transform;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 0;
  pointer-events: none;
}

.carousel-slide-caption {
  position: absolute;
  left: 1rem;
  right: 2rem;
  bottom: 1rem;
  margin: 0;
  padding: 0.35rem 0.3rem;
text-transform: uppercase;
  color: #ffffff;
  font-size: clamp(1rem, 1vw, 1.58rem);
  letter-spacing: 0.1rem;
  line-height: 1.4;
  text-align: left;
  pointer-events: none;
}

.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1.25rem, 4vw, 3rem);
}

.site-footer-brochure {
  width: 100%;
  border-top: 1px solid rgba(233, 232, 226, 0.18);
  border-bottom: 1px solid rgba(233, 232, 226, 0.18);
  margin-bottom: 2.5rem;
  padding: 1rem 0;
  box-sizing: border-box;
}

.site-footer-brochure__link {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 200;
  letter-spacing: 0.02em;
  color: var(--footer-text);
  text-decoration: none;
  text-transform: uppercase;
  text-underline-offset: 3px;
}

.site-footer-brochure__link:hover {
  color: #fff;
}

.site-footer-brochure__link:hover .site-footer-brochure__arrow {
  transform: translateX(3px);
}

.site-footer-brochure__arrow {
  display: flex;
  flex: 0 0 auto;
  line-height: 0;
  transition: transform 0.2s ease;
}

.site-footer-brochure__arrow svg {
  display: block;
}

.site-footer-brochure__label {
  line-height: 1.2;
}

.site-footer-inner {
  margin: 0 auto;
  display: grid;
  gap: 2.5rem 3rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .site-footer-inner {
    grid-template-columns: 1.1fr  1fr;

  }

  .site-footer-legal {
    grid-column: 1 / -1;
  }
}



.site-footer-block h2 {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  font-weight: 100;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--footer-text);
}

.site-footer-block p,
.site-footer-block address {
  margin: 0;
  font-size: 1.3rem;
  font-style: normal;
  font-weight: 100;
  line-height: 1.35;
  color: var(--footer-text);
}

.site-footer-block p + p {
  margin-top: 0.65rem;
}

.site-footer-block a {
  color: var(--footer-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer-block a:hover {
  color: #fff;
}

.site-footer-block a[href^="mailto:"] {
  text-decoration: none;
}

.site-footer-block a[href^="mailto:"]:hover,
.site-footer-block a[href^="mailto:"]:focus-visible {
  text-decoration: underline;
  text-underline-offset: 1px;
}

.site-footer-legal {
  margin-top: 1rem;
  padding: 1rem 0rem;
  border-top: 1px solid rgba(233, 232, 226, 0.18);
  border-bottom: 1px solid rgba(233, 232, 226, 0.18);
  font-size: 0.82rem;
  color: var(--footer-text);
  text-align: left;
}

.site-footer-legal p {
  margin: 0.1rem 0 0;
}

.site-footer-legal p:first-child {
  margin-top: 0;
}

.site-footer-block-inner-wrapper {
  display: flex;
  width:100%;
  flex-direction: row;
flex-wrap: wrap;

}

.site-footer-block-inner-wrapper-item-left {flex:0 0 48%;  margin-right:2%; }
.site-footer-block-inner-wrapper-item-left-right {flex:0 0 48%;  margin-right:2%; }

.site-footer-block-inner-wrapper-item-right {
  display: flex;
  width:100%;
  flex-direction: column;
  flex-wrap: nowrap;
  min-height: 100%;

}

.footer-right-content {
  text-align: left;
  margin-left: auto;
  margin-top: auto;
}

@media (max-width: 719px) {
  .footer-right-content {
    margin-left: 0;
  }
}


.eia-real-estate-logo {
  width: auto;
  height: 70px;
  margin-bottom: 1.3rem;
}
.beam-logo {
  width: auto;
  height: 70px;
}

.bnp-parabis-logo {
  width: auto;
  height: 75px;
  margin-bottom: 1rem;
}

.mayfair-redefined-logo-wrapper {
  width: 100%;
  margin:0 auto;
  padding-top: 2rem;
  text-align: center;
}

.mayfair-redefined-logo {
  width: auto;
  height: 100px;

}

@media (max-width: 1560px) {
.site-footer-block-inner-wrapper-item-left {flex:0 0 51%;  margin-right:2%; }
.site-footer-block-inner-wrapper-item-left-right {flex:0 0 45%;  margin-right:2%; }
.site-footer-block-inner-wrapper-item-right {flex:0 0 45%;  margin-right:2%;}

.bnp-parabis-logo {
  width: auto;
  height: 60px;
  margin-bottom: 1rem;
}

.eia-real-estate-logo {
  width: auto;
  height: 55px;
  margin-bottom: 1.3rem;
}

.beam-logo {
  width: auto;
  height: 55px;
}

.site-footer-block p, .site-footer-block address {font-size: 1.1rem;}
}

@media (max-width: 1280px) {
  .site-footer-block-inner-wrapper-item-left {flex:0 0 56%;  margin-right:2%; }
  .site-footer-block-inner-wrapper-item-left-right {flex:0 0 40%;  margin-right:2%; }



@media (max-width: 1180px) {
  .bnp-parabis-logo {
    width: auto;
    height: 45px;
    margin-bottom: 1rem;
  }

  .eia-real-estate-logo {
    width: auto;
    height: 45px;
    margin-bottom: 1rem;
  }

  .text-item-text-base br {
    display: none;
  }

  .text-item-text-top br {
    display: none;
  }
}

@media (max-width: 1024px) {
  .text-item-text-base {
    line-height:  2.0rem;
  }

  body.page-plans .plans-split-section .split-left {padding-left: 2rem;}

  .text-item-text-base br {
    display: none;
  }

  body.page-plans .plans-split-section .split-right {padding-right: 2rem;}

  .floor-plans-accordion {padding:2rem 3rem;}
}


@media (max-width: 984px) {
  .eia-real-estate-logo {margin-top:2rem}

  .site-footer-block-inner-wrapper-item-left {flex:0 0 100%;  margin-right:0%; }
  .site-footer-block-inner-wrapper-item-left-right {flex:0 0 100%;  margin-right:0%; }
}

@media (max-width: 768px) {
.split-section {min-height:auto}
  .split-section--scroll-story {top:5rem;}

  .text-item-text-base {line-height: 1.4rem; font-size: 1.0rem;}

  .split-left {padding:2rem 0 2rem 2rem; }
  .split-right  {padding:2rem}

  .site-nav-logo {padding-left:0.6rem; padding-top:0.6rem}
  .site-nav-menu {padding-right:0.6rem}

  .floor-plan-panel-title-extra-text {max-width:300px}

  .floor-plan-panel-lower-ground-icon-row {width:8rem}

  .floor-plan-panel-lower-ground-icon-label br {display:none}

  .plans-fullscreen-image {height:50vh!important;}

  /* plans.html — max-width 768px ONLY: plan on top, horizontal icon row centered under it (≥769px = desktop sidebar stack). */
  body.page-plans .floor-plans-accordion {
    padding: 2rem 1.5rem;
  }

  body.page-plans .floor-plan-panel-lower-ground-aside-text .floor-plan-panel-title-extra-text br {
    display: none;
  }

  body.page-plans .plans-split-section .split-left {
    padding: 1rem 0;
  }

  body.page-plans .plans-split-section .split-right {
    padding: 1rem 0;
  }

  body.page-plans .floor-plan-panel-title {
    padding: 1rem 1rem 0 1rem;
  }

  body.page-plans .floor-plan-panel-title-small {
    padding: 0 1rem 2rem 1rem;
  }

  body.page-plans .floor-plan-panel-inner:has(.floor-plan-panel-lower-ground-aside--icons-only):not(
      :has(.floor-plan-panel-image-container-special)
    ) {
    display: flex;
    flex-direction: column;
  }

  body.page-plans .floor-plan-panel-inner:has(.floor-plan-panel-lower-ground-aside--icons-only):not(
      :has(.floor-plan-panel-image-container-special)
    )
    > .floor-plan-panel-image-container {
    order: -1;
    width: 100%;
    grid-column: unset;
    grid-row: unset;
    align-self: stretch;
    margin-top:3rem
  }

  body.page-plans .floor-plan-panel-inner:has(.floor-plan-panel-lower-ground-aside--icons-only):not(
      :has(.floor-plan-panel-image-container-special)
    )
    > .floor-plan-panel-icons-column {
    order: 1;
    width: 100%;
    grid-column: unset;
    grid-row: unset;
    align-items: center;
    align-self: stretch;
    margin-top:3rem
  }

  body.page-plans .floor-plan-panel-special-row {
    display: flex;
    flex-direction: column;
  }

  body.page-plans .floor-plan-panel-special-row > .floor-plan-panel-image-container-special {
    order: -1;
    width: 100%;
    grid-column: unset;
    grid-row: unset;
    align-self: stretch;
    margin-top:3rem
  }

  body.page-plans .floor-plan-panel-special-row > .floor-plan-panel-icons-column {
    order: 1;
    width: 100%;
    grid-column: unset;
    grid-row: unset;
    align-items: center;
  }

  body.page-plans .floor-plan-panel-icons-column .floor-plan-panel-title-small {
    text-align: center;
    width: 100%;
    margin-bottom: 0.75rem;
    padding: 0.5rem 1rem 0;
  }

  body.page-plans .floor-plan-panel-lower-ground-aside--icons-only {
    justify-content: center;
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0 0.5rem;
  }

  body.page-plans .floor-plan-panel-lower-ground-aside--icons-only .floor-plan-panel-lower-ground-icon-stack {
    margin-left: 0;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    align-content: flex-end;
    max-width: none;
    width: 100%;
    gap: 0.75rem 1.25rem;
  }

  body.page-plans .floor-plan-panel-lower-ground-icon-stack .floor-plan-panel-lower-ground-icon-row:last-child {
    margin-bottom: 0;
  }

  body.page-plans .floor-plan-panel-lower-ground-aside--text-below {
    margin-top: 1rem;
    padding: 0 1rem;
  }

  body.page-plans .floor-plan-panel-inner {
    padding-bottom: 4.25rem;
  }

  .feature-image {height:40vh!important;}

  .floor-plan-panel-title-small {
    display:none;
  }
  
  .floor-plan-panel-title-small-mobile {display:block; font-size:0.8rem; line-height:1.0rem;}

  body.page-home .home-breeam-grid__icon {width:60px; height:60px;}
  .offices-spec-caption.dark h3 {font-size:1.0rem; line-height:1.0rem;}
  .offices-spec-caption.dark span {font-size:0.8rem; line-height:1.0rem;}

  #panel--brand-intro__logo {
    width: 100%;
    max-width: 540px;
    padding: 0 1rem;
    margin: 0 auto;
}
 }


@media (min-width: 901px) {
  .split-section--scroll-story .split-left,
  .split-section--scroll-story .split-right {
    margin-top: auto;
    margin-bottom: auto;
  }

  /* No vertical auto-margins — avoids top/bottom “gaps” vs the image column */
  body.page-home .page-home-split-story .split-left,
  body.page-home .page-home-split-story .split-right,
  body.page-location .page-home-split-story .split-left,
  body.page-location .page-home-split-story .split-right {
    margin-top: 0;
    margin-bottom: 0;
  }
}

/* index + location — shorter split story rows on tablet / small desktop */
@media (max-width: 1024px) {
  body.page-home .page-home-split-story,
  body.page-location .page-home-split-story {
    min-height: 50vh;
    min-height: 50dvh;
    --image-stack-height: 50vh;
    --image-stack-height: 50dvh;
  }

  body.page-home .page-home-split-story .split-image-stack,
  body.page-location .page-home-split-story .split-image-stack {
    min-height: 50vh;
    min-height: 50dvh;
    height: 50vh;
    height: 50dvh;
  }

}


  /* index + location — shorter split story rows on tablet / small desktop */
@media (max-width: 768px) {
  body.page-home .page-home-split-story,
  body.page-location .page-home-split-story {
    min-height: 35vh;
    min-height: 35dvh;
    --image-stack-height: 35vh;
    --image-stack-height: 35dvh;
  }

  body.page-home .page-home-split-story .split-image-stack,
  body.page-location .page-home-split-story .split-image-stack {
    min-height: 50vh;
    min-height: 50dvh;
    height: 50vh;
    height: 50dvh;
  }
}

@media (max-width: 600px) {
  body.page-plans .plans-split-inner {
    flex-direction: column;
  }

  .split-section {
    flex-direction: column;
    --split-padding: 1.25rem;
  }

  .split-left,
  .split-right {
    width: 100%;
    padding: 2rem var(--split-padding);
  }

  .split-left {
    justify-content: flex-start;
  }

  body.page-home .page-home-split-story#story .text-stack.text-stack--story, body.page-location .page-home-split-story#story .text-stack.text-stack--story, body.page-home .page-home-split-story.page-home-split-story--dark .text-stack.text-stack--story, body.page-location .page-home-split-story.page-home-split-story--dark .text-stack.text-stack--story  {min-height:auto}
  body.page-home .page-home-split-story.page-home-split-story--reverse .text-stack.text-stack--story, body.page-location .page-home-split-story.page-home-split-story--reverse .text-stack.text-stack--story {min-height:auto}

  
  body.page-home .page-home-split-story > .split-left, body.page-location .page-home-split-story > .split-left {padding-top:20px}

  body.page-home .home-breeam-split .split-left {
    padding-top: 0;
    padding-bottom: 0;
    padding-left: var(--split-padding);
    padding-right: var(--split-padding);
  }

  .text-stack:not(.text-stack--story) {
    height: auto;
    gap: 2rem;
  }

  .split-section--scroll-story {
    --image-size: min(calc(100vw - (var(--split-padding) * 2)), 520px);
    /* Sit below fixed nav (same basis as menu overlay; set on <html> in JS). */
    top: var(
      --site-nav-mobile-overlay-top,
      calc(3.25rem + env(safe-area-inset-top, 0px))
    );
    min-height: calc(
      100vh - var(
        --site-nav-mobile-overlay-top,
        calc(3.25rem + env(safe-area-inset-top, 0px))
      )
    );
    min-height: calc(
      100dvh - var(
        --site-nav-mobile-overlay-top,
        calc(3.25rem + env(safe-area-inset-top, 0px))
      )
    );
  }

  body.page-home .page-home-split-story,
  body.page-location .page-home-split-story {
    --image-size: 100vw;
    min-height: calc(
      50vh - var(
        --site-nav-mobile-overlay-top,
        calc(3.25rem + env(safe-area-inset-top, 0px))
      )
    );
    min-height: calc(
      50dvh - var(
        --site-nav-mobile-overlay-top,
        calc(3.25rem + env(safe-area-inset-top, 0px))
      )
    );
    --image-stack-height: calc(
      50vh - var(
        --site-nav-mobile-overlay-top,
        calc(3.25rem + env(safe-area-inset-top, 0px))
      )
    );
    --image-stack-height: calc(
      50dvh - var(
        --site-nav-mobile-overlay-top,
        calc(3.25rem + env(safe-area-inset-top, 0px))
      )
    );
  }

  body.page-home .page-home-split-story .split-image-stack,
  body.page-location .page-home-split-story .split-image-stack {
    min-height: calc(
      50vh - var(
        --site-nav-mobile-overlay-top,
        calc(3.25rem + env(safe-area-inset-top, 0px))
      )
    );
    min-height: calc(
      50dvh - var(
        --site-nav-mobile-overlay-top,
        calc(3.25rem + env(safe-area-inset-top, 0px))
      )
    );
    height: calc(
      50vh - var(
        --site-nav-mobile-overlay-top,
        calc(3.25rem + env(safe-area-inset-top, 0px))
      )
    );
    height: calc(
      50dvh - var(
        --site-nav-mobile-overlay-top,
        calc(3.25rem + env(safe-area-inset-top, 0px))
      )
    );
  }

  body.page-home .page-home-split-story > .split-right,
  body.page-location .page-home-split-story > .split-right {
    padding: 0;
  }

  /* index — gap below building exterior (day / evening) image */
  body.page-home #story > .split-right {
    padding-bottom: clamp(1.25rem, 5vw, 2.25rem);
  }



  body.page-home .page-home-split-story .text-stack--story,
  body.page-location .page-home-split-story .text-stack--story {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: clamp(0.5rem, 2vw, 0.85rem);
    min-height: 0;
    height: auto;
    flex: 0 1 auto;
    width: 100%;
  }

  body.page-home .page-home-split-story .text-stack--story .text-item,
  body.page-location .page-home-split-story .text-stack--story .text-item {
    position: static;
    inset: auto;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    transform: none;
    margin: 0;
    max-width: 100%;
  }

  /* Reverse panels: body above headline (matches desktop intent) */
  body.page-home .page-home-split-story.page-home-split-story--reverse .text-stack--story .text-item[data-story-item="0"],
  body.page-location .page-home-split-story.page-home-split-story--reverse .text-stack--story .text-item[data-story-item="0"] {
    order: 1;
  }

  body.page-home .page-home-split-story.page-home-split-story--reverse .text-stack--story .text-item[data-story-item="1"],
  body.page-location .page-home-split-story.page-home-split-story--reverse .text-stack--story .text-item[data-story-item="1"] {
    order: 2;
  }

  body.page-home .page-home-split-story .text-stack--story .text-item[data-story-item="1"] .text-item-headline-line,
  body.page-location .page-home-split-story .text-stack--story .text-item[data-story-item="1"] .text-item-headline-line {
    font-size: clamp(1.2rem, 5.2vw, 1.65rem);
    line-height: clamp(1.3rem, 5.5vw, 1.78rem);
    letter-spacing: 0.09em;
    transition-delay: 0.2s;
  }

  body.page-home .page-home-split-story .text-stack--story .text-item .text-item-text-base,
  body.page-location .page-home-split-story .text-stack--story .text-item .text-item-text-base {
    font-size: clamp(0.88rem, 3.4vw, 1.05rem) !important;
    line-height: 1.42 !important;
    margin-top: 0 !important;
  }

  body.page-home .page-home-split-story > .split-left .text-phase,
  body.page-location .page-home-split-story > .split-left .text-phase {
    flex: 0 1 auto;
    min-height: 0;
  }

  .split-scroll-gate .text-stack--story {
    min-height: min(var(--image-stack-height), 420px);
  }

  .square-image {
    width: min(100%, 520px);
    height: auto;
    aspect-ratio: 1767 / 1567;
  }

  .plans-fullscreen-image-img {width:100%; height:auto;}

  .plans-fullscreen-image {height:auto!important;}

  .text-item-text-base {font-size:1.3rem; line-height: 1.8rem; margin-top:2rem!important}
  body.page-home .home-breeam-grid {max-width: 100%!important;}
  .feature-image {height:40vh!important;}
  .eia-real-estate-logo {margin-top:3rem}
 .carousel-slide-caption {font-size:0.8rem; line-height:1.0rem;}
 .site-nav-logo {padding-left:0rem; padding-top:0rem}
 .floor-plan-panel-lower-ground-icon-row {width:5rem;  min-height: 6rem;}
 body.page-plans .floor-plan-panel-lower-ground-aside--icons-only .floor-plan-panel-lower-ground-icon-stack {gap:0.75rem; padding-top:2rem}
 body.page-plans .floor-plan-panel-inner:has(.floor-plan-panel-lower-ground-aside--icons-only):not( :has(.floor-plan-panel-image-container-special) ) > .floor-plan-panel-icons-column {margin-top:0rem}
}



@media (max-width: 900px) {

  .carousel-section {
    padding: 2rem 0;
  }

  .carousel-track {
    height: clamp(180px, 50vw, 300px);
  }

  .carousel-slide {
    width: clamp(220px, 72vw, 420px);
    aspect-ratio: 4 / 3;
  }
}


@media (max-width: 600px) {
  body.page-home .page-home-split-story .text-stack--story .text-item[data-story-item="1"] .text-item-headline-line {font-size:2rem!important;  line-height:2.2rem!important}

  body.page-home .page-home-split-story .text-stack--story .text-item .text-item-text-base, body.page-location .page-home-split-story .text-stack--story .text-item .text-item-text-base {font-size:1.3rem!important; line-height:1.8rem!important  }

  .split-left {padding-top:2rem!important}
.text-item-text-base {padding:20px 0!important}

.padding-4rem {padding:0!important}

  }

