/* Royal Invitation — design tokens */
:root {
  --color-beige: #ebe8da;
  --color-burgundy: #6b1f2a;
  --color-burgundy-deep: #551824;
  --color-white-soft: #fffcf8;
  --color-mist: #ebe8da;
  --color-text: #3a2c2c;
  --color-text-muted: #6d5c5c;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Montserrat", system-ui, sans-serif;

  --space-xs: 0.35rem;
  --space-sm: 0.65rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: clamp(3rem, 9vw, 5.75rem);
  --measure: 42rem;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 14px rgba(107, 31, 42, 0.06);
  --shadow-md: 0 10px 36px rgba(107, 31, 42, 0.1);
  --shadow-lg: 0 22px 56px rgba(107, 31, 42, 0.14);
  --shadow-xl: 0 28px 70px rgba(107, 31, 42, 0.18);
  --shadow-soft: var(--shadow-md);
  --shadow-hover: var(--shadow-lg);
  --surface-elevated: var(--color-white-soft);

  --ease-cinematic: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 0.28s;
  --duration-slow: 1.05s;
  --duration-section: 1.08s;
  --reveal-distance: 28px;
  --reveal-blur: 8px;
  --stagger-step: 0.11s;

  --header-h: 88px;
  --header-h-compact: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(0.98rem, 0.35vw + 0.9rem, 1.06rem);
  line-height: 1.72;
  color: var(--color-text);
  background: var(--color-beige);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-burgundy);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 0.75rem 1.25rem;
  background: var(--color-burgundy);
  color: var(--color-white-soft);
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(1040px, 100% - clamp(1.15rem, 5vw, 2.5rem));
  margin-inline: auto;
}

.container--narrow {
  width: min(var(--measure), 100% - clamp(1.15rem, 5vw, 2.5rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(235, 232, 218, 0.82);
  backdrop-filter: blur(16px) saturate(1.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  border-bottom: 1px solid rgba(107, 31, 42, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset;
  transition:
    background var(--duration-fast) var(--ease-out-expo),
    box-shadow var(--duration-fast) ease,
    border-color var(--duration-fast) ease;
}

.site-header.is-scrolled {
  background: rgba(235, 232, 218, 0.94);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  min-height: var(--header-h);
  gap: var(--space-sm) var(--space-md);
  transition: min-height var(--duration-fast) var(--ease-out-expo);
}

@media (min-width: 821px) {
  .site-header.is-scrolled .site-header__inner {
    min-height: var(--header-h-compact);
  }
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: inherit;
  min-height: 48px;
  margin-inline-end: auto;
  border-radius: var(--radius-md);
  transition: transform var(--duration-fast) var(--ease-out-expo), opacity var(--duration-fast) ease;
}

.site-header__brand:hover {
  opacity: 0.92;
}

.site-header__brand:focus-visible {
  outline: 2px solid var(--color-burgundy);
  outline-offset: 4px;
}

.lang-switch {
  --lang-pad: 5px;
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  align-items: stretch;
  padding: var(--lang-pad);
  gap: 3px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 252, 248, 0.5);
  backdrop-filter: blur(12px) saturate(1.15);
  -webkit-backdrop-filter: blur(12px) saturate(1.15);
  border: 1px solid rgba(107, 31, 42, 0.14);
  box-shadow:
    0 2px 16px rgba(107, 31, 42, 0.08),
    inset 0 1px 1px rgba(255, 255, 255, 0.75);
}

.lang-switch::after {
  content: "";
  position: absolute;
  top: var(--lang-pad);
  bottom: var(--lang-pad);
  width: calc(50% - var(--lang-pad) - 1.5px);
  inset-inline-start: var(--lang-pad);
  border-radius: 999px;
  background: rgba(255, 252, 248, 0.97);
  border: 1px solid rgba(107, 31, 42, 0.14);
  box-shadow: 0 2px 12px rgba(107, 31, 42, 0.1);
  transition: inset-inline-start 0.42s var(--ease-out-expo);
  z-index: 0;
}

.lang-switch:has(#lang-ar.is-active)::after {
  inset-inline-start: calc(50% + 1.5px);
}

html[dir="rtl"] .lang-switch:has(#lang-en.is-active)::after {
  inset-inline-start: calc(50% + 1.5px);
}

html[dir="rtl"] .lang-switch:has(#lang-ar.is-active)::after {
  inset-inline-start: var(--lang-pad);
}

.lang-switch__btn {
  position: relative;
  z-index: 1;
  min-height: 42px;
  min-width: 5.25rem;
  padding: 0 1rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  font-family: "Montserrat", "Noto Sans Arabic", system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  color: #0a0a0a;
  transition: color 0.3s var(--ease-out-expo), transform 0.25s ease;
}

.lang-switch__btn.is-active {
  color: #0a0a0a;
}

.lang-switch__btn:not(.is-active):hover {
  color: #000000;
}

.lang-switch__btn:active:not(.is-active) {
  transform: scale(0.97);
}

.lang-switch__btn:focus-visible {
  outline: 2px solid var(--color-burgundy);
  outline-offset: 2px;
  z-index: 2;
}

.site-header__logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition:
    width var(--duration-fast) var(--ease-out-expo),
    height var(--duration-fast) var(--ease-out-expo),
    box-shadow var(--duration-fast) ease;
}

@media (min-width: 821px) {
  .site-header.is-scrolled .site-header__logo {
    width: 52px;
    height: 52px;
  }
}

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.25rem 0.1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-text-muted);
  transition: color var(--duration-fast) var(--ease-out-expo);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.35rem;
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, transparent, var(--color-burgundy), transparent);
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0.85;
  transition: transform 0.4s var(--ease-out-expo);
}

.site-nav__link:hover {
  color: var(--color-burgundy);
}

