/* Académie Chorale Salé — Premium home motion v236
   Visual-only layer. No auth/admin/member logic is changed.
*/

:root{
  --acs-orange:#f28a18;
  --acs-orange-2:#ffb248;
  --acs-ink:#070707;
  --acs-cream:#fff5df;
}

body.v14-home{overflow-x:hidden}

/* ---------- Cinematic hero ---------- */
body.v14-home .v188-hero-image{isolation:isolate;background:#050505}
body.v14-home .v233-hero-stage{
  position:absolute;inset:0;z-index:0;overflow:hidden;background:#070707;
}
body.v14-home .v233-hero-layer{
  position:absolute;inset:-2%;width:104%;height:104%;object-fit:cover!important;
  object-position:center 42%;opacity:0;transform:scale(1.035) translate3d(0,0,0);
  filter:saturate(1.02) contrast(1.045) brightness(.88);
  transition:opacity 1.35s cubic-bezier(.22,.7,.2,1),transform 7.2s linear;
  will-change:opacity,transform;
}
body.v14-home .v233-hero-layer[data-motion="1"]{object-position:50% 43%}
body.v14-home .v233-hero-layer[data-motion="2"]{object-position:54% 44%}
body.v14-home .v233-hero-layer[data-motion="3"]{object-position:48% 43%}
body.v14-home .v233-hero-layer.is-active{opacity:1;transform:scale(1.11) translate3d(-1.2%,.5%,0)}
body.v14-home .v188-hero-image.v233-ready>img:not(.v233-hero-layer){opacity:0!important}
body.v14-home .v188-hero-image>img:not(.v233-hero-layer){transition:opacity .6s ease}

/* Moroccan cinematic overlay */
body.v14-home .v188-hero-image::before{
  content:"";position:absolute;inset:0;z-index:2;pointer-events:none;
  background:
    radial-gradient(circle at 76% 18%,rgba(242,138,24,.20),transparent 20rem),
    linear-gradient(90deg,rgba(5,5,5,.84) 0%,rgba(5,5,5,.33) 28%,rgba(5,5,5,.02) 58%),
    linear-gradient(0deg,rgba(0,0,0,.48),transparent 42%);
  mix-blend-mode:normal;
}
body.v14-home .v188-hero-image::after{z-index:3!important}
body.v14-home .v14-photo-glow{z-index:4!important}
body.v14-home .v191-latest-news{z-index:8!important}

body.v14-home .v233-arch{
  position:absolute;z-index:5;pointer-events:none;right:6%;top:8%;width:min(310px,32vw);aspect-ratio:1/1.18;
  border:1px solid rgba(255,178,72,.24);border-radius:48% 48% 8px 8px;
  box-shadow:inset 0 0 0 8px rgba(255,178,72,.018),0 0 55px rgba(242,138,24,.08);
  opacity:.85;
}
body.v14-home .v233-arch::before,body.v14-home .v233-arch::after{
  content:"";position:absolute;border:1px solid rgba(255,245,223,.14);inset:13px;border-radius:48% 48% 8px 8px;
}
body.v14-home .v233-arch::after{inset:27px;border-color:rgba(242,138,24,.13)}

body.v14-home .v233-hero-badge{
  position:absolute;z-index:8;top:20px;right:20px;display:flex;align-items:center;gap:9px;
  min-height:34px;padding:0 13px;border:1px solid rgba(255,255,255,.18);border-radius:999px;
  background:rgba(7,7,7,.50);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  color:#fff;font:800 10px/1 'Cairo',sans-serif;letter-spacing:.04em;box-shadow:0 12px 35px rgba(0,0,0,.18)
}
body.v14-home .v233-hero-badge i{width:7px;height:7px;border-radius:50%;background:var(--acs-orange-2);box-shadow:0 0 0 5px rgba(242,138,24,.12);animation:v233Pulse 1.8s ease-in-out infinite}
@keyframes v233Pulse{0%,100%{transform:scale(.9);opacity:.75}50%{transform:scale(1.25);opacity:1}}

body.v14-home .v233-notes{position:absolute;inset:0;z-index:5;pointer-events:none;overflow:hidden}
body.v14-home .v233-notes span{position:absolute;color:rgba(255,198,88,.22);font:800 20px/1 'Cairo',sans-serif;animation:v233Float 7s ease-in-out infinite}
body.v14-home .v233-notes span:nth-child(1){left:13%;top:18%;animation-delay:-1.2s}
body.v14-home .v233-notes span:nth-child(2){left:76%;top:63%;font-size:27px;animation-delay:-3.8s}
body.v14-home .v233-notes span:nth-child(3){left:57%;top:20%;font-size:15px;animation-delay:-5.2s}
body.v14-home .v233-notes span:nth-child(4){left:25%;top:72%;font-size:17px;animation-delay:-2.4s}
@keyframes v233Float{0%,100%{transform:translate3d(0,0,0) rotate(-4deg);opacity:.13}50%{transform:translate3d(0,-13px,0) rotate(5deg);opacity:.34}}

/* Copy side: youthful premium accents */
body.v14-home .v188-hero-copy{overflow:hidden}
body.v14-home .v188-hero-copy::before{
  content:"";position:absolute;width:240px;height:240px;left:-110px;top:8%;border-radius:50%;
  background:radial-gradient(circle,rgba(242,138,24,.16),rgba(242,138,24,0) 68%);pointer-events:none;animation:v233Aura 5.5s ease-in-out infinite alternate
}
@keyframes v233Aura{from{transform:translate3d(-8px,4px,0) scale(.92);opacity:.6}to{transform:translate3d(14px,-8px,0) scale(1.12);opacity:1}}
body.v14-home .v14-hero-copy h1 em{color:var(--acs-orange-2)!important;text-shadow:0 0 34px rgba(242,138,24,.14)}
body.v14-home .v14-btn.primary{background:linear-gradient(135deg,#ffb248,#ed7d0b)!important;color:#15100a!important;box-shadow:0 13px 35px rgba(242,138,24,.20);transition:transform .25s ease,box-shadow .25s ease}
body.v14-home .v14-btn.primary:hover{transform:translateY(-2px);box-shadow:0 18px 42px rgba(242,138,24,.29)}
body.v14-home .v14-btn.outline{transition:transform .25s ease,border-color .25s ease,background .25s ease}
body.v14-home .v14-btn.outline:hover{transform:translateY(-2px);border-color:#ffae3e;background:rgba(242,138,24,.08)}

/* ---------- Moving identity ribbon ---------- */
body.v14-home .v233-ribbon{
  position:relative;z-index:12;direction:ltr;overflow:hidden;border-top:1px solid rgba(255,174,62,.24);border-bottom:1px solid rgba(255,174,62,.20);
  background:linear-gradient(90deg,#0b0b0b,#13100c 48%,#0b0b0b);box-shadow:0 16px 36px rgba(0,0,0,.14)
}
body.v14-home .v233-ribbon-track{display:flex;width:max-content;align-items:center;gap:0;animation:v233Marquee 28s linear infinite}
body.v14-home .v233-ribbon-group{display:flex;align-items:center;white-space:nowrap}
body.v14-home .v233-ribbon-group span{display:inline-flex;align-items:center;min-height:46px;padding:0 23px;color:#f5ead5;font:800 11px/1 'Cairo',sans-serif;letter-spacing:.06em}
body.v14-home .v233-ribbon-group span::after{content:"✦";margin-left:28px;color:#f39a25;font-size:9px;opacity:.85}
@keyframes v233Marquee{to{transform:translateX(-50%)}}
body.v14-home .v233-ribbon:hover .v233-ribbon-track{animation-play-state:paused}

/* ---------- Scroll choreography ---------- */
body.v14-home .v233-motion-card{transform:translateY(0);transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s ease,border-color .35s ease}
@media (hover:hover) and (pointer:fine){
  body.v14-home .v233-motion-card:hover{transform:translateY(-7px)!important;box-shadow:0 22px 55px rgba(0,0,0,.20);border-color:rgba(242,138,24,.38)!important}
}
body.v14-home .v233-section-glow{position:relative;isolation:isolate}
body.v14-home .v233-section-glow::before{
  content:"";position:absolute;z-index:-1;pointer-events:none;width:280px;height:280px;border-radius:50%;right:-160px;top:12%;background:radial-gradient(circle,rgba(242,138,24,.075),transparent 68%)
}

/* Gallery: living frames */
body.v14-home .v158-gallery-grid figure{transition:transform .42s cubic-bezier(.2,.72,.2,1),box-shadow .42s ease,border-color .42s ease}
body.v14-home .v158-gallery-grid figure img{transition:transform 1.2s cubic-bezier(.2,.72,.2,1),filter .5s ease!important}
@media (hover:hover) and (pointer:fine){
  body.v14-home .v158-gallery-grid figure:hover{transform:translateY(-7px);box-shadow:0 25px 60px rgba(0,0,0,.24);border-color:rgba(242,138,24,.46)}
  body.v14-home .v158-gallery-grid figure:hover img{transform:scale(1.065)!important;filter:saturate(1.1) contrast(1.04)!important}
}

/* Latest news gets a subtle "live" presence */
body.v14-home .v191-latest-news{animation:v233NewsFloat 4.7s ease-in-out infinite}
@keyframes v233NewsFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
body.v14-home .v191-latest-label{background:linear-gradient(135deg,#ffad3c,#e87909)!important;color:#16100a!important;border-color:rgba(255,255,255,.12)!important}
body.v14-home .v191-latest-dots i.active{background:#ff9b22!important}

/* Orange Moroccan focus line for headings */
body.v14-home .v188-section-heading>span,
body.v14-home .v165-kicker,
body.v14-home .v164-announcements-kicker,
body.v14-home .v92-kicker{color:#f39a25!important}

/* ---------- Mobile ---------- */
@media(max-width:760px){
  body.v14-home .v233-hero-badge{top:10px;right:10px;min-height:30px;padding:0 10px;font-size:8.5px}
  body.v14-home .v233-arch{right:8%;top:8%;width:48vw;opacity:.50}
  body.v14-home .v233-notes span{font-size:14px}
  body.v14-home .v188-hero-image::before{background:linear-gradient(0deg,rgba(4,4,4,.50),rgba(4,4,4,.03) 58%),radial-gradient(circle at 70% 20%,rgba(242,138,24,.15),transparent 16rem)}
  body.v14-home .v233-ribbon-group span{min-height:40px;padding:0 15px;font-size:9px}
  body.v14-home .v233-ribbon-group span::after{margin-left:19px}
  body.v14-home .v191-latest-news{animation:none}
}

@media(max-width:420px){
  body.v14-home .v233-hero-layer{object-position:center 43%!important}
  body.v14-home .v233-arch{width:54vw;right:5%}
  body.v14-home .v233-ribbon-group span{min-height:38px;font-size:8.5px;padding:0 12px}
}

/* Theme compatibility */
html[data-theme="light"] body.v14-home .v233-ribbon{background:linear-gradient(90deg,#18130d,#241a0e 48%,#18130d)}
html[data-theme="light"] body.v14-home .v233-section-glow::before{background:radial-gradient(circle,rgba(242,138,24,.09),transparent 68%)}

/* Respect accessibility and battery-saving motion preferences */
@media(prefers-reduced-motion:reduce){
  body.v14-home .v233-hero-layer,body.v14-home .v233-ribbon-track,body.v14-home .v233-notes span,
  body.v14-home .v233-hero-badge i,body.v14-home .v188-hero-copy::before,body.v14-home .v191-latest-news{animation:none!important;transition:none!important}
  body.v14-home .v233-ribbon-track{transform:none!important}
  body.v14-home .v233-hero-layer{transform:none!important}
  body.v14-home .v233-hero-layer:not(.is-active){display:none}
}

/* =========================================================
   v234 — Youth Art Scene + Moroccan contemporary identity
   ========================================================= */
:root{
  --v234-saffron:#f59d26;
  --v234-terracotta:#b64b35;
  --v234-jade:#16756d;
  --v234-cobalt:#315a83;
  --v234-cream:#fff3dc;
}

/* More living home blocks without turning the page into visual noise */
body.v14-home .v188-program-card,
body.v14-home .v193-home-master-grid .v163-masterclass-card,
body.v14-home .v188-star-card,
body.v14-home .v188-talents-card{
  animation:v234SoftLift 6.5s ease-in-out infinite;
}
body.v14-home .v193-home-master-grid .v163-masterclass-card:nth-child(2),
body.v14-home .v188-talents-card{animation-delay:-1.4s}
body.v14-home .v193-home-master-grid .v163-masterclass-card:nth-child(3){animation-delay:-2.8s}
body.v14-home .v193-home-master-grid .v163-masterclass-card:nth-child(4){animation-delay:-4.2s}
body.v14-home .v188-program-card:nth-child(2){animation-delay:-3.2s}
@keyframes v234SoftLift{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}

body.v14-home .v188-star-card img{animation:v234PortraitBreath 7.5s ease-in-out infinite}
body.v14-home .v188-talent-faces img:nth-child(1){animation:v234FaceFloat 5.4s ease-in-out infinite}
body.v14-home .v188-talent-faces img:nth-child(2){animation:v234FaceFloat 5.4s ease-in-out -1.8s infinite}
body.v14-home .v188-talent-faces img:nth-child(3){animation:v234FaceFloat 5.4s ease-in-out -3.6s infinite}
@keyframes v234PortraitBreath{0%,100%{transform:scale(1)}50%{transform:scale(1.035)}}
@keyframes v234FaceFloat{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-8px) rotate(1.5deg)}}

/* Main open artistic scene */
body.v14-home .v234-open-stage{
  position:relative;overflow:hidden;padding:clamp(54px,7vw,96px) max(18px,calc((100vw - 1180px)/2));
  color:#fff;background:
    radial-gradient(circle at 14% 18%,rgba(22,117,109,.22),transparent 25rem),
    radial-gradient(circle at 88% 8%,rgba(245,157,38,.18),transparent 24rem),
    linear-gradient(145deg,#070707 0%,#0d0b09 56%,#080807 100%);
  border-top:1px solid rgba(255,255,255,.07);border-bottom:1px solid rgba(255,255,255,.07);
  isolation:isolate;
}
body.v14-home .v234-open-stage::before{
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.18;z-index:-1;
  background-image:
    linear-gradient(45deg,transparent 44%,rgba(255,255,255,.18) 45% 47%,transparent 48%),
    linear-gradient(-45deg,transparent 44%,rgba(245,157,38,.22) 45% 47%,transparent 48%);
  background-size:34px 34px;mask-image:linear-gradient(90deg,#000,transparent 32%,transparent 70%,#000);
}
body.v14-home .v234-open-stage::after{
  content:"";position:absolute;right:-115px;top:-145px;width:390px;height:390px;border:1px solid rgba(245,157,38,.18);
  border-radius:48% 48% 10% 10%/54% 54% 8% 8%;transform:rotate(12deg);z-index:-1;box-shadow:0 0 0 20px rgba(245,157,38,.025),0 0 0 42px rgba(22,117,109,.02)
}
body.v14-home .v234-open-shell{max-width:1180px;margin:auto;display:grid;grid-template-columns:minmax(0,.92fr) minmax(420px,1.08fr);gap:clamp(28px,5vw,72px);align-items:center}
body.v14-home .v234-open-copy{position:relative;z-index:3;text-align:right}
body.v14-home .v234-open-kicker{display:inline-flex;align-items:center;gap:9px;color:#ffc06a;font:800 11px/1.2 'Cairo',sans-serif;letter-spacing:.12em;text-transform:uppercase}
body.v14-home .v234-open-kicker::before{content:"";width:36px;height:1px;background:linear-gradient(90deg,transparent,#f59d26)}
body.v14-home .v234-open-copy h2{margin:14px 0 13px;font:900 clamp(34px,4.3vw,66px)/1.08 'Cairo',sans-serif;letter-spacing:-.045em;color:#fff}
body.v14-home .v234-open-copy h2 em{font-style:normal;color:#f6a329;position:relative;white-space:nowrap}
body.v14-home .v234-open-copy h2 em::after{content:"";position:absolute;left:0;right:0;bottom:2px;height:7px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='8' viewBox='0 0 120 8'%3E%3Cpath d='M0 5 C18 1 26 7 44 4 S70 1 86 4 S105 7 120 3' fill='none' stroke='%23f59d26' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat;opacity:.55;transform:translateY(10px)}
body.v14-home .v234-open-copy>p{margin:0;max-width:610px;color:#e8dfd1;font:500 clamp(14px,1.35vw,17px)/2 'Cairo',sans-serif}
body.v14-home .v234-age-chips{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0 24px}
body.v14-home .v234-age-chips span{display:inline-flex;align-items:center;min-height:34px;padding:0 13px;border-radius:999px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.055);color:#fff4e3;font:700 11px/1 'Cairo',sans-serif;backdrop-filter:blur(8px)}
body.v14-home .v234-age-chips span:nth-child(2){border-color:rgba(22,117,109,.56);background:rgba(22,117,109,.12)}
body.v14-home .v234-age-chips span:nth-child(3){border-color:rgba(245,157,38,.42);background:rgba(245,157,38,.08)}
body.v14-home .v234-open-cta{display:inline-flex;align-items:center;gap:14px;min-height:48px;padding:0 19px;border-radius:14px;text-decoration:none;background:linear-gradient(135deg,#f8a632,#e87d0c);color:#17100a;font:900 13px/1 'Cairo',sans-serif;box-shadow:0 13px 30px rgba(232,125,12,.18);position:relative;overflow:hidden}
body.v14-home .v234-open-cta::after{content:"";position:absolute;inset:-60% auto -60% -35%;width:24%;background:rgba(255,255,255,.52);transform:rotate(18deg);filter:blur(4px);animation:v234CtaShine 4s ease-in-out infinite}
@keyframes v234CtaShine{0%,62%{left:-35%;opacity:0}70%{opacity:.65}90%,100%{left:125%;opacity:0}}

/* Spotlight: one living card at a time; the tabs stay visible so sections aren't hidden */
body.v14-home .v234-spotlight{position:relative;min-height:clamp(390px,42vw,530px);border-radius:30px;overflow:hidden;background:#111;border:1px solid rgba(255,255,255,.12);box-shadow:0 34px 80px rgba(0,0,0,.42)}
body.v14-home .v234-spotlight::before{content:"";position:absolute;inset:14px;border:1px solid rgba(255,191,92,.18);border-radius:22px;z-index:8;pointer-events:none}
body.v14-home .v234-spotlight::after{content:"✦";position:absolute;left:26px;top:22px;z-index:9;color:#f6a329;font-size:13px;opacity:.9}
body.v14-home .v234-spotlight-slide{position:absolute;inset:0;display:block;color:#fff;text-decoration:none;opacity:0;visibility:hidden;transform:scale(1.035);transition:opacity .72s ease,visibility .72s ease,transform 5.2s linear;pointer-events:none}
body.v14-home .v234-spotlight-slide.is-active{opacity:1;visibility:visible;transform:scale(1.09);pointer-events:auto;z-index:3}
body.v14-home .v234-spotlight-slide>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 35%;filter:saturate(1.04) contrast(1.04) brightness(.78)}
body.v14-home .v234-spotlight-slide:nth-child(1)>img,
body.v14-home .v234-spotlight-slide:nth-child(2)>img,
body.v14-home .v234-spotlight-slide:nth-child(4)>img{object-position:center 31%}
body.v14-home .v234-spotlight-slide::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(4,4,4,.92) 0%,rgba(4,4,4,.52) 34%,rgba(4,4,4,.04) 69%),linear-gradient(100deg,rgba(4,4,4,.32),transparent 55%)}
body.v14-home .v234-spotlight-slide>div{position:absolute;z-index:5;right:clamp(24px,4vw,44px);left:clamp(24px,4vw,44px);bottom:clamp(30px,5vw,52px);text-align:right}
body.v14-home .v234-spotlight-slide small{color:#ffbf61;font:800 10px/1.2 'Cairo',sans-serif;letter-spacing:.12em}
body.v14-home .v234-spotlight-slide h3{margin:8px 0 7px;max-width:88%;font:900 clamp(24px,3.1vw,43px)/1.16 'Cairo',sans-serif;letter-spacing:-.03em}
body.v14-home .v234-spotlight-slide p{margin:0;max-width:82%;color:#eee4d6;font:500 13px/1.8 'Cairo',sans-serif}
body.v14-home .v234-live-badge{position:absolute;right:24px;top:24px;z-index:7;display:inline-flex;align-items:center;gap:8px;min-height:31px;padding:0 12px;border-radius:999px;background:rgba(10,10,10,.72);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(14px);font:800 9px/1 'Cairo',sans-serif;color:#fff;letter-spacing:.05em}
body.v14-home .v234-live-badge i{width:7px;height:7px;border-radius:50%;background:#69df8d;box-shadow:0 0 0 0 rgba(105,223,141,.45);animation:v234LivePulse 1.8s ease-out infinite}
body.v14-home .v234-live-badge.star{background:rgba(245,157,38,.84);color:#201407;border-color:transparent}
body.v14-home .v234-live-badge.master{background:rgba(49,90,131,.83)}
body.v14-home .v234-live-badge.talent{background:rgba(22,117,109,.83)}
@keyframes v234LivePulse{70%{box-shadow:0 0 0 8px rgba(105,223,141,0)}100%{box-shadow:0 0 0 0 rgba(105,223,141,0)}}
body.v14-home .v234-spotlight-progress{position:absolute;left:24px;right:24px;bottom:17px;z-index:10;height:2px;background:rgba(255,255,255,.15);overflow:hidden;border-radius:999px}
body.v14-home .v234-spotlight-progress i{display:block;height:100%;width:0;background:linear-gradient(90deg,#16756d,#f59d26);border-radius:inherit}
body.v14-home .v234-spotlight.is-playing .v234-spotlight-progress i{animation:v234Progress 5.2s linear forwards}
@keyframes v234Progress{from{width:0}to{width:100%}}

body.v14-home .v234-spotlight-tabs{max-width:1180px;margin:16px auto 0;display:grid;grid-template-columns:repeat(5,1fr);gap:8px;direction:rtl}
body.v14-home .v234-spotlight-tabs button{appearance:none;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.045);color:#d8d0c4;border-radius:14px;min-height:54px;padding:9px 11px;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;font-family:'Cairo',sans-serif;transition:background .3s ease,border-color .3s ease,transform .3s ease,color .3s ease}
body.v14-home .v234-spotlight-tabs button b{font-size:9px;color:#f59d26;opacity:.72}
body.v14-home .v234-spotlight-tabs button span{font-size:11px;font-weight:800}
body.v14-home .v234-spotlight-tabs button.is-active{background:rgba(245,157,38,.12);border-color:rgba(245,157,38,.38);color:#fff;transform:translateY(-2px)}

/* Moroccan musical genres ticker */
body.v14-home .v234-genres{max-width:1180px;margin:18px auto 0;overflow:hidden;direction:ltr;border-radius:15px;border:1px solid rgba(255,255,255,.075);background:rgba(255,255,255,.035);mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent)}
body.v14-home .v234-genres-track{display:flex;width:max-content;animation:v234Genres 32s linear infinite}
body.v14-home .v234-genres-group{display:flex;align-items:center;white-space:nowrap}
body.v14-home .v234-genres-group span{display:inline-flex;align-items:center;min-height:39px;padding:0 16px;color:#eadfce;font:700 10px/1 'Cairo',sans-serif}
body.v14-home .v234-genres-group span::after{content:"◆";font-size:6px;margin-left:28px;color:#f59d26;opacity:.75}
@keyframes v234Genres{to{transform:translateX(-50%)}}

/* Give existing home previews a Moroccan-artistic accent, not a generic card wall */
body.v14-home .v193-home-masterclasses,
body.v14-home .v188-home-talent{position:relative;overflow:hidden}
body.v14-home .v193-home-masterclasses::after,
body.v14-home .v188-home-talent::after{content:"";position:absolute;pointer-events:none;width:170px;height:170px;border-radius:50% 50% 12% 12%;border:1px solid rgba(245,157,38,.12);right:-105px;top:20px;transform:rotate(18deg)}
body.v14-home .v193-home-master-grid .v163-masterclass-card::after{content:"";position:absolute;inset:auto 12% -2px 12%;height:2px;background:linear-gradient(90deg,transparent,#f59d26,transparent);opacity:.45}
body.v14-home .v188-star-card{border-color:rgba(245,157,38,.23)!important}
body.v14-home .v188-talents-card{border-color:rgba(22,117,109,.22)!important}

/* Registration should feel alive, not like a silent utility link */
body.v14-home .v14-btn.primary{animation:v234RegisterBeat 3.6s ease-in-out infinite;box-shadow:0 10px 28px rgba(242,138,24,.19)}
@keyframes v234RegisterBeat{0%,100%{transform:translateY(0);box-shadow:0 10px 28px rgba(242,138,24,.19)}50%{transform:translateY(-3px);box-shadow:0 15px 38px rgba(242,138,24,.31)}}

@media(max-width:860px){
  body.v14-home .v234-open-shell{grid-template-columns:1fr;gap:28px}
  body.v14-home .v234-open-copy{text-align:center}
  body.v14-home .v234-open-copy>p{margin-inline:auto}
  body.v14-home .v234-age-chips{justify-content:center}
  body.v14-home .v234-spotlight{min-height:500px}
  body.v14-home .v234-spotlight-tabs{grid-template-columns:repeat(5,minmax(105px,1fr));overflow-x:auto;padding-bottom:5px;scrollbar-width:none}
  body.v14-home .v234-spotlight-tabs::-webkit-scrollbar{display:none}
}
@media(max-width:560px){
  body.v14-home .v234-open-stage{padding:45px 14px 38px}
  body.v14-home .v234-open-copy h2{font-size:34px}
  body.v14-home .v234-open-copy>p{font-size:13px;line-height:1.9}
  body.v14-home .v234-age-chips{margin-top:17px}
  body.v14-home .v234-spotlight{min-height:430px;border-radius:23px}
  body.v14-home .v234-spotlight::before{inset:10px;border-radius:17px}
  body.v14-home .v234-spotlight-slide>div{right:22px;left:22px;bottom:34px}
  body.v14-home .v234-spotlight-slide h3{font-size:25px;max-width:100%}
  body.v14-home .v234-spotlight-slide p{max-width:100%;font-size:12px}
  body.v14-home .v234-live-badge{right:18px;top:18px}
  body.v14-home .v234-spotlight-tabs{display:flex;gap:7px}
  body.v14-home .v234-spotlight-tabs button{flex:0 0 auto;min-width:103px;min-height:47px}
  body.v14-home .v234-genres{margin-top:13px}
}

html[data-theme="light"] body.v14-home .v234-open-stage{background:radial-gradient(circle at 14% 18%,rgba(22,117,109,.20),transparent 25rem),radial-gradient(circle at 88% 8%,rgba(245,157,38,.17),transparent 24rem),linear-gradient(145deg,#17130f,#0f0d0b 64%,#17120e)}

@media(prefers-reduced-motion:reduce){
  body.v14-home .v188-program-card,body.v14-home .v193-home-master-grid .v163-masterclass-card,body.v14-home .v188-star-card,body.v14-home .v188-talents-card,
  body.v14-home .v188-star-card img,body.v14-home .v188-talent-faces img,body.v14-home .v234-open-cta::after,body.v14-home .v234-live-badge i,
  body.v14-home .v234-genres-track,body.v14-home .v234-spotlight-progress i,body.v14-home .v14-btn.primary{animation:none!important}
  body.v14-home .v234-spotlight-slide{transition:none!important;transform:none!important}
}


/* =========================
   V235 — FIRST-SCREEN ART PORTAL
   The new identity is visible before any scroll.
   ========================= */
body.v14-home .v235-top-pulse{position:relative;z-index:35;overflow:hidden;direction:ltr;background:linear-gradient(90deg,#140d07,#231507 48%,#140d07);border-top:1px solid rgba(255,178,72,.3);border-bottom:1px solid rgba(255,178,72,.26);box-shadow:0 10px 30px rgba(0,0,0,.22)}
body.v14-home .v235-top-pulse::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.18;background:linear-gradient(45deg,transparent 45%,rgba(255,180,70,.22) 46% 54%,transparent 55%) 0 0/18px 18px,linear-gradient(-45deg,transparent 45%,rgba(255,180,70,.14) 46% 54%,transparent 55%) 0 0/18px 18px}
body.v14-home .v235-top-pulse-track{display:flex;width:max-content;animation:v235PulseTrack 24s linear infinite}
body.v14-home .v235-top-pulse-track>div{display:flex;align-items:center;min-height:42px;white-space:nowrap}
body.v14-home .v235-top-pulse span{padding:0 19px;color:#fff3db;font:900 11px/1 'Cairo',sans-serif;letter-spacing:.02em}
body.v14-home .v235-top-pulse i{font-style:normal;color:#ffad39;font-size:9px;filter:drop-shadow(0 0 8px rgba(255,153,27,.6))}
@keyframes v235PulseTrack{to{transform:translateX(-50%)}}

body.v14-home .v235-hero-title em{display:inline-block;min-width:2.7em;transition:opacity .24s ease,transform .24s ease;color:#ffac38!important}
body.v14-home .v235-hero-title em.is-switching{opacity:0;transform:translateY(9px) scale(.97)}
body.v14-home .v235-hero-lead{max-width:680px!important}
body.v14-home .v235-audience-line{display:flex;flex-wrap:wrap;gap:7px;margin:17px 0 0}
body.v14-home .v235-audience-line span{display:inline-flex;align-items:center;min-height:30px;padding:0 11px;border:1px solid rgba(255,184,81,.26);border-radius:999px;background:rgba(255,255,255,.035);color:#f7e9d2;font:800 10px/1 'Cairo',sans-serif;backdrop-filter:blur(8px)}
body.v14-home .v235-audience-line span:last-child{background:rgba(242,138,24,.13);border-color:rgba(255,178,72,.42);color:#ffc36d;box-shadow:0 0 22px rgba(242,138,24,.08)}

body.v14-home .v235-live-dock{position:absolute;z-index:9;right:18px;bottom:18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;width:min(330px,48%);direction:rtl}
body.v14-home .v235-live-dock a{position:relative;min-height:74px;padding:10px 11px;border-radius:14px;border:1px solid rgba(255,255,255,.14);background:linear-gradient(145deg,rgba(8,8,8,.78),rgba(16,12,8,.56));backdrop-filter:blur(13px);-webkit-backdrop-filter:blur(13px);text-decoration:none;color:#fff;box-shadow:0 10px 28px rgba(0,0,0,.18);overflow:hidden;transition:transform .28s ease,border-color .28s ease,background .28s ease,box-shadow .28s ease}
body.v14-home .v235-live-dock a::before{content:"";position:absolute;right:0;top:0;bottom:0;width:3px;background:linear-gradient(#ffbf61,#f17d0b);opacity:.25;transition:opacity .25s ease}
body.v14-home .v235-live-dock a small{display:block;color:#f7a12f;font:900 9px/1 'Cairo',sans-serif;letter-spacing:.09em}
body.v14-home .v235-live-dock a b{display:block;margin-top:6px;font:900 12px/1.2 'Cairo',sans-serif}
body.v14-home .v235-live-dock a span{display:block;margin-top:4px;color:#d8cdbd;font:700 9px/1.35 'Cairo',sans-serif}
body.v14-home .v235-live-dock a.is-active{transform:translateY(-3px);border-color:rgba(255,180,70,.58);background:linear-gradient(145deg,rgba(40,24,8,.9),rgba(17,12,7,.72));box-shadow:0 14px 34px rgba(242,138,24,.16),0 0 0 1px rgba(255,183,75,.08) inset}
body.v14-home .v235-live-dock a.is-active::before{opacity:1}

body.v14-home .v188-hero-image{border-bottom:1px solid rgba(255,174,62,.24)}
body.v14-home .v188-hero-image .v233-arch{box-shadow:inset 0 0 0 8px rgba(255,178,72,.018),0 0 55px rgba(242,138,24,.08),0 0 0 1px rgba(255,188,94,.06)}

@media(max-width:760px){
  body.v14-home .v235-top-pulse-track>div{min-height:36px}
  body.v14-home .v235-top-pulse span{padding:0 13px;font-size:9px}
  body.v14-home .v235-audience-line{margin-top:13px;gap:6px}
  body.v14-home .v235-audience-line span{min-height:27px;padding:0 9px;font-size:9px}
  body.v14-home .v235-live-dock{right:10px;bottom:12px;width:min(250px,58%);gap:5px}
  body.v14-home .v235-live-dock a{min-height:58px;padding:8px;border-radius:11px}
  body.v14-home .v235-live-dock a small{font-size:7px}
  body.v14-home .v235-live-dock a b{font-size:10px;margin-top:4px}
  body.v14-home .v235-live-dock a span{display:none}
  body.v14-home .v191-latest-news{max-width:38%!important}
}
@media(max-width:440px){
  body.v14-home .v235-live-dock{width:56%;right:9px;bottom:10px}
  body.v14-home .v235-live-dock a{min-height:54px}
  body.v14-home .v235-audience-line span:nth-child(4){display:none}
}
@media(prefers-reduced-motion:reduce){body.v14-home .v235-top-pulse-track{animation:none!important}body.v14-home .v235-live-dock a{transition:none!important}}


/* =========================
   V236 — LIGHT MODE READABILITY + WHITE OUTFIT HERO
   Keep the artistic discovery scene intentionally dark in day mode so
   its white/orange copy never washes out against the global cream theme.
   ========================= */
html[data-theme="light"] body.v14-home main>section.v234-open-stage{
  background:
    radial-gradient(circle at 14% 18%,rgba(22,117,109,.24),transparent 25rem),
    radial-gradient(circle at 88% 8%,rgba(245,157,38,.20),transparent 24rem),
    linear-gradient(145deg,#15110d 0%,#0c0b09 58%,#15100b 100%)!important;
  color:#fff!important;
  border-top-color:rgba(208,155,65,.28)!important;
  border-bottom-color:rgba(208,155,65,.22)!important;
}
html[data-theme="light"] body.v14-home .v234-open-copy h2{color:#fff!important;text-shadow:0 2px 20px rgba(0,0,0,.18)}
html[data-theme="light"] body.v14-home .v234-open-copy>p{color:#f0e8dc!important}
html[data-theme="light"] body.v14-home .v234-open-kicker{color:#ffc36f!important}
html[data-theme="light"] body.v14-home .v234-age-chips span{
  background:rgba(255,255,255,.085)!important;color:#fff6e9!important;
  border-color:rgba(255,204,124,.25)!important;box-shadow:none!important
}
html[data-theme="light"] body.v14-home .v234-age-chips span:nth-child(2){background:rgba(22,117,109,.23)!important;border-color:rgba(75,180,169,.52)!important}
html[data-theme="light"] body.v14-home .v234-age-chips span:nth-child(3){background:rgba(245,157,38,.13)!important;border-color:rgba(245,157,38,.46)!important}
html[data-theme="light"] body.v14-home .v234-spotlight-tabs button{
  background:rgba(18,14,10,.78)!important;color:#f7efe3!important;
  border-color:rgba(255,197,111,.20)!important;box-shadow:0 8px 22px rgba(0,0,0,.14)
}
html[data-theme="light"] body.v14-home .v234-spotlight-tabs button b{color:#ffad39!important;opacity:1!important}
html[data-theme="light"] body.v14-home .v234-spotlight-tabs button.is-active{
  background:linear-gradient(145deg,rgba(74,43,14,.96),rgba(34,23,13,.96))!important;
  color:#fff!important;border-color:rgba(255,178,72,.62)!important
}
html[data-theme="light"] body.v14-home .v234-genres{
  background:rgba(18,14,10,.78)!important;border-color:rgba(255,197,111,.18)!important
}
html[data-theme="light"] body.v14-home .v234-genres-group span{color:#f5ecdf!important}

/* Day-mode hero chips were too pale on the cream copy panel. */
html[data-theme="light"] body.v14-home .v235-audience-line span{
  background:#fffaf0!important;color:#49351e!important;border-color:#cfab69!important;
  box-shadow:0 6px 16px rgba(84,58,18,.06)!important
}
html[data-theme="light"] body.v14-home .v235-audience-line span:last-child{
  background:#f6dfb8!important;color:#6f470b!important;border-color:#c9902f!important
}
html[data-theme="light"] body.v14-home .v167-hero-prestige b{color:#6d512c!important}
html[data-theme="light"] body.v14-home .v167-hero-prestige span{background:linear-gradient(90deg,transparent,#b98b40)!important}
html[data-theme="light"] body.v14-home .v235-hero-lead{color:#51483c!important}

@media(max-width:560px){
  html[data-theme="light"] body.v14-home .v234-open-copy>p{color:#f4ede4!important}
  html[data-theme="light"] body.v14-home .v234-spotlight-tabs button{background:rgba(18,14,10,.90)!important}
}


/* =========================================================
   V237 — POSTER INTEGRITY + DAY CONTRAST + SALÉ VISUAL IDENTITY
   Posters always display in full; day mode uses readable ink colors.
   ========================================================= */

/* 1) Every artwork/poster must be visible in full — never crop artwork text. */
body.v14-home .v234-spotlight-slide>img{
  object-fit:contain!important;
  object-position:center!important;
  padding:14px!important;
  background:
    radial-gradient(circle at 50% 18%,rgba(242,138,24,.18),transparent 36%),
    linear-gradient(145deg,#17110b,#080808 68%)!important;
  filter:saturate(1.02) contrast(1.02) brightness(.92)!important;
}
body.v14-home .v234-spotlight-slide::after{
  background:linear-gradient(0deg,rgba(4,4,4,.88) 0%,rgba(4,4,4,.48) 28%,rgba(4,4,4,.04) 52%,rgba(4,4,4,0) 72%)!important;
}
body.v14-home .v137-poster img,
body.v14-home .v188-program-card img,
body.v14-home .v163-masterclass-card>img,
body.v14-home .v164-announcement-card img,
body.v14-home .v170-star-poster img{
  object-fit:contain!important;
  object-position:center!important;
  background:#0d0b08!important;
}
body.v14-home .v137-poster,
body.v14-home .v163-masterclass-card,
body.v14-home .v164-announcement-card{
  background:
    radial-gradient(circle at 50% 20%,rgba(228,165,63,.12),transparent 40%),
    #0c0a08!important;
}
@media(max-width:560px){
  body.v14-home .v137-poster{height:auto!important;min-height:0!important;aspect-ratio:4/5!important;padding:8px!important;background:#0c0a08!important}
  body.v14-home .v137-poster img{position:relative!important;inset:auto!important;width:100%!important;height:100%!important;object-fit:contain!important;border-radius:10px}
  body.v14-home .v163-masterclass-card>img{object-fit:contain!important;background:#0c0a08!important}
  body.v14-home .v234-spotlight{min-height:min(132vw,560px)!important}
  body.v14-home .v234-spotlight-slide>img{padding:10px!important}
}

/* 2) Light mode: high contrast, no washed-out white typography. */
html[data-theme="light"] body.v14-home main>section.v234-open-stage{
  color:#24180e!important;
  background:
    radial-gradient(circle at 12% 16%,rgba(23,117,109,.10),transparent 26rem),
    radial-gradient(circle at 88% 7%,rgba(242,138,24,.13),transparent 24rem),
    linear-gradient(145deg,#fffaf1 0%,#f8f1e4 58%,#fffaf1 100%)!important;
  border-top-color:rgba(160,109,32,.20)!important;
  border-bottom-color:rgba(160,109,32,.18)!important;
}
html[data-theme="light"] body.v14-home .v234-open-stage::before{
  opacity:.34!important;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%23b47a22' stroke-opacity='.18' stroke-width='1.4'%3E%3Cpath d='M48 4 60 24 82 14 72 36 92 48 72 60 82 82 60 72 48 92 36 72 14 82 24 60 4 48 24 36 14 14 36 24Z'/%3E%3Cpath d='M48 18 58 38 78 48 58 58 48 78 38 58 18 48 38 38Z'/%3E%3C/g%3E%3C/svg%3E")!important;
  background-size:96px 96px!important;
  mask-image:linear-gradient(90deg,#000 0%,rgba(0,0,0,.28) 28%,rgba(0,0,0,.20) 72%,#000 100%)!important;
}
html[data-theme="light"] body.v14-home .v234-open-stage::after{
  border-color:rgba(163,107,30,.18)!important;
  box-shadow:0 0 0 20px rgba(242,138,24,.025),0 0 0 42px rgba(23,117,109,.018)!important;
}
html[data-theme="light"] body.v14-home .v234-open-copy h2{
  color:#21160d!important;text-shadow:none!important;
}
html[data-theme="light"] body.v14-home .v234-open-copy h2 em{color:#e88712!important}
html[data-theme="light"] body.v14-home .v234-open-copy>p{
  color:#5b4a39!important;opacity:1!important;text-shadow:none!important;
}
html[data-theme="light"] body.v14-home .v234-open-kicker{color:#a96713!important}
html[data-theme="light"] body.v14-home .v234-age-chips span{
  background:rgba(255,250,241,.94)!important;color:#3f2e1d!important;
  border-color:#d9b573!important;box-shadow:0 7px 18px rgba(89,57,14,.05)!important;
}
html[data-theme="light"] body.v14-home .v234-age-chips span:nth-child(2){background:#dcefea!important;color:#175f59!important;border-color:#7bb9b2!important}
html[data-theme="light"] body.v14-home .v234-age-chips span:nth-child(3){background:#fff0d5!important;color:#7d4b0c!important;border-color:#dcac5c!important}
html[data-theme="light"] body.v14-home .v234-age-chips span:nth-child(4){background:#fffaf0!important;color:#49351e!important;border-color:#cfab69!important}

/* Day-mode top hero copy: keep every word legible on cream surfaces. */
html[data-theme="light"] body.v14-home .v235-hero-title,
html[data-theme="light"] body.v14-home .v235-hero-title span{color:#20170f!important;text-shadow:none!important}
html[data-theme="light"] body.v14-home .v235-hero-title em{color:#e98a14!important}
html[data-theme="light"] body.v14-home .v235-hero-lead{color:#55483a!important;opacity:1!important}
html[data-theme="light"] body.v14-home .v14-kicker{color:#6e5b45!important}
html[data-theme="light"] body.v14-home .v14-motto{color:#7c6951!important}

/* 3) Salé / Moroccan youth identity — zellij + modern arch, subtle not folkloric. */
body.v14-home .v14-academy,
body.v14-home .v188-home-intro,
body.v14-home .v188-home-news,
body.v14-home .v188-home-gallery,
body.v14-home .v188-home-talent{
  position:relative;isolation:isolate;
}
body.v14-home .v14-academy::before,
body.v14-home .v188-home-intro::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.16;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='84' viewBox='0 0 84 84'%3E%3Cg fill='none' stroke='%23d38b22' stroke-opacity='.24' stroke-width='1'%3E%3Cpath d='M42 5 52 25 74 16 64 36 79 42 64 48 74 68 52 59 42 79 32 59 10 68 20 48 5 42 20 36 10 16 32 25Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size:84px 84px;mask-image:linear-gradient(180deg,transparent,#000 18%,#000 82%,transparent);
}
body.v14-home .v14-academy::after{
  content:"";position:absolute;z-index:-1;right:-95px;top:58px;width:250px;height:330px;
  border:1px solid rgba(211,139,34,.16);border-radius:50% 50% 8% 8%/40% 40% 8% 8%;
  box-shadow:0 0 0 18px rgba(211,139,34,.018),0 0 0 36px rgba(23,117,109,.015);pointer-events:none;
}
html[data-theme="light"] body.v14-home .v14-academy::before,
html[data-theme="light"] body.v14-home .v188-home-intro::before{opacity:.22}

/* Maintain clean readable cards over the patterned canvas. */
html[data-theme="light"] body.v14-home .v137-program-card,
html[data-theme="light"] body.v14-home .v163-masterclass-card,
html[data-theme="light"] body.v14-home .v164-announcement-card{
  box-shadow:0 16px 40px rgba(83,55,16,.08)!important;
}

/* Spotlight posters get their own full canvas; captions never cover the artwork. */
body.v14-home .v234-spotlight-slide>img{
  top:0!important;bottom:auto!important;height:calc(100% - 126px)!important;
}
body.v14-home .v234-spotlight-slide>div{
  right:24px!important;left:24px!important;bottom:25px!important;
  min-height:88px;display:flex;flex-direction:column;justify-content:flex-end;
}
body.v14-home .v234-spotlight-slide::after{
  top:auto!important;bottom:0!important;height:142px!important;
  background:linear-gradient(0deg,rgba(4,4,4,.96),rgba(4,4,4,.82) 62%,rgba(4,4,4,0))!important;
}
body.v14-home .v234-spotlight-slide p{white-space:normal!important}
@media(max-width:560px){
  body.v14-home .v234-spotlight{min-height:560px!important}
  body.v14-home .v234-spotlight-slide>img{height:calc(100% - 122px)!important;padding:12px!important}
  body.v14-home .v234-spotlight-slide>div{right:20px!important;left:20px!important;bottom:23px!important;min-height:84px}
  body.v14-home .v234-spotlight-slide::after{height:138px!important}
}

/* =========================================================
   V238 — COHESIVE DAY MODE + FULL DESKTOP HERO + VISIBLE SALÉ IDENTITY
   ========================================================= */

/* Stronger, actually visible Salé / Moroccan identity layer */
body.v14-home .v238-sale-identity{
  position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden;
}
body.v14-home .v238-sale-identity::before{
  content:"";position:absolute;inset:0;opacity:.18;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='92' height='92' viewBox='0 0 92 92'%3E%3Cg fill='none' stroke='%23d4932f' stroke-width='1.15' stroke-opacity='.46'%3E%3Cpath d='M46 5 57 25 79 15 68 36 87 46 68 56 79 77 57 67 46 87 35 67 13 77 24 56 5 46 24 36 13 15 35 25Z'/%3E%3Cpath d='M46 19 55 37 73 46 55 55 46 73 37 55 19 46 37 37Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size:92px 92px;
  -webkit-mask-image:linear-gradient(90deg,#000 0%,rgba(0,0,0,.62) 34%,rgba(0,0,0,.12) 72%,transparent 100%);
  mask-image:linear-gradient(90deg,#000 0%,rgba(0,0,0,.62) 34%,rgba(0,0,0,.12) 72%,transparent 100%);
}
body.v14-home .v238-sale-arch{
  position:absolute;left:-86px;top:8%;width:245px;height:325px;
  border:2px solid rgba(229,171,74,.38);border-bottom:0;
  border-radius:49% 49% 10% 10%/37% 37% 8% 8%;
  box-shadow:0 0 0 12px rgba(229,171,74,.035),0 0 0 25px rgba(22,117,109,.025);
  opacity:.9;
}
body.v14-home .v238-sale-arch::before,
body.v14-home .v238-sale-arch::after{
  content:"";position:absolute;border:1px solid rgba(229,171,74,.27);border-bottom:0;
  border-radius:49% 49% 10% 10%/37% 37% 8% 8%;
}
body.v14-home .v238-sale-arch::before{inset:15px 15px -15px}
body.v14-home .v238-sale-arch::after{inset:31px 31px -31px;border-color:rgba(22,117,109,.22)}
body.v14-home .v238-sale-stamp{
  position:absolute;left:26px;bottom:24px;display:flex;align-items:flex-end;gap:8px;
  color:rgba(242,188,91,.46);transform:rotate(-2deg)
}
body.v14-home .v238-sale-stamp b{font:700 52px/.9 'Aref Ruqaa','Cairo',serif}
body.v14-home .v238-sale-stamp small{font:800 9px/1 'Cairo',sans-serif;letter-spacing:.28em;padding-bottom:4px}

/* Open-stage identity: visible arch + zellige rail */
body.v14-home .v234-open-stage .v238-sale-identity::before{
  opacity:.15;
  -webkit-mask-image:linear-gradient(90deg,#000,rgba(0,0,0,.14) 45%,transparent 72%);
  mask-image:linear-gradient(90deg,#000,rgba(0,0,0,.14) 45%,transparent 72%);
}
body.v14-home .v234-open-stage .v238-sale-arch{
  left:auto;right:-84px;top:48px;width:285px;height:360px;opacity:.58;
}
body.v14-home .v234-open-stage .v238-sale-stamp{left:auto;right:34px;bottom:34px;opacity:.7}

/* Desktop: show the WHOLE hero photo instead of cropping it. The surrounding
   canvas carries the visual identity so contain-mode still feels intentional. */
@media(min-width:900px){
  body.v14-home .v233-hero-stage{
    inset:0!important;
    background:
      linear-gradient(rgba(10,7,4,.72),rgba(10,7,4,.72)),
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 88 88'%3E%3Cg fill='none' stroke='%23d4932f' stroke-opacity='.28'%3E%3Cpath d='M44 6 54 25 75 16 65 35 82 44 65 53 75 72 54 63 44 82 34 63 13 72 23 53 6 44 23 35 13 16 34 25Z'/%3E%3C/g%3E%3C/svg%3E") 0 0/88px 88px,
      #0b0907!important;
  }
  body.v14-home .v233-hero-layer{
    inset:0!important;width:100%!important;height:100%!important;
    object-fit:contain!important;object-position:center!important;
    padding:16px!important;box-sizing:border-box!important;
    transform:scale(1.005)!important;
    filter:saturate(1.03) contrast(1.035) brightness(.90)!important;
  }
  body.v14-home .v233-hero-layer.is-active{transform:scale(1.025)!important}
  body.v14-home .v188-hero-image::before{
    background:
      radial-gradient(circle at 80% 18%,rgba(242,138,24,.13),transparent 18rem),
      linear-gradient(90deg,rgba(5,5,5,.30) 0%,rgba(5,5,5,.06) 20%,transparent 45%),
      linear-gradient(0deg,rgba(0,0,0,.18),transparent 35%)!important;
  }
}

/* Light mode is one coherent ivory / bronze system, not a dark/light patchwork. */
html[data-theme="light"] body.v14-home{
  background:#f6efe3!important;color:#24180f!important;
}
html[data-theme="light"] body.v14-home .v188-hero{
  background:linear-gradient(145deg,#f0e2c9,#fbf7ef 42%,#ead7b6)!important;
  border:1px solid rgba(158,105,29,.18)!important;
  box-shadow:0 28px 75px rgba(91,58,16,.12)!important;
}
html[data-theme="light"] body.v14-home .v188-hero-copy{
  background:
    radial-gradient(circle at 8% 18%,rgba(23,117,109,.08),transparent 18rem),
    linear-gradient(145deg,#fffaf1,#f1e5d0)!important;
}
html[data-theme="light"] body.v14-home .v188-hero-copy::before{opacity:.55!important}
html[data-theme="light"] body.v14-home .v188-hero-copy::after{background:linear-gradient(transparent,rgba(158,105,29,.30),transparent)!important}
html[data-theme="light"] body.v14-home .v14-btn.outline{
  background:#fffaf0!important;color:#2d2115!important;border-color:#b98a3b!important;
  box-shadow:0 8px 20px rgba(81,52,14,.05)!important;
}
html[data-theme="light"] body.v14-home .v188-hero-note{
  background:rgba(255,250,240,.88)!important;border-color:#d6b97e!important;color:#493b2c!important;
}
html[data-theme="light"] body.v14-home .v188-hero-note p{color:#5a4b3a!important}
html[data-theme="light"] body.v14-home .v238-sale-identity::before{opacity:.29}
html[data-theme="light"] body.v14-home .v238-sale-arch{border-color:rgba(166,105,23,.42);box-shadow:0 0 0 12px rgba(166,105,23,.035),0 0 0 25px rgba(22,117,109,.03)}
html[data-theme="light"] body.v14-home .v238-sale-arch::before{border-color:rgba(166,105,23,.32)}
html[data-theme="light"] body.v14-home .v238-sale-stamp{color:rgba(128,77,16,.38)}

/* Light-mode discovery section — same ivory family, stronger hierarchy. */
html[data-theme="light"] body.v14-home main>section.v234-open-stage{
  background:
    radial-gradient(circle at 9% 16%,rgba(22,117,109,.075),transparent 25rem),
    radial-gradient(circle at 88% 8%,rgba(242,138,24,.10),transparent 24rem),
    linear-gradient(145deg,#f7eedf 0%,#fffaf2 58%,#efe0c8 100%)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.72),0 28px 65px rgba(93,61,18,.08)!important;
}
html[data-theme="light"] body.v14-home .v234-spotlight-tabs button{
  background:linear-gradient(180deg,#fffdf8,#efe2cc)!important;
  color:#3b2b1a!important;border-color:#d2b277!important;
  box-shadow:0 7px 16px rgba(76,49,14,.05)!important;
}
html[data-theme="light"] body.v14-home .v234-spotlight-tabs button b{color:#a86b17!important}
html[data-theme="light"] body.v14-home .v234-spotlight-tabs button.is-active{
  background:linear-gradient(135deg,#f4b64c,#d99527)!important;
  color:#21170d!important;border-color:#c7831d!important;
  box-shadow:0 9px 22px rgba(190,121,20,.16)!important;
}
html[data-theme="light"] body.v14-home .v234-genres{
  background:linear-gradient(90deg,#f1e3ca,#fffaf0,#f1e3ca)!important;
  border-color:#d5b67d!important;
}
html[data-theme="light"] body.v14-home .v234-genres-group span{color:#4c3821!important}
html[data-theme="light"] body.v14-home .v234-genres-group span::after{color:#b6781c!important}

/* Give the spotlight itself a Moroccan framed canvas in both themes. */
body.v14-home .v234-spotlight{
  border-color:rgba(223,166,70,.34)!important;
  box-shadow:0 30px 72px rgba(0,0,0,.34),0 0 0 1px rgba(223,166,70,.05) inset!important;
}
body.v14-home .v234-spotlight::before{border-color:rgba(255,190,85,.34)!important}
html[data-theme="light"] body.v14-home .v234-spotlight{
  background:#130e09!important;border-color:#ba7c21!important;
  box-shadow:0 28px 58px rgba(82,49,10,.20),0 0 0 6px rgba(255,250,240,.70)!important;
}

/* On desktop keep poster artwork fully visible too, with a deliberate frame. */
@media(min-width:900px){
  body.v14-home .v234-spotlight-slide>img{
    object-fit:contain!important;object-position:center!important;padding:18px!important;
  }
  body.v14-home .v137-poster img,
  body.v14-home .v188-program-card img,
  body.v14-home .v163-masterclass-card>img,
  body.v14-home .v164-announcement-card img,
  body.v14-home .v170-star-poster img{
    object-fit:contain!important;object-position:center!important;
  }
}

/* Mobile identity stays visible without covering text. */
@media(max-width:899px){
  body.v14-home .v238-sale-arch{left:-118px;top:12%;width:210px;height:285px;opacity:.54}
  body.v14-home .v238-sale-stamp{left:18px;bottom:16px;opacity:.55}
  body.v14-home .v238-sale-stamp b{font-size:42px}
  body.v14-home .v234-open-stage .v238-sale-arch{right:-132px;left:auto;top:70px;opacity:.34}
  body.v14-home .v234-open-stage .v238-sale-stamp{right:15px;left:auto;bottom:18px}
}

@media(max-width:560px){
  html[data-theme="light"] body.v14-home .v188-hero{border-left:0!important;border-right:0!important}
  html[data-theme="light"] body.v14-home .v188-hero-copy{background:linear-gradient(180deg,#fffaf1,#f3e6d1)!important}
  html[data-theme="light"] body.v14-home .v234-open-stage{background:linear-gradient(180deg,#f7eedf,#fffaf3 52%,#efe1ca)!important}
}


/* ============================================================
   V239 — FULL HERO, NO VOID / NO CROPPING
   Keep every photo fully visible while a soft self-blurred backdrop
   fills the frame. Salé arches remain decorative, never protruding.
   ============================================================ */
body.v14-home .v239-hero-stage{background:#120c08!important;overflow:hidden!important}
body.v14-home .v239-hero-scene{
  position:absolute;inset:0;z-index:0;overflow:hidden;opacity:0;
  transition:opacity 1.05s cubic-bezier(.22,.7,.2,1);
  background:#120c08;
}
body.v14-home .v239-hero-scene.is-active{opacity:1;z-index:1}
body.v14-home .v239-hero-bg{
  position:absolute;inset:-9%;width:118%;height:118%;object-fit:cover!important;
  object-position:center!important;filter:blur(24px) brightness(.48) saturate(1.12);
  transform:scale(1.08);opacity:.92;pointer-events:none;
}
body.v14-home .v239-hero-scene::after{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(180deg,rgba(7,5,3,.08),rgba(7,5,3,.20)),
             radial-gradient(circle at 76% 18%,rgba(242,138,24,.12),transparent 32%);
}
body.v14-home .v239-hero-fit{
  position:absolute!important;z-index:2!important;inset:0!important;
  width:100%!important;height:100%!important;object-fit:contain!important;
  object-position:center!important;padding:0!important;margin:0!important;
  opacity:1!important;transform:none!important;filter:saturate(1.035) contrast(1.025) brightness(.96)!important;
  transition:transform 7.2s linear,filter .5s ease!important;
}
body.v14-home .v239-hero-scene.is-active .v239-hero-fit{transform:scale(1.012)!important}

/* The old outlined “door” looked detached from the composition. Remove it. */
body.v14-home .v233-arch{display:none!important}
body.v14-home .v238-sale-arch{display:none!important}

/* Salé identity stays INSIDE the layout as a soft architectural watermark. */
body.v14-home .v238-sale-identity::after{
  content:"";position:absolute;z-index:0;pointer-events:none;
  left:7%;bottom:7%;width:44%;height:56%;opacity:.24;
  background-repeat:no-repeat;background-position:left bottom;background-size:contain;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 380'%3E%3Cg fill='none' stroke='%23d99b3d' stroke-width='3'%3E%3Cpath d='M35 355V155C35 73 86 24 150 24s115 49 115 131v200'/%3E%3Cpath d='M60 355V164C60 96 100 55 150 55s90 41 90 109v191' opacity='.62'/%3E%3Cpath d='M86 355V174c0-51 28-85 64-85s64 34 64 85v181' opacity='.35'/%3E%3C/g%3E%3C/svg%3E");
}
body.v14-home .v238-sale-identity>*{position:relative;z-index:1}

/* Keep the hero visually full on desktop AND mobile. The blurred backdrop
   carries any aspect-ratio mismatch so there is never an empty black band. */
@media(min-width:900px){
  body.v14-home .v233-hero-stage{background:#120c08!important}
  body.v14-home .v233-hero-layer{padding:0!important;transform:none!important}
  body.v14-home .v239-hero-scene.is-active .v239-hero-fit{transform:scale(1.008)!important}
}
@media(max-width:899px){
  body.v14-home .v239-hero-bg{filter:blur(20px) brightness(.50) saturate(1.10);inset:-10%;width:120%;height:120%}
  body.v14-home .v239-hero-fit{object-fit:contain!important;object-position:center!important}
  body.v14-home .v238-sale-identity::after{left:4%;bottom:5%;width:48%;height:50%;opacity:.18}
}

html[data-theme="light"] body.v14-home .v239-hero-scene{background:#26170c}
html[data-theme="light"] body.v14-home .v239-hero-bg{filter:blur(24px) brightness(.58) saturate(1.06)}
html[data-theme="light"] body.v14-home .v238-sale-identity::after{opacity:.20}

@media(prefers-reduced-motion:reduce){
  body.v14-home .v239-hero-scene{transition:none!important}
  body.v14-home .v239-hero-fit{transition:none!important;transform:none!important}
}

/* =========================
   V240 — IMMERSIVE HERO / NO VOID / ROTATING POSTERS
   ========================= */
body.v14-home .v188-hero-image.v240-stage-mode{
  isolation:isolate;
  background:
    radial-gradient(circle at 82% 16%,rgba(242,138,24,.22),transparent 16rem),
    linear-gradient(145deg,#090807,#16100c 58%,#0a0907);
}
body.v14-home .v240-hero-stage{
  position:absolute;inset:0;z-index:0;overflow:hidden;
}
body.v14-home .v240-hero-scene{
  position:absolute;inset:0;opacity:0;visibility:hidden;
  transition:opacity .9s ease,visibility .9s ease,transform 6.4s ease;
  transform:scale(1.03);
}
body.v14-home .v240-hero-scene.is-active{
  opacity:1;visibility:visible;transform:scale(1.08);
}
body.v14-home .v240-hero-bg{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center center;
  filter:saturate(1.05) contrast(1.03) brightness(.76);
}
body.v14-home .v240-hero-scene::after{
  content:"";position:absolute;inset:0;
  background:
    linear-gradient(90deg,rgba(7,7,7,.78) 0%,rgba(7,7,7,.20) 28%,rgba(7,7,7,.06) 58%,rgba(7,7,7,.28) 100%),
    linear-gradient(0deg,rgba(0,0,0,.58) 0%,rgba(0,0,0,.10) 43%,rgba(0,0,0,.24) 100%);
}
body.v14-home .v240-hero-scene::before{
  content:"";position:absolute;inset:0;opacity:.18;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%23f0bd72' stroke-opacity='.55'%3E%3Cpath d='M48 8 58 28 80 20 68 40 88 48 68 56 80 76 58 68 48 88 38 68 16 76 28 56 8 48 28 40 16 20 38 28Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size:96px 96px;
  mix-blend-mode:screen;
}
body.v14-home .v240-hero-meta{
  position:absolute;left:18px;top:18px;z-index:6;display:grid;gap:4px;
  min-width:170px;max-width:min(42%,270px);padding:12px 14px;
  border:1px solid rgba(255,255,255,.16);border-radius:18px;
  background:rgba(8,8,8,.46);backdrop-filter:blur(11px);-webkit-backdrop-filter:blur(11px);
  box-shadow:0 18px 40px rgba(0,0,0,.18);
}
body.v14-home .v240-hero-meta small{color:#ffbf62;font:900 9px/1 'Cairo',sans-serif;letter-spacing:.11em}
body.v14-home .v240-hero-meta b{color:#fff;font:800 13px/1.55 'Cairo',sans-serif}
body.v14-home .v240-hero-dots{
  position:absolute;z-index:10;left:18px;bottom:18px;display:flex;align-items:center;gap:7px;
  padding:8px 10px;border-radius:999px;background:rgba(7,7,7,.44);
  border:1px solid rgba(255,255,255,.12);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);
}
body.v14-home .v240-hero-dots button{
  appearance:none;border:0;cursor:pointer;width:9px;height:9px;border-radius:999px;
  background:rgba(255,255,255,.30);transition:transform .25s ease,background .25s ease,box-shadow .25s ease;
}
body.v14-home .v240-hero-dots button.is-active{background:#ffb248;transform:scale(1.22);box-shadow:0 0 0 4px rgba(242,138,24,.18)}
body.v14-home .v240-hero-arch{
  position:absolute;z-index:5;right:10%;top:12%;width:min(300px,33vw);aspect-ratio:1/1.18;pointer-events:none;
  border:1px solid rgba(255,190,85,.24);border-radius:48% 48% 10px 10px;
  box-shadow:inset 0 0 0 1px rgba(255,245,223,.10),0 0 0 14px rgba(255,190,85,.03),0 22px 70px rgba(0,0,0,.18);
}
body.v14-home .v240-hero-arch::before,
body.v14-home .v240-hero-arch::after{
  content:"";position:absolute;inset:14px;border-radius:48% 48% 10px 10px;border:1px solid rgba(255,245,223,.10)
}
body.v14-home .v240-hero-arch::after{inset:28px;border-color:rgba(242,138,24,.18)}
body.v14-home .v188-hero-image.v240-stage-mode .v14-photo-glow{z-index:2!important;opacity:.55}
body.v14-home .v188-hero-image.v240-stage-mode .v191-latest-news{left:18px;bottom:70px;z-index:9!important}
body.v14-home .v188-hero-image.v240-stage-mode .v191-latest-card img{transition:opacity .28s ease,transform .45s ease}
body.v14-home .v188-hero-image.v240-stage-mode .v191-latest-card:hover img{transform:scale(1.03)}
body.v14-home .v188-hero-image.v240-stage-mode .v235-live-dock{right:18px;bottom:18px;z-index:9}

@media (min-width:961px){
  body.v14-home .v188-hero-image.v240-stage-mode{min-height:670px}
}
@media (max-width:1100px){
  body.v14-home .v240-hero-meta{max-width:240px}
  body.v14-home .v240-hero-arch{right:7%;width:min(240px,34vw)}
}
@media (max-width:760px){
  body.v14-home .v240-hero-scene.is-active{transform:none}
  body.v14-home .v240-hero-bg{object-position:center 34%}
  body.v14-home .v240-hero-meta{left:10px;top:10px;min-width:0;max-width:58%;padding:10px 12px;border-radius:14px}
  body.v14-home .v240-hero-meta small{font-size:8px}
  body.v14-home .v240-hero-meta b{font-size:11px;line-height:1.45}
  body.v14-home .v240-hero-dots{left:10px;bottom:10px;padding:7px 8px;gap:6px}
  body.v14-home .v240-hero-dots button{width:8px;height:8px}
  body.v14-home .v240-hero-arch{right:12px;top:14px;width:min(150px,36vw);opacity:.78}
  body.v14-home .v188-hero-image.v240-stage-mode .v191-latest-news{left:10px;bottom:58px;max-width:38%!important}
  body.v14-home .v188-hero-image.v240-stage-mode .v235-live-dock{right:10px;bottom:10px}
}
@media (max-width:480px){
  body.v14-home .v240-hero-bg{object-position:center 32%}
  body.v14-home .v240-hero-meta{display:none}
  body.v14-home .v240-hero-arch{width:110px;top:10px;right:10px;opacity:.62}
  body.v14-home .v188-hero-image.v240-stage-mode .v191-latest-news{bottom:60px;max-width:40%!important}
}

html[data-theme="light"] body.v14-home .v188-hero-image.v240-stage-mode{
  background:
    radial-gradient(circle at 84% 16%,rgba(242,138,24,.20),transparent 18rem),
    linear-gradient(145deg,#2a1b10,#120f0c 58%,#20150e)!important;
}
html[data-theme="light"] body.v14-home .v240-hero-scene::after{
  background:
    linear-gradient(90deg,rgba(16,12,7,.70) 0%,rgba(16,12,7,.18) 28%,rgba(16,12,7,.08) 56%,rgba(16,12,7,.32) 100%),
    linear-gradient(0deg,rgba(0,0,0,.46) 0%,rgba(0,0,0,.04) 40%,rgba(0,0,0,.18) 100%)!important;
}
html[data-theme="light"] body.v14-home .v240-hero-meta,
html[data-theme="light"] body.v14-home .v240-hero-dots{background:rgba(19,12,7,.42)!important;border-color:rgba(255,236,204,.12)!important}
html[data-theme="light"] body.v14-home .v240-hero-arch{border-color:rgba(255,213,150,.28)!important}
html[data-theme="light"] body.v14-home .v240-hero-arch::before{border-color:rgba(255,247,235,.12)!important}
html[data-theme="light"] body.v14-home .v240-hero-arch::after{border-color:rgba(255,191,97,.18)!important}
