/* ===== Mona Agency ===== */
:root {
  --black: #070707;
  --black-2: #0e0e0e;
  --black-3: #161616;
  --ivory: #f2efe9;
  --ivory-dim: rgba(242, 239, 233, 0.66);
  --ivory-faint: rgba(242, 239, 233, 0.14);
  --script: 'Pinyon Script', cursive;
  --serif: 'Gilda Display', Georgia, serif;
  --sans: 'Jost', system-ui, sans-serif;
  --ease: cubic-bezier(0.77, 0, 0.18, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(28px, 8vw, 160px);
  --radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--black);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }

/* Paper grain, like the card stock */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: italic; font-weight: 300; }
.hidden { display: none; }

/* ===== INTRO ===== */
.intro {
  position: fixed; inset: 0;
  z-index: 100;
  background: var(--black);
  display: grid; place-items: center;
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.2s var(--ease);
}
.intro.is-done { clip-path: inset(0 0 100% 0); }
.intro.is-gone { display: none; }
.intro__inner { text-align: center; position: relative; }
.intro__script {
  font-family: var(--script);
  font-size: clamp(110px, 22vw, 260px);
  line-height: 1;
  color: var(--ivory);
  padding: 0 0.25em;
  clip-path: inset(0 100% 0 0);
  filter: blur(6px);
  animation: write 2.4s var(--ease) 0.4s forwards;
}
.intro__caps {
  font-family: var(--serif);
  font-size: clamp(14px, 2vw, 22px);
  letter-spacing: 0.2em;
  margin-top: -0.4em;
  padding-left: 0.2em;
  opacity: 0;
  animation: caps 1.6s var(--ease-out) 2s forwards;
}
.intro__skip {
  position: absolute; bottom: 32px; right: var(--gutter);
  padding: 10px 22px;
  border: 1px solid var(--ivory-faint);
  border-radius: 999px;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ivory-dim);
  opacity: 0; animation: fade 0.8s ease 1s forwards;
}
.intro__skip:hover { color: var(--ivory); }

@keyframes write {
  0% { clip-path: inset(0 100% 0 0); filter: blur(6px); }
  60% { filter: blur(0); }
  100% { clip-path: inset(0 0 0 0); filter: blur(0); }
}
@keyframes caps {
  from { opacity: 0; letter-spacing: 0.2em; }
  to { opacity: 1; letter-spacing: 0.75em; }
}
@keyframes fade { to { opacity: 1; } }

/* Phone intro: the scroll portal plays on its own. --k (key) and --p (doors) are
   registered so they can be animated; the portal styles below read them. */
@property --k { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --p { syntax: '<number>'; inherits: true; initial-value: 0; }
.intro__portal { display: none; }
@media (max-width: 700px) {
  .intro { background: transparent; }
  .intro.is-done { clip-path: none; opacity: 0; transition: opacity 0.6s ease; }
  .intro__inner { display: none; }
  .intro__portal {
    display: block; position: absolute; inset: 0; overflow: hidden;
    animation: intro-key 1s cubic-bezier(0.65, 0, 0.35, 1) 0.6s forwards,
               intro-doors 1.9s cubic-bezier(0.65, 0, 0.35, 1) 1.7s forwards;
  }
  .intro__portal .portal__door::after { font-size: 33vw; }
  .intro__skip { color: var(--ivory); border-color: var(--ivory-faint); z-index: 4; }
}
@keyframes intro-key { to { --k: 1; } }
@keyframes intro-doors { to { --p: 1; } }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  transition: background 0.5s ease, padding 0.5s ease;
}
.nav.is-scrolled {
  background: rgba(7, 7, 7, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-top: 14px; padding-bottom: 14px;
}
.nav__logo { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.nav__script { font-family: var(--script); font-size: 34px; }
.nav__caps { font-family: var(--serif); font-size: 9px; letter-spacing: 0.6em; padding-left: 0.6em; margin-top: -2px; }
.nav__links { display: flex; gap: 40px; }
.nav__links a {
  font-size: 11px; font-weight: 400; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ivory);
  opacity: 0.85;
  transition: opacity 0.3s;
}
.nav__links a:hover, .nav__links a.is-current { opacity: 1; color: #fff; }
.nav__links a.is-current { font-style: italic; }
.nav__right { display: flex; align-items: center; gap: 24px; }
.lang { position: relative; }
.lang__current {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 11px;
  border: 1px solid rgba(242, 239, 233, 0.35);
  border-radius: 999px;
  font-size: 11px; letter-spacing: 0.16em;
  transition: border-color 0.3s, background 0.3s;
}
.lang__current:hover, .lang.is-open .lang__current { border-color: var(--ivory); background: rgba(242, 239, 233, 0.05); }
.lang__flag {
  width: 15px; height: 10px; border-radius: 2px; flex-shrink: 0;
  background-size: cover; background-position: center;
}
.flag-fr { background-image: linear-gradient(90deg, #1f3c8f 33.3%, #fff 33.3% 66.6%, #e1263b 66.6%); }
.flag-en { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3CclipPath id='t'%3E%3Cpath d='M30,15 h30 v15 z v15 h-30 z h-30 v-15 z v-15 h30 z'/%3E%3C/clipPath%3E%3Cpath d='M0,0 v30 h60 v-30 z' fill='%23012169'/%3E%3Cpath d='M0,0 L60,30 M60,0 L0,30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0,0 L60,30 M60,0 L0,30' clip-path='url(%23t)' stroke='%23C8102E' stroke-width='4'/%3E%3Cpath d='M30,0 v30 M0,15 h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30,0 v30 M0,15 h60' stroke='%23C8102E' stroke-width='6'/%3E%3C/svg%3E"); }
.lang__menu {
  position: absolute; top: calc(100% + 10px); right: 0;
  min-width: 150px;
  list-style: none;
  padding: 8px;
  background: var(--ivory);
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s var(--ease-out);
}
.lang.is-open .lang__menu { opacity: 1; transform: none; pointer-events: auto; }
.lang__menu button {
  display: flex; align-items: center; gap: 12px;
  width: 100%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 13px; letter-spacing: 0.05em;
  color: rgba(7, 7, 7, 0.55);
  text-align: left;
  transition: background 0.3s, color 0.3s;
}
.lang__menu button:hover { background: rgba(7, 7, 7, 0.06); color: var(--black); }
.lang__menu button.is-active { color: var(--black); }
.nav__cta {
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--ivory);
  color: var(--black);
  font-size: 11px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.3s, transform 0.3s var(--ease-out);
}
.nav__cta:hover { background: #fff; transform: translateY(-1px); }
.nav__burger { display: none; width: 28px; height: 14px; position: relative; }
.nav__burger span {
  position: absolute; left: 0; width: 100%; height: 1px; background: var(--ivory);
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.nav__burger span:first-child { top: 0; }
.nav__burger span:last-child { top: 13px; }
.nav.is-open .nav__burger span:first-child { top: 7px; transform: rotate(45deg); }
.nav.is-open .nav__burger span:last-child { top: 7px; transform: rotate(-45deg); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 18px 40px;
  border: 1px solid var(--ivory);
  border-radius: 999px;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  position: relative; overflow: hidden;
  transition: color 0.5s var(--ease);
  z-index: 0;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: var(--ivory);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
  z-index: -1;
}
.btn:hover { color: var(--black); }
.btn:hover::before { transform: translateY(0); }
.btn--small { padding: 14px 30px; }
.btn { text-align: center; }
/* Solid ivory button, easier to read on dark backgrounds */
.btn--light { background: var(--ivory); border-color: var(--ivory); color: var(--black); font-weight: 400; }
.btn--light::before { background: #fff; }
.btn--light:hover { color: var(--black); }
.btn--full { width: 100%; margin-top: 12px; }

/* ===== HOME HERO ===== */
.hero {
  min-height: 100vh; min-height: 100svh;
  position: relative;
  display: flex; align-items: center;
  padding: 140px var(--gutter) 100px;
  overflow: hidden;
}
/* Background video, darkened so the text stays readable */
.hero__media { position: absolute; inset: 0; pointer-events: none; }
.hero__video {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.4) brightness(0.7);
}
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.9) 0%, rgba(7, 7, 7, 0.6) 50%, rgba(7, 7, 7, 0.4) 100%),
    linear-gradient(180deg, rgba(7, 7, 7, 0.7) 0%, rgba(7, 7, 7, 0) 22%),
    linear-gradient(0deg, var(--black) 0%, rgba(7, 7, 7, 0) 30%);
}
.hero__content { position: relative; max-width: 760px; }
.eyebrow {
  font-size: 14px; font-weight: 400; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--ivory);
  margin-bottom: 32px;
}
.hero__title, .page-hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 6.4vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin-bottom: 36px;
}
.hero__text, .page-hero__text { max-width: 520px; color: var(--ivory-dim); font-size: 17px; margin-bottom: 48px; }
.hero__cta { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }

/* ===== INNER PAGE HERO ===== */
.page-hero { padding: clamp(160px, 20vw, 240px) var(--gutter) clamp(60px, 8vw, 100px); }
.page-hero__title { max-width: 900px; font-size: clamp(34px, 4.4vw, 60px); }
.page-hero__text { margin-bottom: 0; }

/* Inner page header with a full background photo (La Maison) */
.page-hero--image {
  position: relative;
  min-height: 82vh; min-height: 82svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
  padding-bottom: clamp(56px, 8vw, 110px);
}
.page-hero__media { position: absolute; inset: 0; }
/* Mirrored so the figure on the stairs sits away from the title */
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); filter: brightness(0.72) saturate(0.85); }
.page-hero__media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.8) 0%, rgba(7, 7, 7, 0.35) 55%, rgba(7, 7, 7, 0.15) 100%),
    linear-gradient(180deg, rgba(7, 7, 7, 0.65) 0%, rgba(7, 7, 7, 0) 25%),
    linear-gradient(0deg, var(--black) 0%, rgba(7, 7, 7, 0) 40%);
}
.page-hero--image .page-hero__title { position: relative; margin-bottom: 0; }
@media (max-width: 700px) {
  .page-hero--image { min-height: 70svh; }
  .page-hero__media img { object-position: 35% center; }
}

