/* ÈZSÁYÈ polish — one black-and-white world, clearer text */

/* ---------- one visual world: black and white ---------- */
#page-culture img,
#page-music img,
#culture-modal img{filter:grayscale(1) contrast(1.05) brightness(.72);transition:filter .6s ease}
#page-culture .culture-card:hover img,#page-culture .culture-card:focus-visible img{filter:none!important}

/* ---------- social: content sits in the middle of each tile ---------- */
.pv-sgrid>a{justify-content:center!important}
#page-social .pv-sgrid>a>div:first-of-type,
#page-social .pv-sspot>a>div:first-of-type{color:rgba(245,242,238,.92)!important}
#page-social .pv-sgrid>a>div:last-of-type,
#page-social .pv-sspot>a>div:last-of-type{color:rgba(245,242,238,.62)!important}

/* ---------- form fields readable ---------- */
input::placeholder,textarea::placeholder{color:rgba(245,242,238,.5)!important}

/* ---------- home: enter button legible over the light ---------- */
.home-enter{text-shadow:0 0 12px rgba(0,0,0,.95),0 0 3px rgba(0,0,0,.9)}

/* phones: dim moving backgrounds a little more so long text stays easy to read */
@media (max-width:768px){#pv-bgvids video{filter:brightness(.6)}}

/* music (computer screens): the star video plays on the stage screen in the background,
   the performer stays in front, and the tracks sit on the left and right */
@media (min-width:769px){
  .pv-mgrid{display:block!important;height:auto!important;min-height:0!important}
  .pv-mcol{display:none!important}
  .pv-tcol{height:auto!important;background:none!important;border:0!important;display:block!important}
  .pv-tcol>div{background:none!important;border:0!important;padding:0!important}
  .pv-tcol>div:first-child{display:none!important}
  .pv-tcol>div:nth-child(2){display:grid!important;grid-template-columns:minmax(260px,330px) 1fr minmax(260px,330px);column-gap:24px;row-gap:12px;overflow:visible!important}
  .pv-tcol>div:nth-child(2)>a{grid-column:1;background:rgba(6,6,8,.55)!important;border:1px solid rgba(200,200,200,.1)!important;padding:14px 18px!important;opacity:.9!important;
    -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transition:background .3s,border-color .3s!important}
  .pv-tcol>div:nth-child(2)>a:hover{background:rgba(20,20,22,.75)!important;border-color:rgba(255,255,255,.3)!important;opacity:1!important}
  .pv-tcol>div:nth-child(2)>a:nth-child(1){grid-row:1}
  .pv-tcol>div:nth-child(2)>a:nth-child(2){grid-row:2}
  .pv-tcol>div:nth-child(2)>a:nth-child(3){grid-row:3}
  .pv-tcol>div:nth-child(2)>a:nth-child(4){grid-row:4}
  .pv-tcol>div:nth-child(2)>a:nth-child(5){grid-column:3;grid-row:1}
  .pv-tcol>div:nth-child(2)>a:nth-child(6){grid-column:3;grid-row:2}
  .pv-tcol>div:nth-child(2)>a:nth-child(7){grid-column:3;grid-row:3}
  .pv-tcol>div:nth-child(2)>.pv-spot{grid-column:3;grid-row:4;align-self:stretch;display:flex!important;align-items:center;justify-content:center;
    text-align:center;font-family:'Cinzel',serif;font-size:11px;letter-spacing:.3em;text-transform:uppercase;color:#f5f2ee;text-decoration:none;
    border:1px solid rgba(200,200,200,.35);background:rgba(6,6,8,.55);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transition:background .3s,border-color .3s}
  .pv-tcol>div:nth-child(2)>.pv-spot:hover{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.7)}
  .pv-tcol>div:last-child{display:none!important}
  /* keep "Continue to Social" at the bottom, under the crowd, and let the stage glow through */
  #page-music .page-inner{min-height:100%;position:relative}
  #page-music .pv-mgrid+div{position:absolute!important;left:0;right:0;bottom:0;margin:0!important;border-top:0!important;padding:0 0 14px!important}
  #page-music{background:linear-gradient(180deg,rgba(0,0,0,.3) 0%,rgba(0,0,0,0) 35%,rgba(0,0,0,.45) 100%)!important}
}
.pv-spot{display:none}