.site-nav__link:hover::after {
  transform: scaleX(1);
}

.site-nav__link.is-active {
  color: var(--color-burgundy);
}

.site-nav__link.is-active::after {
  transform: scaleX(1);
  background: var(--color-burgundy);
}

html[dir="rtl"] body {
  font-family: "Noto Sans Arabic", "Tahoma", sans-serif;
}

html[dir="rtl"] .intro__display .intro__word--invite {
  font-family: "Noto Sans Arabic", sans-serif;
  font-weight: 600;
  letter-spacing: 0.2em;
}

html[dir="rtl"] .intro__display .intro__word--royal {
  font-family: "Amiri", "Noto Sans Arabic", serif;
  font-style: normal;
}

html[dir="rtl"] .intro__tagline {
  font-family: "Noto Sans Arabic", sans-serif;
  font-weight: 500;
}

html[dir="rtl"] .section__title,
html[dir="rtl"] .cta-band__title,
html[dir="rtl"] .services-timeline__heading,
html[dir="rtl"] .services-timeline__label,
html[dir="rtl"] .site-footer__text {
  font-family: "Amiri", "Noto Sans Arabic", serif;
}

html[dir="rtl"] .services-timeline__label {
  text-transform: none;
  letter-spacing: 0.02em;
  line-height: 1.75;
  font-size: clamp(0.88rem, 1.2vw + 0.62rem, 1.02rem);
}

html[dir="rtl"] .site-nav__link {
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.88rem;
}

html[dir="rtl"] .lang-switch__btn {
  letter-spacing: 0.02em;
}

#lang-ar.lang-switch__btn {
  font-size: 0.76rem;
  letter-spacing: 0.03em;
}

html[dir="rtl"] .why-item {
  text-align: start;
}

html[dir="rtl"] .section__title--center,
html[dir="rtl"] .social__cta-line,
html[dir="rtl"] .cta-band__inner {
  text-align: center;
}

@media (max-width: 820px) {
  .site-nav {
    position: static;
    flex: 1 1 100%;
    order: 3;
    min-width: 0;
    max-height: none;
    overflow: visible;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    box-shadow: none;
  }

  .site-nav__list {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 0.35rem 0.75rem;
    padding: 0.35rem 0 0.45rem;
    padding-inline-start: max(0px, env(safe-area-inset-left, 0px));
    padding-inline-end: max(0px, env(safe-area-inset-right, 0px));
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .site-nav__list::-webkit-scrollbar {
    display: none;
  }

  .site-nav__link {
    flex: 0 0 auto;
    width: auto;
    border-bottom: none;
    min-height: 44px;
    padding: 0.35rem 0.35rem;
    font-size: 0.65rem;
  }

  html[dir="rtl"] .site-nav__link {
    font-size: 0.78rem;
  }
}

/* Intro hero */
.intro {
  position: relative;
  min-height: 100dvh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--header-h) + var(--space-xl));
  padding-bottom: var(--space-3xl);
  padding-inline-start: max(var(--space-lg), env(safe-area-inset-left, 0px));
  padding-inline-end: max(var(--space-lg), env(safe-area-inset-right, 0px));
  text-align: center;
}

.intro__bg {
  position: absolute;
  inset: 0;
  background-color: var(--color-beige);
  background-image: url("../public/images/intro-hero.png");
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
  pointer-events: none;
}

.intro__inner {
  position: relative;
  z-index: 1;
  max-width: min(44rem, 100%);
  margin-inline: auto;
  overflow-wrap: anywhere;
  word-wrap: break-word;
}

.intro__display {
  margin: 0 0 var(--space-lg);
  padding: 0;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.intro__display::after {
  content: "";
  display: block;
  width: min(10rem, 55vw);
  height: 2px;
  margin: var(--space-lg) auto 0;
  border-radius: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 240, 230, 0.65), transparent);
}

.intro__word {
  display: block;
  opacity: 0;
  transform: translate3d(0, 28px, 0);
}

.intro__word--royal {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 12vw + 1.2rem, 6.25rem);
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.03em;
  color: var(--color-white-soft);
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.18),
    0 2px 24px rgba(0, 0, 0, 0.28);
  animation: introRise var(--duration-slow) var(--ease-out-expo) 0.1s forwards;
}

.intro__word--invite {
  margin-top: 0.2em;
  font-family: var(--font-sans);
  /* Allow “Invitation” to scale on tablet/desktop (old max 0.95rem was unreadably small next to Royal). */
  font-size: clamp(0.68rem, 1.8vw + 0.52rem, 1.22rem);
  font-weight: 600;
  letter-spacing: clamp(0.1em, 1.8vw + 0.04em, 0.38em);
  text-transform: uppercase;
  color: var(--color-beige);
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.2),
    0 2px 18px rgba(0, 0, 0, 0.25);
  animation: introRise var(--duration-slow) var(--ease-out-expo) 0.26s forwards;
}

.intro__tagline {
  margin: var(--space-xl) 0 0;
  max-width: 26rem;
  margin-inline: auto;
  font-family: var(--font-sans);
  font-size: clamp(0.85rem, 1.2vw + 0.65rem, 1rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e4dfcf;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.22);
  line-height: 1.65;
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  animation: introRise var(--duration-slow) var(--ease-out-expo) 0.44s forwards;
}

