/* ================================
   Arabic Homepage Base
================================ */

.page-home-ar {
  direction: rtl;
  line-height: 1.75;
}

.page-home-ar .home-page {
  text-align: right;
}

.page-home-ar,
.page-home-ar h1,
.page-home-ar h2,
.page-home-ar h3,
.page-home-ar h4,
.page-home-ar p,
.page-home-ar a,
.page-home-ar button,
.page-home-ar li,
.page-home-ar span {
  letter-spacing: 0;
}

.page-home-ar h1,
.page-home-ar h2,
.page-home-ar h3 {
  line-height: 1.15;
}

.page-home-ar [dir="ltr"] {
  text-align: left;
}

/* ================================
   Arabic Header / Navigation Adjustments
================================ */

.page-home-ar .site-header,
.page-home-ar .mobile-menu {
  direction: rtl;
}

.page-home-ar .language-switcher__menu,
.page-home-ar .mobile-language {
  text-align: right;
}

.page-home-ar .primary-nav__list,
.page-home-ar .site-header__actions,
.page-home-ar .mobile-menu__link,
.page-home-ar .mobile-language__list {
  direction: rtl;
}

.page-home-ar .mobile-menu__link {
  justify-content: flex-start;
}

/* ================================
   Arabic Hero Adjustments
================================ */

.page-home-ar .hero__copy,
.page-home-ar .hero__description {
  text-align: right;
}

.page-home-ar .hero__eyebrow,
.page-home-ar .hero__actions {
  justify-content: flex-start;
}

.page-home-ar .hero__eyebrow {
  text-transform: none;
}

.page-home-ar .hero__eyebrow::before {
  background: linear-gradient(270deg, var(--color-orange), rgba(252, 149, 1, 0.18));
}

.page-home-ar .hero__title {
  max-width: 12ch;
  line-height: 1.12;
}

.page-home-ar .hero__description {
  max-width: 38rem;
  line-height: 1.8;
}

.page-home-ar .hero__index {
  text-transform: none;
}

.page-home-ar .hero__motion {
  right: auto;
  left: max(var(--page-gutter), calc((100% - var(--container-wide)) / 2));
  direction: rtl;
  width: auto;
  max-width: calc(100vw - var(--page-gutter) * 2);
  white-space: nowrap;
}

/* ================================
   Arabic About Preview Adjustments
================================ */

.page-home-ar .about-preview__label,
.page-home-ar .about-preview__title,
.page-home-ar .about-preview__statement,
.page-home-ar .about-preview__details {
  text-align: right;
}

.page-home-ar .about-preview__label {
  text-transform: none;
}

.page-home-ar .about-preview__label > span {
  padding-left: 0;
  padding-right: var(--space-xl);
  border-left: 0;
  border-right: 2px solid var(--color-orange);
}

.page-home-ar .about-preview__statement {
  line-height: 1.18;
}

.page-home-ar .about-preview__details {
  max-width: 40rem;
  line-height: 1.85;
}

@media (min-width: 80rem) {
  .page-home-ar .about-preview__inner {
    padding-right: 0;
    padding-left: clamp(26rem, 32vw, 34rem);
  }

  .page-home-ar .about-preview__visual {
    right: auto;
    left: 0;
  }
}

/* ================================
   Arabic Services Adjustments
================================ */

.page-home-ar .services__label,
.page-home-ar .services__intro,
.page-home-ar .service-card__body,
.page-home-ar .services-cta,
.page-home-ar .services__progress-row {
  text-align: right;
}

.page-home-ar .services__label,
.page-home-ar .services__cue,
.page-home-ar .services__progress-row,
.page-home-ar .services-cta__eyebrow,
.page-home-ar .services-cta__destination {
  text-transform: none;
}

.page-home-ar .services__support {
  margin-left: 0;
  margin-right: auto;
  line-height: 1.85;
}

.page-home-ar .services__title,
.page-home-ar .service-card h3,
.page-home-ar .services-cta h3 {
  line-height: 1.18;
}

.page-home-ar .service-card__body {
  align-items: flex-start;
}

.page-home-ar .service-card__number {
  right: auto;
  left: 1.25rem;
}

.page-home-ar .service-card__body p {
  line-height: 1.8;
}

.page-home-ar .services-cta__description {
  max-width: 28ch;
  line-height: 1.8;
}

.page-home-ar .services-cta__destination {
  left: auto;
  right: clamp(1.5rem, 3vw, 2.25rem);
}

.page-home-ar .services-cta__circle {
  right: auto;
  left: 1.5rem;
}

.page-home-ar .services-cta__arrow {
  right: auto;
  left: 2.75rem;
  rotate: -135deg;
}

.page-home-ar .services__progress-fill {
  transform-origin: right;
}

.page-home-ar .services__viewport,
.page-home-ar .services__track,
.page-home-ar .partners__rail,
.page-home-ar .partners__track,
.page-home-ar .partners__set,
.page-home-ar .participants-customers__viewport,
.page-home-ar .participants-customers__track,
.page-home-ar .participants-customers__set {
  direction: ltr;
}