/* legal & rights (Goal page) — readable, still quiet */
.ez-legal{max-width:560px;margin:0 auto;padding:18px 24px;background:rgba(0,0,0,.55);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);font-family:'Cormorant Garamond',Georgia,serif;font-size:15px;line-height:1.7;color:rgba(245,242,238,.62);letter-spacing:.02em}
.ez-legal p{margin:0 0 10px}
.ez-legal sup{font-size:.6em}
.ez-legal a{color:rgba(245,242,238,.85);text-decoration:none;border-bottom:1px solid rgba(245,242,238,.3)}
#legal-toggle{color:rgba(245,242,238,.6)!important;opacity:1!important;font-size:13px!important}
/* home: the video already carries the ÈZSÁYÈ wordmark — hide the duplicate text label over it */
#page-home .pv-label{display:none!important}

/* one-time Join the list popup */
.ez-pop{position:fixed;right:28px;bottom:28px;z-index:9000;width:min(380px,calc(100vw - 32px));background:rgba(5,5,5,.96);border:1px solid rgba(245,242,238,.22);padding:26px 26px 18px;text-align:center;box-shadow:0 20px 60px rgba(0,0,0,.6);opacity:0;transform:translateY(16px);pointer-events:none;transition:opacity .5s,transform .5s}
.ez-pop.on{opacity:1;transform:none;pointer-events:auto}
.ez-pop-x{position:absolute;top:10px;right:12px;background:none;border:0;color:rgba(245,242,238,.6);font-size:15px;cursor:pointer;padding:4px}
.ez-pop-x:hover{color:#f5f2ee}
.ez-pop-star{color:#f5f2ee;font-size:16px;margin-bottom:8px}
.ez-pop-h{font-family:'Cinzel',Georgia,serif;font-size:15px;letter-spacing:.42em;color:#f5f2ee;margin-bottom:10px}
.ez-pop-sub{font-family:'Cormorant Garamond',Georgia,serif;font-style:italic;font-size:17px;line-height:1.45;color:rgba(245,242,238,.75);margin:0 0 14px}
.ez-pop .notify-form{flex-direction:column;margin:0;max-width:none}
.ez-pop .notify-form p{display:none}
.ez-pop .notify-btn{padding:13px}
.ez-pop .notify-msg{font-size:15px;margin-top:10px;min-height:0}
@media (max-width:768px){.ez-pop{right:16px;left:16px;bottom:16px;width:auto}}
/* phones have no hover: a Culture card shows its true colors while it's in the middle of the screen, or when tapped */
@media (hover:none){#page-culture .culture-card.ez-color img{filter:none!important}}
@media (max-width:768px){.sh-h{flex-direction:column;align-items:flex-start;gap:6px}.sh-h small{font-size:15px}}
/* Social: "Continue to Culture" sits inside the screen, over the background — no separate dark strip below */
@media (min-width:769px){
  #page-social .page-inner{display:flex;flex-direction:column;min-height:100%}
  #page-social .pv-continue{margin-top:auto!important;border-top:0!important;padding:22px 0 18px!important;background:none!important}
}
@media (max-width:768px){#page-social .pv-continue{border-top:0!important;margin-top:28px!important;padding:20px 0 28px!important}}
@media (min-width:769px){
  #page-social .page-inner{padding-bottom:0!important}
  #page-social .pv-sgrid{grid-template-rows:auto!important}
  #page-social .pv-sgrid>a{height:clamp(150px,34vh,384px)!important;min-height:0!important}
  #page-social .pv-sspot>a{height:clamp(110px,20vh,256px)!important;min-height:0!important}
}
#page-social .pv-continue button{color:rgba(245,242,238,.7)!important}#page-social .pv-continue button:hover{color:#fff!important}
/* Story text */
.st-ang{font-family:'Cinzel',serif;font-size:.85em;letter-spacing:.2em;color:#f5f2ee}
#page-story .story-text p.st-line{font-style:italic;color:#f5f2ee;opacity:.95}
.st-chapter{margin:56px 0 30px;padding-top:34px;border-top:1px solid rgba(245,242,238,.14)}
.st-ch-num{font-family:'Cinzel',serif;font-size:13px;letter-spacing:.45em;color:rgba(245,242,238,.6);margin-bottom:10px}
.st-ch-title{font-family:'Cinzel',serif;font-size:clamp(26px,2.6vw,38px);letter-spacing:.12em;color:#f5f2ee}
.st-close{margin:50px 0 10px;padding-top:30px;border-top:1px solid rgba(245,242,238,.14)}
.st-close-a{font-family:'Cinzel',serif;font-size:clamp(22px,2.2vw,32px);letter-spacing:.22em;color:#f5f2ee}
.st-close-b{font-family:'Cormorant Garamond',Georgia,serif;font-style:italic;font-size:19px;color:rgba(245,242,238,.7);margin-top:8px}
/* Culture: fit the screen like Social/Music — smaller cards, "Continue to Clothing" at the bottom over the background */
@media (min-width:769px){
  #page-culture .page-inner{display:flex;flex-direction:column;min-height:100%;padding-bottom:0!important}
  #page-culture .culture-card{min-height:0!important;height:clamp(170px,27vh,280px);padding:clamp(22px,3.2vh,40px) clamp(24px,2.6vw,44px)!important}
  #page-culture .culture-card-bg-text{font-size:clamp(3rem,6vh,5rem)!important}
  #page-culture .pv-continue{margin-top:auto!important;border-top:0!important;padding:22px 0 18px!important;background:none!important}
  #page-culture .pv-continue button{color:rgba(245,242,238,.7)!important}
  #page-culture .pv-continue button:hover{color:#fff!important}
}
@media (max-width:768px){#page-culture .pv-continue{border-top:0!important}}
/* Sakina helper: the ÈZSÁYÈ star — silver/white with a soft glow instead of the gold outline */
#ai-toggle{border-color:rgba(245,242,238,.28)!important;background:radial-gradient(circle at 50% 45%,#161616 0%,#050505 75%)!important}
#ai-toggle:hover{border-color:rgba(245,242,238,.6)!important;box-shadow:0 12px 40px rgba(0,0,0,.7),0 0 26px rgba(255,255,255,.14)!important}
#ai-toggle .ai-pulse{border-color:rgba(245,242,238,.35)!important}
#ai-toggle .ez-star{filter:drop-shadow(0 0 3px rgba(255,255,255,.75)) drop-shadow(0 0 9px rgba(255,255,255,.28));animation:ezTw 4.5s ease-in-out infinite}
@keyframes ezTw{0%,100%{filter:drop-shadow(0 0 3px rgba(255,255,255,.75)) drop-shadow(0 0 9px rgba(255,255,255,.28))}50%{filter:drop-shadow(0 0 4px rgba(255,255,255,.95)) drop-shadow(0 0 14px rgba(255,255,255,.4))}}
@media (prefers-reduced-motion:reduce){#ai-toggle .ez-star{animation:none}}
#page-music .page-header{border-bottom:0!important}

/* ===== Sakina — ÈZSÁYÈ concierge panel ===== */
#ai-panel{width:400px!important;height:600px!important;background:linear-gradient(180deg,rgba(14,14,14,.97) 0%,rgba(4,4,4,.98) 100%)!important;border:1px solid rgba(245,242,238,.14)!important;
  -webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:0 40px 120px rgba(0,0,0,.85),0 0 0 1px rgba(0,0,0,.6),inset 0 1px 0 rgba(255,255,255,.04)!important}
#ai-panel::before{background:linear-gradient(90deg,transparent,rgba(245,242,238,.45),transparent)!important}
#ai-panel .ai-header{background:transparent!important;padding:22px 24px!important;border-bottom:1px solid rgba(245,242,238,.08)!important}
#ai-panel .ai-brand{display:flex;align-items:center;gap:14px}
#ai-panel .ai-mark{width:30px;height:30px;filter:drop-shadow(0 0 6px rgba(255,255,255,.45))}
#ai-panel .ai-title{font-family:'Cinzel',serif!important;font-size:15px!important;letter-spacing:.42em!important;color:#f5f2ee!important;font-weight:400!important}
#ai-panel .ai-subtitle{font-family:'Cormorant Garamond',serif!important;font-style:italic!important;font-size:14px!important;letter-spacing:.06em!important;color:rgba(245,242,238,.5)!important;margin-top:3px}
#ai-panel .ai-close{color:rgba(245,242,238,.55)!important;border-color:rgba(245,242,238,.14)!important}
#ai-panel .ai-close:hover{color:#fff!important;border-color:rgba(245,242,238,.5)!important}
#ai-panel .ai-messages{padding:26px 26px 10px!important}
#ai-panel .ai-msg{margin-bottom:26px!important}
#ai-panel .ai-msg-role{font-family:'Cinzel',serif!important;font-size:10px!important;letter-spacing:.38em!important;color:rgba(245,242,238,.42)!important;margin-bottom:9px!important;display:flex;align-items:center;gap:8px}
#ai-panel .ai-msg.assistant .ai-msg-role::before{content:'';width:9px;height:9px;flex:none;background:#f5f2ee;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0 L13.3 10.7 L24 12 L13.3 13.3 L12 24 L10.7 13.3 L0 12 L10.7 10.7 Z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0 L13.3 10.7 L24 12 L13.3 13.3 L12 24 L10.7 13.3 L0 12 L10.7 10.7 Z'/%3E%3C/svg%3E") center/contain no-repeat;filter:drop-shadow(0 0 3px #fff)}
#ai-panel .ai-msg.user .ai-msg-role{color:rgba(245,242,238,.35)!important;justify-content:flex-end}
#ai-panel .ai-msg-text{font-family:'Cormorant Garamond',serif!important;font-size:17.5px!important;line-height:1.62!important;color:rgba(245,242,238,.9)!important;letter-spacing:.01em!important}
#ai-panel .ai-msg.user{text-align:right}
#ai-panel .ai-msg.user .ai-msg-text{display:inline-block;text-align:left;background:rgba(245,242,238,.06);border:1px solid rgba(245,242,238,.1);padding:10px 14px;font-style:italic;color:rgba(245,242,238,.85)!important}
#ai-panel .ai-msg-text a{color:#f5f2ee!important;border-bottom:1px solid rgba(245,242,238,.35)!important;text-decoration:none}
#ai-panel .ai-msg-text a:hover{border-bottom-color:#f5f2ee!important}
#ai-panel .ai-wing{display:none!important}
.ai-w{opacity:0;display:inline-block;filter:blur(3px);transform:translateY(2px);animation:aiWord .5s ease forwards}
@keyframes aiWord{to{opacity:1;filter:blur(0);transform:none}}
@media (prefers-reduced-motion:reduce){.ai-w{animation:none;opacity:1;filter:none;transform:none}}
#ai-panel .ai-typing{display:flex;align-items:center;gap:5px}
#ai-panel .ai-typing em{font-family:'Cormorant Garamond',serif;font-size:15px;color:rgba(245,242,238,.45);margin-right:4px}
#ai-panel .ai-typing span{background:rgba(245,242,238,.6)!important;width:3px!important;height:3px!important}
#ai-panel .ai-suggestions{padding:0 26px 18px!important;gap:8px!important}
#ai-panel .ai-suggestion{font-size:10px!important;letter-spacing:.26em!important;color:rgba(245,242,238,.7)!important;border:1px solid rgba(245,242,238,.16)!important;padding:10px 14px!important}
#ai-panel .ai-suggestion:hover{color:#050505!important;background:#f5f2ee!important;border-color:#f5f2ee!important}
#ai-panel .ai-input-wrap{background:rgba(255,255,255,.02)!important;border-top:1px solid rgba(245,242,238,.08)!important;padding:16px 20px 16px 24px!important}
#ai-panel .ai-input{font-size:17px!important}
#ai-panel .ai-input::placeholder{color:rgba(245,242,238,.38);font-style:italic}
#ai-panel .ai-send{border-color:rgba(245,242,238,.25)!important;color:#f5f2ee!important;width:38px!important;height:38px!important}
#ai-panel .ai-send:hover{background:#f5f2ee!important;color:#050505!important}
@media (max-width:768px){#ai-panel{width:auto!important;left:12px!important;right:12px!important;height:min(600px,calc(100vh - 160px))!important}}