@keyframes introRise {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (min-width: 560px) {
  .intro__display {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0.2em 0.45em;
  }

  .intro__word {
    display: inline-block;
  }

  .intro__word--invite {
    margin-top: 0;
  }

  .intro__display::after {
    width: 100%;
    max-width: 14rem;
    margin-top: var(--space-lg);
    flex-basis: 100%;
  }

  .intro__tagline {
    margin-top: var(--space-md);
  }
}

/* Desktop: larger headline lockup, wider measure, calmer hero crop */
@media (min-width: 960px) {
  .intro {
    padding-top: calc(var(--header-h) + var(--space-2xl));
    padding-bottom: clamp(2.5rem, 5vw, var(--space-3xl));
  }

  .intro__inner {
    max-width: min(56rem, 100%);
  }

  .intro__display {
    gap: 0.12em 0.5em;
    margin-bottom: var(--space-xl);
  }

  .intro__word--royal {
    font-size: clamp(3.75rem, 5.5vw + 1.75rem, 7.25rem);
  }

  .intro__word--invite {
    font-size: clamp(0.82rem, 0.85vw + 0.55rem, 1.42rem);
    letter-spacing: clamp(0.14em, 0.55vw + 0.08em, 0.48em);
  }

  .intro__display::after {
    max-width: min(20rem, 42vw);
    margin-top: var(--space-xl);
  }

  .intro__tagline {
    margin-top: var(--space-lg);
    max-width: 38rem;
    font-size: clamp(0.9rem, 0.55vw + 0.68rem, 1.1rem);
    letter-spacing: 0.13em;
    line-height: 1.55;
  }

  .intro__bg {
    background-position: center 32%;
  }
}

@media (min-width: 1280px) {
  .intro__inner {
    max-width: min(60rem, 100%);
  }

  .intro__word--royal {
    font-size: clamp(4.25rem, 4vw + 2.25rem, 7.75rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro__word,
  .intro__tagline {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Sections */
.section {
  padding-block: var(--space-3xl);
  padding-inline-start: max(var(--space-lg), env(safe-area-inset-left, 0px));
  padding-inline-end: max(var(--space-lg), env(safe-area-inset-right, 0px));
}

.section--soft {
  background: var(--color-beige);
}

.section--mist {
  background: var(--color-beige);
}

.section__title {
  margin: 0 0 var(--space-lg);
  font-family: var(--font-serif);
  font-size: clamp(2rem, 2.8vw + 1rem, 2.85rem);
  font-weight: 600;
  color: var(--color-burgundy);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section__title--center {
  text-align: center;
}

#about .container--narrow {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  #about .container--narrow {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr);
    gap: var(--space-2xl);
    align-items: start;
  }

  #about .section__title {
    margin-bottom: 0;
    position: sticky;
    top: calc(var(--header-h) + var(--space-md));
  }

  #about .section__body {
    max-width: none;
  }
}

.section__body {
  max-width: var(--measure);
}

.section__body p {
  margin: 0 0 var(--space-md);
  color: var(--color-text);
  font-weight: 300;
  font-size: 1.07rem;
  line-height: 1.78;
}

.section__body p:last-child {
  margin-bottom: 0;
}

/* Scroll reveals */
.reveal .section__title,
.reveal .section__body,
.reveal .reveal__inner,
.reveal .social-row,
.reveal .cta-band__title,
.reveal .btn--cta {
  opacity: 0;
  transform: translate3d(0, var(--reveal-distance), 0);
  filter: blur(var(--reveal-blur));
  transition:
    opacity var(--duration-section) var(--ease-out-expo),
    transform var(--duration-section) var(--ease-out-expo),
    filter var(--duration-section) var(--ease-out-expo);
}

.reveal .services-timeline__item,
.reveal .why-item,
.reveal .formats-card {
  opacity: 0;
  transform: translate3d(0, calc(var(--reveal-distance) - 4px), 0);
  filter: blur(calc(var(--reveal-blur) - 2px));
  transition:
    opacity var(--duration-section) var(--ease-out-expo),
    transform var(--duration-section) var(--ease-out-expo),
    filter var(--duration-section) var(--ease-out-expo);
}

/* Stronger hidden state only while off-screen; must not override .is-visible (ID would win). */
#services.reveal:not(.is-visible) .services-timeline__item {
  transform: translate3d(1.35rem, 14px, 0);
  filter: blur(9px);
}

html[dir="rtl"] #services.reveal:not(.is-visible) .services-timeline__item {
  transform: translate3d(-1.35rem, 14px, 0);
}

.reveal.is-visible .section__title {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
  transition-delay: 0.06s;
}

.reveal.is-visible .section__body,
.reveal.is-visible .reveal__inner {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
  transition-delay: 0.18s;
}

.reveal.is-visible .social-row {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
  transition-delay: 0.28s;
}

.reveal.is-visible .services-timeline__item:nth-child(1) {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
  transition-delay: 0.28s;
}
.reveal.is-visible .services-timeline__item:nth-child(2) {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
  transition-delay: 0.46s;
}
.reveal.is-visible .services-timeline__item:nth-child(3) {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
  transition-delay: 0.64s;
}
.reveal.is-visible .services-timeline__item:nth-child(4) {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
  transition-delay: 0.82s;
}
.reveal.is-visible .services-timeline__item:nth-child(5) {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
  transition-delay: 1s;
}
.reveal.is-visible .services-timeline__item:nth-child(6) {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
  transition-delay: 1.18s;
}
.reveal.is-visible .services-timeline__item:nth-child(7) {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
  transition-delay: 1.36s;
}
.reveal.is-visible .services-timeline__item:nth-child(8) {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
  transition-delay: 1.54s;
}
.reveal.is-visible .services-timeline__item:nth-child(9) {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
  transition-delay: 1.72s;
}

.reveal.is-visible .why-item:nth-child(1) {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
  transition-delay: 0.08s;
}
.reveal.is-visible .why-item:nth-child(2) {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
  transition-delay: 0.2s;
}
.reveal.is-visible .why-item:nth-child(3) {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
  transition-delay: 0.32s;
}
.reveal.is-visible .why-item:nth-child(4) {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
  transition-delay: 0.44s;
}
.reveal.is-visible .why-item:nth-child(5) {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
  transition-delay: 0.56s;
}

