:root {
  --blue: #304a6e;
  --blue-dark: #11243a;
  --blue-deep: #0d1d30;
  --blue-mid: #1c3858;
  --neutral: #efe9dd;
  --neutral-light: #f7f4ee;
  --neutral-bright: #fbfaf7;
  --white: #ffffff;
  --ink-soft: #708098;
  --line: rgba(48, 74, 110, 0.17);
  --line-light: rgba(239, 233, 221, 0.2);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Manrope", Arial, sans-serif;
  --page-pad: clamp(40px, 5vw, 80px);
  --header-h: 74px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--blue-dark);
  background: var(--neutral-light);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 11px 16px;
  color: var(--neutral-light);
  background: var(--blue-dark);
  font-size: 12px;
  transform: translateY(-150%);
  transition: transform 0.25s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-progress {
  position: fixed;
  z-index: 1001;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
}

.services-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(155px, 1fr) auto minmax(155px, 1fr);
  align-items: center;
  gap: 26px;
  min-height: var(--header-h);
  padding: 0 var(--page-pad);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 244, 238, 0.91);
  backdrop-filter: blur(16px);
  transition: min-height 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.services-header.is-scrolled {
  min-height: 62px;
  background: rgba(247, 244, 238, 0.97);
  box-shadow: 0 10px 30px rgba(17, 36, 58, 0.05);
}

.services-brand {
  display: flex;
  align-items: center;
  width: 154px;
  height: 58px;
  overflow: hidden;
}

.services-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.services-desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(17px, 1.8vw, 30px);
}

.services-desktop-nav a,
.header-action {
  position: relative;
  padding: 27px 0 17px;
  color: var(--blue);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.services-desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 12px;
  left: 0;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}

.services-desktop-nav a:hover::after,
.services-desktop-nav a:focus-visible::after,
.services-desktop-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-action {
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 136px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--blue-dark);
}

.header-action span {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.header-action:hover span {
  transform: translate(3px, -3px);
}

.services-menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  padding: 8px 3px;
  background: transparent;
  cursor: pointer;
}

.services-menu-toggle span {
  display: block;
  width: 23px;
  height: 1.5px;
  margin: 6px auto;
  background: var(--blue-dark);
  transition: transform 0.3s ease;
}

.services-header.menu-active .services-menu-toggle span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.services-header.menu-active .services-menu-toggle span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

.services-mobile-nav {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 120px var(--page-pad) 38px;
  visibility: hidden;
  color: var(--neutral-light);
  background: var(--blue-dark);
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.45s ease, transform 0.45s ease, visibility 0s 0.45s;
}

.services-mobile-nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
}

.services-mobile-nav a {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 54px);
  line-height: 1;
}

.services-mobile-nav a span,
.services-mobile-nav > p {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.services-mobile-nav a.active {
  color: #b6c7dc;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  color: var(--blue);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.section-kicker span {
  display: block;
  width: 28px;
  height: 1px;
  background: currentColor;
}

.section-kicker-light {
  color: rgba(239, 233, 221, 0.78);
}

.services-hero {
  position: relative;
  min-height: 1000px;
  overflow: hidden;
  background: var(--neutral-light);
}

.hero-grid {
  position: absolute;
  z-index: 0;
  inset: var(--header-h) var(--page-pad) 34px;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent calc(25% - 1px),
    var(--line) calc(25% - 1px),
    var(--line) 25%
  );
}

.hero-ghost {
  position: absolute;
  z-index: 0;
  top: 108px;
  left: -1vw;
  margin: 0;
  color: rgba(48, 74, 110, 0.065);
  font-size: clamp(160px, 22vw, 350px);
  font-weight: 800;
  letter-spacing: -0.09em;
  line-height: 0.8;
}

.hero-copy {
  position: absolute;
  z-index: 5;
  top: 175px;
  left: var(--page-pad);
  width: min(760px, 55vw);
}

