/* The latest strip is deliberately self-contained. */
.latest-strip{width:100%;max-width:1480px;margin:0 auto;padding:clamp(34px,5vw,70px) clamp(10px,2.4vw,36px) clamp(32px,5vw,68px);box-sizing:border-box;background:#111113;color:#f5f0e5;direction:rtl;font-family:Vazirmatn,Tahoma,sans-serif}
.latest-strip *{box-sizing:border-box}.latest-top{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:clamp(15px,2vw,28px)}.latest-top h2{color:#d3ac60;font-size:clamp(20px,2.3vw,32px);font-weight:500;line-height:1.4;margin:0}.latest-top small{color:#a99066;font:italic clamp(11px,1vw,15px) Georgia,serif;letter-spacing:.13em;direction:ltr}
.latest-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(5px,.8vw,13px)}.latest-card{display:block;position:relative;min-width:0;aspect-ratio:1;overflow:hidden;isolation:isolate;border:1px solid rgba(201,164,92,.68);background:#13120f;color:white;text-decoration:none!important;touch-action:pan-y;transform-style:preserve-3d;perspective:700px;outline-offset:3px}.latest-card:focus-visible{outline:2px solid #fff4cc}.latest-card:after{content:'';position:absolute;inset:0;z-index:5;pointer-events:none;border:1px solid rgba(255,235,172,.09)}
.latest-card .latest-scene{position:absolute;inset:-9%;transform:translate3d(calc(var(--dx,0px)*.25),calc(var(--dy,0px)*.25),0) rotate(calc(var(--tilt,0deg)*.17)) scale(1.05);animation:latest-camera 16s cubic-bezier(.45,0,.52,1) infinite alternate;will-change:transform}.latest-card:nth-child(2) .latest-scene{animation-delay:-4s;animation-duration:19s}.latest-card:nth-child(3) .latest-scene{animation-delay:-9s;animation-duration:17s}.latest-card:nth-child(4) .latest-scene{animation-delay:-13s;animation-duration:21s}
.latest-image,.latest-video{display:block;width:100%;height:100%;object-fit:cover;object-position:center}.latest-image{filter:saturate(.64) contrast(1.11) brightness(.77)}.latest-video{position:absolute;inset:0;opacity:0;transition:opacity 1s;filter:brightness(.7)}.latest-card.is-video .latest-video{opacity:1}.latest-card .latest-depth{position:absolute;inset:-8%;z-index:1;background-image:var(--latest-image);background-size:cover;background-position:center;opacity:.18;filter:blur(8px) brightness(1.3);mask-image:linear-gradient(125deg,transparent 30%,#000 85%);transform:translate3d(calc(var(--dx,0px)*-.25),calc(var(--dy,0px)*-.25),35px) scale(1.13);animation:latest-depth 12s ease-in-out infinite alternate}
.latest-card .latest-grain{position:absolute;inset:0;z-index:2;pointer-events:none;background:radial-gradient(circle at 30% 23%,rgba(255,218,139,.24),transparent 40%),linear-gradient(180deg,transparent 12%,rgba(7,6,5,.25) 48%,rgba(0,0,0,.86) 100%);animation:latest-luminance 9s ease-in-out infinite alternate}.latest-card .latest-sheen{position:absolute;inset:-60%;z-index:3;pointer-events:none;background:linear-gradient(104deg,transparent 42%,rgba(255,227,170,.15) 48%,rgba(255,246,202,.04) 51%,transparent 57%);transform:translateX(-70%) rotate(-12deg);animation:latest-sheen 12s ease-in-out infinite}.latest-card:nth-child(2) .latest-sheen{animation-delay:-5s}.latest-card:nth-child(3) .latest-sheen{animation-delay:-8s}.latest-card:nth-child(4) .latest-sheen{animation-delay:-2s}
.latest-card .latest-art{position:absolute;z-index:3;inset:0;pointer-events:none;overflow:hidden}.latest-art svg{position:absolute;left:8%;top:9%;height:62%;width:84%;overflow:visible;fill:none;stroke:#e6c77e;stroke-width:1.25;opacity:.75;filter:drop-shadow(0 1px 5px #ad7b26)}.latest-card[data-motion=pages] .latest-art svg{transform-origin:75% 50%;animation:latest-page 6.7s cubic-bezier(.65,0,.23,1) infinite}.latest-card[data-motion=sound] .latest-art svg{animation:latest-sound 3.6s ease-in-out infinite}.latest-card[data-motion=light] .latest-art svg{animation:latest-balance 7s ease-in-out infinite}.latest-card[data-motion=ink] .latest-art svg{stroke-dasharray:330;stroke-dashoffset:330;animation:latest-ink 9s linear infinite}
.latest-card .latest-label{position:absolute;z-index:4;bottom:0;right:0;left:0;padding:25% clamp(6px,1.3vw,20px) clamp(8px,1.5vw,24px);background:linear-gradient(0deg,rgba(0,0,0,.62),transparent);color:#fff7e7;text-shadow:0 2px 6px #000;line-height:1.55;font-size:clamp(10px,1.45vw,22px);font-weight:500;overflow-wrap:normal;word-break:normal;animation:latest-title 12s ease-in-out infinite}.latest-card:nth-child(2) .latest-label{animation-delay:-3s}.latest-card:nth-child(3) .latest-label{animation-delay:-6s}.latest-card:nth-child(4) .latest-label{animation-delay:-9s}.latest-card:hover .latest-label,.latest-card:focus-visible .latest-label{color:#ffe09b;animation-play-state:paused}.latest-card:hover .latest-grain,.latest-card:focus-visible .latest-grain{background:linear-gradient(180deg,rgba(246,190,84,.18),rgba(0,0,0,.8))}.latest-card.is-touched .latest-sheen{animation-duration:2s}
.latest-editor-toggle{margin:18px 0 0;background:none;color:#d9bb78;border:1px solid #8e7446;padding:8px 14px;font:inherit;cursor:pointer}.latest-editor[hidden],.latest-editor-toggle[hidden]{display:none!important}.latest-editor{margin-top:16px;border:1px solid #6c5838;padding:18px;background:#1a1918;font-size:15px}.latest-editor h3{margin:0 0 12px;color:#edcf88;font-weight:500}.latest-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.latest-editor-slot{border:1px solid #584b37;padding:12px;display:grid;gap:8px}.latest-editor label{display:grid;gap:4px}.latest-editor select,.latest-editor input{width:100%;min-width:0;background:#252321;border:1px solid #87714d;color:white;padding:7px;font:inherit}.latest-editor input[type=file]{font-size:13px}.latest-editor button{cursor:pointer;background:#d6b66e;color:#171511;border:0;padding:9px 16px;font:inherit;margin-top:12px}.latest-editor p{color:#c6bbab;line-height:1.7}.latest-editor .latest-feedback{min-height:1.5em;color:#e9cf89}
@keyframes latest-camera{0%{transform:translate3d(-2%,2%,0) rotate(-1.5deg) scale(1.06)}45%{transform:translate3d(2%,-2%,0) rotate(.6deg) scale(1.17)}100%{transform:translate3d(-1%,-4%,0) rotate(1deg) scale(1.11)}}@keyframes latest-depth{from{transform:translate(-5%,3%) scale(1.08)}to{transform:translate(5%,-3%) scale(1.22)}}@keyframes latest-luminance{from{opacity:.64}to{opacity:1}}@keyframes latest-sheen{0%,24%{transform:translateX(-75%) rotate(-12deg)}55%,100%{transform:translateX(75%) rotate(-12deg)}}@keyframes latest-title{0%,10%{opacity:.75;transform:translateY(7px)}20%,82%{opacity:1;transform:translateY(0)}100%{opacity:.78;transform:translateY(4px)}}@keyframes latest-page{0%,12%{transform:perspective(420px) rotateY(0)}40%,50%{transform:perspective(420px) rotateY(-46deg) skewY(3deg)}70%,100%{transform:perspective(420px) rotateY(0)}}@keyframes latest-sound{0%,100%{transform:scaleX(.9) scaleY(.65);opacity:.5}45%{transform:scaleX(1.05) scaleY(1.12);opacity:1}}@keyframes latest-balance{0%,100%{transform:rotate(-3deg) translateX(-3px)}50%{transform:rotate(3deg) translateX(3px)}}@keyframes latest-ink{0%{stroke-dashoffset:330;opacity:.15}45%,68%{stroke-dashoffset:0;opacity:.85}100%{stroke-dashoffset:-330;opacity:.18}}
@media(max-width:600px){.latest-strip{padding:27px 8px 34px}.latest-top{padding:0 3px}.latest-top small{font-size:10px}.latest-grid{gap:4px}.latest-card .latest-art svg{top:12%;height:50%}.latest-card .latest-label{font-size:clamp(9px,2.5vw,12px);padding:26% 5px 5px;line-height:1.35}.latest-editor-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.latest-strip .latest-scene,.latest-strip .latest-depth,.latest-strip .latest-grain,.latest-strip .latest-sheen,.latest-strip .latest-art svg,.latest-strip .latest-label{animation:none!important;transform:none!important}.latest-strip .latest-sheen{display:none}.latest-strip .latest-video{display:none!important}.latest-strip .latest-label{opacity:1!important}}
.latest-strip.is-lite .latest-scene,.latest-strip.is-lite .latest-depth,.latest-strip.is-lite .latest-grain,.latest-strip.is-lite .latest-sheen,.latest-strip.is-lite .latest-art svg,.latest-strip.is-lite .latest-label{animation:none!important;transform:none!important}.latest-strip.is-lite .latest-sheen,.latest-strip.is-lite .latest-video{display:none!important}

@media(hover:hover) and (prefers-reduced-motion:no-preference){.latest-card:hover .latest-scene{animation:none;transform:translate3d(var(--dx,0px),var(--dy,0px),0) rotate(var(--tilt,0deg)) scale(1.13)}.latest-card:hover .latest-depth{animation:none;transform:translate3d(calc(var(--dx,0px) * -0.5),calc(var(--dy,0px) * -0.5),30px) scale(1.2)}}

/* Only the four icon images receive a pale editorial canvas. The grid and card sizes remain intact. */
.latest-card.is-lineart{background:#f2eadc;border-color:#b89555}
.latest-card.is-lineart .latest-scene{inset:0;animation:none;transform:none;will-change:auto}
.latest-card.is-lineart .latest-image{filter:none;object-fit:cover}
.latest-card.is-lineart .latest-depth,.latest-card.is-lineart .latest-grain,.latest-card.is-lineart .latest-sheen,.latest-card.is-lineart .latest-art{display:none}
.latest-card.is-lineart .latest-label{background:linear-gradient(0deg,#f2eadc 35%,rgba(242,234,220,.94) 70%,transparent);color:#26231e;text-shadow:none;animation:none;font-weight:600}
.latest-card.is-lineart:hover .latest-label,.latest-card.is-lineart:focus-visible .latest-label{color:#8e682e}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.latest-card.is-lineart:hover .latest-scene{animation:none;transform:none}}
