/* Layout for the relocation landing page; colors and controls follow the division theme. */
:is(.relo-page--home,.relo-page--our-services) .relo-container { max-width: 1200px; }
.relo-services-hero { position: relative; overflow: hidden; background: var(--primary-color); }
.relo-services-hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #156398 52%, transparent 52%); }
.relo-services-hero img { object-position: center 47%; }
.relo-services-hero h1 { color: var(--bs-white); font-size: clamp(48px,6vw,90px); line-height: 1.05; }
.relo-services-hero .relo-slide-copy { min-height: clamp(360px,50svh,570px); padding-block: clamp(54px,7vw,92px); }
.relo-service-scope { margin: 14px 0; padding-inline-start: 1.1em; }
.relo-service-scope li { color: inherit; font-size: .95rem; line-height: 1.6; }
.relo-highlights, .relo-page--home .relo-closing { position: relative; background: var(--primary-color); color: white; isolation: isolate; }
.relo-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.relo-highlights .carousel-item::after {
  content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #156398 52%, transparent 52%);
}
.relo-highlights .carousel-item { background: var(--primary-color); }
.relo-slide-copy { position: relative; z-index: 1; min-height: clamp(480px, 72svh, 760px); align-content: center; padding-block: 58px 92px; }
.relo-slide-copy :is(h1, h2), .relo-page--home .relo-closing h2 { color: white; max-width: 15ch; font-size: clamp(38px, 4.7vw, 76px); line-height: 1.06; font-weight: 500; text-wrap: balance; }
.relo-slide-copy p, .relo-slide-copy .relo-eyebrow { color: white !important; }
.relo-slide-copy p:not(.relo-eyebrow) { max-width: 52ch; }
.relo-slide-controls { position: absolute; top: 50%; transform: translateY(-50%); inset-inline: clamp(12px, 2vw, 32px); z-index: 3; display: flex; justify-content: space-between; pointer-events: none; }
.relo-highlights .relo-slide-copy { width: calc(100% - clamp(24px, 4vw, 64px) - 100px); max-width: 1200px; }
.relo-slide-controls button { pointer-events: auto; background: var(--primary-color); color: var(--bs-white); border: 1px solid var(--cml-divider); width: 44px; height: 44px; border-radius: 50%; }
.relo-slide-controls button:is(:hover, :focus-visible) { background: var(--bs-white); color: var(--primary-color); }
.relo-slide-controls button:focus-visible { outline: 2px solid var(--bs-white); outline-offset: 2px; }
.relo-highlights .carousel-item { overflow: hidden; }
.relo-highlights .carousel-item:first-child img { object-position: center 42%; }
.relo-highlights .carousel-item:nth-child(2) img { object-position: center 12%; }
@media (min-width: 801px) {
  .relo-highlights .carousel-item:nth-child(2) img { scale: -1 1; }
}
.relo-stories, :is(.relo-page--home,.relo-page--our-services) .relo-services, .relo-page--why-cml-safe-pak .relo-trust { padding-block: clamp(34px, 4.5vw, 72px); }
.relo-introduction h2 { font-size: clamp(34px, 4vw, 64px); line-height: 1.06; }
.relo-introduction { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: clamp(24px, 6vw, 88px); }
.relo-about-photo { grid-column: 2; grid-row: 1; margin: 0; }
.relo-about-photo img { width: 100%; aspect-ratio: 5 / 4; display: block; object-fit: cover; }
.relo-introduction > div { grid-column: 1; grid-row: 1; }
.relo-introduction p { max-width: 53ch; font-size: clamp(17px, 1.35vw, 21px); }
.relo-introduction .relo-intro-lead { margin-block: 22px 16px; font-size: clamp(20px, 1.65vw, 25px); color: var(--primary-color); line-height: 1.4; }
.relo-page--why-cml-safe-pak .relo-trust { background: var(--cml-surface); }
.relo-page--home .relo-section-head { margin-bottom: clamp(22px, 3vw, 40px); }
.relo-proofs { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; }
.relo-accreditation { padding: clamp(28px, 4.4vw, 64px); padding-right: 12%; background: var(--primary-color); }
.relo-accreditation img { display: block; width: clamp(100px, 10vw, 146px); background: white; border-radius: 50%; padding: 12px; margin-bottom: 20px; }
.relo-proofs .relo-accreditation h2 { color: white; font-size: clamp(32px, 3.4vw, 52px); line-height: 1.07; max-width: 15ch; }
.relo-accreditation p { color: white; max-width: 51ch; margin-bottom: 0; }
.relo-accreditation .relo-exclusive { font-size: clamp(23px, 2.3vw, 35px); color: var(--bs-white); margin-block: 8px 14px; }
.relo-memberships { background: white; border-top: 3px solid var(--cml-accent); padding: clamp(24px, 3vw, 44px); margin-left: -5%; position: relative; }
.relo-memberships h2 { font-size: clamp(21px, 2vw, 28px); }
.relo-harmony { display: flex; align-items: center; gap: 18px; color: var(--primary-color); font-weight: 600; }
.relo-harmony img { width: min(38%, 158px); }
.relo-membership-line { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-block: 16px; border-block: 1px solid var(--cml-divider); }
.relo-membership-line strong { font-size: 24px; color: var(--primary-color); }
.relo-memberships p { margin: 14px 0 0; }
.relo-trust-features { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 64px); align-items: stretch; margin-block: 32px; }
.relo-diplomats { align-content: center; background: var(--primary-color); padding: clamp(28px, 3.8vw, 58px); }
.relo-diplomats h2,.relo-diplomats p { color: white; }
.relo-diplomats h2 { font-size: clamp(24px, 2.2vw, 34px); }
.relo-diplomats strong { display: block; color: var(--bs-white); font-size: clamp(45px, 5.5vw, 85px); }
.relo-page--home .relo-trust-grid { grid-template-columns: 1fr; border: 0; }
.relo-page--home .relo-trust-item { padding: 16px 0; border: 0; border-top: 1px solid var(--cml-divider); }
.relo-page--home .relo-trust-item h3 { color: var(--primary-color); margin-bottom: 5px; }
.relo-page--home .relo-credentials { margin: 0; padding-bottom: 0; border: 0; }
.relo-credentials span { flex-grow: 1; }
.relo-page--home .relo-services { background: white; }
.relo-discovery {
  display: grid; grid-template-columns: 1fr 1fr;
  grid-template-areas: "expat pets" "expat diplomatic" "vip corporate" "school corporate";
  gap: clamp(20px, 2.6vw, 40px);
}
.relo-journey--expat-relocation { grid-area: expat; }
.relo-journey--pet-relocation { grid-area: pets; }
.relo-journey--diplomatic-relocation { grid-area: diplomatic; }
.relo-journey--corporate-mobility { grid-area: corporate; }
.relo-journey--vip-local-moves { grid-area: vip; }
.relo-journey--international-school-relocation { grid-area: school; }
.relo-journey { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(16px, 2vw, 32px); align-items: center; }
.relo-journey-photo { position: relative; overflow: hidden; align-self: stretch; min-height: 216px; }
.relo-journey-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.relo-journey-copy { padding-block: 12px; }
.relo-journey h3 { font-size: clamp(23px, 2.1vw, 32px); line-height: 1.1; }
.relo-journey p { max-width: 52ch; margin-bottom: 10px; }
.relo-journey a { display: inline-flex; align-items: center; gap: 8px; padding-block: 6px; color: var(--primary-color); font-weight: 600; border-bottom: 1px solid var(--cml-accent); }
.relo-journey:is(.relo-journey--expat-relocation,.relo-journey--corporate-mobility) { grid-template-columns: 1fr; gap: 0; isolation: isolate; color: white; background: var(--primary-color); }
.relo-journey:is(.relo-journey--expat-relocation,.relo-journey--corporate-mobility) > * { grid-area: 1 / 1; }
.relo-journey:is(.relo-journey--expat-relocation,.relo-journey--corporate-mobility) .relo-journey-copy { align-self: end; padding: clamp(22px, 3vw, 42px); z-index: 1; background: linear-gradient(0deg, #156398 52%, transparent 52%); padding-top: 65px; }
.relo-journey:is(.relo-journey--expat-relocation,.relo-journey--corporate-mobility) :is(h3,h4,p,a) { color: white; }
.relo-journey:is(.relo-journey--expat-relocation,.relo-journey--corporate-mobility) h3 { font-size: clamp(32px, 3.2vw, 46px); }
.relo-journey--corporate-mobility img { object-position: center 16%; }
@media (max-width: 900px) {
  .relo-discovery { grid-template-areas: "expat expat" "pets diplomatic" "corporate corporate" "vip school"; }
  .relo-journey { display: block; }
  .relo-journey-photo { min-height: 0; aspect-ratio: 3/2; }
  .relo-journey:is(.relo-journey--expat-relocation,.relo-journey--corporate-mobility) { display: grid; }
  .relo-journey:is(.relo-journey--expat-relocation,.relo-journey--corporate-mobility) .relo-journey-photo { aspect-ratio: 2/1; }
}
@media (max-width: 560px) {
  .relo-services-hero::before { background: linear-gradient(0deg, #156398 52%, transparent 52%); }
  .relo-slide-copy { min-height: 470px; align-content: end; padding: 110px 0 78px; }
  .relo-highlights .carousel-item::after { background: linear-gradient(0deg, #156398 52%, transparent 52%); }
  .relo-introduction,.relo-trust-features,.relo-proofs { grid-template-columns: 1fr; }
  .relo-introduction > div,.relo-about-photo { grid-column: auto; grid-row: auto; }
  .relo-about-photo { order: 2; }
  .relo-about-photo img { aspect-ratio: 3/2; }
  .relo-memberships { margin: 0; }
  .relo-trust-features { gap: 16px; }
  .relo-discovery { grid-template-columns: 1fr; grid-template-areas: "expat" "pets" "diplomatic" "corporate" "vip" "school"; }
  .relo-journey-photo { aspect-ratio: 1.8; }
  .relo-journey:is(.relo-journey--expat-relocation,.relo-journey--corporate-mobility) .relo-journey-photo { aspect-ratio: 1/1.1; }
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes relo-camera { from { transform: scale(1.075); } to { transform: scale(1); } }
  .relo-journey-photo img { transition: transform .65s ease; }
  .relo-journey:is(:hover,:focus-within) img { transform: scale(1.025); }
}

/* Dedicated credibility page */
.relo-why-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--primary-color); }
.relo-why-hero .relo-cover { z-index: -2; left: auto; right: 0; width: 68%; object-position: right center; mask-image: linear-gradient(90deg,transparent 8%,white 24%); }
.relo-why-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #156398 52%, transparent 52%); }
.relo-why-hero .relo-container { padding-block: clamp(42px,5vw,75px); }
.why-kicker { display: block; text-transform: uppercase; font-weight: 650; font-size: 13px; line-height: 1.5; letter-spacing: .21em; color: var(--bs-white); margin-bottom: 12px; }
.relo-why-hero .why-kicker::before { content: ''; display: block; width: 46px; height: 3px; background: var(--cml-accent); margin-bottom: 14px; }
.relo-why-hero h1 { color: var(--bs-white); max-width: 15ch; font-size: clamp(39px,4.6vw,70px); line-height: 1.04; }
.relo-why-hero p { color: var(--bs-white); max-width: 38ch; font-size: clamp(17px,1.45vw,22px); line-height: 1.5; }
.why-arrow { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid currentColor; border-radius: 50%; line-height: 1; font-size: 21px; transition: background-color .2s,color .2s; }
.relo-why-hero .why-arrow { color: var(--bs-white); }
.why-arrow:is(:hover,:focus-visible) { color: var(--primary-color); background: white; border-color: var(--secondary-color); }
.why-credentials { padding-block: clamp(24px,3vw,46px); }
.why-faim { position: relative; isolation: isolate; overflow: hidden; border-radius: 22px; background: var(--primary-color); display: grid; grid-template-columns: .36fr 1fr; align-items: center; gap: clamp(24px,4vw,68px); padding: clamp(28px,3.4vw,56px); }
.why-faim::after { content: ''; position: absolute; z-index: -1; inset: 0 0 0 auto; width: 30%; background: url('../assets/img/06-global-connectivity-globe.webp') right center / cover no-repeat; mask-image: linear-gradient(90deg,transparent 5%,white 34%); }
.why-faim img { width: min(100%,190px); justify-self: center; background: var(--bs-white); border-radius: 50%; padding: 10px; }
.why-faim > div { margin-right: 29%; border-left: 1px solid var(--cml-accent); padding-left: clamp(20px,4vw,60px); }
.why-faim h2,.why-network h2 { color: var(--bs-white); line-height: 1.05; }
.why-faim h2 { font-size: clamp(38px,4.1vw,64px); }
.why-faim strong { display: inline-block; background: var(--primary-color); color: var(--bs-white); padding: 3px 12px; border-radius: 7px; font-size: clamp(19px,2vw,30px); }
.why-faim p,.why-network p { max-width: 55ch; margin: 12px 0 0; color: var(--bs-white); line-height: 1.55; }
.why-affiliations { display: grid; grid-template-columns: 1.15fr repeat(3,1fr); gap: clamp(10px,1.5vw,24px); align-items: stretch; margin-top: clamp(24px,3vw,42px); }
.why-affiliations h2,.why-expertise h2 { font-size: clamp(23px,2.1vw,34px); line-height: 1.12; }
.why-affiliations p,.why-expertise p,.why-diplomats p { line-height: 1.55; margin-bottom: 0; }
.why-credential { background: var(--cml-surface); border-radius: 14px; padding: 18px 12px; display: grid; place-items: center; grid-template-rows: 1fr auto; gap: 12px; }
.why-credential img { width: min(100%,160px); height: 62px; object-fit: contain; }
.why-credential strong { font-size: clamp(26px,2.7vw,42px); }
.why-credential span { font-weight: 600; font-size: 14px; color: var(--primary-color); }
.why-diplomats { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; background: var(--cml-surface); }
.why-diplomats img { width: 100%; height: 100%; max-height: 390px; object-fit: cover; clip-path: polygon(0 0,100% 0,89% 100%,0 100%); }
.why-diplomats > div { padding: clamp(28px,4vw,65px) 6%; max-width: 660px; align-self: center; }
.why-diplomats h2 { font-size: clamp(28px,2.8vw,42px); line-height: 1.13; }
.why-diplomats strong { display: block; font-size: clamp(48px,5.5vw,80px); font-variant-numeric: tabular-nums; }
.why-network {
  --network-globe: url('../assets/img/why-network-globe.png');
  position: relative; isolation: isolate; background: var(--primary-color); overflow: hidden;
}
.why-network::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  left: calc(50% + min(8vw, 112px)); bottom: 0;
  width: clamp(240px, 24vw, 380px); aspect-ratio: 1;
  translate: -50% 46%;
  background: var(--network-globe) center / contain no-repeat;
  mask-image: linear-gradient(90deg, transparent, white 35%);
}
.why-network .relo-container { display: grid; grid-template-columns: 2fr 1fr; gap: 6%; align-items: center; }
.why-network-copy { text-align: center; position: relative; padding: clamp(28px,3vw,48px) 0 0; }
.why-network h2 { font-size: clamp(29px,3vw,46px); }
.why-network p { margin-inline: auto; }
/* The published decorative slot retains the original section height. */
.why-map { width: min(100%,760px); aspect-ratio: 630/96; margin: 14px auto 0; }
.why-network ul { margin: 0; padding: 0 0 0 10%; border-left: 1px solid var(--cml-accent); list-style: none; }
.why-network li { display: flex; align-items: center; gap: 14px; padding: 9px 0; color: var(--bs-white); font-weight: 600; }
.why-network li i { color: var(--cml-accent); font-size: 26px; }
.why-expertise { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-block: clamp(22px,2.4vw,38px); }
.why-expertise section { display: grid; grid-template-columns: .9fr 1fr; overflow: hidden; border-radius: 16px; background: var(--cml-surface); }
.why-expertise section + section { grid-template-columns: 1fr 1.1fr; }
.why-pet-photo { overflow: hidden; order: 1; position: relative; }
.why-pet-photo img { position: absolute; inset: 0; min-width: 114%; object-position: left center; }
.why-expertise img { width: 100%; height: 100%; object-fit: cover; }
.why-expertise section > div:not(.why-pet-photo) { align-self: center; padding: clamp(16px,2vw,32px); }
.why-expertise .why-arrow { margin-top: 12px; color: var(--primary-color); }
@media (max-width: 900px) {
  .why-network::before {
    left: 50%; translate: -50% 52%;
    mask-image: linear-gradient(180deg, transparent, white 32%);
  }
  .why-expertise { grid-template-columns: 1fr; }
  .why-expertise img { max-height: 280px; }
  .why-affiliations { grid-template-columns: repeat(3,1fr); }
  .why-affiliations > div:first-child { grid-column: 1/-1; }
}
@media (max-width: 560px) {
  .why-network::before { content: none; }
  .why-network .why-map { position: relative; }
  .why-network .why-map::before {
    content: ''; position: absolute; z-index: -1; pointer-events: none;
    left: 87%; top: 50%; translate: -50% -50%;
    width: clamp(210px, 54vw, 280px); aspect-ratio: 1;
    background: var(--network-globe) center / contain no-repeat;
    mask-image: linear-gradient(180deg, transparent 8%, rgb(255 255 255 / 6%) 32%,
      white 46% 57%, rgb(255 255 255 / 8%) 73%, transparent 92%);
  }
  .relo-why-hero .relo-cover { width: 110%; max-width: none; height: auto; mask-image: linear-gradient(0deg,transparent,white 24%); }
  .relo-why-hero::before { background: none; }
  .relo-why-hero .relo-container { padding-block: 49vw 26px; }
  .why-faim { grid-template-columns: 1fr; gap: 16px; }
  .why-faim img { justify-self: start; width: 95px; }
  .why-faim > div { margin: 0; border: 0; padding: 0; }
  .why-faim::after { width: 50%; height: 125px; mask-image: linear-gradient(0deg,transparent,white 40%),linear-gradient(90deg,transparent,white 40%); mask-composite: intersect; }
  .why-affiliations { gap: 8px; }
  .why-credential { padding: 12px 5px; text-align: center; }
  .why-credential span { font-size: 12px; }
  .why-diplomats,.why-network .relo-container { grid-template-columns: 1fr; gap: 0; }
  .why-diplomats img { height: 190px; clip-path: none; }
  .why-network ul { border: 0; border-top: 1px solid var(--cml-accent); padding: 10px 0 18px; }

  .why-expertise section,.why-expertise section + section { grid-template-columns: 1fr; }
  .why-expertise img { height: 175px; }
  .why-pet-photo { order: 0; height: 175px; }
}
@media (prefers-reduced-motion: no-preference) {
  .relo-why-hero .relo-cover { animation: relo-camera 1.3s ease-out both; }
  .relo-why-hero .relo-container { animation: relo-hero-arrive .7s ease both; }
}
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .why-network::before { animation: why-globe-orbit 32s ease-in-out infinite alternate; }
  .why-network.cml-motion-offscreen::before { animation-play-state: paused; }
  @keyframes why-globe-orbit { from { transform: rotate(-2deg); } to { transform: rotate(2deg); } }
}

/* Homepage compositions follow the Safe Pak reference using the division palette. */
:is(.relo-page--home, .relo-page--about-cml-safe-pak) .relo-slide-copy .relo-btn {
  background: var(--primary-color); color: var(--bs-white) !important; border: 0; border-radius: 99px;
}
.relo-page--home .relo-header { --division-contact-color: var(--white); background: var(--primary-color); }
.relo-page--home .relo-header__inner { padding-block: 8px; }
.relo-page--home .relo-brand img { filter: brightness(0) invert(1); object-fit: contain; }
.relo-page--home .relo-nav > a,.relo-page--home .relo-mega > a,.relo-page--home .relo-header .relo-mega__trigger,.relo-page--home .division-actions .division-toggle { color: var(--bs-white); }
.relo-page--home .relo-nav > a:is([aria-current], :hover, :focus-visible) { color: var(--bs-white); text-decoration: underline; text-underline-offset: 7px; }
/* The slides share a grid cell so a longer headline never shifts the next section. */
.relo-highlights .carousel-inner { display: grid; }
.relo-highlights .carousel-inner::after { content: none; }
.relo-highlights .carousel-item { grid-area: 1 / 1; display: block; float: none; margin: 0; visibility: hidden; }
.relo-highlights .carousel-item:is(.active, .carousel-item-next, .carousel-item-prev) { visibility: visible; }
.relo-highlights .carousel-item .relo-cover {
  inset: 0 0 0 auto; width: 72%; height: 100%; scale: none; object-position: center;
}
.relo-highlights .carousel-item:nth-child(2) .relo-cover { object-position: center 27%; }
.relo-highlights .carousel-item:nth-child(3) .relo-cover { object-position: center 39%; }
.relo-highlights .carousel-item::after {
  pointer-events: none;
  background: linear-gradient(90deg, var(--primary-color) 21%, rgb(21 99 152 / 97%) 33%,
    rgb(21 99 152 / 79%) 42%, rgb(21 99 152 / 22%) 59%, transparent 72%);
}
:is(.relo-page--home, .relo-page--about-cml-safe-pak) .relo-highlights .relo-slide-copy {
  display: grid; align-content: center; justify-items: start; gap: clamp(14px, 1.5vw, 22px);
  min-height: clamp(410px, 37vw, 600px); padding: clamp(44px, 4.5vw, 72px) 0;
}
.relo-highlights .relo-slide-copy :is(h1, h2) {
  max-width: min(14ch, 49%); margin: 0; color: var(--white); font-size: clamp(40px, 4.5vw, 72px);
  font-weight: 650; line-height: 1.04; text-wrap: balance;
}
.relo-highlights .relo-slide-copy p:not(.relo-eyebrow) {
  max-width: min(38ch, 45%); margin: 0; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55;
}
.relo-highlights .relo-slide-controls button { display: grid; place-items: center; border: 1px solid var(--white); }
@media (prefers-reduced-motion: no-preference) {
  .relo-highlights.carousel-fade .carousel-item { transition-duration: .65s; }
  .relo-highlights.carousel-fade .active:is(.carousel-item-start, .carousel-item-end) { transition: opacity 0s .65s; }
}
@media (max-width: 699px) {
  .relo-highlights .carousel-inner { min-height: clamp(460px, 118vw, 600px); }
  .relo-highlights .carousel-item { display: grid; grid-template-rows: repeat(2, 1fr); }
  .relo-highlights .carousel-item .relo-cover { width: 100%; height: 64%; }
  .relo-highlights .carousel-item:first-child .relo-cover {
    height: 52%; mask-image: linear-gradient(var(--white) 78%, transparent);
  }
  .relo-highlights .carousel-item::after {
    background: linear-gradient(0deg, var(--primary-color) 35%, rgb(21 99 152 / 96%) 40%,
      rgb(21 99 152 / 48%) 52%, transparent 64%);
  }
  :is(.relo-page--home, .relo-page--about-cml-safe-pak) .relo-highlights .relo-slide-copy {
    grid-row: 2; width: calc(100% - 40px); min-height: 0;
    align-content: start; padding: 32px 0; gap: 12px;
  }
  .relo-highlights .relo-slide-copy :is(h1, h2) { max-width: 17ch; font-size: clamp(32px, 7.4vw, 45px); }
  .relo-highlights .relo-slide-copy p:not(.relo-eyebrow) { max-width: 36ch; }
}
.relo-home-about { display: grid; grid-template-columns: 1fr 1fr; background: var(--cml-surface); }
.relo-profile {
  --profile-rule: rgb(91 174 204 / 55%);
  padding-block: clamp(38px, 5vw, 80px);
}
.relo-profile__spread {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  isolation: isolate;
}
.relo-profile .relo-profile__photo {
  grid-area: 1 / 1 / 2 / 10;
  position: relative;
  align-self: stretch;
  min-height: clamp(300px, 34vw, 465px);
  margin: 0 0 clamp(28px, 3vw, 44px);
  overflow: hidden;
  background: var(--primary-color);
}
.relo-profile__photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 35% 45%;
}
.relo-profile__opening {
  grid-area: 1 / 8 / 2 / -1;
  align-self: end;
  position: relative;
  z-index: 1;
  margin-top: clamp(58px, 7vw, 100px);
  padding: clamp(26px, 3.3vw, 52px);
  background: var(--primary-color);
  color: var(--white);
}
.relo-profile__opening:only-child {
  grid-column: 1 / -1;
  margin-top: 0;
}
.relo-profile__opening::before {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin-bottom: clamp(16px, 2vw, 27px);
  background: var(--secondary-color);
}
.relo-profile__opening h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(36px, 4.55vw, 68px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
}
.relo-profile__opening h2 span {
  display: block;
  margin-top: 10px;
  font-size: .47em;
  letter-spacing: -.025em;
}
.relo-profile__opening p {
  max-width: 58ch;
  margin: 20px 0 0;
  color: inherit;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.55;
}
.relo-profile__action {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: clamp(24px, 3vw, 42px);
}
.relo-profile__action::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--profile-rule);
}
@media (prefers-reduced-motion: no-preference) {
  .relo-js .relo-profile__photo img {
    transform: scale(1.035);
    transition: transform 1s cubic-bezier(.2,.65,.35,1);
  }
  .relo-js .relo-profile__photo.is-visible img { transform: none; }
}
@media (min-width: 701px) and (max-width: 990px) {
  .relo-profile__opening { grid-column-start: 7; }
}
@media (max-width: 700px) {
  .relo-profile__spread { grid-template-columns: minmax(0, 1fr); }
  .relo-profile .relo-profile__photo {
    grid-area: 1 / 1;
    min-height: 0;
    aspect-ratio: 1.6;
    margin: 0;
  }
  .relo-profile__opening {
    grid-area: 2 / 1;
    margin: -32px 0 0 clamp(12px, 4vw, 26px);
    padding: 24px;
  }
}
.relo-home-about img { width: 100%; height: 100%; min-height: 195px; max-height: 360px; object-fit: cover; clip-path: polygon(0 0,100% 0,90% 100%,0 100%); }
.relo-home-about > div { align-self: center; padding: clamp(25px,3.2vw,54px) 8%; max-width: 650px; }
.relo-home-about h2,.relo-home-network h2 { font-size: clamp(28px,3vw,45px); line-height: 1.08; }
.relo-home-about a,.relo-home-strengths a { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.relo-home-experience,.relo-home-strengths { background: var(--primary-color); }
.relo-home-experience { position: relative; isolation: isolate; overflow: hidden; }
.relo-home-experience::after { content: ''; position: absolute; z-index: -1; inset: 0 0 0 70%; background: url('../assets/img/bg-map.png') center / cover no-repeat; opacity: .45; }
.relo-home-experience .relo-container { display: flex; align-items: center; gap: clamp(25px,5vw,75px); padding-block: clamp(20px,2.4vw,36px); }
.relo-home-experience h2,.relo-home-strengths :is(h2,h3,p,a),.relo-home-experience p { color: var(--bs-white); margin: 0; }
.relo-home-experience h2 { font-size: clamp(21px,2vw,32px); line-height: 1.15; }
.relo-home-experience strong { display: block; font-size: clamp(45px,5vw,78px); color: var(--bs-white); }
.relo-home-experience p { border-left: 1px solid var(--cml-accent); padding-left: clamp(20px,4vw,56px); max-width: 42ch; }
@media (max-width:560px) {
  .relo-page .relo-header .division-short-name,.relo-page .relo-header .division-name { display: none; }
  .relo-page .relo-header .division-toggle { padding-inline: 8px; }
  .relo-page .relo-header__inner { gap: 6px 10px; }
  .relo-page .relo-header .relo-brand img { width: 85px; }
  .relo-page .relo-header .relo-nav { gap: 6px 9px; }
  .relo-page .relo-header .relo-nav > a,.relo-page .relo-header .relo-mega > a { font-size: 13px; }
  .relo-home-about { grid-template-columns: 1fr; gap: 16px; }
  .relo-home-about img { min-height: 0; aspect-ratio: 2.7; clip-path: none; }
  .relo-home-about > div { padding: 6px 20px 24px; }
  .relo-home-experience .relo-container { flex-direction: column; align-items: start; gap: 10px; }
  .relo-home-experience p { border: 0; padding: 0; }
}

/* Homepage service directory. The internal directory has its own layout. */
.relo-page--home .relo-services {
  padding-block: clamp(40px, 5.5vw, 80px);
  background: var(--white);
}
.relo-page--home .relo-services .relo-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin: 0 0 clamp(22px, 2.5vw, 36px);
  padding-bottom: clamp(18px, 2vw, 28px);
  border-bottom: 1px solid var(--secondary-color);
}
.relo-page--home .relo-services h2 {
  margin: 0;
  color: var(--primary-color);
  font-size: clamp(34px, 4.1vw, 60px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.relo-service-grid-home {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(26px, 2.8vw, 40px) clamp(20px, 2.5vw, 36px);
}
.relo-service-tile {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-bottom: clamp(20px, 2vw, 28px);
  border-bottom: 1px solid rgb(91 174 204 / 55%);
}
.relo-service-tile .relo-journey-photo {
  flex: none;
  min-height: 0;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
}
.relo-service-tile .relo-journey-photo img {
  object-position: var(--focal-point, center);
  filter: saturate(.96) brightness(var(--photo-brightness, 1));
}
.relo-service-tile--expat-relocation { --focal-point: 54% center; }
.relo-service-tile--expat-relocation img { transform: scale(1.035); }
.relo-service-tile--pet-relocation img,
.relo-service-tile--diplomatic-relocation img {
  transform: scale(1.04);
  transform-origin: center bottom;
}
.relo-service-tile--corporate-mobility { --focal-point: center 5%; --photo-brightness: 1.075; }
.relo-service-tile--vip-local-moves { --focal-point: center 76%; --photo-brightness: 1.04; }
.relo-service-tile--international-school-relocation { --focal-point: center 30%; }
.relo-service-tile .relo-journey-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  overflow-wrap: anywhere;
}
.relo-service-tile h3 {
  margin: clamp(16px, 1.5vw, 22px) 0 0;
  color: var(--primary-color);
  font-size: clamp(23px, 1.95vw, 29px);
  font-weight: 600;
  line-height: 1.18;
  text-wrap: balance;
}
.relo-service-tile p {
  margin: 10px 0 18px;
  color: var(--text-color);
  font-size: 16px;
  line-height: 1.6;
}
.relo-service-tile a { margin-top: auto; }
/* Share image, heading, description and link tracks within each row. */
@supports (grid-template-rows: subgrid) {
  .relo-service-tile {
    display: grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
  .relo-service-tile .relo-journey-copy { display: contents; }
  .relo-service-tile a { align-self: end; justify-self: start; }
}

.relo-home-strengths h2, .relo-home-network h2 {
  margin: 0; font-size: clamp(32px, 3.5vw, 52px); line-height: 1.08; text-wrap: balance;
}

.relo-home-strengths .relo-container {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3.5vw, 52px); padding-block: clamp(44px, 5.5vw, 80px);
}
.relo-home-strengths .relo-container > div:first-child {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.relo-home-strengths h2 { max-width: 24ch; }
.relo-home-strengths a { flex: none; }
.relo-home-strengths .relo-container > div + div {
  padding-top: clamp(16px, 2vw, 26px); border-top: 1px solid var(--secondary-color);
}
.relo-home-strengths i {
  display: grid; place-items: center; width: 48px; height: 48px;
  color: var(--white); font-size: 38px; line-height: 1;
}
.relo-home-strengths h3 { margin: 14px 0 8px; font-size: clamp(21px, 2vw, 28px); line-height: 1.15; }
.relo-home-strengths p { max-width: 34ch; line-height: 1.65; }
.relo-home-network .relo-container {
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.5fr); align-items: center;
  gap: clamp(24px, 4vw, 60px); padding-block: clamp(44px, 6vw, 88px);
}
.relo-home-network h2 { max-width: 14ch; }
.relo-home-network p { max-width: 33ch; margin: 16px 0 0; }
.relo-home-network figure { margin: 0; aspect-ratio: 2.18; overflow: hidden; border-radius: 16px; }
.relo-home-network figure img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.065); }