.page-home-ar .service-card,
.page-home-ar .partners__logo,
.page-home-ar .pc-card {
  direction: rtl;
}

/* ================================
   Arabic Sliders / Motion Adjustments
================================ */

.page-home-ar .featured-experience__label,
.page-home-ar .featured-experience__title,
.page-home-ar .featured-experience__support,
.page-home-ar .featured-experience__caption,
.page-home-ar .our-work__intro,
.page-home-ar .our-work__areas-heading,
.page-home-ar .our-work__closing,
.page-home-ar .weddings__copy,
.page-home-ar .partners__intro,
.page-home-ar .partners__copy,
.page-home-ar .participants-customers__intro,
.page-home-ar .participants-customers__copy,
.page-home-ar .advertising__content,
.page-home-ar .final-cta__content {
  text-align: right;
}

.page-home-ar .featured-experience__label,
.page-home-ar .featured-experience__category,
.page-home-ar .our-work__eyebrow,
.page-home-ar .our-work__hud,
.page-home-ar .our-work__step,
.page-home-ar .partners__label,
.page-home-ar .partners__approval,
.page-home-ar .participants-customers__label,
.page-home-ar .participants-customers__approval,
.page-home-ar .participants-customers__rail-note,
.page-home-ar .advertising__marker,
.page-home-ar .advertising__eyebrow,
.page-home-ar .advertising__side-label,
.page-home-ar .final-cta__marker {
  text-transform: none;
}

.page-home-ar .featured-experience__support,
.page-home-ar .our-work__intro-aside,
.page-home-ar .our-work__milestone-copy,
.page-home-ar .our-work__areas-heading > p,
.page-home-ar .our-work__closing > p,
.page-home-ar .weddings__support,
.page-home-ar .partners__copy,
.page-home-ar .participants-customers__copy,
.page-home-ar .advertising__copy,
.page-home-ar .final-cta__copy {
  line-height: 1.85;
}

.page-home-ar .featured-experience__support,
.page-home-ar .our-work__intro-aside,
.page-home-ar .our-work__milestone-copy,
.page-home-ar .advertising__copy,
.page-home-ar .final-cta__copy {
  margin-left: 0;
}

.page-home-ar .featured-experience__figure {
  margin-left: 0;
  margin-right: auto;
  direction: ltr;
}

.page-home-ar .featured-experience__title,
.page-home-ar .our-work__title,
.page-home-ar .our-work__milestone-title,
.page-home-ar .our-work__areas-heading h3,
.page-home-ar .experience-area__name,
.page-home-ar .weddings__title,
.page-home-ar .partners__title,
.page-home-ar .participants-customers__title,
.page-home-ar .advertising__title,
.page-home-ar .final-cta__title {
  letter-spacing: 0;
  line-height: 1.16;
}

.page-home-ar .featured-experience__caption {
  direction: rtl;
}

.page-home-ar .our-work__intro-aside {
  margin-right: auto;
}

.page-home-ar .our-work__hud {
  direction: rtl;
}

.page-home-ar .our-work__milestones {
  left: auto;
  right: var(--page-gutter);
}

.page-home-ar .our-work__progress > span {
  transform-origin: right;
}

.page-home-ar .experience-area {
  grid-template-columns: 2rem minmax(0, 1fr) auto;
}

.page-home-ar .experience-area__expand {
  right: auto;
  left: 0.25rem;
}

.page-home-ar .our-work__preview figcaption {
  direction: rtl;
}

.page-home-ar .our-work__cta > .icon,
.page-home-ar .weddings__cta-icon,
.page-home-ar .advertising__cta-icon,
.page-home-ar .final-cta__button-icon,
.page-home-ar .pc-card__arrow {
  rotate: -135deg;
}

.page-home-ar .weddings__accent,
.page-home-ar .advertising__accent {
  transform-origin: right;
  background: linear-gradient(270deg, var(--color-red), var(--color-orange));
}

.page-home-ar .weddings__services {
  justify-content: flex-start;
}

.page-home-ar .weddings__ghost-number {
  right: auto;
  left: -0.04em;
}

.page-home-ar .partners__ghost {
  direction: rtl;
}

.page-home-ar .participants-customers__controls {
  justify-content: flex-start;
}

.page-home-ar .pc-card {
  text-align: right;
}

.page-home-ar .pc-card__name {
  max-width: calc(100% - 3rem);
}

.page-home-ar .pc-card__arrow {
  right: auto;
  left: 1.25rem;
}

.page-home-ar .advertising__shade {
  background:
    linear-gradient(270deg, rgba(0, 1, 1, 0.92) 0%, rgba(0, 1, 1, 0.78) 32%, rgba(0, 1, 1, 0.42) 66%, rgba(0, 1, 1, 0.2) 100%),
    linear-gradient(0deg, rgba(0, 1, 1, 0.82) 0%, rgba(0, 1, 1, 0.28) 45%, rgba(0, 1, 1, 0.3) 100%),
    rgba(0, 1, 1, var(--advertising-overlay-alpha));
}