.reveal.is-visible .formats-card:nth-child(1) {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
  transition-delay: 0.14s;
}
.reveal.is-visible .formats-card:nth-child(2) {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
  transition-delay: 0.26s;
}
.reveal.is-visible .formats-card:nth-child(3) {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
  transition-delay: 0.38s;
}

.reveal.is-visible .cta-band__title {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
  transition-delay: 0.1s;
}

.reveal.is-visible .btn--cta {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
  transition-delay: 0.26s;
}

.reveal.is-visible .why-item:nth-child(1) .why-item__icon {
  animation: whyIconIn 0.55s var(--ease-out-expo) 0.12s both;
}
.reveal.is-visible .why-item:nth-child(2) .why-item__icon {
  animation: whyIconIn 0.55s var(--ease-out-expo) 0.24s both;
}
.reveal.is-visible .why-item:nth-child(3) .why-item__icon {
  animation: whyIconIn 0.55s var(--ease-out-expo) 0.36s both;
}
.reveal.is-visible .why-item:nth-child(4) .why-item__icon {
  animation: whyIconIn 0.55s var(--ease-out-expo) 0.48s both;
}
.reveal.is-visible .why-item:nth-child(5) .why-item__icon {
  animation: whyIconIn 0.55s var(--ease-out-expo) 0.6s both;
}

@keyframes whyIconIn {
  from {
    transform: scale(0.88);
    opacity: 0.65;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal .section__title,
  .reveal .section__body,
  .reveal .reveal__inner,
  .reveal .social-row,
  .reveal .services-timeline__item,
  .reveal .why-item,
  .reveal .formats-card,
  .reveal .cta-band__title,
  .reveal .btn--cta {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .reveal.is-visible .why-item .why-item__icon {
    animation: none;
  }

  #services.reveal .services-timeline__track-line,
  #services.reveal.is-visible .services-timeline__track-line {
    animation: none;
    transform: scaleY(1);
  }

  #services.reveal .services-timeline__node,
  #services.reveal.is-visible .services-timeline__item .services-timeline__node {
    animation: none;
    opacity: 1;
    transform: translate3d(-50%, 0, 0) scale(1);
  }

  html[dir="rtl"] #services.reveal .services-timeline__node,
  html[dir="rtl"] #services.reveal.is-visible .services-timeline__item .services-timeline__node {
    transform: translate3d(50%, 0, 0) scale(1);
  }

  #services.reveal.is-visible .services-timeline__heading {
    animation: none;
  }

  #services.reveal:not(.is-visible) .services-timeline__label,
  #services.reveal.is-visible .services-timeline__item .services-timeline__label {
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
  }

  #services.reveal:not(.is-visible) .services-timeline__item,
  #services.reveal.is-visible .services-timeline__item {
    transform: none;
    filter: none;
  }
}

/* Services — vertical timeline */
.container--services {
  max-width: min(40rem, 100% - clamp(1.15rem, 5vw, 2.5rem));
  margin-inline: auto;
}

.services-timeline__heading {
  margin-bottom: var(--space-2xl);
  font-size: clamp(1.75rem, 3vw + 1rem, 2.35rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-burgundy-deep);
  text-shadow:
    0 0 24px rgba(255, 252, 248, 0.9),
    0 2px 0 rgba(255, 252, 248, 0.5),
    0 6px 20px rgba(107, 31, 42, 0.12);
}

#services.reveal.is-visible .services-timeline__heading {
  transition: none;
  animation: servicesHeadingEnter 0.85s var(--ease-out-expo) 0.08s both;
}

@keyframes servicesHeadingEnter {
  from {
    opacity: 0;
    transform: translate3d(0, -18px, 0) scale(0.96);
    letter-spacing: 0.32em;
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    letter-spacing: 0.14em;
  }
}

.services-timeline {
  position: relative;
}

.services-timeline__track {
  position: absolute;
  left: 22px;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 2px;
  pointer-events: none;
}

.services-timeline__track-line {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--color-white-soft), rgba(255, 252, 248, 0.35));
  box-shadow:
    0 0 18px rgba(255, 252, 248, 0.75),
    1px 0 0 rgba(107, 31, 42, 0.06);
  transform: scaleY(0);
  transform-origin: top center;
}

#services.reveal.is-visible .services-timeline__track-line {
  animation:
    serviceTrackDraw 1.12s var(--ease-out-expo) forwards,
    serviceTrackShimmer 2.6s ease-in-out infinite 0.95s;
}

@keyframes serviceTrackDraw {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

@keyframes serviceTrackShimmer {
  0%,
  100% {
    box-shadow:
      0 0 14px rgba(255, 252, 248, 0.55),
      1px 0 0 rgba(107, 31, 42, 0.06);
  }
  50% {
    box-shadow:
      0 0 28px rgba(255, 252, 248, 0.95),
      0 0 40px rgba(255, 252, 248, 0.35),
      1px 0 0 rgba(107, 31, 42, 0.08);
  }
}

.services-timeline__list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 56px;
}

.services-timeline__item {
  position: relative;
  margin: 0;
  padding: 0 0 clamp(2rem, 5vw, 3rem);
}

.services-timeline__item:last-child {
  padding-bottom: 0;
}

.services-timeline__node {
  position: absolute;
  left: -41px;
  top: 0.2em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--color-white-soft);
  background: var(--color-beige);
  box-shadow:
    0 0 0 2px rgba(107, 31, 42, 0.1),
    0 4px 14px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translate3d(-50%, 0, 0) scale(0.35);
}