/* ===== PHOTO SLOTS ===== */
/* Empty frames waiting for photos: replace the <span> with an <img> */
.photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 30% 20%, rgba(242, 239, 233, 0.07), transparent 60%),
    var(--black-3);
  aspect-ratio: 3 / 2;
  display: grid; place-items: center;
}
.photo span {
  font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase;
  color: rgba(242, 239, 233, 0.32);
}
.photo img {
  position: absolute; inset: -6% 0;
  width: 100%; height: 112%;
  object-fit: cover;
  transform: translateY(var(--py, 0px)) scale(1.18);
  transition: transform 1.8s var(--ease-out);
  will-change: transform;
}
/* Photos unveil like a rising curtain, then drift gently with the scroll (--py set by script.js) */
.photo.reveal { opacity: 1; transform: none; clip-path: inset(100% 0 0 0 round var(--radius)); transition: clip-path 1.4s var(--ease); }
.photo.reveal.is-visible { clip-path: inset(0 0 0 0 round var(--radius)); }
.photo.is-visible img { transform: translateY(var(--py, 0px)) scale(1); }
.photo--wide { aspect-ratio: 21 / 9; }
.photo--portrait { aspect-ratio: 4 / 5; }
.photo--square { aspect-ratio: 1; }

/* ===== SILVER / GOLD / PLATINUM CARDS ===== */
/* When the block scrolls into view: the deck lifts up in perspective, the cards glide
   into a fan one after another, light sweeps the metal, then the fan floats gently.
   Text sits on the left of each card, the part that stays visible in the fan. */
