/* MONRAËL · Homepage refresh. Scoped exclusively to the homepage.
   Site-wide page layouts, administration and data management remain unchanged. */
body[data-page="index.php"]{background:#fff}

/* The established desktop cinematic slider stays, with polished card CTAs. */
.editorial-hero .hero-card::after{opacity:1;background:linear-gradient(0deg,rgba(5,5,5,.82) 0%,rgba(5,5,5,.38) 27%,transparent 65%)}
.editorial-hero .hero-card-content{max-width:min(90%,490px)}
.editorial-hero .hero-card-content h2{margin-bottom:12px;max-width:470px}
.editorial-hero .cinema-card-description{font:400 clamp(12px,.98vw,15px)/1.55 'DM Sans',sans-serif;letter-spacing:.01em;color:#f4efeb;max-width:360px;margin:0 0 20px;text-shadow:0 1px 9px #0008}
.editorial-hero .cinema-actions{display:flex;align-items:center;gap:11px;flex-wrap:wrap;position:relative;z-index:7}
.editorial-hero .cinema-actions a,.editorial-hero .hero-card-content .cinema-actions a{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:13px 21px;min-width:130px;font:700 11px/1.25 'Manrope',sans-serif;letter-spacing:.035em;text-transform:none;white-space:nowrap;border:1px solid #ffffffdc;border-radius:50px;color:#fff;background:#17171742;backdrop-filter:blur(6px);transition:background .25s ease,color .25s ease,transform .25s ease}
.editorial-hero .hero-card-content .cinema-actions a:hover{background:#fff;color:#171717;transform:translateY(-2px)}
.editorial-hero .hero-card-content .cinema-actions .cinema-book{background:#c49a69;color:#fff;border-color:#c49a69}
.editorial-hero .hero-card-content .cinema-actions .cinema-book:hover{background:#a68154;color:#fff;border-color:#a68154}
.editorial-hero .cinema-actions a span{font-size:15px;line-height:1}
.editorial-hero .hero-card.is-active:not(.is-expanded) .hero-card-content .cinema-actions a{pointer-events:auto}
.editorial-hero .hero-card:not(.is-active) .hero-card-content{opacity:0;visibility:hidden}
.editorial-hero .hero-card.is-active .hero-card-content{visibility:visible}
.editorial-hero .hero-card-content>span{display:block;line-height:1.4}
.editorial-hero .hero-card-number{font-size:11px}

/* Intentionally short, elegant company summary and three image links. */
.home-essentials{padding-top:56px;padding-bottom:65px;text-align:center}
.home-essentials-heading{max-width:860px;margin:0 auto}
.home-small-label{display:flex;justify-content:center;align-items:center;gap:20px;font:700 11px/1.6 'Manrope',sans-serif;letter-spacing:.29em;color:#5d5551;text-transform:uppercase}
.home-small-label span{display:block;width:clamp(20px,7vw,82px);height:1px;background:#cfb9a5}
.home-essentials-heading h1{font:400 clamp(37px,4vw,62px)/1.15 'Playfair Display',Georgia,serif;letter-spacing:-.04em;color:#231c19;margin:15px auto 12px}
.home-essentials-heading h1 em{color:#2e2723;font-weight:400;font-style:normal;white-space:nowrap}
.home-essentials-heading p{font:400 clamp(14px,1.05vw,16px)/1.72 'DM Sans',sans-serif;color:#55504e;max-width:720px;margin:0 auto;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.home-disciplines{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;max-width:820px;margin:27px auto 22px}
.home-disciplines a{display:flex;align-items:center;justify-content:center;gap:11px;min-width:0;min-height:48px;padding:4px 10px;font:700 clamp(11px,1vw,14px)/1.3 'Manrope',sans-serif;color:#2b2723;transition:color .2s}
.home-disciplines a:not(:last-child){border-right:1px solid #d8cec5}
.home-disciplines a:hover{color:#b38b5f}
.home-disciplines a svg{width:29px;height:29px;flex:0 0 auto;color:#785c39}
.home-services-button{display:inline-flex;align-items:center;justify-content:center;gap:16px;border:1px solid #c7ac91;border-radius:100px;padding:12px 32px;min-width:205px;color:#302720;background:#fff;font:700 13px 'Manrope',sans-serif;transition:color .2s,background .2s}
.home-services-button:hover{background:#271f1a;color:white}
.home-services-button>span:first-child{font-size:21px;font-weight:400;line-height:0}
.home-services-button>span:last-child{font-size:16px;font-weight:400}
.home-trio{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:34px}
.home-trio-card{position:relative;display:block;overflow:hidden;border-radius:23px;aspect-ratio:1.17;background:#241f1e;isolation:isolate;text-align:left}
.home-trio-card img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;transition:transform .8s cubic-bezier(.18,.7,.2,1)}
.home-trio-card:first-child img{object-position:50% 24%}
.home-trio-card:last-child img{object-position:center}
.home-trio-card:hover img{transform:scale(1.06)}
.home-trio-card::after{content:'';position:absolute;inset:42% 0 0;background:linear-gradient(to bottom,transparent,rgba(16,10,10,.8));pointer-events:none}
.home-trio-card>span{position:absolute;bottom:21px;left:22px;right:18px;color:#fff;font:400 clamp(22px,2.6vw,34px)/1.2 'Playfair Display',Georgia,serif;display:flex;align-items:center;justify-content:space-between;gap:4px;z-index:1;text-shadow:0 1px 10px #0009}
.home-trio-card b{font:400 27px/1 'DM Sans',sans-serif}
.home-more-links{display:flex;align-items:center;justify-content:center;gap:28px;margin-top:26px;font:600 12px 'Manrope',sans-serif;color:#706761}
.home-more-links a{border-bottom:1px solid #c8aa83;padding-bottom:5px;color:#332b24;white-space:nowrap}
.home-more-links a span{margin-left:10px}
.home-more-links a:hover{color:#a47f55}
/* Avoid a repeated full-height booking pitch after the concise home content. */

@media (max-width:960px){
  /* On tablet, show a full main panel, a secondary panel and a sliver of the third. */
  .editorial-hero{--feature-size:65%;--side-size:26%;--ed-gap:12px}
  .editorial-hero .editorial-stage{width:100%;height:auto;min-height:0;max-height:none}
  .editorial-hero .editorial-center{height:auto;display:flex;flex-direction:column;padding-top:18px}
  .editorial-hero .editorial-slider-frame{height:clamp(400px,59vw,570px);flex:none;margin:0 22px;border-radius:22px}
  .editorial-hero .hero-card{border-radius:23px}
  .editorial-hero .hero-card-content{left:28px;right:15px;bottom:30px;max-width:calc(100% - 40px)}
  .editorial-hero .hero-card-content h2{font-size:clamp(36px,5vw,59px);line-height:1.08;margin:13px 0 13px}
  .editorial-hero .cinema-card-description{font-size:13px;line-height:1.5;margin-bottom:17px;max-width:340px}
  .editorial-hero .hero-controls{flex:none;height:59px;padding:0 clamp(27px,5vw,50px);margin:0}
  .editorial-hero .hero-dots{min-width:90px}
  .editorial-hero .hero-dots:before,.editorial-hero .hero-dots:after{display:none}
  .editorial-hero .hero-card.is-active .cinema-expand{opacity:1;visibility:visible;right:13px;top:13px}
  .editorial-hero .hero-card-number{top:17px;left:18px}
  .home-essentials{padding-top:33px;padding-bottom:38px}
  .home-essentials-heading h1{font-size:clamp(33px,5vw,47px)}
  .home-essentials-heading p{-webkit-line-clamp:3}
  .home-trio{margin-top:27px;gap:11px}
  .home-trio-card{aspect-ratio:.92;border-radius:18px}
  .home-trio-card>span{font-size:clamp(19px,2.6vw,28px);bottom:15px;left:15px;right:13px}
}
@media (max-width:680px){
  .editorial-hero{--feature-size:78%;--side-size:60%;--ed-gap:9px}
  .editorial-hero .editorial-center{padding-top:8px}
  .editorial-hero .editorial-slider-frame{height:clamp(372px,104vw,480px);margin:0 15px;border-radius:20px}
  .editorial-hero .hero-card{border-radius:19px}
  .editorial-hero .hero-card-number{font-size:9px;top:17px;left:16px}
  .editorial-hero .hero-card-content{left:17px;right:11px;bottom:22px;max-width:calc(100% - 24px)}
  .editorial-hero .hero-card-content>span{font-size:8px;letter-spacing:.16em}
  .editorial-hero .hero-card-content h2{font-size:clamp(28px,7.8vw,43px);line-height:1.08;margin:9px 0 13px;letter-spacing:-.06em}
  .editorial-hero .cinema-card-description{font-size:11px;line-height:1.35;margin-bottom:13px;max-width:260px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .editorial-hero .cinema-actions{gap:6px;flex-wrap:nowrap}
  .editorial-hero .hero-card-content .cinema-actions a{padding:11px 9px;min-width:0;flex:1;gap:6px;font-size:10px;letter-spacing:0}
  .editorial-hero .cinema-actions a span{font-size:12px}
  .editorial-hero .cinema-expand{height:33px;width:33px;top:12px;right:12px}
  .editorial-hero .cinema-expand svg{height:15px;width:15px}
  .editorial-hero .hero-controls{height:48px;padding:0 39px 0 21px}
  .editorial-hero .slider-buttons>button{font-size:12px}
  .editorial-hero .slider-buttons>button span{display:inline;font-size:10px;letter-spacing:.08em}
  .editorial-hero .hero-dots{min-width:67px;gap:8px}
  .editorial-hero .cinema-play{right:0;width:33px;font-size:12px}

  .home-essentials{width:calc(100% - 30px);padding-top:23px;padding-bottom:32px}
  .home-small-label{font-size:9px;letter-spacing:.2em;gap:12px}
  .home-small-label span{width:clamp(25px,9vw,54px)}
  .home-essentials-heading h1{font-size:clamp(26px,7vw,37px);line-height:1.15;letter-spacing:-.045em;margin:11px auto 8px;white-space:normal}
  .home-essentials-heading h1 em{white-space:normal}
  .home-essentials-heading p{font-size:clamp(12px,3.25vw,14px);line-height:1.53;-webkit-line-clamp:3;padding:0 10px}
  .home-disciplines{margin:16px auto 14px}
  .home-disciplines a{min-height:44px;display:flex;flex-direction:column;gap:5px;font-size:clamp(9px,2.6vw,11px);line-height:1.2;padding:3px 4px;letter-spacing:-.01em}
  .home-disciplines a svg{width:24px;height:24px}
  .home-services-button{padding:10px 25px;min-width:174px;font-size:12px}
  .home-trio{gap:8px;margin-top:19px}
  .home-trio-card{aspect-ratio:.72;border-radius:13px}
  .home-trio-card>span{bottom:12px;left:10px;right:8px;font-size:clamp(14px,3.8vw,19px);line-height:1.06;display:flex;align-items:flex-end}
  .home-trio-card b{font-size:17px}
  .home-more-links{flex-wrap:wrap;gap:12px 22px;margin-top:18px;font-size:11px}
  .home-more-links>span{display:none}
}
@media (max-width:380px){
  .editorial-hero{--feature-size:81%;--ed-gap:8px}
  .editorial-hero .editorial-slider-frame{height:370px;margin:0 12px}
  .editorial-hero .hero-card-content h2{font-size:clamp(26px,7.7vw,31px)}
  .editorial-hero .cinema-card-description{display:none}
  .editorial-hero .hero-card-content .cinema-actions a{font-size:9px;padding:10px 6px}
  .home-essentials{width:calc(100% - 24px)}
  .home-trio-card>span{font-size:13px;left:7px;right:7px}
  .home-trio-card b{font-size:13px}
}
@media (prefers-reduced-motion: reduce){
  .home-trio-card img,.editorial-hero .hero-card-content .cinema-actions a{transition:none!important}
}

@media (hover:none){.editorial-hero .hero-rail:hover .hero-card .hero-image-cover{animation-play-state:running}}

/* MONRAËL · Slider navigation alignment (desktop, tablet and phone).
   The play/pause control shares a dedicated flex group with Next, so it cannot
   drift onto a separate line or overlap Previous / centered pagination. */
.editorial-hero .hero-controls .slider-buttons {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;
  gap:clamp(8px,2vw,28px);
}
.editorial-hero .hero-controls #cinema-prev {justify-self:start;text-align:left}
.editorial-hero .hero-controls #cinema-dots {justify-self:center;flex:none}
.editorial-hero .hero-controls .slider-end-controls {
  display:flex;
  justify-self:end;
  align-items:center;
  gap:clamp(11px,1.6vw,24px);
  min-width:0;
}
.editorial-hero .hero-controls .slider-end-controls #cinema-play {
  position:relative;
  inset:auto;
  transform:none;
  display:grid;
  place-items:center;
  flex:0 0 32px;
  width:32px;
  height:34px;
  margin:0;
  padding:0;
  line-height:1;
  z-index:11;
}
.editorial-hero .hero-controls .slider-end-controls #cinema-next {
  text-align:right;
  justify-self:end;
}
@media (max-width:960px) {
  .editorial-hero .hero-controls {padding-inline:clamp(20px,4vw,34px)}
  .editorial-hero .hero-controls .slider-buttons {gap:8px}
  .editorial-hero .hero-controls .slider-end-controls {gap:clamp(8px,2vw,18px)}
}
@media (max-width:680px) {
  .editorial-hero .hero-controls {padding-inline:clamp(16px,4vw,26px)}
  .editorial-hero .hero-controls .slider-buttons {gap:5px}
  .editorial-hero .hero-controls .slider-buttons > button,
  .editorial-hero .hero-controls .slider-end-controls > #cinema-next {padding:10px 0}
  .editorial-hero .hero-controls .slider-end-controls {gap:7px}
  .editorial-hero .hero-controls .slider-end-controls #cinema-play {
    flex-basis:28px;
    width:28px;
    height:32px;
    font-size:12px;
  }
}
@media (max-width:380px) {
  .editorial-hero .hero-controls .slider-buttons {gap:4px}
  .editorial-hero .hero-controls .slider-end-controls {gap:5px}
}