#services.reveal.is-visible .services-timeline__item:nth-child(1) .services-timeline__node {
  animation:
    serviceNodePop 0.55s var(--ease-out-expo) 0.32s forwards,
    serviceNodePulse 2.4s ease-in-out infinite 0.95s;
}
#services.reveal.is-visible .services-timeline__item:nth-child(2) .services-timeline__node {
  animation:
    serviceNodePop 0.55s var(--ease-out-expo) 0.5s forwards,
    serviceNodePulse 2.4s ease-in-out infinite 1.15s;
}
#services.reveal.is-visible .services-timeline__item:nth-child(3) .services-timeline__node {
  animation:
    serviceNodePop 0.55s var(--ease-out-expo) 0.68s forwards,
    serviceNodePulse 2.4s ease-in-out infinite 1.35s;
}
#services.reveal.is-visible .services-timeline__item:nth-child(4) .services-timeline__node {
  animation:
    serviceNodePop 0.55s var(--ease-out-expo) 0.86s forwards,
    serviceNodePulse 2.4s ease-in-out infinite 1.55s;
}
#services.reveal.is-visible .services-timeline__item:nth-child(5) .services-timeline__node {
  animation:
    serviceNodePop 0.55s var(--ease-out-expo) 1.04s forwards,
    serviceNodePulse 2.4s ease-in-out infinite 1.75s;
}
#services.reveal.is-visible .services-timeline__item:nth-child(6) .services-timeline__node {
  animation:
    serviceNodePop 0.55s var(--ease-out-expo) 1.22s forwards,
    serviceNodePulse 2.4s ease-in-out infinite 1.95s;
}
#services.reveal.is-visible .services-timeline__item:nth-child(7) .services-timeline__node {
  animation:
    serviceNodePop 0.55s var(--ease-out-expo) 1.4s forwards,
    serviceNodePulse 2.4s ease-in-out infinite 2.15s;
}
#services.reveal.is-visible .services-timeline__item:nth-child(8) .services-timeline__node {
  animation:
    serviceNodePop 0.55s var(--ease-out-expo) 1.58s forwards,
    serviceNodePulse 2.4s ease-in-out infinite 2.35s;
}
#services.reveal.is-visible .services-timeline__item:nth-child(9) .services-timeline__node {
  animation:
    serviceNodePop 0.55s var(--ease-out-expo) 1.76s forwards,
    serviceNodePulse 2.4s ease-in-out infinite 2.55s;
}

@keyframes serviceNodePop {
  to {
    opacity: 1;
    transform: translate3d(-50%, 0, 0) scale(1);
  }
}

@keyframes serviceNodePulse {
  0%,
  100% {
    box-shadow:
      0 0 0 2px rgba(107, 31, 42, 0.1),
      0 4px 14px rgba(0, 0, 0, 0.08);
  }
  50% {
    box-shadow:
      0 0 0 3px rgba(107, 31, 42, 0.14),
      0 4px 22px rgba(107, 31, 42, 0.12);
  }
}

.services-timeline__label {
  margin: 0;
  max-width: 100%;
  font-family: var(--font-serif);
  font-size: clamp(0.82rem, 1.1vw + 0.65rem, 0.98rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.65;
  text-transform: uppercase;
  color: var(--color-burgundy);
  overflow-wrap: anywhere;
  text-shadow:
    0 1px 0 rgba(255, 252, 248, 0.85),
    0 3px 14px rgba(107, 31, 42, 0.1);
}

#services.reveal:not(.is-visible) .services-timeline__label {
  opacity: 0;
  transform: translate3d(1.35rem, 0, 0);
}

html[dir="rtl"] #services.reveal:not(.is-visible) .services-timeline__label {
  transform: translate3d(-1.35rem, 0, 0);
}

#services.reveal.is-visible .services-timeline__item:nth-child(1) .services-timeline__label {
  animation: serviceLabelIn 0.65s var(--ease-out-expo) 0.34s both;
}
#services.reveal.is-visible .services-timeline__item:nth-child(2) .services-timeline__label {
  animation: serviceLabelIn 0.65s var(--ease-out-expo) 0.52s both;
}
#services.reveal.is-visible .services-timeline__item:nth-child(3) .services-timeline__label {
  animation: serviceLabelIn 0.65s var(--ease-out-expo) 0.7s both;
}
#services.reveal.is-visible .services-timeline__item:nth-child(4) .services-timeline__label {
  animation: serviceLabelIn 0.65s var(--ease-out-expo) 0.88s both;
}
#services.reveal.is-visible .services-timeline__item:nth-child(5) .services-timeline__label {
  animation: serviceLabelIn 0.65s var(--ease-out-expo) 1.06s both;
}
#services.reveal.is-visible .services-timeline__item:nth-child(6) .services-timeline__label {
  animation: serviceLabelIn 0.65s var(--ease-out-expo) 1.24s both;
}
#services.reveal.is-visible .services-timeline__item:nth-child(7) .services-timeline__label {
  animation: serviceLabelIn 0.65s var(--ease-out-expo) 1.42s both;
}
#services.reveal.is-visible .services-timeline__item:nth-child(8) .services-timeline__label {
  animation: serviceLabelIn 0.65s var(--ease-out-expo) 1.6s both;
}
#services.reveal.is-visible .services-timeline__item:nth-child(9) .services-timeline__label {
  animation: serviceLabelIn 0.65s var(--ease-out-expo) 1.78s both;
}