.hero-copy h1 {
  margin: 35px 0 0;
  font-family: var(--font-display);
  font-size: clamp(68px, 7.4vw, 124px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.81;
}

.hero-copy h1 em {
  color: var(--blue);
  font-weight: 400;
}

.hero-gallery {
  position: absolute;
  z-index: 3;
  top: 260px;
  right: var(--page-pad);
  width: min(690px, 47vw);
  height: 650px;
}

.hero-image {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: #d8d3ca;
}

.hero-image::after,
[data-image-reveal]::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background: var(--neutral);
  transform: scaleY(1);
  transform-origin: bottom;
  transition: transform 1.05s cubic-bezier(0.76, 0, 0.24, 1);
}

[data-image-reveal].is-visible::after {
  transform: scaleY(0);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image:hover img {
  transform: scale(1.035);
}

.hero-image-primary {
  right: 0;
  bottom: 0;
  width: 48%;
  height: 100%;
}

.hero-image-secondary {
  right: 43%;
  bottom: 72px;
  width: 35%;
  height: 57%;
  border: 10px solid var(--neutral-light);
}

.hero-image-note {
  position: absolute;
  right: 50%;
  bottom: 2px;
  margin: 0;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 26px;
  font-style: italic;
  line-height: 1.02;
  transform: rotate(-5deg);
}

.hero-foot {
  position: absolute;
  z-index: 6;
  right: var(--page-pad);
  bottom: 28px;
  left: var(--page-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--blue);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-foot p {
  margin: 0;
}

.hero-foot a {
  display: flex;
  align-items: center;
  gap: 13px;
}

.hero-foot a span {
  font-size: 15px;
}

.services-intro {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px;
  min-height: 760px;
  padding: 150px var(--page-pad) 130px;
  overflow: hidden;
  background: var(--neutral-bright);
}

.intro-index {
  position: absolute;
  top: 55px;
  right: 4vw;
  color: rgba(48, 74, 110, 0.045);
  font-family: var(--font-display);
  font-size: 32vw;
  line-height: 1;
}

.intro-heading {
  z-index: 1;
  grid-column: 1 / 7;
  align-self: start;
}

.intro-heading h2,
.service-section-heading h2,
.difference-heading h2,
.inside-heading h2,
.enquiry-copy h2 {
  margin: 31px 0 0;
  font-family: var(--font-display);
  font-size: clamp(70px, 7vw, 116px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.82;
}

.intro-heading h2 em,
.service-section-heading h2 em,
.difference-heading h2 em,
.inside-heading h2 em,
.enquiry-copy h2 em {
  color: var(--blue);
  font-weight: 400;
}

.intro-body {
  z-index: 1;
  grid-column: 8 / 13;
  align-self: end;
  max-width: 590px;
  padding-bottom: 25px;
}

.intro-body p {
  margin: 0 0 25px;
  color: #60738d;
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.48;
}

.intro-body .intro-lead {
  margin-bottom: 34px;
  color: var(--blue-dark);
  font-size: 34px;
  line-height: 1.18;
}

.resident-services {
  position: relative;
  padding: 115px var(--page-pad) 145px;
  color: var(--neutral-light);
  background:
    linear-gradient(rgba(17, 36, 58, 0.975), rgba(17, 36, 58, 0.975)),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23efe9dd' stroke-opacity='.07'%3E%3Ccircle cx='60' cy='60' r='29'/%3E%3C/g%3E%3C/svg%3E");
}

.service-section-heading {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 7vw;
  align-items: end;
  padding-bottom: 78px;
  border-bottom: 1px solid var(--line-light);
}

.service-count {
  margin: 36px 0 0;
  color: rgba(239, 233, 221, 0.5);
  font-family: var(--font-display);
  font-size: 18px;
}

.service-section-heading h2 {
  margin-top: 0;
  color: var(--neutral-light);
  font-size: clamp(65px, 6.2vw, 106px);
}

.service-section-heading h2 em {
  color: #aabdd4;
}

.service-explorer {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(330px, 0.84fr);
  gap: 7vw;
  padding-top: 64px;
}

.service-list {
  border-top: 1px solid var(--line-light);
}

.service-item {
  position: relative;
  display: grid;
  grid-template-columns: 50px 1fr 32px;
  gap: 16px;
  width: 100%;
  padding: 27px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line-light);
  color: rgba(239, 233, 221, 0.5);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: color 0.5s ease, padding 0.5s ease;
}

.service-item::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -20px;
  width: 3px;
  background: var(--neutral);
  opacity: 0;
  transition: left 0.45s ease, opacity 0.45s ease;
}

.service-item:hover,
.service-item:focus-visible,
.service-item.is-active {
  color: var(--neutral-light);
  padding-left: 20px;
}

.service-item.is-active::before {
  left: 0;
  opacity: 1;
}

.service-number {
  padding-top: 10px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.service-item-copy {
  display: block;
}

.service-title {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(34px, 3.1vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1;
}

.service-description {
  display: block;
  max-width: 560px;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  color: rgba(239, 233, 221, 0.66);
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(12px);
  transition: max-height 0.65s ease, margin 0.65s ease, opacity 0.45s ease, transform 0.55s ease;
}

.service-item.is-active .service-description {
  max-height: 170px;
  margin-top: 20px;
  opacity: 1;
  transform: translateY(0);
}

.service-arrow {
  padding-top: 5px;
  font-size: 22px;
  opacity: 0;
  transform: translate(-8px, 8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.service-item.is-active .service-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

.service-mobile-image {
  display: none;
}

.service-stage {
  position: relative;
}

.service-stage-frame {
  position: sticky;
  top: 105px;
  height: min(690px, calc(100vh - 140px));
  min-height: 560px;
  overflow: hidden;
  background: #1b2c3d;
}

.service-stage-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.8s ease, transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-stage-image.is-active {
  opacity: 1;
  transform: scale(1);
}

.service-stage-shade {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 29, 48, 0.02) 48%, rgba(13, 29, 48, 0.82) 100%);
  pointer-events: none;
}

.stage-counter,
.stage-label {
  position: absolute;
  z-index: 3;
  margin: 0;
  color: var(--neutral-light);
}

.stage-counter {
  top: 20px;
  right: 20px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.stage-label {
  right: 25px;
  bottom: 25px;
  left: 25px;
  font-family: var(--font-display);
  font-size: 37px;
  line-height: 1;
}

.difference-strip {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 9vw;
  min-height: 720px;
  padding: 145px var(--page-pad);
  overflow: hidden;
  color: var(--neutral-light);
  background: var(--blue);
}

.difference-word {
  position: absolute;
  top: -5vw;
  left: -2vw;
  margin: 0;
  color: rgba(239, 233, 221, 0.07);
  font-size: 24vw;
  font-weight: 800;
  letter-spacing: -0.09em;
  line-height: 1;
}

.difference-heading,
.difference-body {
  z-index: 1;
  align-self: center;
}

.difference-heading h2 {
  color: var(--neutral-light);
  font-size: clamp(66px, 6vw, 102px);
}

.difference-heading h2 em {
  color: #c1d0e0;
}

.difference-body {
  max-width: 560px;
  padding-top: 130px;
}

.difference-body p {
  margin: 0 0 28px;
  color: rgba(239, 233, 221, 0.76);
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.45;
}

.merkama-feature {
  position: relative;
  padding: 90px var(--page-pad) 150px;
  overflow: hidden;
  color: var(--neutral-light);
  background: var(--blue-deep);
}

.merkama-topline {
  display: flex;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-light);
  color: rgba(239, 233, 221, 0.55);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.merkama-heading {
  position: relative;
  z-index: 3;
  padding: 80px 0 60px;
}

.merkama-eyebrow {
  margin: 0 0 26px;
  color: #afc1d7;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.merkama-heading h2 {
  margin: 0;
  color: rgba(239, 233, 221, 0.13);
  font-size: clamp(128px, 21vw, 330px);
  font-weight: 800;
  letter-spacing: -0.085em;
  line-height: 0.68;
}

.merkama-tagline {
  position: absolute;
  right: 3vw;
  bottom: 37px;
  width: min(570px, 42vw);
  margin: 0;
  color: var(--neutral-light);
  font-family: var(--font-display);
  font-size: clamp(42px, 4.4vw, 74px);
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.merkama-tagline em {
  color: #afc1d7;
  font-weight: 400;
}

.merkama-visual {
  position: relative;
  z-index: 2;
  height: min(750px, 58vw);
  margin: 0;
  overflow: hidden;
}

.merkama-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.merkama-visual:hover img {
  transform: scale(1.025);
}

.merkama-visual figcaption {
  position: absolute;
  z-index: 3;
  right: 20px;
  bottom: 17px;
  padding: 8px 10px;
  color: rgba(239, 233, 221, 0.68);
  background: rgba(13, 29, 48, 0.62);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.merkama-intro {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: 7vw;
  align-items: start;
  padding: 85px 8vw 100px;
  border-bottom: 1px solid var(--line-light);
}

.merkama-intro p {
  margin: 0;
  color: rgba(239, 233, 221, 0.68);
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.55;
}

.merkama-intro .merkama-intro-lead {
  color: var(--neutral-light);
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.15;
}

.pill-action {
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin-top: 35px;
  color: var(--neutral-light);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pill-action span {
  padding: 18px 26px;
  border-radius: 999px;
  background: var(--blue-dark);
  text-align: center;
}

.pill-action i {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--blue-dark);
  font-size: 16px;
  font-style: normal;
  transition: transform 0.35s ease, background 0.35s ease;
}

.pill-action:hover i {
  transform: rotate(45deg);
}

.pill-action-light {
  grid-column: 2;
  color: var(--blue-dark);
}

.pill-action-light span,
.pill-action-light i {
  background: var(--neutral);
}

.merkama-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line-light);
}

.merkama-services article {
  min-height: 460px;
  padding: 58px 42px;
  border-right: 1px solid var(--line-light);
  transition: color 0.45s ease, background 0.45s ease;
}

.merkama-services article:last-child {
  border-right: 0;
}

.merkama-services article:hover {
  color: var(--blue-dark);
  background: var(--neutral);
}

.merkama-services article > p {
  margin: 0 0 78px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.merkama-services h3 {
  margin: 0 0 31px;
  font-family: var(--font-display);
  font-size: clamp(37px, 3.25vw, 53px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.merkama-services article > span {
  display: block;
  color: rgba(239, 233, 221, 0.62);
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.52;
  transition: color 0.45s ease;
}

.merkama-services article:hover > span {
  color: #566b84;
}

.merkama-access {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5vw;
  padding: 66px 8vw 0;
}

.merkama-access p {
  margin: 0;
}

.merkama-access p:first-child {
  color: #afc1d7;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.merkama-access p:last-child {
  max-width: 760px;
  color: rgba(239, 233, 221, 0.62);
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.5;
}

.inside-building {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px;
  padding: 145px var(--page-pad) 160px;
  background: var(--neutral-bright);
}

.inside-heading {
  grid-column: 1 / 7;
  padding-bottom: 100px;
}

.amenity-card {
  position: relative;
  overflow: hidden;
}

.amenity-card-coffee {
  grid-column: 1 / 9;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  min-height: 660px;
  background: var(--neutral);
}

.amenity-card figure {
  position: relative;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
}

.amenity-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.amenity-card:hover figure img {
  transform: scale(1.035);
}

.amenity-card > div:last-child {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px 40px;
}

.amenity-card p {
  margin: 0 0 auto;
  color: var(--blue);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.amenity-card h3 {
  margin: 0 0 32px;
  font-family: var(--font-display);
  font-size: clamp(46px, 4.1vw, 67px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.88;
}

.amenity-card span {
  color: #60738d;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.5;
}

.amenity-card-service {
  grid-column: 9 / 13;
  min-height: 660px;
  color: var(--neutral-light);
  background: var(--blue);
}

.amenity-card-service p {
  color: rgba(239, 233, 221, 0.7);
}

.amenity-card-service span {
  color: rgba(239, 233, 221, 0.72);
}

.amenity-monogram {
  position: absolute;
  top: -6vw;
  right: -2vw;
  color: rgba(239, 233, 221, 0.1);
  font-size: 18vw;
  font-weight: 800;
  line-height: 1;
}

.service-enquiry {
  position: relative;
  min-height: 760px;
  padding: 155px var(--page-pad) 120px;
  overflow: hidden;
  background: var(--neutral);
}

.enquiry-ghost {
  position: absolute;
  right: -2vw;
  bottom: -3vw;
  margin: 0;
  color: rgba(48, 74, 110, 0.055);
  font-size: 20vw;
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.75;
}

.enquiry-copy {
  position: relative;
  z-index: 1;
  width: min(780px, 65vw);
  margin-left: 30vw;
}

.enquiry-copy > p:not(.section-kicker) {
  max-width: 580px;
  margin: 45px 0 0;
  color: #60738d;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.5;
}

.enquiry-note {
  position: absolute;
  bottom: 55px;
  left: var(--page-pad);
  margin: 0;
  color: var(--blue);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.services-footer {
  position: relative;
  z-index: 2;
  overflow: hidden;
  color: var(--neutral-light);
  background: var(--blue-dark);
  transform: translateY(70px);
  transition: transform 1.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-footer.is-visible {
  transform: translateY(0);
}

.footer-inner {
  padding: 55px var(--page-pad) 30px;
}

.footer-word-wrap {
  position: relative;
  height: clamp(150px, 17vw, 280px);
  overflow: hidden;
  border-bottom: 1px solid var(--line-light);
}

.footer-word {
  position: absolute;
  right: 0;
  bottom: clamp(-4vw, -42px, -16px);
  left: 0;
  margin: 0;
  color: var(--neutral-light);
  font-size: clamp(130px, 19.5vw, 310px);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.82;
  text-align: center;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr 1.3fr;
  gap: 6vw;
  padding: 70px 0;
  border-bottom: 1px solid var(--line-light);
}

.footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
}

.footer-grid h2 {
  margin: 0 0 12px;
  font-size: 13px;
}

.footer-grid a,
.footer-grid p,
.footer-grid small {
  margin: 0;
  color: rgba(239, 233, 221, 0.68);
  font-size: 12px;
  line-height: 1.5;
}

.footer-grid a:hover {
  color: var(--neutral-light);
}

.footer-grid small {
  margin-top: 8px;
  color: rgba(239, 233, 221, 0.38);
  font-size: 9px;
}

.footer-newsletter form {
  display: flex;
  width: 100%;
  margin-top: 16px;
  border-bottom: 1px solid rgba(239, 233, 221, 0.35);
}

.footer-newsletter input {
  flex: 1;
  min-width: 0;
  padding: 10px 0;
  border: 0;
  outline: 0;
  color: var(--neutral-light);
  background: transparent;
  font-size: 12px;
}

.footer-newsletter button {
  padding: 0 4px 0 15px;
  color: var(--neutral-light);
  background: transparent;
  cursor: pointer;
}

.footer-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 28px;
}

.footer-bottom p {
  margin: 0;
  color: rgba(239, 233, 221, 0.52);
  font-size: 9px;
}

.footer-bottom a {
  width: 72px;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s ease, transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1240px) {
  .services-header {
    grid-template-columns: 155px 1fr auto;
  }

  .services-desktop-nav,
  .header-action {
    display: none;
  }

  .services-menu-toggle {
    display: block;
    justify-self: end;
  }

  .hero-copy {
    width: min(700px, 60vw);
  }

  .hero-gallery {
    width: 50vw;
  }

  .service-explorer {
    gap: 5vw;
  }

  .merkama-services article {
    padding: 48px 30px;
  }
}

@media (max-width: 900px) {
  .services-hero {
    min-height: 940px;
  }

  .hero-copy {
    width: calc(100% - (var(--page-pad) * 2));
  }

  .hero-copy h1 {
    font-size: clamp(66px, 10vw, 92px);
  }

  .hero-gallery {
    top: 390px;
    width: 76vw;
    height: 470px;
  }

  .services-intro {
    min-height: auto;
  }

  .intro-heading {
    grid-column: 1 / 8;
  }

  .intro-body {
    grid-column: 7 / 13;
  }

  .service-section-heading {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .service-explorer {
    grid-template-columns: 1fr;
  }

  .service-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .service-item {
    display: grid;
    grid-template-columns: 35px 1fr 25px;
    align-content: start;
    min-height: 230px;
    padding: 24px 20px;
    border-right: 1px solid var(--line-light);
  }

  .service-item:nth-child(even) {
    border-right: 0;
  }

  .service-item:hover,
  .service-item:focus-visible,
  .service-item.is-active {
    padding-left: 20px;
  }

  .service-item::before {
    display: none;
  }

  .service-description,
  .service-item.is-active .service-description {
    max-height: none;
    margin-top: 18px;
    opacity: 1;
    transform: none;
  }

  .service-stage {
    display: none;
  }

  .difference-strip {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .difference-body {
    padding-top: 0;
  }

  .merkama-tagline {
    right: 0;
  }

  .merkama-intro {
    grid-template-columns: 1fr;
  }

  .pill-action-light {
    grid-column: auto;
  }

  .merkama-services {
    grid-template-columns: 1fr;
  }

  .merkama-services article {
    min-height: 320px;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .merkama-services article:last-child {
    border-bottom: 0;
  }

  .merkama-services article > p {
    margin-bottom: 45px;
  }

  .amenity-card-coffee {
    grid-column: 1 / 13;
  }

  .amenity-card-service {
    grid-column: 1 / 13;
    min-height: 440px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  :root {
    --page-pad: 20px;
    --header-h: 62px;
  }

  .services-header,
  .services-header.is-scrolled {
    min-height: 62px;
  }

  .services-brand {
    width: 110px;
    height: 44px;
  }

  .services-menu-toggle {
    position: absolute;
    top: 10px;
    right: 16px;
  }

  .services-mobile-nav {
    padding-top: 92px;
  }

  .services-mobile-nav a {
    padding: 10px 0;
    font-size: clamp(27px, 9.2vw, 39px);
  }

  .services-hero {
    min-height: 820px;
  }

  .hero-grid {
    inset: 62px 20px 20px;
    background: repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent calc(50% - 1px),
      var(--line) calc(50% - 1px),
      var(--line) 50%
    );
  }

  .hero-ghost {
    top: 95px;
    font-size: 33vw;
  }

  .hero-copy {
    top: 105px;
    left: 20px;
    width: calc(100% - 40px);
  }

  .hero-copy h1 {
    margin-top: 18px;
    font-size: clamp(49px, 14.5vw, 66px);
    line-height: 0.84;
  }

  .hero-gallery {
    top: 382px;
    right: 20px;
    width: calc(100% - 40px);
    height: 365px;
  }

  .hero-image-primary {
    width: 62%;
  }

  .hero-image-secondary {
    right: 54%;
    bottom: 42px;
    width: 42%;
    height: 58%;
    border-width: 6px;
  }

  .hero-image-note {
    display: none;
  }

  .hero-foot {
    right: 20px;
    bottom: 16px;
    left: 20px;
  }

  .hero-foot p {
    display: none;
  }

  .hero-foot a {
    margin-left: auto;
  }

  .services-intro {
    display: block;
    padding: 100px 20px 110px;
  }

  .intro-index {
    top: 45px;
    right: -3vw;
    font-size: 48vw;
  }

  .intro-heading h2,
  .service-section-heading h2,
  .difference-heading h2,
  .inside-heading h2,
  .enquiry-copy h2 {
    font-size: clamp(56px, 17vw, 76px);
  }

  .intro-body {
    margin-top: 75px;
  }

  .intro-body .intro-lead {
    font-size: 31px;
  }

  .intro-body p {
    font-size: 18px;
  }

  .resident-services {
    padding: 95px 20px 110px;
  }

  .service-section-heading {
    padding-bottom: 58px;
  }

  .service-list {
    display: block;
  }

  .service-item {
    grid-template-columns: 30px 1fr 24px;
    min-height: 0;
    padding: 27px 0;
    border-right: 0;
  }

  .service-item:hover,
  .service-item:focus-visible,
  .service-item.is-active {
    padding-left: 0;
  }

  .service-title {
    font-size: 37px;
  }

  .service-description {
    max-height: 0;
    margin-top: 0;
    opacity: 0;
    transform: translateY(10px);
  }

  .service-item.is-active .service-description {
    max-height: 220px;
    margin-top: 18px;
    opacity: 1;
    transform: translateY(0);
  }

  .service-mobile-image {
    display: block;
    width: 100%;
    height: 0;
    margin-top: 0;
    object-fit: cover;
    opacity: 0;
    transition: height 0.7s cubic-bezier(0.16, 1, 0.3, 1), margin 0.7s ease, opacity 0.5s ease;
  }

  .service-item.is-active .service-mobile-image {
    height: 430px;
    margin-top: 26px;
    opacity: 1;
  }

  .service-item.is-active .service-mobile-image-wide {
    height: 270px;
  }

  .service-arrow {
    padding-top: 2px;
  }

  .difference-strip {
    min-height: auto;
    padding: 105px 20px 115px;
  }

  .difference-word {
    top: 6vw;
    font-size: 31vw;
  }

  .difference-body p {
    font-size: 20px;
  }

  .merkama-feature {
    padding: 70px 20px 105px;
  }

  .merkama-topline p:last-child {
    display: none;
  }

  .merkama-heading {
    padding: 75px 0 55px;
  }

  .merkama-heading h2 {
    font-size: 29vw;
  }

  .merkama-tagline {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    margin-top: 45px;
    font-size: 48px;
  }

  .merkama-visual {
    height: 126vw;
    max-height: 590px;
  }

  .merkama-visual img {
    object-position: 63% center;
  }

  .merkama-visual figcaption {
    right: 10px;
    bottom: 10px;
    left: 10px;
    font-size: 7px;
  }

  .merkama-intro {
    gap: 36px;
    padding: 65px 0 80px;
  }

  .merkama-intro .merkama-intro-lead {
    font-size: 31px;
  }

  .merkama-services article {
    min-height: 370px;
    padding: 45px 0;
  }

  .merkama-services h3 {
    font-size: 43px;
  }

  .merkama-services article > span {
    font-size: 17px;
  }

  .merkama-access {
    grid-template-columns: 1fr;
    padding: 58px 0 0;
  }

  .merkama-access p:last-child {
    font-size: 18px;
  }

  .inside-building {
    display: block;
    padding: 105px 20px 120px;
  }

  .inside-heading {
    padding-bottom: 70px;
  }

  .amenity-card-coffee {
    display: block;
    min-height: auto;
  }

  .amenity-card figure {
    height: 330px;
  }

  .amenity-card > div:last-child {
    min-height: 420px;
    padding: 38px 28px;
  }

  .amenity-card h3 {
    font-size: 50px;
  }

  .amenity-card-service {
    min-height: 480px;
    margin-top: 22px;
  }

  .amenity-monogram {
    font-size: 60vw;
  }

  .service-enquiry {
    min-height: 720px;
    padding: 110px 20px;
  }

  .enquiry-copy {
    width: auto;
    margin-left: 0;
  }

  .enquiry-copy > p:not(.section-kicker) {
    font-size: 19px;
  }

  .enquiry-ghost {
    right: -8vw;
    bottom: 4vw;
    font-size: 31vw;
  }

  .enquiry-note {
    display: none;
  }

  .footer-inner {
    padding: 45px 20px 28px;
  }

  .footer-word-wrap {
    height: 25vw;
  }

  .footer-word {
    font-size: 24vw;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 42px 22px;
    padding: 54px 0;
  }

  .footer-newsletter {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: center;
    gap: 22px;
  }

  .footer-bottom p {
    max-width: 230px;
    line-height: 1.5;
  }

  .footer-bottom a {
    width: 55px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
