/* Homepage-only styles (index.html, fa/index.html). Loaded after site, motion-home, theatre-home and redstage.
   Sections were previously separate files and are kept in their original cascade order. */

/* --- refined-home --- */
#tiya-motion .tm-copy .tm-lead{max-width:380px}
#tiya-motion .tm-nav{display:none}
#tiya-motion .tm-reel{position:relative;height:435px;min-width:0;direction:ltr}
#tiya-motion .tm-reel:before{content:'';position:absolute;inset:20px 0 55px;background:radial-gradient(ellipse,#9b1d3530,transparent 65%);pointer-events:none}
#tiya-motion .tm-reel-link{position:absolute;inset:0 16% 55px;display:flex;align-items:center;justify-content:center;z-index:2}
#tiya-motion .tm-reel-front{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 18px 22px #0009);transition:filter .25s}
#tiya-motion .tm-reel-link:hover .tm-reel-front{filter:drop-shadow(0 22px 28px #000c)}
#tiya-motion .tm-reel-ghost{position:absolute;top:35px;width:43%;height:310px;object-fit:contain;opacity:.32;filter:brightness(.7);pointer-events:none}
#tiya-motion .tm-reel-left{left:0;transform:rotate(-9deg)}
#tiya-motion .tm-reel-right{right:0;transform:rotate(9deg)}
#tiya-motion .tm-reel-controls{position:absolute;bottom:0;inset-inline:0;display:flex;align-items:center;justify-content:center;gap:16px;z-index:3}
#tiya-motion .tm-reel-controls button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #a86d6445;background:#160b0dd9;color:#dfbd80;font-size:22px}
#tiya-motion .tm-reel-controls button:hover{background:#491320}
#tiya-motion .tm-reel-controls [data-reel-play]{font-size:17px}
#tiya-motion .tm-reel-counter{font:14px/1 Arial,sans-serif;color:#e1c8af;min-width:56px;text-align:center;direction:ltr}
#tiya-motion .tm-chapters{padding:10px 0 20px}
#tiya-motion .tm-chapter,#tiya-motion .tm-chapter:first-child{align-items:center;justify-content:center;text-align:center;padding:27px 12px;min-height:165px}
#tiya-motion .tm-chapter h2,#tiya-motion[dir=rtl] .tm-chapter h2{font-size:21px;justify-content:center;line-height:1.7;font-weight:400}
#tiya-motion .tm-chapter p{display:none}
#tiya-motion .tm-footer .tm-footer-links>span{display:none}
@media(max-width:1100px){#tiya-motion .tm-reel{height:405px}#tiya-motion .tm-reel-ghost{height:280px}#tiya-motion .tm-chapter:nth-child(4){padding-inline-start:12px}}
@media(max-width:760px){#tiya-motion .tm-reel{height:395px;width:100%;max-width:420px;margin:0 auto}#tiya-motion .tm-reel-ghost{height:270px}#tiya-motion .tm-chapter,#tiya-motion .tm-chapter:first-child{padding:22px 12px;min-height:150px}#tiya-motion .tm-chapter h2,#tiya-motion[dir=rtl] .tm-chapter h2{font-size:22px}}
@media(max-width:380px){#tiya-motion .tm-reel{height:345px}#tiya-motion .tm-reel-ghost{height:230px}}
@media(prefers-reduced-motion:reduce){#tiya-motion .tm-reel *{animation:none!important;transition:none!important}}

/* --- artistic-topics --- */
/* Open composition: oversized arts symbols without boxes or separators. */
#tiya-motion .tm-chapters{border:0!important;gap:25px 18px;padding:35px 0 38px}
#tiya-motion .tm-chapter,#tiya-motion .tm-chapter:first-child,#tiya-motion .tm-chapter:nth-child(n){border:0!important;background:transparent!important;box-shadow:none;border-radius:0;min-height:180px;padding:15px 5px 18px;gap:0}
#tiya-motion .tm-chapter:after{content:none!important}
#tiya-motion .tm-chapter h2,#tiya-motion[dir=rtl] .tm-chapter h2{font-size:22px;font-weight:400;line-height:1.7;letter-spacing:0}
#tiya-motion .tm-chapter h2{transition:color .3s}
#tiya-motion .tm-chapter:hover h2,#tiya-motion .tm-chapter:focus-visible h2{color:#e8c88e}
@media(min-width:900px){#tiya-motion .tm-chapters{grid-template-columns:repeat(6,minmax(0,1fr))}#tiya-motion:not([dir=rtl]) .tm-chapter h2{font-size:20px}}
@media(max-width:760px){#tiya-motion .tm-chapters{gap:28px 20px;padding:30px 0 35px}#tiya-motion .tm-chapter,#tiya-motion .tm-chapter:nth-child(n){min-height:165px;padding:8px 0 12px}#tiya-motion .tm-chapter h2,#tiya-motion[dir=rtl] .tm-chapter h2{font-size:23px}}
@media(prefers-reduced-motion:reduce){#tiya-motion .tm-chapter h2{transition:none!important;transform:none!important}}

/* --- sculptural-topics --- */
#tiya-motion .tm-chapters{gap:18px 14px;padding:18px 0 24px}
#tiya-motion .tm-chapter,#tiya-motion .tm-chapter:nth-child(n){min-height:148px;padding:12px 0 14px;perspective:650px}
#tiya-motion .tm-topic-art{display:block;flex:none;width:84px;height:84px;margin:0 0 14px;background-image:url('../images/navigation/theatre-symbols-v1.webp');background-repeat:no-repeat;background-size:300% 200%;filter:drop-shadow(0 3px 5px #0005);transition:transform .4s cubic-bezier(.2,.8,.2,1),filter .4s;transform-origin:50% 70%}
#tiya-motion .tm-topic-art-0{background-position:0% 0%}
#tiya-motion .tm-topic-art-1{background-position:50% 0%}
#tiya-motion .tm-topic-art-2{background-position:100% 0%}
#tiya-motion .tm-topic-art-3{background-position:0% 100%}
#tiya-motion .tm-topic-art-4{background-position:50% 100%}
#tiya-motion .tm-topic-art-5{background-position:100% 100%}
#tiya-motion .tm-chapter:hover .tm-topic-art,#tiya-motion .tm-chapter:focus-visible .tm-topic-art{transform:translateY(-3px) rotateY(-3deg) scale(1.015);filter:drop-shadow(0 5px 7px #0006) brightness(1.05)}
#tiya-motion .tm-chapter h2,#tiya-motion[dir=rtl] .tm-chapter h2{font-size:20px;line-height:1.7;font-weight:400}
@media(min-width:1400px){#tiya-motion .tm-topic-art{width:90px;height:90px}}
@media(max-width:760px){#tiya-motion .tm-chapters{gap:14px 18px}#tiya-motion .tm-topic-art{width:76px;height:76px;margin-bottom:12px}#tiya-motion .tm-chapter,#tiya-motion .tm-chapter:nth-child(n){min-height:140px;padding:10px 0 12px}#tiya-motion[dir=rtl] .tm-chapter h2{font-size:21px}}
@media(max-width:380px){#tiya-motion .tm-topic-art{width:72px;height:72px}}
@media(prefers-reduced-motion:reduce){#tiya-motion .tm-chapter .tm-topic-art{transform:none!important;transition:none!important}}