@keyframes serviceLabelIn {
  from {
    opacity: 0;
    transform: translate3d(1.35rem, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

html[dir="rtl"] #services.reveal.is-visible .services-timeline__item:nth-child(1) .services-timeline__label,
html[dir="rtl"] #services.reveal.is-visible .services-timeline__item:nth-child(2) .services-timeline__label,
html[dir="rtl"] #services.reveal.is-visible .services-timeline__item:nth-child(3) .services-timeline__label,
html[dir="rtl"] #services.reveal.is-visible .services-timeline__item:nth-child(4) .services-timeline__label,
html[dir="rtl"] #services.reveal.is-visible .services-timeline__item:nth-child(5) .services-timeline__label,
html[dir="rtl"] #services.reveal.is-visible .services-timeline__item:nth-child(6) .services-timeline__label,
html[dir="rtl"] #services.reveal.is-visible .services-timeline__item:nth-child(7) .services-timeline__label,
html[dir="rtl"] #services.reveal.is-visible .services-timeline__item:nth-child(8) .services-timeline__label,
html[dir="rtl"] #services.reveal.is-visible .services-timeline__item:nth-child(9) .services-timeline__label {
  animation-name: serviceLabelInRtl;
}

@keyframes serviceLabelInRtl {
  from {
    opacity: 0;
    transform: translate3d(-1.35rem, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

html[dir="rtl"] .services-timeline__track {
  left: auto;
  right: 22px;
}

html[dir="rtl"] .services-timeline__list {
  padding-left: 0;
  padding-right: 56px;
}

html[dir="rtl"] .services-timeline__node {
  left: auto;
  right: -41px;
  transform: translate3d(50%, 0, 0) scale(0.35);
}

html[dir="rtl"] #services.reveal.is-visible .services-timeline__item:nth-child(1) .services-timeline__node {
  animation:
    serviceNodePopRtl 0.55s var(--ease-out-expo) 0.32s forwards,
    serviceNodePulse 2.4s ease-in-out infinite 0.95s;
}
html[dir="rtl"] #services.reveal.is-visible .services-timeline__item:nth-child(2) .services-timeline__node {
  animation:
    serviceNodePopRtl 0.55s var(--ease-out-expo) 0.5s forwards,
    serviceNodePulse 2.4s ease-in-out infinite 1.15s;
}
html[dir="rtl"] #services.reveal.is-visible .services-timeline__item:nth-child(3) .services-timeline__node {
  animation:
    serviceNodePopRtl 0.55s var(--ease-out-expo) 0.68s forwards,
    serviceNodePulse 2.4s ease-in-out infinite 1.35s;
}
html[dir="rtl"] #services.reveal.is-visible .services-timeline__item:nth-child(4) .services-timeline__node {
  animation:
    serviceNodePopRtl 0.55s var(--ease-out-expo) 0.86s forwards,
    serviceNodePulse 2.4s ease-in-out infinite 1.55s;
}
html[dir="rtl"] #services.reveal.is-visible .services-timeline__item:nth-child(5) .services-timeline__node {
  animation:
    serviceNodePopRtl 0.55s var(--ease-out-expo) 1.04s forwards,
    serviceNodePulse 2.4s ease-in-out infinite 1.75s;
}
html[dir="rtl"] #services.reveal.is-visible .services-timeline__item:nth-child(6) .services-timeline__node {
  animation:
    serviceNodePopRtl 0.55s var(--ease-out-expo) 1.22s forwards,
    serviceNodePulse 2.4s ease-in-out infinite 1.95s;
}
html[dir="rtl"] #services.reveal.is-visible .services-timeline__item:nth-child(7) .services-timeline__node {
  animation:
    serviceNodePopRtl 0.55s var(--ease-out-expo) 1.4s forwards,
    serviceNodePulse 2.4s ease-in-out infinite 2.15s;
}
html[dir="rtl"] #services.reveal.is-visible .services-timeline__item:nth-child(8) .services-timeline__node {
  animation:
    serviceNodePopRtl 0.55s var(--ease-out-expo) 1.58s forwards,
    serviceNodePulse 2.4s ease-in-out infinite 2.35s;
}
html[dir="rtl"] #services.reveal.is-visible .services-timeline__item:nth-child(9) .services-timeline__node {
  animation:
    serviceNodePopRtl 0.55s var(--ease-out-expo) 1.76s forwards,
    serviceNodePulse 2.4s ease-in-out infinite 2.55s;
}

@keyframes serviceNodePopRtl {
  to {
    opacity: 1;
    transform: translate3d(50%, 0, 0) scale(1);
  }
}

@media (max-width: 540px) {
  .services-timeline__list {
    padding-left: 46px;
  }

  .services-timeline__track {
    left: 17px;
  }

  .services-timeline__node {
    left: -33px;
  }

  .services-timeline__label {
    letter-spacing: 0.1em;
    font-size: clamp(0.68rem, 2.1vw + 0.52rem, 0.92rem);
  }

  html[dir="rtl"] .services-timeline__list {
    padding-right: 46px;
    padding-left: 0;
  }

  html[dir="rtl"] .services-timeline__track {
    right: 17px;
    left: auto;
  }

  html[dir="rtl"] .services-timeline__node {
    right: -33px;
    left: auto;
  }
}

/* Formats: unified 4:3 media frame on all cards + copy */
.section--formats {
  padding-block: clamp(2.5rem, 7vw, var(--space-3xl));
}

.section--formats .formats-lead {
  max-width: 38rem;
  margin: 0 auto clamp(1.25rem, 4vw, var(--space-2xl));
  text-align: center;
  font-size: clamp(0.94rem, 1.2vw + 0.82rem, 1.02rem);
  line-height: 1.75;
  font-weight: 300;
  color: var(--color-text-muted);
}

.formats-grid {
  display: grid;
  gap: clamp(var(--space-md), 3vw, var(--space-lg));
  max-width: 1040px;
  margin-inline: auto;
}