.tiers {
  position: relative;
  aspect-ratio: 3 / 2;
  container-type: inline-size;
  perspective: 1400px;
}
.tiers.reveal { opacity: 1; transform: none; }
.tiers.is-visible { animation: tiers-float 7s ease-in-out 2.6s infinite; }
.tier {
  position: absolute; left: 50%; top: 50%;
  width: 34%; aspect-ratio: 1.6;
  border-radius: 2.6cqw;
  padding: 3cqw 3cqw 2.8cqw;
  display: flex; flex-direction: column;
  color: #141414;
  box-shadow: 0 2cqw 6cqw rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transform: translate(-50%, -40%) rotateX(38deg) scale(0.9);
  opacity: 0;
  overflow: hidden;
  transition: translate 0.6s var(--ease-out), scale 0.6s var(--ease-out), box-shadow 0.6s;
}
/* Four cards fanned left to right, from Silver up to VIP */
.tier--silver { background: linear-gradient(135deg, #f1f1f1 0%, #b9bcc0 45%, #e4e5e7 60%, #8e9196 100%); z-index: 1; --fan: translate(-140%, -42%) rotate(-10deg); }
.tier--gold { background: linear-gradient(135deg, #f6e3a8 0%, #c9a046 40%, #f1d78f 58%, #94702a 100%); z-index: 2; --fan: translate(-79%, -58%) rotate(-3deg); }
.tier--platinum { background: linear-gradient(135deg, #5a5d63 0%, #23252a 38%, #4a4d54 56%, #141518 100%); color: var(--ivory); z-index: 3; --fan: translate(-18%, -58%) rotate(3deg); }
.tier--vip { background: linear-gradient(135deg, #2a2a2a 0%, #0c0c0c 40%, #1e1e1e 58%, #050505 100%); color: #e3c77d; z-index: 4; --fan: translate(43%, -42%) rotate(10deg); box-shadow: 0 2cqw 6cqw rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(214, 178, 98, 0.6); }
.tiers.is-visible .tier { animation: tier-open 2.4s both; }
.tiers.is-visible .tier--gold { animation-delay: 0.08s; }
.tiers.is-visible .tier--platinum { animation-delay: 0.16s; }
.tiers.is-visible .tier--vip { animation-delay: 0.24s; }
@keyframes tier-open {
  0% { opacity: 0; transform: translate(-50%, -40%) rotateX(38deg) scale(0.9); animation-timing-function: cubic-bezier(0.25, 0.8, 0.3, 1); }
  32% { opacity: 1; transform: translate(-50%, -50%) rotateX(0deg) scale(1); animation-timing-function: cubic-bezier(0.65, 0, 0.15, 1); }
  100% { opacity: 1; transform: var(--fan); }
}
@keyframes tiers-float { 50% { translate: 0 -1.6%; } }
/* Lift the card under the cursor */
@media (hover: hover) {
  .tier:hover { translate: 0 -4%; scale: 1.03; box-shadow: 0 3cqw 8cqw rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
}
/* Soft light sweeping across the metal once the fan is open */
.tier::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.5) 45%, transparent 60%);
  transform: translateX(-110%);
}
.tiers.is-visible .tier::after { animation: tier-sheen 1.6s cubic-bezier(0.4, 0, 0.2, 1) both; }
.tiers.is-visible .tier--silver::after { animation-delay: 1.9s; }
.tiers.is-visible .tier--gold::after { animation-delay: 2.05s; }
.tiers.is-visible .tier--platinum::after { animation-delay: 2.2s; }
.tiers.is-visible .tier--vip::after { animation-delay: 2.35s; }
.tier--vip::after { background: linear-gradient(115deg, transparent 30%, rgba(227, 199, 125, 0.25) 45%, transparent 60%); }
.tier--platinum::after { background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.22) 45%, transparent 60%); }
.tier--platinum { box-shadow: 0 2cqw 6cqw rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
@keyframes tier-sheen { from { transform: translateX(-110%); } to { transform: translateX(110%); } }
.tier__mona { font-family: var(--script); font-size: 4.4cqw; line-height: 1; }
.tier__name {
  margin-top: auto;
  font-family: var(--serif);
  font-size: 2.5cqw; letter-spacing: 0.2em; text-transform: uppercase; line-height: 1.2;
}
.tier__desc { max-width: 19cqw; font-size: 1.5cqw; line-height: 1.35; letter-spacing: 0.02em; font-weight: 400; opacity: 0.78; margin-top: 0.6cqw; }

.tier { cursor: pointer; }
.tier:focus-visible { outline: 2px solid var(--ivory); outline-offset: 4px; }
/* Hint engraved along an arc above the cards. Negative margins trim the empty space
   around the fan so the block centres on what is actually visible. */
.tiers-wrap { margin: -2% 0 -13%; }
.tiers__arc { display: block; width: 100%; overflow: visible; margin-bottom: -9%; }
.tiers__arc.reveal { transform: translateY(16px); }
.tiers__arc.reveal.is-visible { transform: none; transition-delay: 1.4s; }
.tiers__arc text {
  font-family: var(--sans); font-size: 13px; font-weight: 400;
  letter-spacing: 3.6px; text-transform: uppercase;
  fill: var(--ivory-dim);
}

/* ===== METHOD DIAGRAM ===== */
/* Three medallions read left to right; the golden path draws itself between them,
   then a spark of light keeps travelling along it. */
.steps-diagram {
  position: relative;
  aspect-ratio: 3 / 2;
  container-type: inline-size;
}
.steps-diagram.reveal { opacity: 1; transform: none; }
.steps-diagram__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.steps-diagram__path {
  fill: none;
  stroke: rgba(214, 178, 98, 0.55);
  stroke-width: 1.2;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 2.2s cubic-bezier(0.65, 0, 0.35, 1) 0.3s;
}
.steps-diagram.is-visible .steps-diagram__path { stroke-dashoffset: 0; }
.steps-diagram__spark {
  fill: #f6e3a8;
  filter: drop-shadow(0 0 6px rgba(246, 227, 168, 0.9));
  opacity: 0;
  transition: opacity 0.8s ease 2.6s;
}
.steps-diagram.is-visible .steps-diagram__spark { opacity: 1; }
.step-node {
  position: absolute; left: var(--x); top: var(--y);
  width: 30cqw;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  transform: translate(-50%, calc(-1 * max(22px, 5.5cqw))) scale(0.85);
  opacity: 0;
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.steps-diagram.is-visible .step-node { opacity: 1; transform: translate(-50%, calc(-1 * max(22px, 5.5cqw))); }
.steps-diagram.is-visible .step-node--1 { transition-delay: 0.2s; }
.steps-diagram.is-visible .step-node--2 { transition-delay: 1.1s; }
.steps-diagram.is-visible .step-node--3 { transition-delay: 2s; }
.step-node__ring {
  width: max(44px, 11cqw); height: max(44px, 11cqw);
  border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #2a2723, #121110 70%);
  box-shadow: 0 0 0 1px rgba(214, 178, 98, 0.6), 0 0 0 0.9cqw rgba(214, 178, 98, 0.06), 0 1.5cqw 4cqw rgba(0, 0, 0, 0.5);
}
.step-node__ring svg {
  width: 45%; height: 45%;
  fill: none; stroke: #e2c27a; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round;
}
.step-node strong {
  margin-top: 2.4cqw;
  font-family: var(--serif); font-weight: 400;
  font-size: max(15px, 3.6cqw); line-height: 1.1;
}
.step-node small { margin-top: 0.8cqw; font-size: max(11px, 2.2cqw); color: var(--ivory-dim); line-height: 1.3; }

/* ===== PALACE (La Maison on the home page) ===== */
/* The facade draws itself in gold, then the text fades in inside the central arch.
   --t-* place the text box inside the arch of the facade shown at each width. */
.palace {
  position: relative;
  max-width: 1000px;
  margin: clamp(80px, 12vw, 160px) auto;
  aspect-ratio: 1000 / 730;
  container-type: inline-size;
  --t-top: 40%; --t-side: 34%; --t-bottom: 4%;
}
.palace.reveal { opacity: 1; transform: none; }
.palace__svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  overflow: visible;
  fill: none; stroke: rgba(214, 178, 98, 0.62); stroke-width: 1.2;
}
.palace__svg--tall { display: none; }
.palace__svg * { stroke-dasharray: 1300; stroke-dashoffset: 1300; transition: stroke-dashoffset 2.6s cubic-bezier(0.65, 0, 0.35, 1); }
.palace.is-visible .palace__svg * { stroke-dashoffset: 0; }
.palace__content {
  position: absolute;
  top: var(--t-top); bottom: var(--t-bottom); left: var(--t-side); right: var(--t-side);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  opacity: 0; transform: translateY(20px);
  transition: opacity 1.2s var(--ease-out) 1.6s, transform 1.2s var(--ease-out) 1.6s;
}
.palace.is-visible .palace__content { opacity: 1; transform: none; }
.palace__content .label { margin-bottom: max(10px, 1.6cqw); }
.palace__title { font-family: var(--serif); font-weight: 300; font-size: max(26px, 3.9cqw); line-height: 1.08; }
.palace__text { color: var(--ivory-dim); font-size: max(14px, 1.7cqw); line-height: 1.55; margin: max(12px, 1.8cqw) 0 max(16px, 2.4cqw); }
@media (max-width: 700px) {
  /* Phone: a taller, wider arch so title, text and button all stay inside the house */
  .palace { aspect-ratio: 400 / 790; --t-top: 44%; --t-side: 14%; --t-bottom: 6.5%; }
  .palace__svg--wide { display: none; }
  .palace__svg--tall { display: block; }
  .palace__content .label { margin-bottom: 3cqw; }
  .palace__title { font-size: 8.2cqw; }
  .palace__text { font-size: 5cqw; line-height: 1.5; margin: 3.4cqw 0 5cqw; }
  .palace__content .btn { padding: 3.6cqw 5cqw; font-size: 3.2cqw; letter-spacing: 0.14em; white-space: nowrap; }
}

/* On phones the curve is too narrow for the titles: stack the steps vertically,
   joined by a short golden thread */
@media (max-width: 600px) {
  .steps-diagram { aspect-ratio: auto; display: flex; flex-direction: column; align-items: center; gap: 44px; padding: 8px 0; }
  .steps-diagram__svg { display: none; }
  .step-node { position: relative; left: auto; top: auto; width: 100%; transform: translateY(16px); }
  .steps-diagram.is-visible .step-node { transform: none; }
  .step-node + .step-node::before {
    content: ''; position: absolute; left: 50%; top: -38px;
    width: 1px; height: 32px;
    background: linear-gradient(rgba(214, 178, 98, 0), rgba(214, 178, 98, 0.7));
  }
  .step-node strong { font-size: 22px; margin-top: 14px; }
  .step-node small { font-size: 14px; margin-top: 4px; }
}

/* ===== METHOD SECTION (Services page) ===== */
.method { text-align: center; }
.method__head .text { margin: 0 auto; }
.method__diagram { max-width: 760px; margin: clamp(40px, 6vw, 80px) auto clamp(20px, 3vw, 40px); }
.method__steps { text-align: left; }

/* ===== PARTNERS PAGE ===== */
.partners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(44px, 5vw, 72px) clamp(28px, 4vw, 56px);
}
.partner { display: flex; flex-direction: column; align-items: flex-start; }
.partner__ring { width: 64px; height: 64px; margin-bottom: 24px; }
.partner h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.15; margin-bottom: 10px; }
.partner p { color: var(--ivory-dim); font-size: 15px; }
@media (max-width: 960px) { .partners { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .partners { grid-template-columns: 1fr; } }

/* ===== FLOATING WHATSAPP BUTTON ===== */
.wa-float {
  position: fixed; right: clamp(16px, 2.5vw, 32px); bottom: clamp(16px, 2.5vw, 32px);
  z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--black-2);
  border: 1px solid rgba(242, 239, 233, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s, border-color 0.4s;
}
.wa-float svg { width: 28px; height: 28px; fill: none; stroke: var(--ivory); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wa-float:hover { transform: translateY(-3px); border-color: var(--ivory); box-shadow: 0 14px 36px rgba(0, 0, 0, 0.65); }
.wa-float__tip {
  position: absolute; right: calc(100% + 14px); top: 50%;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--black-2); color: var(--ivory);
  border: 1px solid rgba(242, 239, 233, 0.35);
  font-size: 12px; letter-spacing: 0.06em; white-space: nowrap;
  opacity: 0; transform: translate(8px, -50%); pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
}
.wa-float:hover .wa-float__tip, .wa-float:focus-visible .wa-float__tip { opacity: 1; transform: translate(0, -50%); }
@media (hover: none) { .wa-float__tip { display: none; } }

/* ===== TIER DETAIL WINDOW ===== */
.tier-modal {
  width: min(520px, calc(100% - 32px));
  max-height: calc(100vh - 48px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: var(--black-2);
  color: var(--ivory);
  overflow: auto;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
}
.tier-modal::backdrop { background: rgba(7, 7, 7, 0.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.tier-modal[open] { animation: modal-in 0.7s var(--ease-out); }
.tier-modal[open]::backdrop { animation: fade 0.5s ease; }
@keyframes modal-in { from { opacity: 0; transform: translateY(30px) scale(0.96); } }
/* Metal band matching the chosen card */
.tier-modal__band { height: 120px; background: linear-gradient(135deg, #f1f1f1 0%, #b9bcc0 45%, #e4e5e7 60%, #8e9196 100%); }
.tier-modal[data-tier="gold"] .tier-modal__band { background: linear-gradient(135deg, #f6e3a8 0%, #c9a046 40%, #f1d78f 58%, #94702a 100%); }
.tier-modal[data-tier="platinum"] .tier-modal__band { background: linear-gradient(135deg, #5a5d63 0%, #23252a 38%, #4a4d54 56%, #141518 100%); }
.tier-modal[data-tier="platinum"] .tier-modal__mona { color: var(--ivory); }
.tier-modal[data-tier="vip"] .tier-modal__band { background: linear-gradient(135deg, #2a2a2a 0%, #0c0c0c 40%, #1e1e1e 58%, #050505 100%); box-shadow: inset 0 -1px 0 rgba(214, 178, 98, 0.6); }
.tier-modal[data-tier="vip"] .tier-modal__mona { color: #e3c77d; }
.tier-modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(7, 7, 7, 0.75); color: var(--ivory);
  font-size: 24px; line-height: 1;
  transition: background 0.3s;
}
.tier-modal__close:hover { background: var(--black); }
.tier-modal__body { padding: 0 clamp(28px, 6vw, 48px) clamp(32px, 6vw, 48px); }
.tier-modal__mona {
  position: absolute; top: 34px; left: clamp(28px, 6vw, 48px);
  font-family: var(--script); font-size: 52px; line-height: 1;
  color: #141414;
}
.tier-modal__name { font-family: var(--serif); font-weight: 400; font-size: 34px; letter-spacing: 0.3em; text-transform: uppercase; margin-top: 32px; }
.tier-modal__desc { color: var(--ivory-dim); font-size: 16px; margin-top: 4px; }
.tier-modal__list { list-style: none; display: grid; gap: 14px; margin: 24px 0 36px; }
.tier-modal__list li { position: relative; padding-left: 22px; color: var(--ivory-dim); font-size: 15px; }
.tier-modal__list li::before {
  content: ''; position: absolute; left: 0; top: 0.62em;
  width: 7px; height: 7px; border-radius: 50%;
  background: linear-gradient(135deg, #f6e3a8, #c9a046);
}
.tier-modal__wa { display: block; text-align: center; background: var(--ivory); color: var(--black); }
.tier-modal__wa::before { background: #fff; }

/* ===== SECTIONS ===== */
.section { padding: clamp(80px, 12vw, 160px) var(--gutter); position: relative; }
.section--tight { padding-top: 0; }
/* Pull Services up over the empty lower half of the portal stage */
.portal + .section { padding-top: clamp(24px, 3vw, 48px); margin-top: -30vh; z-index: 2; }
.label {
  font-size: 11px; font-weight: 400; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--ivory-dim);
  margin-bottom: 28px;
  display: block;
}
.title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.06;
  margin-bottom: 32px;
}
.text { color: var(--ivory-dim); font-size: 17px; max-width: 520px; }
.text + .text { margin-top: 20px; }

/* Portal: two doors open on scroll and reveal the quote.
   --p (doors) and --q (quote) go from 0 to 1, set by script.js */
.portal { position: relative; height: 220vh; --k: 0; --p: 0; --q: 0; }
@media (min-width: 701px) { .portal { height: 180vh; } }
.portal__stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  display: grid; place-items: center;
}
.portal__glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 45% 60% at 50% 50%, rgba(242, 239, 233, 0.13), transparent 70%);
  opacity: var(--p);
}
.portal__quote {
  position: relative;
  padding: 0 var(--gutter);
  text-align: center;
  opacity: var(--q);
  transform: scale(calc(0.9 + var(--q) * 0.1));
  filter: blur(calc((1 - var(--q)) * 12px));
}
.portal__quote .quote__text { font-size: clamp(22px, 3vw, 42px); max-width: none; white-space: nowrap; }
.portal__quote .quote__sign { font-size: 44px; margin-top: 20px; }
.portal__door {
  position: absolute; top: 0; bottom: 0;
  width: 50%;
  overflow: hidden;
  background: linear-gradient(90deg, #0a0a0a, #121212);
  transition: transform 0.08s linear;
  z-index: 2;
}
.portal__door--left { left: 0; transform: translateX(calc(var(--p) * -100%)); box-shadow: inset -30px 0 60px -30px rgba(242, 239, 233, calc(0.12 + var(--p) * 0.3)); }
.portal__door--right { right: 0; transform: translateX(calc(var(--p) * 100%)); background: linear-gradient(270deg, #0a0a0a, #121212); box-shadow: inset 30px 0 60px -30px rgba(242, 239, 233, calc(0.12 + var(--p) * 0.3)); }
/* Key on the seam: turns a quarter (--k), then fades as the doors part */
.portal__key {
  position: absolute; left: 50%; top: 74%;
  width: clamp(80px, 9vw, 120px);
  z-index: 3;
  fill: none;
  stroke: var(--ivory);
  stroke-width: 1.4;
  stroke-linecap: round; stroke-linejoin: round;
  transform: translate(-50%, -50%) rotate(calc(var(--k) * -90deg));
  opacity: calc(0.85 - var(--p) * 3);
  filter: drop-shadow(0 0 calc(4px + var(--k) * 10px) rgba(242, 239, 233, 0.55));
}
/* The card's script logo, split across both doors */
.portal__door::after {
  content: 'Mona';
  position: absolute; top: 50%;
  font-family: var(--script);
  font-size: clamp(120px, 20vw, 300px);
  line-height: 1;
  color: #262626;
  text-shadow: -1px -1px 1px rgba(255, 255, 255, 0.22), 1px 1px 2px rgba(0, 0, 0, 0.9), 0 0 24px rgba(242, 239, 233, 0.06);
  white-space: nowrap;
}
.portal__door--left::after { right: 0; transform: translate(50%, -50%); }
.portal__door--right::after { left: 0; transform: translate(-50%, -50%); }

/* Home statement */
.statement {
  padding: clamp(100px, 14vw, 180px) var(--gutter);
  text-align: center;
}
.statement p {
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 46px);
  line-height: 1.3;
  max-width: 980px; margin: 0 auto;
}

/* Alternating photo + text rows */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
}
.split + .split { margin-top: clamp(80px, 12vw, 160px); }
.split--reverse .split__media { order: 2; }
/* Full-width textured band: fine linen weave, paper grain and a warm glow */
.split--textured { position: relative; isolation: isolate; padding: clamp(70px, 9vw, 130px) 0; }
.split--textured::before {
  content: '';
  position: absolute; z-index: -1;
  top: 0; bottom: 0; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter));
  background:
    radial-gradient(ellipse 60% 70% at 70% 45%, rgba(201, 160, 70, 0.08), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.014) 0 1px, transparent 1px 5px),
    #141312;
}
/* Destinations row: the photo becomes a full-width backdrop, text centered on top */
.split--bg {
  display: flex; justify-content: center;
  position: relative; isolation: isolate;
  padding: clamp(110px, 14vw, 200px) 0;
  text-align: center;
}
.split--bg .split__media { position: absolute; z-index: -1; top: 0; bottom: 0; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); }
.split--bg .photo { height: 100%; aspect-ratio: auto; border-radius: 0; }
.split--bg .photo.reveal, .split--bg .photo.reveal.is-visible { clip-path: none; }
.split--bg .photo img { filter: brightness(0.38) saturate(0.8); }
.split--bg .split__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--black) 0%, transparent 22%, transparent 78%, var(--black) 100%); }
.split--bg .split__body { max-width: 760px; }
.split--bg .text { margin-inline: auto; color: rgba(242, 239, 233, 0.82); }
.split__body .btn { margin-top: 40px; }
/* Text arrives line after line, just after its photo */
.split__body > .reveal:nth-child(1) { transition-delay: 0.25s; }
.split__body > .reveal:nth-child(2) { transition-delay: 0.4s; }
.split__body > .reveal:nth-child(3) { transition-delay: 0.55s; }
.split__body > .reveal:nth-child(4) { transition-delay: 0.7s; }

/* Values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 4vw, 64px); }
.value h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin-bottom: 12px; }
.value p { color: var(--ivory-dim); font-size: 15px; }

/* Places */
.places { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
/* An odd last region (5 in total) sits centred on its own row */
.place:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - clamp(14px, 2vw, 28px)); }
.place h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 4vw, 54px); letter-spacing: 0.06em; line-height: 1; margin: 28px 0 10px; }
.place p { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ivory-dim); }

/* Thin edge-to-edge panorama used as a section separator */
.panorama { margin: 0; height: clamp(140px, 18vw, 260px); overflow: hidden; }
.panorama.reveal { transform: none; }
.panorama img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; display: block; }
/* Sections on each side of the panorama sit closer to it */
.founders:has(+ .panorama) { padding-bottom: clamp(56px, 7vw, 96px); }
.panorama + .section { padding-top: clamp(56px, 7vw, 96px); }

/* La Maison story: centred text, no photo */
.story { text-align: center; padding-bottom: clamp(40px, 5vw, 64px); }
.page-hero--image + .story { padding-top: clamp(56px, 7vw, 96px); }
/* Co-founders follow the story closely: title on the left, portraits on the right */
.story + .founders {
  padding-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(340px, 1fr) 1.7fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.story + .founders .title { margin-bottom: 0; }
.story + .founders .founders__grid { justify-content: end; }
@media (max-width: 860px) {
  .story + .founders { grid-template-columns: 1fr; }
  .story + .founders .founders__grid { justify-content: start; }
}
.story .text { margin-left: auto; margin-right: auto; max-width: 640px; }

/* Co-founders on La Maison: two portraits side by side */
.founders__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: clamp(28px, 4vw, 64px); }
.founder:nth-child(2) { transition-delay: 0.12s; }
.founder__photo {
  margin: 0 0 22px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  display: grid; place-items: center;
  background: radial-gradient(120% 80% at 30% 20%, rgba(242, 239, 233, 0.07), transparent 60%), var(--black-3);
}
.founder__photo span { font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase; color: rgba(242, 239, 233, 0.32); }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.founder h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.2; }
.founder p { margin-top: 6px; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--ivory-dim); }
.founder__phone { display: inline-block; margin-top: 12px; font-family: var(--serif); font-size: 18px; letter-spacing: 0.02em; color: var(--ivory); transition: opacity 0.3s; }
.founder__phone:hover { opacity: 0.7; }
@media (max-width: 600px) { .founders__grid { grid-template-columns: 1fr 1fr; gap: 16px; } .founder h3 { font-size: 19px; } .founder p { font-size: 10px; letter-spacing: 0.2em; } }