.page-home-ar .advertising__side-label {
  justify-self: start;
  margin: 0 auto 0 0;
  text-align: right;
}

.page-home-ar .final-cta__content {
  align-items: flex-start;
}

.page-home-ar .final-cta__title-line {
  white-space: normal;
}

.page-home-ar .weddings__title-mask,
.page-home-ar .participants-customers__title-mask,
.page-home-ar .advertising__title-mask,
.page-home-ar .final-cta__title-mask {
  padding-block: 0.08em;
}

/* ================================
   Arabic Footer Adjustments
================================ */

.page-home-ar .site-footer {
  direction: rtl;
}

.page-home-ar .site-footer__brand,
.page-home-ar .site-footer__nav,
.page-home-ar .site-footer__contact {
  text-align: right;
}

@media (hover: hover) and (pointer: fine) {
  .page-home-ar a.our-work__cta[href]:is(:hover, :focus-visible) > span {
    transform: translateX(-4px);
  }

  .page-home-ar .participants-customers__control--previous:is(:hover, :focus-visible) .icon {
    transform: translateX(0.12rem);
  }

  .page-home-ar .participants-customers__control--next:is(:hover, :focus-visible) .icon {
    transform: translateX(-0.12rem);
  }

  .page-home-ar .advertising__cta:is(:hover, :focus-visible) .advertising__cta-icon,
  .page-home-ar .final-cta__button:is(:hover, :focus-visible) .final-cta__button-icon {
    transform: translate(-0.26rem, -0.26rem);
  }
}

@media (max-width: 63.999rem) {
  .page-home-ar .our-work__intro-aside {
    margin-right: 0;
  }

  .page-home-ar .our-work__milestones {
    right: auto;
  }
}

@media (max-width: 47.999rem) {
  .page-home-ar .hero__motion {
    width: 10%;
    right: auto;
    left: var(--page-gutter);
    max-width: calc(100vw - var(--page-gutter) * 2);
  }

  .page-home-ar .hero__actions {
    align-items: flex-start;
  }

  .page-home-ar .hero-cta--primary,
  .page-home-ar .advertising__cta,
  .page-home-ar .final-cta__button {
    max-width: none;
  }

  .page-home-ar .about-preview__statement,
  .page-home-ar .weddings__title,
  .page-home-ar .partners__title,
  .page-home-ar .advertising__title {
    max-width: 13ch;
  }

  .page-home-ar .services__rail-meta {
    align-items: flex-start;
  }

  .page-home-ar .services__rail-meta > :first-child {
    max-width: 18ch;
  }

  .page-home-ar .experience-area {
    grid-template-columns: 1.25rem minmax(0, 1fr) auto;
  }

  .page-home-ar .weddings__services > li {
    line-height: 1.45;
  }
}

/* ================================
   Arabic Homepage Heading Scale
================================ */

.page-home-ar .about-preview__statement,
.page-home-ar .featured-experience__title,
.page-home-ar .final-cta__title {
  font-size: clamp(2.8rem, 4.7vw, 5.4rem);
  line-height: 1.14;
  letter-spacing: 0;
}

.page-home-ar .services__title,
.page-home-ar .our-work__title,
.page-home-ar .weddings__title {
  font-size: clamp(2.65rem, 4.5vw, 5rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.page-home-ar .partners__title,
.page-home-ar .participants-customers__title,
.page-home-ar .advertising__title {
  font-size: clamp(2.45rem, 4.2vw, 4.5rem);
  line-height: 1.16;
  letter-spacing: 0;
}

@media (min-width: 48rem) and (max-width: 64rem) {
  .page-home-ar .about-preview__statement,
  .page-home-ar .featured-experience__title,
  .page-home-ar .services__title,
  .page-home-ar .our-work__title,
  .page-home-ar .weddings__title,
  .page-home-ar .partners__title,
  .page-home-ar .participants-customers__title,
  .page-home-ar .advertising__title,
  .page-home-ar .final-cta__title {
    font-size: clamp(2.7rem, 5.4vw, 4.4rem);
    line-height: 1.16;
    letter-spacing: 0;
  }
}

@media (max-width: 47.999rem) {
  .page-home-ar .about-preview__statement,
  .page-home-ar .featured-experience__title,
  .page-home-ar .services__title,
  .page-home-ar .our-work__title,
  .page-home-ar .weddings__title,
  .page-home-ar .partners__title,
  .page-home-ar .participants-customers__title,
  .page-home-ar .advertising__title,
  .page-home-ar .final-cta__title {
    font-size: clamp(2.1rem, 9.8vw, 3.25rem);
    line-height: 1.18;
    letter-spacing: 0;
  }
}