@media (min-width: 880px) {
  .formats-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.formats-card {
  --formats-accent: var(--color-burgundy);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: rgba(255, 252, 248, 0.55);
  border: 1px solid rgba(107, 31, 42, 0.11);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    var(--shadow-sm);
  transition:
    border-color var(--duration-fast) ease,
    box-shadow var(--duration-fast) ease,
    transform var(--duration-fast) var(--ease-out-expo);
}

.formats-card--image {
  --formats-accent: #7a3a45;
}

.formats-card--video {
  --formats-accent: #4a1520;
}

.formats-card:hover {
  border-color: rgba(107, 31, 42, 0.2);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    var(--shadow-md);
  transform: translate3d(0, -4px, 0);
}

.formats-card__art {
  position: relative;
  isolation: isolate;
  flex-shrink: 0;
  margin: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 0;
  overflow: hidden;
  color: var(--color-burgundy);
}

.formats-card__art::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: radial-gradient(circle at 1px 1px, rgba(107, 31, 42, 0.07) 1px, transparent 0);
  background-size: 14px 14px;
  pointer-events: none;
}

.formats-card__art--web {
  position: relative;
  padding: 0;
  overflow: hidden;
  color: var(--color-burgundy);
  background: #f2f0ec;
}

.formats-card__art--web .formats-card__index {
  z-index: 3;
}

.formats-card__art--web::before {
  opacity: 0.12;
}

.formats-card__art--image {
  position: relative;
  padding: 0;
  overflow: hidden;
  color: var(--color-burgundy-deep);
  background: #e8e6e2;
}

.formats-card__art--image .formats-card__index {
  z-index: 3;
}

.formats-card__media {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
  overflow: hidden;
}

.formats-card__media--image img,
.formats-card__media--web img,
.formats-card__img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
}

.formats-card__art--image::before {
  opacity: 0.12;
}

.formats-card__art--video {
  /* Same studio tone as image card so the row reads as three mockups, not a dark tile. */
  display: block;
  padding: 0;
  color: var(--color-burgundy-deep);
  background: #e8e6e2;
}

.formats-card__art--video::before {
  opacity: 0.12;
}

/* Inset “screen” so video matches the framed-device feel of web / image cards. */
.formats-card__video-shell {
  position: absolute;
  inset: clamp(0.6rem, 3.2vw, 1.1rem);
  z-index: 2;
  overflow: hidden;
  border-radius: clamp(10px, 1.4vw, 15px);
  background: #f2f0ec;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    0 12px 28px rgba(42, 24, 20, 0.07),
    0 0 0 1px rgba(107, 31, 42, 0.07);
}

.formats-card__art--video .formats-card__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
  object-position: center;
  background: #ebe8e4;
  border: 0;
  border-radius: 0;
}

.formats-card__index {
  position: absolute;
  top: var(--space-md);
  inset-inline-start: var(--space-md);
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--formats-accent);
  opacity: 0.55;
  z-index: 1;
}

.formats-card__art--video .formats-card__index {
  z-index: 3;
}

.formats-card__body {
  position: relative;
  padding: var(--space-md) var(--space-lg) var(--space-lg);
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  min-width: 0;
}

.formats-card__body::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--space-lg);
  right: var(--space-lg);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(107, 31, 42, 0.12), transparent);
}

.formats-card__title {
  margin: 0;
  padding-top: 0.15rem;
  font-family: var(--font-serif);
  font-size: clamp(0.78rem, 0.3vw + 0.68rem, 0.92rem);
  font-weight: 600;
  color: var(--color-burgundy-deep);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.formats-card__text {
  margin: 0;
  font-size: clamp(0.86rem, 0.35vw + 0.8rem, 0.95rem);
  line-height: 1.62;
  font-weight: 300;
  color: var(--color-text);
}

html[dir="rtl"] .formats-card__title,
html[dir="rtl"] .formats-card__text {
  font-family: "Amiri", "Noto Sans Arabic", serif;
}

html[dir="rtl"] .formats-card__text {
  font-family: "Noto Sans Arabic", "Tahoma", sans-serif;
  font-weight: 400;
  line-height: 1.8;
}

html[dir="rtl"] .formats-card__title {
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: clamp(0.95rem, 0.45vw + 0.82rem, 1.08rem);
}

/* Why grid */
.why-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-md);
  max-width: 860px;
  margin-inline: auto;
}

@media (min-width: 600px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.why-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: rgba(235, 232, 218, 0.92);
  border: 1px solid rgba(107, 31, 42, 0.09);
  border-radius: var(--radius-lg);
  transition:
    background var(--duration-fast) ease,
    border-color var(--duration-fast) ease,
    transform var(--duration-fast) var(--ease-out-expo),
    box-shadow var(--duration-fast) ease;
}

.why-item:hover {
  background: var(--surface-elevated);
  border-color: rgba(107, 31, 42, 0.16);
  transform: translate3d(0, -4px, 0);
  box-shadow: var(--shadow-sm);
}

.why-item__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--color-burgundy);
  background: rgba(107, 31, 42, 0.07);
  box-shadow: 0 0 0 3px rgba(107, 31, 42, 0.06);
  transition: background var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.why-item:hover .why-item__icon {
  background: rgba(107, 31, 42, 0.11);
  box-shadow: 0 0 0 3px rgba(107, 31, 42, 0.1);
}

.why-item__text {
  font-size: 0.98rem;
  font-weight: 400;
  color: var(--color-text);
}

/* Social */
.social__cta-line {
  margin: 0 0 0.35rem;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

.social__cta-line + .social__cta-line {
  margin-bottom: 1.75rem;
}

.social-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  list-style: none;
  margin: 0;
  padding: 0;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  color: var(--color-burgundy);
  background: var(--surface-elevated);
  border: 1px solid rgba(107, 31, 42, 0.14);
  box-shadow: var(--shadow-sm);
  transition:
    color var(--duration-fast) var(--ease-out-expo),
    background var(--duration-fast) var(--ease-out-expo),
    transform var(--duration-fast) var(--ease-out-expo),
    border-color var(--duration-fast) ease,
    box-shadow var(--duration-fast) ease;
}