/* ===== SERVICES PAGE ===== */
/* Plans: three dark panels, each topped with its metal card */
/* Tighter gap between the plans and the expertises below */
.plans-section { padding-bottom: clamp(32px, 4vw, 56px); }
.plans-section + .section { padding-top: clamp(32px, 4vw, 56px); }
/* Expertises carousel then method: keep them close, not two full section gaps */
.section:has(> .xp) { padding-bottom: clamp(36px, 4.5vw, 64px); }
.section:has(> .xp) + .method { padding-top: clamp(36px, 4.5vw, 64px); }
/* Tailored plan, under the four plans */
.plan-custom {
  margin-top: clamp(16px, 2vw, 28px);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: clamp(26px, 3vw, 40px) clamp(24px, 3.4vw, 48px);
  border-radius: 26px;
  background: radial-gradient(ellipse 70% 120% at 0% 50%, rgba(201, 160, 70, 0.1), transparent 70%), #1e1e1e;
  box-shadow: inset 0 0 0 1px rgba(214, 178, 98, 0.28);
}
.plan-custom h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; margin-bottom: 8px; }
.plan-custom p { color: var(--ivory-dim); font-size: 15px; max-width: 620px; }
.plan-custom .btn { flex-shrink: 0; }
@media (max-width: 760px) { .plan-custom { flex-direction: column; align-items: flex-start; } .plan-custom .btn { width: 100%; } }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); align-items: stretch; }
.plan {
  display: flex; flex-direction: column;
  padding: clamp(22px, 2.4vw, 32px);
  border-radius: 26px;
  background: linear-gradient(180deg, #232323, #1c1c1c);
  box-shadow: inset 0 0 0 1px rgba(242, 239, 233, 0.08);
}
.plan__card {
  aspect-ratio: 1.6;
  border-radius: 16px;
  padding: 18px 20px;
  display: flex; flex-direction: column; justify-content: space-between;
  color: #141414;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  margin-bottom: 26px;
}
.plan__card--silver { background: linear-gradient(135deg, #f1f1f1 0%, #b9bcc0 45%, #e4e5e7 60%, #8e9196 100%); }
.plan__card--gold { background: linear-gradient(135deg, #f6e3a8 0%, #c9a046 40%, #f1d78f 58%, #94702a 100%); }
.plan__card--platinum { background: linear-gradient(135deg, #5a5d63 0%, #23252a 38%, #4a4d54 56%, #141518 100%); color: var(--ivory); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
/* VIP: black lacquer card with gold lettering and a fine gold edge */
.plan__card--vip { background: linear-gradient(135deg, #2a2a2a 0%, #0c0c0c 40%, #1e1e1e 58%, #050505 100%); color: #e3c77d; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(214, 178, 98, 0.55); }
.plan--vip { box-shadow: inset 0 0 0 1px rgba(214, 178, 98, 0.35); }
.plan__mona { font-family: var(--script); font-size: 34px; line-height: 1; }
.plan__name { font-family: var(--serif); font-size: 20px; letter-spacing: 0.3em; text-transform: uppercase; }
.plan__desc { font-family: var(--serif); font-size: 22px; line-height: 1.25; }
.plan__list { list-style: none; display: grid; gap: 10px; margin: 20px 0 24px; }
.plan__list li { position: relative; padding-left: 20px; color: var(--ivory-dim); font-size: 15px; line-height: 1.5; }
.plan__list li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(135deg, #f6e3a8, #c9a046); }
@media (max-width: 1200px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .plans { grid-template-columns: 1fr; max-width: 520px; } }

/* Expertises carousel: one service per slide (photo + details), arrows and dots below */
/* Slides are narrower than the viewport so the next one peeks in on the right */
.xp-viewport { overflow: hidden; }
.xp-track { display: flex; gap: clamp(14px, 2vw, 24px); transition: transform 0.9s var(--ease); }
.xp-slide {
  flex: 0 0 88%;
  transition: opacity 0.6s var(--ease);
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: center;
  gap: clamp(28px, 4vw, 64px);
  padding: clamp(18px, 2vw, 26px);
  background: var(--black-2);
  border-radius: 26px;
}
.xp-slide:not(.is-active) { opacity: 0.4; cursor: pointer; }
.xp-slide__photo { margin: 0; aspect-ratio: 16 / 11; border-radius: 18px; overflow: hidden; background: var(--black-3); }
.xp-slide__photo img { width: 100%; height: 100%; object-fit: cover; }
.xp-slide__body { padding-right: clamp(0px, 2vw, 32px); }
.xp-slide h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 42px); line-height: 1.1; margin-bottom: 14px; }
.xp-slide p { color: var(--ivory-dim); font-size: 16px; line-height: 1.7; }
.xp-slide ul { list-style: none; display: grid; gap: 10px; margin-top: 22px; }
.xp-slide li { position: relative; padding-left: 20px; font-size: 15px; color: var(--ivory); }
.xp-slide li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(135deg, #f6e3a8, #c9a046); }
.xp-nav { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 28px; }
.xp-arrow {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(242, 239, 233, 0.35);
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.xp-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.xp-arrow:hover { background: var(--ivory); color: var(--black); border-color: var(--ivory); }
.xp-dots { display: flex; gap: 10px; }
.xp-dot { width: 8px; height: 8px; border-radius: 999px; background: rgba(242, 239, 233, 0.28); transition: width 0.5s var(--ease-out), background 0.3s; }
.xp-dot.is-active { width: 28px; background: var(--ivory); }
@media (max-width: 800px) {
  .xp-viewport { margin-right: calc(-1 * var(--gutter)); }
  .xp-slide { flex-basis: 82%; grid-template-columns: 1fr; gap: 22px; }
  .xp-slide__body { padding: 0 6px 10px; }
  .xp-arrow { width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) { .xp-track { transition: none; } }

/* Destinations: compact portrait cards with region, cities and live local time */

.destinations { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.dest.reveal { transition-duration: 1s; }
.dest:nth-child(2) { transition-delay: 0.08s; }
.dest:nth-child(3) { transition-delay: 0.16s; }
.dest:nth-child(4) { transition-delay: 0.24s; }
.dest:nth-child(5) { transition-delay: 0.32s; }
.dest__photo { margin: 0 0 18px; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; background: var(--black-3); }
.dest__photo img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.9); transition: transform 1.2s var(--ease-out), filter 0.6s; }
.dest:hover .dest__photo img { transform: scale(1.06); filter: brightness(1); }
.dest__code { font-size: 10px; font-weight: 400; letter-spacing: 0.4em; color: var(--ivory-dim); }
.dest h3 { font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.25; margin: 6px 0 6px; }
.dest__time { font-size: 12px; letter-spacing: 0.06em; color: var(--ivory-dim); }
.dest__time [data-tz] { color: var(--ivory); font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) { .destinations { grid-template-columns: repeat(3, 1fr); row-gap: 40px; } }
/* Phones: a swipeable row of cards */
@media (max-width: 700px) {
  .destinations {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px;
    scrollbar-width: none;
  }
  .destinations::-webkit-scrollbar { display: none; }
  .dest { scroll-snap-align: start; }
}

/* Quote */
.quote { padding: clamp(100px, 14vw, 200px) var(--gutter); text-align: center; }
.quote__text {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 4.2vw, 58px);
  line-height: 1.2;
  max-width: 1000px; margin: 0 auto;
}
.quote__sign { display: block; font-family: var(--script); font-size: 56px; margin-top: 32px; color: var(--ivory-dim); }

/* Closing call to action */
/* Ivory block, like the back of the business card: paper grain,
   black text and a black button */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0 var(--gutter) clamp(80px, 10vw, 140px);
  padding: clamp(60px, 8vw, 110px) clamp(28px, 6vw, 100px);
  border-radius: calc(var(--radius) * 1.5);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.3  0 0 0 0 0.25  0 0 0 0 0.18  0 0 0 0.09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E"),
    radial-gradient(ellipse 80% 90% at 50% 0%, #fbf9f4 0%, #efe9df 60%, #e4dccf 100%);
  color: var(--black);
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.cta .title { margin-bottom: 20px; color: var(--black); }
.cta--join .text { max-width: 600px; }
.cta .text { margin: 0 auto 40px; color: rgba(7, 7, 7, 0.68); }
.cta .btn { border-color: var(--black); background: var(--black); color: var(--ivory); }
.cta .btn::before { background: #2a2622; }
.cta .btn:hover { color: var(--ivory); }

/* Contact */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 120px); align-items: start; }
.contact__info { list-style: none; margin: 48px 0; display: grid; gap: 28px; }
.contact__info li { display: flex; flex-direction: column; }
.contact__info span { font-size: 10px; letter-spacing: 0.35em; text-transform: uppercase; color: var(--ivory-dim); margin-bottom: 4px; }
.contact__info a { font-family: var(--serif); font-size: 22px; transition: opacity 0.3s; word-break: break-word; }
.contact__info a:hover { opacity: 0.7; }
.footer__social.contact__social { justify-content: flex-start; margin-top: 6px; }
.contact__info .contact__social a { font-size: 0; }

.form { display: flex; flex-direction: column; gap: 14px; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--black-2);
  border: 1px solid transparent;
  border-radius: 18px;
  color: var(--ivory);
  font: inherit; font-size: 16px;
  padding: 28px 22px 12px;
  outline: none;
  transition: border-color 0.4s, background 0.4s;
  -webkit-appearance: none; appearance: none;
}
.field select { cursor: pointer; }
.field select option { background: var(--black-2); color: var(--ivory); }
.field textarea { resize: vertical; min-height: 140px; }
.field label {
  position: absolute; left: 22px; top: 21px;
  font-size: 15px; color: var(--ivory-dim);
  pointer-events: none;
  transition: all 0.4s var(--ease);
}
/* Required fields get an asterisk, whatever the language */
.field :required + label::after { content: " *"; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ivory-faint); background: var(--black-3); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select:valid + label {
  top: 10px; font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
}
.form__success { display: none; margin-top: 16px; font-family: var(--serif); font-size: 20px; font-style: italic; }
.form.is-sent .form__success { display: block; }
.form.is-sent .field, .form.is-sent .btn { display: none; }

/* Footer */
.footer {
  padding: 80px var(--gutter) 48px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 28px;
  background: var(--black-2);
}
.footer__logo { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.footer__logo .nav__script { font-size: 64px; }
.footer__logo .nav__caps { font-size: 12px; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; }
.footer__nav a { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ivory-dim); transition: color 0.3s; }
.footer__nav a:hover { color: var(--ivory); }
.footer__social { display: flex; justify-content: center; gap: 14px; }
.footer__social a { width: 42px; height: 42px; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: rgba(242, 239, 233, 0.06); color: var(--ivory-dim); transition: color 0.3s, background 0.3s; }
.footer__social a:hover { color: var(--ivory); background: rgba(242, 239, 233, 0.12); }
.footer__social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.footer__social svg .fill { fill: currentColor; stroke: none; }
.footer__join { font-size: 13px; color: var(--ivory-dim); max-width: 560px; line-height: 1.6; }
.footer__join a { color: var(--ivory); border-bottom: 1px solid var(--ivory-faint); transition: border-color 0.3s; white-space: nowrap; }
.footer__join a:hover { border-color: var(--ivory); }
.footer__places { font-size: 11px; letter-spacing: 0.4em; color: var(--ivory-dim); word-spacing: 0.6em; }
.footer__copy { font-size: 11px; letter-spacing: 0.15em; color: rgba(242, 239, 233, 0.3); }
.footer__copy a { color: var(--ivory-dim); transition: color 0.3s; }
.footer__copy a:hover { color: var(--ivory); }
.footer__sep { margin: 0 12px; opacity: 0.6; }

/* ===== LEGAL PAGES ===== */
/* Each page carries both languages; only the one matching <html lang> shows */
html[lang="fr"] [data-lang-block="en"], html[lang="en"] [data-lang-block="fr"] { display: none; }
.legal { max-width: 760px; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.2; margin: 48px 0 14px; }
.legal__lang > h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ivory-dim); font-size: 16px; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 12px 0 0 20px; display: grid; gap: 6px; }
.legal a { color: var(--ivory); border-bottom: 1px solid var(--ivory-faint); }
.legal__updated { margin-top: 56px; font-size: 13px; }
/* Information still to provide, easy to spot before going live */
.legal mark.todo { background: rgba(201, 160, 70, 0.22); color: #f1d78f; padding: 0 6px; border-radius: 6px; }

/* ===== REVEAL ON SCROLL ===== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .nav__links {
    position: fixed; inset: 0;
    background: var(--black);
    flex-direction: column; align-items: center; justify-content: center; gap: 36px;
    opacity: 0; pointer-events: none;
    transition: opacity 0.5s var(--ease);
    z-index: -1;
  }
  .nav__links a { font-family: var(--serif); font-size: 34px; letter-spacing: 0.05em; text-transform: none; }
  .nav.is-open .nav__links { opacity: 1; pointer-events: auto; }
  /* backdrop-filter traps the fixed menu inside the scrolled header bar: drop it while open */
  .nav.is-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; }
  .nav__burger:focus:not(:focus-visible) { outline: none; }
  .nav__burger { display: block; }
  .split, .contact__grid { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .values { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .portal__quote .quote__text { white-space: normal; }
  .tiers__arc text { font-size: 17px; letter-spacing: 1.6px; }
}
@media (max-width: 600px) {
  .nav__cta { display: none; }
  .places { grid-template-columns: 1fr; }
  .place:last-child:nth-child(odd) { width: auto; justify-self: stretch; }
  .hero__media::after { background: linear-gradient(0deg, var(--black) 0%, rgba(7, 7, 7, 0.6) 40%, rgba(7, 7, 7, 0.55) 100%); }
  .hero__cta .btn { text-align: center; line-height: 1.7; padding: 16px 22px; letter-spacing: 0.14em; }
  /* Phone: the home hero reads centered */
  .hero__content { text-align: center; margin-inline: auto; }
  .hero__text { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .split__body { text-align: center; }
  .split__body .text { margin-inline: auto; }
  /* Phone: Destinations comes right after Services, before the Méthode band */
  .section:has(> .split--bg) { display: flex; flex-direction: column; }
  .section > .palace { width: 100%; } /* auto margins would shrink it to 0 in the flex column */
  .section > .split:first-child { order: -2; }
  .section > .split--bg { order: -1; margin-top: 80px; }
  .section > .split--bg + .split--textured, .section > .split:first-child + .split--textured { margin-top: 0; }
  /* Méthode: label, title and text above the steps, button below them */
  .split--textured { gap: 0; }
  .split--textured .split__body { display: contents; }
  .split--textured .split__body > * { order: -1; }
  .split--textured .split__media { margin-top: 36px; }
  .split--textured .split__body > .btn { order: 1; justify-self: center; margin-top: 36px; }
  .split--bg .btn { display: none; }
  .story .title { display: none; }
  .founder__last { display: block; }
  /* The phone intro already opens the portal: keep only the quote here */
  .portal { height: auto; }
  .portal__stage { position: relative; height: auto; padding: 72px 0 8px; }
  .portal .portal__door, .portal .portal__key, .portal .portal__glow { display: none; }
  .portal__quote { opacity: 1; transform: none; filter: none; }
  .portal + .section { margin-top: 0; padding-top: 48px; }
  .photo--wide { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .photo.reveal { clip-path: none; }
  .tiers.is-visible, .tiers.is-visible .tier, .tiers.is-visible .tier::after { animation: none; }
  .steps-diagram__path, .step-node, .steps-diagram__spark { transition: none; }
  .palace__svg *, .palace__content { transition: none; }
  .tier { opacity: 1; transform: var(--fan); }
  .photo img { transform: none; inset: 0; height: 100%; }
  .intro { display: none; }
  .portal { height: auto; }
  .portal__stage { position: relative; }
  .portal__door, .portal__key { display: none; }
  .portal__quote { opacity: 1; transform: none; filter: none; }
  html { scroll-behavior: auto; }
}
