/* =========================================================
   Concierge for Expats (expats.html), in the site's theme
   Structure from the "Concierge for Expats" design: the statement that grows as you scroll,
   tilting trust cards, numbered steps with a filling line, the Occasion Calendar chips, the summary.
   ========================================================= */
.xp-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 90px); align-items: start; }
.xp-about p + p { margin-top: 1.1em; }
.xp-lead { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.35; color: var(--snow); }
.xp-about p:not(.xp-lead) { color: rgba(255, 250, 250, .72); }

/* "You ask, we deliver." — letters grow as you scroll */
.xp-grow { position: relative; height: 250vh; background: linear-gradient(180deg, transparent, rgba(10, 2, 9, .55) 50%, transparent); }
.xp-stick { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; align-content: center; gap: 28px; text-align: center; padding-inline: var(--gutter); }
.xp-grow-line { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(3.2rem, 12vw, 10rem); line-height: 1; letter-spacing: -.02em; max-width: 14ch; color: var(--snow); }
.xp-grow-line .xp-w { display: inline-block; white-space: nowrap; margin-inline: .12em; }
.xp-grow-line .xp-w:last-child { font-style: italic; color: var(--teal-light); }
.xp-grow-line .xp-ch { display: inline-block; will-change: transform, opacity; transform-origin: 50% 80%; }
.xp-grow-sub { margin: 0 auto; max-width: 32rem; font-size: 1.15rem; color: rgba(255, 250, 250, .72); }

/* why families choose us: glass cards with a soft tilt and light that follows the mouse */
.xp-cards4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.xp-cards4 > div { perspective: 900px; }
.xp-tilt { --mx: 50%; --my: 50%; height: 100%; padding: 30px 26px 32px; border-radius: 22px; border: 1px solid rgba(255, 250, 250, .14);
  background: radial-gradient(260px 200px at var(--mx) var(--my), rgba(92, 196, 192, .16), transparent 70%),
              linear-gradient(150deg, rgba(255, 250, 250, .07), rgba(255, 250, 250, .02) 60%);
  transition: transform .2s ease-out, border-color .3s ease; }
.xp-tilt:hover { border-color: rgba(92, 196, 192, .5); }
.xp-tilt h3 { margin: 0 0 10px; font-family: var(--serif); font-weight: 400; font-size: 1.55rem; color: var(--snow); }
.xp-tilt p { margin: 0; color: rgba(255, 250, 250, .7); }

/* how it works: numbered steps on a line that fills as you scroll */
.xp-steps { position: relative; list-style: none; margin: 0; padding: 0; max-width: 46rem; --p: 0; }
.xp-steps::before, .xp-steps::after { content: ""; position: absolute; left: 30px; top: 30px; bottom: 30px; width: 1px; }
.xp-steps::before { background: rgba(255, 250, 250, .16); }
.xp-steps::after { background: var(--teal-light); transform-origin: top; transform: scaleY(var(--p)); }
.xp-step { position: relative; display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 24px; padding-block: 20px; align-items: start; }
.xp-num { position: relative; z-index: 1; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(255, 250, 250, .22); background: #1c0719; font-family: var(--serif); font-size: 1.8rem; color: var(--teal-light);
  transition: background .4s ease, color .4s ease, border-color .4s ease; }
.xp-step.on .xp-num { background: var(--teal); border-color: var(--teal); color: var(--snow); }
.xp-step h3 { margin: 0; padding-top: 10px; font-family: var(--serif); font-weight: 400; font-size: 1.6rem; color: var(--snow); }
.xp-step p { margin: 4px 0 0; color: rgba(255, 250, 250, .7); }

/* the Occasion Calendar */
.xp-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.xp-chips span { padding: 8px 20px; border-radius: 999px; border: 1px solid rgba(255, 250, 250, .45); background: rgba(255, 250, 250, .06); color: var(--snow); font-size: .95rem; }

/* in summary */
.xp-summary { text-align: left; }
.xp-summary .xp-split { align-items: start; }
.xp-big { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.95rem); line-height: 1.4; color: var(--snow); }
.xp-summary p + p { margin-top: 1.1em; color: rgba(255, 250, 250, .72); }
.xp-contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: clamp(40px, 6vw, 64px) 0 36px; padding-top: 30px; border-top: 1px solid rgba(255, 250, 250, .14); }
.xp-contact dt { color: var(--teal-light); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; }
.xp-contact dd { margin: 6px 0 0; color: var(--snow); overflow-wrap: anywhere; }

@media (max-width: 980px) { .xp-cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .xp-split, .xp-contact { grid-template-columns: minmax(0, 1fr); }
  .xp-cards4 { grid-template-columns: minmax(0, 1fr); }
  .xp-step { grid-template-columns: 50px minmax(0, 1fr); gap: 16px; }
  .xp-num { width: 50px; height: 50px; font-size: 1.5rem; }
  .xp-steps::before, .xp-steps::after { left: 25px; top: 25px; bottom: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .xp-grow { height: auto; } .xp-stick { position: static; height: auto; padding-block: 96px; }
  .xp-tilt { transition: none; }
}