@media (max-width: 1023px) {
  .relo-service-grid-home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 699px) {
  .relo-page--home .relo-services .relo-section-head { align-items: flex-start; flex-direction: column; }
  .relo-service-grid-home, .relo-home-strengths .relo-container,
  .relo-home-network .relo-container { grid-template-columns: 1fr; }
  .relo-home-strengths .relo-container > div:first-child { flex-direction: column; align-items: flex-start; gap: 18px; }
  .relo-home-strengths .relo-container > div + div {
    display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; align-items: start;
  }
  .relo-home-strengths i { grid-row: span 2; }
  .relo-home-strengths h3 { margin: 0 0 6px; }
  .relo-home-network h2, .relo-home-network p { max-width: none; }
  .relo-home-network figure { aspect-ratio: 1.9; }
}

.relo-page--our-services .relo-journey { align-content: start; gap: 0; }
.relo-page--our-services .relo-journey .relo-journey-copy { padding: clamp(18px, 2vw, 32px); align-self: start; }
.relo-page--our-services .relo-journey:is(.relo-journey--expat-relocation,.relo-journey--corporate-mobility) {
  display: flex; flex-direction: column; align-items: stretch;
}
.relo-page--our-services .relo-journey:is(.relo-journey--expat-relocation,.relo-journey--corporate-mobility) .relo-journey-photo { aspect-ratio: 2.2; min-height: 0; }
.relo-page--our-services .relo-journey .relo-journey-copy { background: inherit; }
.relo-page--our-services .relo-service-scope { margin-block: 12px 20px; }
.why-affiliations { align-items: center; gap: clamp(16px, 2vw, 32px); }
.why-credential { padding: 12px 4px; gap: 14px; }
.why-credential img { width: min(100%, 210px); height: clamp(76px, 8vw, 116px); object-fit: contain; }
.why-expertise { gap: clamp(20px, 2.4vw, 36px); }
.why-expertise section > div:not(.why-pet-photo) { align-self: stretch; display: flex; flex-direction: column; align-items: start; gap: 12px; }
.why-expertise h2, .why-expertise p { margin: 0; }
.why-expertise .why-arrow { margin-top: auto; width: 46px; height: 46px; flex: none; }
@media (max-width: 560px) {
  .why-affiliations { grid-template-columns: repeat(2,minmax(0,1fr)); text-align: center; }
  .why-credential:last-child { grid-column: 1 / -1; width: 50%; justify-self: center; }
}
.relo-page--our-services .relo-journey:is(.relo-journey--expat-relocation,.relo-journey--corporate-mobility) .relo-journey-photo { flex-grow: 1; }