.social-link:hover {
  color: var(--color-white-soft);
  background: var(--color-burgundy);
  border-color: var(--color-burgundy);
  transform: translate3d(0, -5px, 0) scale(1.04);
  box-shadow: var(--shadow-md);
}

.social-link__icon {
  width: 28px;
  height: 28px;
}

/* CTA band */
.cta-band {
  padding-block: var(--space-3xl);
  padding-inline-start: max(var(--space-lg), env(safe-area-inset-left, 0px));
  padding-inline-end: max(var(--space-lg), env(safe-area-inset-right, 0px));
  background:
    radial-gradient(ellipse 85% 100% at 50% 100%, rgba(107, 31, 42, 0.11), transparent 55%),
    linear-gradient(168deg, rgba(107, 31, 42, 0.07) 0%, var(--color-beige) 36%, #e4e0d4 100%);
  border-block: 1px solid rgba(107, 31, 42, 0.1);
}

.cta-band__inner {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}

.cta-band__title {
  margin: 0 0 var(--space-xl);
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.2vw + 1rem, 2.65rem);
  font-weight: 600;
  color: var(--color-burgundy);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

html[dir="rtl"] .btn {
  letter-spacing: 0.04em;
  text-transform: none;
  font-family: "Noto Sans Arabic", sans-serif;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 2.25rem;
  font-family: "Montserrat", "Noto Sans Arabic", system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background var(--duration-fast) var(--ease-out-expo),
    color var(--duration-fast) ease,
    transform var(--duration-fast) var(--ease-out-expo),
    box-shadow var(--duration-fast) ease;
}

.btn--cta {
  background: var(--color-burgundy);
  color: var(--color-white-soft);
  box-shadow: 0 12px 40px rgba(107, 31, 42, 0.28);
}

.btn--cta:hover {
  background: var(--color-burgundy-deep);
  transform: translate3d(0, -4px, 0);
  box-shadow: 0 20px 50px rgba(107, 31, 42, 0.35), 0 0 0 1px rgba(255, 252, 248, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  .why-item:hover,
  .social-link:hover,
  .btn--cta:hover {
    transform: none;
  }
}

/* Footer */
.site-footer {
  position: relative;
  padding-block: var(--space-2xl) var(--space-3xl);
  padding-inline-start: max(var(--space-lg), env(safe-area-inset-left, 0px));
  padding-inline-end: max(var(--space-lg), env(safe-area-inset-right, 0px));
  text-align: center;
  background: var(--color-beige);
  border-top: 1px solid rgba(107, 31, 42, 0.08);
}

.site-footer::before {
  content: "";
  display: block;
  width: min(120px, 30%);
  height: 3px;
  margin: 0 auto var(--space-lg);
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--color-burgundy), transparent);
  opacity: 0.35;
}

.site-footer__text {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(0.98rem, 0.4vw + 0.9rem, 1.08rem);
  font-weight: 600;
  color: var(--color-burgundy);
  letter-spacing: 0.04em;
}

/* Social section: stagger CTA lines (h2 is first child in .container) */
#social .social__cta-line {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  filter: blur(6px);
  transition:
    opacity var(--duration-section) var(--ease-out-expo),
    transform var(--duration-section) var(--ease-out-expo),
    filter var(--duration-section) var(--ease-out-expo);
}

#social.reveal.is-visible .social__cta-line:nth-child(2) {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
  transition-delay: 0.18s;
}

#social.reveal.is-visible .social__cta-line:nth-child(3) {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
  transition-delay: 0.3s;
}

@media (prefers-reduced-motion: reduce) {
  #social .social__cta-line {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* ========== Landing: click video to play → site ========== */
html.phase-intro body {
  overflow: hidden;
}

html.phase-site body {
  overflow: auto;
}

.site-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  overflow-x: clip;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  transition: opacity 1.15s var(--ease-cinematic);
}

html.phase-site .site-shell {
  opacity: 1;
}

html.phase-intro .site-shell {
  opacity: 0;
  pointer-events: none;
}

.intro-layer {
  position: fixed;
  inset: 0;
  z-index: 8000;
  display: grid;
  place-items: stretch;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  background: var(--color-beige);
  cursor: pointer;
  transition: opacity 1s var(--ease-cinematic), visibility 0s linear 1.05s;
}

html.phase-site .intro-layer {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-video {
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  min-height: 100vh;
  object-fit: contain;
  object-position: center;
  cursor: pointer;
  background-color: var(--color-beige);
}

.intro-video:focus-visible {
  outline: 2px solid var(--color-white-soft);
  outline-offset: -4px;
}

@media (prefers-reduced-motion: reduce) {
  .intro-layer {
    transition-duration: 0.25s;
  }
}

/* Small screens: spacing, tap targets, no horizontal overflow */
@media (max-width: 480px) {
  .section {
    padding-block: var(--space-2xl);
  }

  .section--formats .formats-lead {
    font-size: 0.96rem;
    margin-bottom: var(--space-lg);
  }

  .formats-card__body {
    padding: var(--space-md) var(--space-md) var(--space-lg);
  }

  .cta-band__title {
    font-size: clamp(1.45rem, 5vw + 0.85rem, 2.2rem);
  }

  .section__body p {
    font-size: 1rem;
  }
}

@media (max-width: 420px) {
  .btn--cta {
    width: 100%;
    max-width: 17.5rem;
    margin-inline: auto;
    padding-inline: 1.25rem;
  }
}

@media (max-width: 380px) {
  .lang-switch__btn {
    min-width: 4.35rem;
    padding: 0 0.55rem;
    font-size: 0.6rem;
  }

  #lang-ar.lang-switch__btn {
    font-size: 0.68rem;
  }
}

@media (min-width: 821px) {
  .site-nav__list {
    overflow: visible;
  }
}
