/* Karimi Archive 1.0.0 | lightweight, dependency-free, fully RTL */
:root{--green:#148958;--green-dark:#0f7048;--red:#d94750;--bg:#fff;--paper:#f5f7f6;--paper2:#eef3f0;--ink:#182d27;--muted:#62746e;--line:#dce6e0;--card:#fff;--nav:rgba(255,255,255,.94);--shadow:0 16px 55px rgba(19,76,48,.07);color-scheme:light}
html[data-theme=dark]{--green:#3abd85;--green-dark:#28a872;--red:#ff707a;--bg:#22272a;--paper:#2b3235;--paper2:#323b3c;--ink:#f0f4f1;--muted:#b7c7bf;--line:#43504a;--card:#2a3133;--nav:rgba(34,39,42,.95);--shadow:0 18px 55px rgba(0,0,0,.18);color-scheme:dark}
*,*:before,*:after{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Vazirmatn,'IRANSans',Tahoma,'Segoe UI',sans-serif;font-size:16px;line-height:1.9;-webkit-font-smoothing:antialiased}body,button,input{font-family:Vazirmatn,'IRANSans',Tahoma,'Segoe UI',sans-serif}a{color:inherit;text-decoration:none}button{cursor:pointer}img{display:block;max-width:100%}::selection{background:rgba(20,137,88,.22)}:focus-visible{outline:3px solid var(--green);outline-offset:3px}[hidden]{display:none!important}.container{max-width:1240px;margin:0 auto;padding-inline:34px}.skip-link{position:absolute;top:-100px;right:1em;z-index:1000;background:var(--green);color:#fff;padding:8px 18px}.skip-link:focus{top:8px}.top-stripe{height:4px;background:linear-gradient(90deg,var(--green) 0%,var(--green) 78%,var(--red) 78%,var(--red) 100%)}
.site-header{position:sticky;top:0;z-index:100;background:var(--nav);border-bottom:1px solid var(--line);backdrop-filter:blur(16px)}.header-inner{height:84px;display:flex;align-items:center;justify-content:space-between;gap:18px}.brand{display:flex;align-items:center;gap:11px;min-width:0}.brand-symbol{width:47px;height:47px;display:grid;place-items:center;background:var(--green);border-radius:12px 12px 4px 12px;color:#fff;font-weight:900;font-size:27px}.brand-logo{width:48px;height:48px;object-fit:contain}.brand-copy{display:flex;flex-direction:column;line-height:1.5}.brand-copy strong{font-size:16px}.brand-copy small{font-size:11px;color:var(--muted)}.nav-menu{display:flex;align-items:center;gap:6px}.nav-menu a{font-size:13px;font-weight:650;color:var(--muted);padding:12px 16px;border-radius:9px;transition:.2s}.nav-menu a:hover,.nav-menu a.active{color:var(--green);background:var(--paper2)}.nav-menu a.active{font-weight:800}.header-actions{display:flex;align-items:center;gap:10px}.mode-toggle{width:42px;height:42px;border:1px solid var(--line);border-radius:12px;background:var(--card);color:var(--ink);display:grid;place-items:center;font-size:22px}.mode-toggle:hover{border-color:var(--green)}.mode-icon-dark{display:none}html[data-theme=dark] .mode-icon-dark{display:block}html[data-theme=dark] .mode-icon-light{display:none}.mobile-toggle{display:none;background:transparent;border:0;padding:8px;flex-direction:column;gap:5px}.mobile-toggle span{display:block;width:22px;height:2px;background:var(--ink)}
.hero{position:relative;overflow:hidden;background:linear-gradient(135deg,var(--paper) 0%,var(--bg) 58%,var(--paper2) 100%)}.hero:before{content:"";position:absolute;width:900px;height:900px;left:-510px;top:-450px;border:1px solid rgba(20,137,88,.12);border-radius:50%;pointer-events:none}.hero-grain{position:absolute;inset:0;opacity:.16;background-image:radial-gradient(var(--green) .55px,transparent .55px);background-size:18px 18px;mask-image:linear-gradient(95deg,transparent 26%,#000 95%);pointer-events:none}.hero-grid{min-height:655px;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:55px;position:relative;padding-top:68px;padding-bottom:75px}.hero-content{position:relative;z-index:2}.pill{display:inline-flex;align-items:center;gap:9px;padding:6px 13px;border:1px solid rgba(20,137,88,.23);border-radius:30px;font-size:12px;font-weight:700;color:var(--green);background:var(--card)}.status-dot{width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 0 4px rgba(20,137,88,.12)}.hero-supra{font-size:12px;margin-top:39px;color:var(--muted);font-weight:700;letter-spacing:1px}.hero-supra span{color:var(--red);padding:0 7px}.hero h1{font-size:clamp(47px,5.15vw,76px);line-height:1.4;font-weight:900;letter-spacing:-2px;margin:13px 0 0}.hero-title-red{color:var(--red)}.hero-alias{margin:0;font-size:23px;font-weight:800;color:var(--green)}.hero-intro{font-size:16px;color:var(--muted);line-height:2.25;max-width:510px;margin:25px 0 30px}.hero-cta{display:flex;flex-wrap:wrap;gap:12px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:25px;font-size:13px;font-weight:800;border-radius:12px;padding:14px 23px;transition:transform .2s,background .2s,border-color .2s}.btn:hover{transform:translateY(-3px)}.btn-primary{background:var(--green);color:#fff;box-shadow:0 12px 26px rgba(20,137,88,.14)}.btn-primary:hover{background:var(--green-dark);color:#fff}.btn-outline{border:1px solid var(--line);background:var(--card)}.btn-outline:hover{border-color:var(--green)}.hero-footnote{margin-top:44px;display:flex;align-items:center;gap:11px;font-size:11px;letter-spacing:.3px;color:var(--muted)}.short-line{display:block;width:35px;height:2px;background:var(--red)}.hero-art{height:490px;position:relative;display:flex;align-items:center;justify-content:center}.hero-art-orbit{position:absolute;inset:3% 5%;border-radius:50%;border:1px solid rgba(20,137,88,.24)}.orbit-two{inset:10% 14%;border-color:rgba(20,137,88,.14);transform:rotate(-35deg);border-style:dashed}.hero-art-inner{width:80%;height:88%;border-radius:50% 50% 38% 38%;overflow:hidden;position:relative;background:linear-gradient(145deg,#176947,#0c392d);display:grid;place-items:center;box-shadow:0 24px 70px rgba(10,64,42,.20)}.hero-art-inner:before{content:"";inset:15px;position:absolute;border:1px solid rgba(255,255,255,.26);border-radius:inherit;pointer-events:none;z-index:2}.hero-art-inner:after{content:"";position:absolute;width:520px;height:520px;top:35%;right:-45%;border-radius:50%;border:75px solid rgba(255,255,255,.05);pointer-events:none}.hero-portrait{width:100%;height:100%;object-fit:cover;position:relative;z-index:1}.hero-monogram{position:relative;color:#fff;display:flex;flex-direction:column;line-height:1.25;text-align:center;transform:rotate(-9deg);z-index:1;text-shadow:0 7px 18px rgba(0,0,0,.15)}.hero-monogram span{font-size:42px;font-weight:300}.hero-monogram strong{font-size:95px;font-weight:900}.art-label{position:absolute;left:1%;bottom:3%;background:var(--card);box-shadow:var(--shadow);padding:14px 20px;border-right:3px solid var(--red);border-radius:10px;display:flex;flex-direction:column;gap:0;z-index:3}.art-label span{direction:ltr;color:var(--green);font-size:10px;letter-spacing:2px;font-weight:800}.art-label strong{font-size:14px}.art-red-square{position:absolute;top:13%;right:0;width:32px;height:32px;background:var(--red);border-radius:8px;transform:rotate(15deg)}.hero-bottom-grid{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-block:20px;color:var(--muted);font-size:12px;font-weight:700;position:relative}.hero-bottom-grid span:before{content:"◆";font-size:7px;color:var(--green);margin-left:8px}
.content-section{padding:107px 0}.about-section{background:var(--bg)}.narrow-section{display:grid;grid-template-columns:140px minmax(0,780px);gap:60px}.side-label{padding-top:30px;display:flex;align-items:flex-start;gap:12px;color:var(--green);font-size:15px;font-weight:800}.side-label b{display:block;width:38px;border-top:2px solid var(--green);margin-top:14px}.eyebrow{display:block;color:var(--green);font-size:12px;font-weight:850;letter-spacing:.45px}.long-copy h2,.section-heading h2{font-size:clamp(28px,3vw,42px);letter-spacing:-.6px;line-height:1.5;margin:15px 0 22px}.long-copy h2:after{content:"";display:block;width:52px;height:4px;border-radius:3px;background:var(--red);margin-top:18px}.prose{color:var(--muted);font-size:16px;line-height:2.35}.prose p{margin:0 0 20px}.prose p:last-child{margin-bottom:0}.article-source{display:inline-flex;align-items:center;gap:8px;margin-top:18px;color:var(--green);font-size:13px;font-weight:750}.article-source:hover{text-decoration:underline}.statement-section{background:var(--paper)}.timeline-item{background:var(--paper);padding:0 0 12px}.timeline-item:first-of-type{padding-top:70px}.timeline-grid{display:grid;grid-template-columns:200px 1fr;gap:0}.timeline-year{position:relative;padding:33px 0;font-weight:850;font-size:20px;color:var(--green)}.timeline-year:before{content:"";position:absolute;right:152px;top:0;bottom:0;width:1px;background:var(--line)}.timeline-year:after{content:"";position:absolute;right:145px;top:45px;width:15px;height:15px;border:4px solid var(--green);background:var(--paper);border-radius:50%}.timeline-card{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:26px 34px;margin:0 0 25px;box-shadow:var(--shadow)}.timeline-card h3{margin:8px 0;font-size:21px}.timeline-card .prose{font-size:14px;line-height:2.15}.quote-section{background:var(--green);color:white;padding:65px 0}.quote-inner{max-width:830px;margin:auto;text-align:center}.quote-mark{font-size:100px;line-height:.8;color:rgba(255,255,255,.55)}.quote-section .eyebrow{color:rgba(255,255,255,.72)}.quote-inner blockquote{margin:23px 0;font-size:clamp(23px,3vw,36px);line-height:1.85;font-weight:800}.quote-inner strong{font-size:13px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:40px}.section-heading h2{margin:6px 0 0}.section-lead{color:var(--muted);font-size:14px;max-width:350px;margin:0}.block-photos{background:var(--bg)}.block-videos{background:var(--paper)}.block-sources{background:var(--bg)}.photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px}.photo-card{margin:0;min-width:0;background:var(--card);border-radius:16px;overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow);align-self:start}.photo-open{display:block;width:100%;position:relative;border:0;background:var(--paper2);padding:0;text-align:right;overflow:hidden}.photo-open img{width:100%;aspect-ratio:4/3;object-fit:cover;transition:transform .35s ease}.photo-open:hover img{transform:scale(1.045)}.photo-zoom{position:absolute;top:14px;left:14px;display:grid;place-items:center;background:var(--bg);color:var(--green);border-radius:9px;width:34px;height:34px;font-size:19px;opacity:0;transform:translateY(7px);transition:.2s}.photo-open:hover .photo-zoom,.photo-open:focus-visible .photo-zoom{opacity:1;transform:none}.photo-caption{padding:15px 18px 18px}.photo-caption strong{font-size:14px}.photo-caption p{font-size:12px;line-height:1.9;color:var(--muted);margin:4px 0 0}.section-more{display:flex;justify-content:center;padding-top:36px}.text-link{display:inline-flex;gap:20px;align-items:center;color:var(--green);font-size:14px;font-weight:800;border-bottom:2px solid var(--green);padding-bottom:7px}.text-link span{transition:transform .2s}.text-link:hover span{transform:translate(-4px,-3px)}.video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.video-card{background:var(--card);border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:var(--shadow)}.video-poster{position:relative;width:100%;aspect-ratio:16/9;background:#10432f;overflow:hidden}.video-play{position:absolute;inset:0;border:0;padding:0;width:100%;height:100%;background:#10432f;color:white;overflow:hidden}.video-play img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.video-play:hover img{transform:scale(1.04)}.video-placeholder{position:absolute;inset:0;background:radial-gradient(circle at 23% 75%,rgba(255,255,255,.10),transparent 40%),linear-gradient(120deg,#0d3929,#137c51);display:flex;justify-content:center;align-items:center;flex-direction:column;color:#fff}.video-placeholder:before{content:"";position:absolute;inset:15px;border:1px solid rgba(255,255,255,.2);border-radius:6px}.video-placeholder span{font:700 11px 'Segoe UI',sans-serif;letter-spacing:4px;opacity:.58}.video-placeholder strong{font:800 70px 'Segoe UI',sans-serif;opacity:.22;line-height:1.2}.video-placeholder i{font:600 9px 'Segoe UI',sans-serif;letter-spacing:3px;opacity:.65}.play-circle{position:absolute;inset:auto 50% 50% auto;transform:translate(50%,50%);width:66px;height:66px;border:1px solid rgba(255,255,255,.55);background:rgba(255,255,255,.95);color:#0f754b;border-radius:50%;display:grid;place-items:center;font-size:23px;box-shadow:0 10px 40px rgba(0,0,0,.15);transition:.2s}.video-play:hover .play-circle{background:var(--red);color:white;transform:translate(50%,50%) scale(1.08)}.aparat-iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.video-details{padding:21px 23px 23px}.video-meta{display:flex;gap:12px;color:var(--green);font-size:11px;font-weight:700}.video-meta span+span:before{content:"•";margin-left:12px;color:var(--red)}.video-details h3{font-size:17px;line-height:1.6;margin:8px 0}.video-details p{font-size:12px;color:var(--muted);line-height:2;margin:6px 0 0}.source-list{border-top:1px solid var(--line)}.source-card{display:grid;grid-template-columns:70px minmax(0,1fr) auto;align-items:center;gap:17px;padding:25px 0;border-bottom:1px solid var(--line)}.source-index{font:800 26px 'Segoe UI',sans-serif;color:var(--green);opacity:.5;text-align:center}.source-publisher{font-size:11px;color:var(--green);font-weight:800}.source-main h3{font-size:16px;line-height:1.7;margin:4px 0}.source-main p{font-size:12px;color:var(--muted);margin:4px 0}.source-main small{font-size:11px;color:var(--muted)}.source-go{padding:10px 14px;border:1px solid var(--line);border-radius:8px;font-weight:750;font-size:12px;color:var(--green);white-space:nowrap}.source-go:hover{background:var(--green);color:#fff}.featured-image{margin:0}.featured-image>img{width:100%;max-height:630px;object-fit:cover;border-radius:20px}.featured-image figcaption{margin-top:15px;color:var(--muted)}.featured-image figcaption strong{color:var(--ink)}.empty-box{border:1px dashed var(--line);background:var(--paper);padding:36px;text-align:center;color:var(--muted);border-radius:16px}.archive-hero{background:linear-gradient(135deg,var(--paper),var(--bg));padding:84px 0 70px;border-bottom:1px solid var(--line);position:relative;overflow:hidden}.archive-hero:before{content:"";position:absolute;left:-80px;bottom:-180px;width:520px;height:520px;border:68px solid rgba(20,137,88,.05);border-radius:50%}.archive-kicker{display:flex;gap:12px;align-items:center;color:var(--muted);font-size:12px;margin-bottom:35px}.archive-kicker a:hover{color:var(--green)}.archive-kicker span{color:var(--red)}.archive-hero h1{font-size:clamp(40px,5.5vw,72px);line-height:1.4;margin:10px 0}.archive-hero p{color:var(--muted);margin:0;font-size:17px}.archive-stats{display:flex;gap:30px;margin-top:31px;font-size:12px;color:var(--muted)}.archive-stats span:before{content:"▰";color:var(--green);margin-left:8px}.archive-content{padding:65px 0 110px}.filter-bar{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:34px}.filter{padding:8px 18px;font-size:12px;font-weight:750;border:1px solid var(--line);background:var(--card);color:var(--muted);border-radius:25px}.filter.active,.filter:hover{background:var(--green);color:#fff;border-color:var(--green)}.archive-photo-grid{grid-template-columns:repeat(3,1fr);align-items:start}.archive-video-grid{grid-template-columns:repeat(3,1fr)}.large-empty{padding:100px 30px}
.footer{background:#102d22;color:#e4f2e8;padding:67px 0 0}.footer-upper{display:flex;justify-content:space-between;gap:40px;align-items:center;padding-bottom:58px}.footer-brand{font-weight:900;font-size:29px}.footer-dot{color:#ff6d75}.footer-upper p{font-size:12px;color:#a8c5b2;margin:7px 0}.footer-links{display:flex;gap:22px;flex-wrap:wrap;font-size:12px;font-weight:700}.footer-links a:hover{color:#66d9a2}.footer-bottom{display:flex;justify-content:space-between;padding-block:20px;border-top:1px solid #315044;font-size:11px;color:#9cbdae}.lightbox{background:transparent;border:0;padding:0;max-width:min(1100px,96vw);max-height:95vh;color:white;overflow:visible}.lightbox::backdrop{background:rgba(3,13,9,.91);backdrop-filter:blur(8px)}.lightbox-frame{max-height:88vh;display:flex;flex-direction:column;align-items:center;overflow:auto}.lightbox img{object-fit:contain;max-height:76vh;width:auto;border-radius:9px}.lightbox-caption{width:100%;text-align:center;padding:12px 8px 4px;line-height:1.7}.lightbox-caption p{font-size:13px;margin:0}.lightbox-close{position:absolute;top:-42px;left:0;width:34px;height:34px;border-radius:50%;background:white;color:#333;border:0;font-size:27px}
@media(max-width:1000px){.container{padding-inline:25px}.hero-grid{gap:25px;min-height:600px}.hero-art{height:410px}.hero-monogram strong{font-size:76px}.hero-monogram span{font-size:32px}.hero h1{font-size:54px}.photo-grid,.video-grid{gap:17px}.timeline-grid{grid-template-columns:160px 1fr}.timeline-year:before{right:117px}.timeline-year:after{right:110px}}
@media(max-width:760px){.container{padding-inline:19px}.header-inner{height:70px}.brand-symbol{width:42px;height:42px}.brand-copy strong{font-size:14px}.nav-menu{display:none;position:absolute;top:69px;left:0;right:0;background:var(--card);border-bottom:1px solid var(--line);padding:13px 18px 18px;flex-direction:column;align-items:stretch;box-shadow:var(--shadow)}.nav-menu.is-open{display:flex}.nav-menu a{padding:11px 14px}.mobile-toggle{display:flex}.hero-grid{grid-template-columns:1fr;min-height:auto;gap:25px;padding-top:50px;padding-bottom:48px}.hero h1{font-size:clamp(40px,9vw,57px)}.hero-art{width:100%;height:360px;max-width:410px;margin:0 auto}.hero-art-inner{width:75%;height:85%}.hero-monogram strong{font-size:72px}.hero-monogram span{font-size:32px}.hero-footnote{margin-top:30px}.hero-bottom-grid{gap:15px;flex-wrap:wrap;justify-content:center;font-size:10px}.hero-intro{font-size:14px}.content-section{padding:66px 0}.narrow-section{grid-template-columns:1fr;gap:15px}.side-label{padding:0}.section-heading{align-items:flex-start;flex-direction:column;gap:6px}.section-lead{max-width:none}.photo-grid,.video-grid,.archive-photo-grid,.archive-video-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.timeline-grid{grid-template-columns:90px 1fr}.timeline-year{font-size:16px;padding-top:25px}.timeline-year:before{right:72px}.timeline-year:after{right:65px;top:37px}.timeline-card{padding:22px 20px}.timeline-card h3{font-size:17px}.archive-hero{padding:55px 0}.archive-content{padding:40px 0 75px}.source-card{grid-template-columns:35px minmax(0,1fr);gap:7px}.source-index{font-size:18px}.source-go{grid-column:2;justify-self:start}.footer-upper{flex-direction:column;align-items:flex-start}.footer-bottom{gap:13px;flex-wrap:wrap}.quote-inner blockquote{font-size:24px}}
@media(max-width:480px){.hero-art{height:290px}.hero-monogram strong{font-size:55px}.hero-monogram span{font-size:26px}.hero-intro{margin:19px 0}.hero-alias{font-size:20px}.hero-cta{gap:9px}.btn{font-size:12px;padding:11px 13px;gap:12px}.photo-grid,.video-grid,.archive-photo-grid,.archive-video-grid{grid-template-columns:1fr}.photo-open img{aspect-ratio:1.2}.art-label{left:0;bottom:0;padding:9px 14px}.timeline-grid{grid-template-columns:68px 1fr}.timeline-year{font-size:13px}.timeline-year:before{right:54px}.timeline-year:after{right:47px}.timeline-card{padding:17px 14px}.archive-stats{gap:12px;flex-wrap:wrap}.footer-links{gap:15px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}

/* v1.1.0 — responsive one-line identity, interactive motion, browsable source archive. */
:root { --hero-glow-x:50%; --hero-glow-y:40%; }
.hero-content { min-width:0; }
.hero .hero-title { display:block; width:100%; max-width:100%; white-space:nowrap; font-size:clamp(32px,4.7vw,66px); line-height:1.45; letter-spacing:-.065em; padding:0 0 4px; position:relative; transition:filter .35s ease,letter-spacing .45s ease; }
.hero-title-words { display:inline-block; position:relative; background:linear-gradient(105deg,var(--ink) 0%,var(--ink) 38%,var(--green) 54%,var(--ink) 70%,var(--ink) 100%); background-size:270% auto; background-position:95% 50%; color:var(--ink); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; animation:title-gleam 13s ease-in-out infinite; }
.hero-title:hover .hero-title-words { animation-duration:3.5s; filter:drop-shadow(0 5px 13px rgba(20,137,88,.15)); }
.hero-title:hover { letter-spacing:-.042em; }
.hero-title-red { display:inline-block; animation:red-beacon 3.6s ease-in-out infinite; transform-origin:50% 70%; }
.hero-pointer-glow { position:absolute; inset:0; pointer-events:none; z-index:0; opacity:.72; background:radial-gradient(410px circle at var(--hero-glow-x) var(--hero-glow-y),rgba(20,137,88,.10),transparent 72%); transition:opacity .4s; }
html[data-theme=dark] .hero-pointer-glow { opacity:.42; }
.hero-grain { animation:grain-travel 30s linear infinite; }
.pill .status-dot,.mhs-live .status-dot { animation:soft-status-pulse 2.9s ease-in-out infinite; }
.hero-art { transform:translate3d(var(--parallax-x,0px),var(--parallax-y,0px),0); transition:transform .5s cubic-bezier(.2,.75,.25,1); }
.hero-art .orbit-one { animation:orbit-rotate 35s linear infinite; }
.hero-art .orbit-two { animation:orbit-rotate-reverse 50s linear infinite; }
.hero-art-inner { animation:portrait-float 8s ease-in-out infinite; transition:box-shadow .4s ease,scale .4s ease; }
.hero-art:hover .hero-art-inner { scale:1.025; box-shadow:0 34px 85px rgba(10,64,42,.26); }
.art-red-square { animation:accent-drift 6s ease-in-out infinite; }
.hero:before { animation:ambient-breathe 17s ease-in-out infinite; }
.top-stripe { position:relative; overflow:hidden; }
.top-stripe-progress { position:absolute; top:0; bottom:0; right:0; width:100%; transform-origin:right center; transform:scaleX(var(--scroll-progress,0)); background:var(--red); box-shadow:0 0 12px rgba(217,71,80,.5); z-index:1; }
.site-header { transition:box-shadow .3s ease,background-color .3s ease; }
.site-header.is-scrolled { box-shadow:0 10px 32px rgba(8,39,26,.10); }
html[data-theme=dark] .site-header.is-scrolled { box-shadow:0 14px 40px rgba(0,0,0,.25); }
.nav-menu a { position:relative; }
.nav-menu a:after { content:""; position:absolute; right:16px; left:16px; bottom:7px; height:2px; background:var(--red); border-radius:5px; transform:scaleX(0); transform-origin:right; transition:transform .35s cubic-bezier(.2,.8,.2,1); }
.nav-menu a:hover:after,.nav-menu a:focus-visible:after { transform:scaleX(1); }
.btn-primary { position:relative; isolation:isolate; overflow:hidden; }
.btn-primary:before { content:""; position:absolute; inset:0; transform:translateX(140%) skew(-22deg); background:linear-gradient(90deg,transparent,rgba(255,255,255,.24),transparent); transition:transform .65s ease; pointer-events:none; }
.btn-primary:hover:before { transform:translateX(-160%) skew(-22deg); }
.photo-card,.video-card,.timeline-card { transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease,opacity .65s ease; transform-style:preserve-3d; }
.photo-card:hover,.video-card:hover,.timeline-card:hover { border-color:rgba(20,137,88,.40); box-shadow:0 20px 48px rgba(12,94,58,.14); }
.photo-card.is-hovering,.video-card.is-hovering,.timeline-card.is-hovering { transform:perspective(1100px) rotateX(var(--card-rx,0deg)) rotateY(var(--card-ry,0deg)) translateY(-5px); }
.source-card { border-radius:13px; padding-inline:16px; margin-inline:-16px; transition:background-color .25s ease,transform .28s ease,box-shadow .28s ease,opacity .6s ease; }
.source-card:hover { background:var(--paper); transform:translateX(-5px); box-shadow:inset 3px 0 0 var(--green); }
.source-publisher { margin-left:8px; }
.source-review-tag { display:inline-flex; align-items:center; padding:2px 8px; background:var(--paper2); color:var(--muted); border-radius:7px; font-size:10px; font-weight:700; border:1px solid var(--line); }
.source-toolbar { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:14px; }
.source-search-wrap { position:relative; flex:1; max-width:600px; }
.source-search { width:100%; color:var(--ink); background:var(--card); border:1px solid var(--line); padding:14px 46px 14px 17px; outline:none; border-radius:13px; font:inherit; font-size:13px; transition:border-color .2s ease,box-shadow .2s ease; }
.source-search:focus { border-color:var(--green); box-shadow:0 0 0 4px rgba(20,137,88,.1); }
.source-search::placeholder { color:var(--muted); }
.source-search-icon { position:absolute; right:15px; top:50%; transform:translateY(-50%); font-size:26px; color:var(--green); line-height:1; pointer-events:none; }
.source-search-count { color:var(--muted); font-size:12px; font-weight:700; white-space:nowrap; }
.sources-disclaimer { background:var(--paper); border-right:3px solid var(--green); color:var(--muted); padding:12px 17px; margin:8px 0 23px; border-radius:8px; font-size:12px; line-height:2; }
.mhs-back-to-top { position:fixed; left:23px; bottom:23px; width:44px; height:44px; border-radius:14px; background:var(--green); color:#fff; border:1px solid rgba(255,255,255,.18); z-index:90; font-size:25px; font-weight:900; box-shadow:0 10px 25px rgba(0,0,0,.2); opacity:0; pointer-events:none; transform:translateY(12px); transition:transform .3s ease,opacity .3s ease,background .2s ease; }
.mhs-back-to-top.is-visible { opacity:1; pointer-events:auto; transform:translateY(0); }
.mhs-back-to-top:hover { background:var(--red); transform:translateY(-4px); }
.motion-enabled .reveal-on-scroll { transition:opacity .7s ease,translate .7s cubic-bezier(.18,.7,.26,1); }
.motion-enabled .reveal-on-scroll:not(.is-revealed) { opacity:0; translate:0 27px; }
.motion-enabled .reveal-on-scroll.is-revealed { opacity:1; translate:0 0; }
@keyframes title-gleam { 0%,20%,72%,100%{background-position:95% 50%} 48%,57%{background-position:0 50%} }
@keyframes red-beacon { 0%,100% {opacity:1;transform:scale(1)} 52% {opacity:.7;transform:scale(1.16)} }
@keyframes orbit-rotate { to {rotate:360deg} }
@keyframes orbit-rotate-reverse { to {rotate:-360deg} }
@keyframes portrait-float { 0%,100% {translate:0 0} 50% {translate:0 -8px} }
@keyframes accent-drift {0%,100% {translate:0 0;rotate:0deg}50% {translate:0 -11px;rotate:13deg}}
@keyframes ambient-breathe {0%,100% {opacity:.7;scale:1}50% {opacity:1;scale:1.035}}
@keyframes soft-status-pulse {0%,100% {box-shadow:0 0 0 4px rgba(20,137,88,.12)}50% {box-shadow:0 0 0 9px rgba(20,137,88,.03)}}
@keyframes grain-travel { to {background-position:36px 72px} }
@media(max-width:1000px) { .hero .hero-title {font-size:clamp(31px,4.7vw,54px)} }
@media(max-width:760px) { .hero .hero-title {font-size:clamp(27px,7.2vw,53px)} .source-card:hover {transform:none} .hero-art {transform:none} }
@media(max-width:480px) { .hero .hero-title {font-size:clamp(24px,7.5vw,37px)} .source-toolbar {align-items:stretch;flex-direction:column;gap:7px} .source-search-wrap {max-width:none} .source-search-count {align-self:flex-end} .source-card {margin-inline:0;padding-inline:7px;} .mhs-back-to-top {left:15px;bottom:15px} }
@media(pointer:coarse) { .photo-card.is-hovering,.video-card.is-hovering,.timeline-card.is-hovering {transform:none} .hero-art {transform:none} }
@media(prefers-reduced-motion:reduce) { .hero-title-words,.hero-title-red,.hero-grain,.hero-art .orbit-one,.hero-art .orbit-two,.hero-art-inner,.art-red-square,.pill .status-dot,.hero:before {animation:none!important} .motion-enabled .reveal-on-scroll:not(.is-revealed) {opacity:1;translate:none} .hero-art,.source-card:hover {transform:none} }


/* Compact references (1.1.1): three visible items and a native, keyboard-accessible expand arrow. */
body [hidden] { display:none!important; }
.source-more { border-bottom:1px solid var(--line); }
.source-more-summary { list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:12px; padding:17px 20px; margin:22px auto 9px; width:max-content; max-width:100%; min-height:52px; border:1px solid var(--line); border-radius:13px; background:var(--paper); color:var(--green); font-size:13px; font-weight:800; transition:background-color .25s ease,border-color .25s ease,box-shadow .25s ease,transform .25s ease; user-select:none; }
.source-more-summary::-webkit-details-marker { display:none; }
.source-more-summary::marker { content:''; }
.source-more-summary:hover { background:var(--card); border-color:var(--green); box-shadow:0 10px 26px rgba(0,105,66,.09); transform:translateY(-2px); }
.source-more-summary:focus-visible { outline:3px solid var(--green); outline-offset:3px; }
.source-more-arrow { display:grid; place-items:center; width:31px; height:31px; border-radius:50%; background:var(--green); color:#fff; flex-shrink:0; }
.source-more-arrow svg { transition:transform .3s ease; }
.source-more[open] .source-more-arrow svg { transform:rotate(180deg); }
.source-more-open { display:none; }
.source-more[open] .source-more-closed { display:none; }
.source-more[open] .source-more-open { display:inline; }
.source-more.is-searching > .source-more-summary { display:none; }
.source-more.is-searching { border-bottom:0; }
.source-rest .source-card:last-child { border-bottom:0; }
@media (prefers-reduced-motion:reduce) { .source-more-summary,.source-more-arrow svg { transition:none; } }


/* Motion refinement v1.1.2 — relaxed, low-amplitude interactions. */
:root { --mhs-motion-ease: cubic-bezier(.22,1,.36,1); }
.nav-menu a { transition:color .5s ease, background-color .5s ease; }
.nav-menu a:after { transition:transform .65s var(--mhs-motion-ease); }
.mode-toggle { transition:border-color .5s ease,background-color .5s ease; }
.btn { transition:transform .6s var(--mhs-motion-ease),background-color .5s ease,border-color .5s ease; }
.btn:hover { transform:translateY(-1.5px); }
.btn-primary:before { transition:transform 1.25s var(--mhs-motion-ease); }
.photo-card,.video-card,.timeline-card {
  transition:transform .75s var(--mhs-motion-ease),box-shadow .7s ease,border-color .65s ease,opacity .95s ease;
}
.photo-card:hover,.video-card:hover,.timeline-card:hover {
  box-shadow:0 13px 36px rgba(12,94,58,.10);
  border-color:rgba(20,137,88,.30);
}
.photo-card.is-hovering,.video-card.is-hovering,.timeline-card.is-hovering {
  transform:perspective(1300px) rotateX(var(--card-rx,0deg)) rotateY(var(--card-ry,0deg)) translateY(-2px);
}
.photo-open img {transition:transform .85s var(--mhs-motion-ease);}
.photo-open:hover img {transform:scale(1.018);}
.photo-zoom {transition:opacity .65s ease,transform .65s var(--mhs-motion-ease);}
.video-play img {transition:transform .85s var(--mhs-motion-ease);}
.video-play:hover img {transform:scale(1.02);}
.play-circle {transition:transform .7s var(--mhs-motion-ease),background-color .55s ease,color .55s ease;}
.video-play:hover .play-circle {transform:translate(50%,50%) scale(1.035);}
.text-link span {transition:transform .6s var(--mhs-motion-ease);}
.text-link:hover span {transform:translate(-2px,-1.5px);}
.source-card {transition:background-color .55s ease,transform .7s var(--mhs-motion-ease),box-shadow .6s ease,opacity .9s ease;}
.source-card:hover {transform:translateX(-2px);}
.source-go,.filter {transition:background-color .5s ease,color .5s ease,border-color .5s ease;}
.source-more-summary {transition:background-color .5s ease,border-color .5s ease,box-shadow .65s ease,transform .65s var(--mhs-motion-ease);}
.source-more-summary:hover {transform:translateY(-1px);}
.source-more-arrow svg {transition:transform .55s var(--mhs-motion-ease);}
.hero .hero-title {transition:filter .65s ease;}
.hero-title:hover {letter-spacing:-.065em;}
.hero-title:hover .hero-title-words {animation-duration:11s;filter:drop-shadow(0 4px 9px rgba(20,137,88,.10));}
.hero-title-red {animation-duration:7.5s;}
.hero-pointer-glow {transition:opacity 1.1s ease;}
.hero-art {transition:transform 1.15s var(--mhs-motion-ease);}
.hero-art-inner {animation-duration:12s;transition:box-shadow .8s ease,scale .8s var(--mhs-motion-ease);}
.hero-art:hover .hero-art-inner {scale:1.01;box-shadow:0 26px 65px rgba(10,64,42,.19);}
.hero-art .orbit-one {animation-duration:55s;}
.hero-art .orbit-two {animation-duration:75s;}
.art-red-square {animation-duration:11s;}
.hero:before {animation-duration:25s;}
.hero-grain {animation-duration:48s;}
.pill .status-dot,.mhs-live .status-dot {animation-duration:4.8s;}
.mhs-back-to-top {transition:transform .65s var(--mhs-motion-ease),opacity .5s ease,background-color .5s ease;}
.mhs-back-to-top:hover {transform:translateY(-2px);}
.motion-enabled .reveal-on-scroll {transition:opacity 1s ease,translate 1s var(--mhs-motion-ease);}
.motion-enabled .reveal-on-scroll:not(.is-revealed) {translate:0 16px;}
@keyframes red-beacon {0%,100% {opacity:1;transform:scale(1)} 50% {opacity:.89;transform:scale(1.045)}}
@keyframes portrait-float {0%,100% {translate:0 0} 50% {translate:0 -4px}}
@keyframes accent-drift {0%,100% {translate:0 0;rotate:0deg} 50% {translate:0 -5px;rotate:5deg}}
/* Scroll reveal and mouse hover must transition together, not override each other. */
.motion-enabled .photo-card.reveal-on-scroll,
.motion-enabled .video-card.reveal-on-scroll,
.motion-enabled .timeline-card.reveal-on-scroll {
  transition:transform .75s var(--mhs-motion-ease),box-shadow .7s ease,border-color .65s ease,opacity 1s ease,translate 1s var(--mhs-motion-ease);
}
.motion-enabled .source-card.reveal-on-scroll {
  transition:background-color .55s ease,transform .7s var(--mhs-motion-ease),box-shadow .6s ease,opacity 1s ease,translate 1s var(--mhs-motion-ease);
}
@media (max-width:760px) {.source-card:hover {transform:none;} .hero-art {transform:none;}}
@media (pointer:coarse) {.photo-card.is-hovering,.video-card.is-hovering,.timeline-card.is-hovering {transform:none;} .hero-art {transform:none;}}
@media (prefers-reduced-motion:reduce) {
  html {scroll-behavior:auto;}
  *,*::before,*::after {animation-duration:.01ms!important; animation-iteration-count:1!important;transition-duration:.01ms!important;}
  .motion-enabled .reveal-on-scroll:not(.is-revealed) {opacity:1;translate:none;}
  .hero-art,.source-card:hover {transform:none;}
}

/* Gallery experience 1.2.0 — ordered photo archive + cinematic photo/video tour. */
.mhs-tour-launch { display:flex;justify-content:space-between;gap:18px;align-items:center;flex-wrap:wrap;margin:0 0 28px; }
.mhs-tour-launch > span {font-size:12px;color:var(--muted);}
.mhs-start-tour {appearance:none;display:inline-flex;gap:16px;align-items:center;justify-content:center;border:1px solid var(--green);background:var(--green);color:#fff;padding:13px 20px;border-radius:12px;font-family:inherit;font-weight:850;font-size:13px;letter-spacing:.1px;box-shadow:0 12px 28px rgba(20,137,88,.15);cursor:pointer;transition:background .45s ease,transform .6s cubic-bezier(.22,1,.36,1),box-shadow .6s ease;}
.mhs-start-tour > span {font-size:17px;opacity:.8;}
.mhs-start-tour:hover {background:#106c45;box-shadow:0 15px 33px rgba(20,137,88,.23);transform:translateY(-2px);}
.mhs-start-tour:focus-visible {outline:3px solid var(--red);outline-offset:4px;}
.archive-tour-launch {padding:2px 0 5px;}
.mhs-tour-open {overflow:hidden;}
dialog.mhs-tour {box-sizing:border-box;position:fixed;inset:0;width:100vw;max-width:none;height:100vh;height:100dvh;max-height:none;margin:0;padding:0;border:0;overflow:hidden;background:#071611;color:#f5fcf8;z-index:100000;}
dialog.mhs-tour::backdrop {background:rgba(0,10,8,.94);backdrop-filter:blur(8px);}
.mhs-tour-shell {box-sizing:border-box;position:relative;display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:100%;height:100%;background:radial-gradient(ellipse at 55% 34%,rgba(30,108,73,.24),transparent 62%),#071611;}
.mhs-tour-shell:before {content:"";position:absolute;inset:0;pointer-events:none;opacity:.16;background-image:radial-gradient(rgba(255,255,255,.16) .65px,transparent 1px);background-size:8px 8px;mask-image:linear-gradient(to bottom,transparent 8%,black 54%,transparent 98%);}
.mhs-tour-top {position:relative;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px clamp(15px,3.8vw,58px);background:linear-gradient(180deg,rgba(5,25,15,.85),rgba(5,25,15,.25));border-bottom:1px solid rgba(255,255,255,.1);}
.mhs-tour-identity,.mhs-tour-tools {display:flex;align-items:center;gap:13px;}
.mhs-tour-live {width:9px;height:9px;border-radius:50%;background:#2cd58c;box-shadow:0 0 0 5px rgba(44,213,140,.13);}
.mhs-tour-label {font-size:14px;font-weight:900;white-space:nowrap;}
.mhs-tour-count {font-size:12px;font-weight:800;direction:ltr;color:#b6d7c5;font-variant-numeric:tabular-nums;white-space:nowrap;}
.mhs-tour-tools > button {font:inherit;color:#fff;white-space:nowrap;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.16);border-radius:10px;min-width:39px;min-height:39px;padding:8px 12px;cursor:pointer;transition:background .25s ease,border .25s ease;}
.mhs-tour-tools > button:hover,.mhs-tour-tools > button:focus-visible {background:rgba(29,147,91,.25);border-color:#39bc83;}
.mhs-tour-tools > .mhs-tour-auto {font-size:11px;font-weight:750;}
.mhs-tour-tools > .mhs-tour-auto[aria-pressed="true"] {background:#1b9b67;border-color:#1b9b67;}
.mhs-tour-tools > .mhs-tour-close {font-size:27px;line-height:22px;padding:5px 12px;border-color:rgba(239,113,119,.5);}
.mhs-tour-stage {position:relative;z-index:1;display:grid;grid-template-columns:clamp(40px,5vw,80px) minmax(0,1fr) clamp(40px,5vw,80px);align-items:stretch;min-height:0;min-width:0;padding:7px clamp(8px,1vw,20px);}
.mhs-tour-media {display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;overflow:hidden;touch-action:pan-y;}
.mhs-tour-image-frame {width:100%;height:100%;display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;}
.mhs-tour-feature {display:block;max-width:100%;max-height:100%;height:auto;width:auto;object-fit:contain;border-radius:7px;box-shadow:0 22px 75px rgba(0,0,0,.25);animation:mhs-tour-enter .42s cubic-bezier(.22,1,.36,1);}
@keyframes mhs-tour-enter {from {opacity:.5;scale:.975;filter:blur(3px)}to{opacity:1;scale:1;filter:blur(0)}}
.mhs-tour-video-frame {position:relative;width:min(100%,calc((100dvh - 230px)*1.777777));max-height:100%;aspect-ratio:16/9;overflow:hidden;border:1px solid rgba(255,255,255,.15);border-radius:14px;box-shadow:0 30px 70px rgba(0,0,0,.4);background:#000;}
.mhs-tour-video-frame iframe {position:absolute;inset:0;width:100%;height:100%;border:0;background:#000;}
.mhs-tour-arrow {justify-self:center;align-self:center;display:grid;place-items:center;width:46px;height:58px;color:#eafff4;background:rgba(255,255,255,.065);border:1px solid rgba(255,255,255,.18);border-radius:14px;cursor:pointer;font-size:27px;transition:transform .3s ease,background .3s ease;}
.mhs-tour-arrow:hover {background:rgba(20,137,88,.75);transform:scale(1.04)}
.mhs-tour-arrow:disabled {opacity:.25;cursor:default;transform:none;}
.mhs-tour-bottom {position:relative;z-index:3;display:flex;flex-direction:column;align-items:center;gap:8px;padding:7px max(17px,3.5vw) 12px;min-height:90px;background:linear-gradient(0deg,rgba(3,25,16,.98),rgba(3,25,16,.7));border-top:1px solid rgba(255,255,255,.09);}
.mhs-tour-description {text-align:center;color:#e5f5eb;max-width:min(700px,85vw);font-size:13px;line-height:1.7;}
.mhs-tour-description strong {font-size:15px;}
.mhs-tour-description p {margin:2px 0 0;color:#bbd3c6;font-size:12px;}
.mhs-tour-thumbs {box-sizing:border-box;display:flex;align-items:center;gap:8px;max-width:min(94vw,920px);width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:rgba(64,208,138,.75) transparent;overscroll-behavior-inline:contain;padding:3px 4px 8px;}
.mhs-tour-thumb {box-sizing:border-box;position:relative;flex:0 0 68px;width:68px;height:52px;border:2px solid transparent;border-radius:9px;overflow:hidden;background:#204735;opacity:.5;padding:0;cursor:pointer;transition:opacity .3s ease,border-color .3s ease,scale .3s ease;}
.mhs-tour-thumb:hover,.mhs-tour-thumb:focus-visible {opacity:.85;outline:none;border-color:rgba(255,255,255,.6);}
.mhs-tour-thumb.is-active {opacity:1;border-color:#39da94;box-shadow:0 0 0 2px rgba(57,218,148,.2);}
.mhs-tour-thumb img {display:block;width:100%;height:100%;object-fit:cover;}
.mhs-tour-thumb small {position:absolute;right:3px;bottom:3px;direction:ltr;font:bold 10px Arial,sans-serif;color:#fff;text-shadow:0 1px 5px #000;padding:1px 3px;background:rgba(0,0,0,.45);border-radius:3px;}
.mhs-tour-thumb-placeholder {display:grid;place-items:center;height:100%;font-size:20px;color:#e0fff0;background:linear-gradient(140deg,#135b3f,#072c21);}
.mhs-tour-progress {height:3px;max-width:min(94vw,920px);width:100%;border-radius:6px;overflow:hidden;background:rgba(255,255,255,.17);}
.mhs-tour-progress>span {display:block;width:0;height:100%;background:linear-gradient(90deg,#26c87f,#db545d);border-radius:6px;}
.mhs-tour-hint {font-size:10px;color:#96baa5;line-height:1.4;text-align:center;}
.mhs-tour-is-video .mhs-tour-progress {opacity:.45;}
@media(max-width:760px) {
 .mhs-tour-stage {grid-template-columns:34px minmax(0,1fr) 34px;padding-inline:0;}
 .mhs-tour-arrow {width:30px;height:48px;border-radius:8px;font-size:20px;background:rgba(24,105,65,.42);z-index:2;}
 .mhs-tour-top {padding:10px 12px;gap:8px;}
 .mhs-tour-identity,.mhs-tour-tools {gap:7px;}
 .mhs-tour-label {font-size:12px;}
 .mhs-tour-tools>button {min-width:32px;min-height:35px;padding:7px 8px;}
 .mhs-tour-tools>.mhs-tour-auto {font-size:10px;}
 .mhs-tour-tools>.mhs-tour-close {font-size:23px;}
 .mhs-tour-bottom {padding:8px 9px 12px;gap:7px;}
 .mhs-tour-thumbs {max-width:100%;}
 .mhs-tour-thumb {flex-basis:55px;width:55px;height:45px;}
 .mhs-tour-video-frame {width:100%;border-radius:5px;}
 .mhs-tour-feature {border-radius:3px;}
 .mhs-tour-hint {display:none;}
}
@media(max-width:360px) {
 .mhs-tour-label {font-size:11px;}
 .mhs-tour-live {display:none;}
 .mhs-tour-tools > .mhs-tour-auto {max-width:80px;white-space:normal;font-size:9px;line-height:1.2;}
 .mhs-tour-arrow {width:27px;}
 .mhs-tour-stage {grid-template-columns:28px minmax(0,1fr) 28px;}
}
@media(prefers-reduced-motion:reduce) { .mhs-tour-feature {animation:none;} .mhs-tour-thumb,.mhs-tour-arrow,.mhs-start-tour {transition:none;} }
/* Prevent horizontal filmstrip's min-content width from expanding the modal on small screens. */
.mhs-tour-shell {grid-template-columns:minmax(0,1fr);min-width:0;}
.mhs-tour-top,.mhs-tour-stage,.mhs-tour-bottom {min-width:0;width:100%;box-sizing:border-box;}
.mhs-tour-thumbs {min-width:0;}

/* 1.3.0 — thumbnail metadata from Aparat channel API */
.video-play .mhs-video-duration{position:absolute;left:11px;bottom:11px;direction:ltr;unicode-bidi:isolate;background:rgba(9,21,18,.87);color:#fff;font:700 12px/1.4 system-ui,sans-serif;border-radius:6px;padding:4px 7px;z-index:2;pointer-events:none}

/* 1.3.2: keep fallback visible behind missing Aparat CDN thumbnails. */
.video-poster .video-play img{position:relative;z-index:1;display:block;object-fit:cover}
.video-poster .video-play .play-circle{z-index:3;pointer-events:none}
.video-card{cursor:pointer}
.video-card:focus-within{outline:2px solid var(--green);outline-offset:2px}

.video-meta:empty{display:none}
