/* Marzieh Rahmani — portfolio refresh. Shared styles follow the original template CSS. */
:root{--mr-bg:#101112;--mr-panel:#191b1d;--mr-text:#f4f5f3;--mr-muted:#a8aeac;--mr-accent:rgb(75, 255, 165);--mr-line:#303435;--mr-width:1360px;color-scheme:dark}
html{scroll-behavior:smooth;scroll-padding-top:110px}
.mr-home,.mr-legacy{margin:0;background:var(--mr-bg);color:var(--mr-text);font-family:Inter,"Helvetica Neue",Arial,sans-serif;font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}
.mr-home *,.mr-header *,.mr-footer *{box-sizing:border-box}
.mr-home a,.mr-header a,.mr-footer a{color:inherit;text-decoration:none}
.mr-home button,.mr-header button{font:inherit;cursor:pointer}
.mr-home img{display:block;max-width:100%;height:auto}
.mr-home h1,.mr-home h2,.mr-home h3,.mr-home p,.mr-header p,.mr-footer p{margin:0}
.mr-home button:focus-visible,.mr-home a:focus-visible,.mr-legacy a:focus-visible,.mr-legacy button:focus-visible{outline:2px solid var(--mr-accent);outline-offset:6px}
.mr-home ::selection,.mr-legacy ::selection{background:var(--mr-accent);color:var(--mr-bg)}
.mr-sr-only,.mr-skip:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.mr-skip:focus{position:fixed;top:16px;left:16px;padding:12px 20px;background:var(--mr-accent);color:#101112;z-index:9999}
.mr-header{position:sticky;top:0;z-index:100;background:rgba(16,17,18,.9);border-bottom:1px solid var(--mr-line);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
.mr-header-inner{width:min(var(--mr-width),calc(100% - 96px));min-height:88px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px}
.mr-brand{font-size:23px;font-weight:650;letter-spacing:-1px;white-space:nowrap}
.mr-brand-period{color:var(--mr-accent)}
.mr-nav{display:flex;align-items:center;gap:30px}
.mr-nav a{font-size:14px;font-weight:500;color:var(--mr-muted);transition:color .2s}
.mr-nav a:hover,.mr-nav a[aria-current=page]{color:var(--mr-text)}
.mr-nav a[aria-current=page]{text-decoration:underline;text-decoration-color:var(--mr-accent);text-underline-offset:8px}
.mr-nav a.mr-cv{padding:10px 18px;border:1px solid #555d58;border-radius:100px;color:var(--mr-text);display:flex;gap:20px}
.mr-nav a.mr-cv:hover{background:var(--mr-accent);color:var(--mr-bg);border-color:var(--mr-accent)}
.mr-menu-toggle{display:none}
.mr-home main{width:min(var(--mr-width),calc(100% - 96px));margin:auto}
.mr-hero{padding:68px 0 54px;position:relative}
.mr-hero-top,.mr-hero-bottom{display:flex;align-items:center;justify-content:space-between;gap:32px}
.mr-eyebrow{font-size:12px;font-weight:600;letter-spacing:.14em;line-height:1.6;color:var(--mr-muted)}
.mr-availability{display:flex;align-items:center;gap:10px;color:var(--mr-muted);font-size:14px}
.mr-availability span{width:7px;height:7px;border-radius:50%;background:var(--mr-accent);box-shadow:0 0 0 5px #4bffa50a}
.mr-hero h1{font-size:clamp(46px,6.4vw,92px);font-weight:500;letter-spacing:-.065em;line-height:1.07;margin:32px 0 30px;max-width:1150px}
.mr-hero h1>span{color:var(--mr-accent)}
.mr-hero-bottom p{max-width:590px;font-size:17px;color:var(--mr-muted);line-height:1.7}
.mr-location{font-size:14px;color:var(--mr-muted);white-space:nowrap;align-self:flex-end}
.mr-work{padding:32px 0 84px;border-top:1px solid var(--mr-line)}
.mr-work-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:30px}
.mr-work-heading h2{font-size:26px;font-weight:500;letter-spacing:-.04em}
.mr-work-heading h2>span{color:#5e6964;padding-left:10px}
.mr-filters{display:flex;gap:5px;padding:5px;border:1px solid var(--mr-line);border-radius:100px;background:#17191a}
.mr-filters button{border:0;padding:10px 16px;background:transparent;color:var(--mr-muted);border-radius:100px;font-size:14px;font-weight:500;transition:background .2s,color .2s;white-space:nowrap}
.mr-filters button span{margin-left:6px;font-size:12px;opacity:.65;font-variant-numeric:tabular-nums}
.mr-filters button[aria-pressed=true]{background:var(--mr-text);color:var(--mr-bg)}
.mr-filters button:not([aria-pressed=true]):hover{color:var(--mr-text);background:#25292a}
.mr-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 28px;align-items:start}
.mr-project{min-width:0;position:relative}
.mr-project[hidden]{display:none!important}
.mr-project-image{display:block;overflow:hidden;border-radius:22px;background:var(--mr-panel);isolation:isolate}
.mr-project-image img{width:100%;height:auto;transition:filter .45s;filter:saturate(.97)}
.mr-project-image:hover img{filter:saturate(1.08) brightness(1.025)}
.mr-project-image:focus-visible{outline-offset:5px}
.mr-project-copy{padding:23px 2px 4px}
.mr-project-copy h3{font-size:32px;letter-spacing:-.05em;font-weight:500;line-height:1.2;margin-top:8px}
.mr-project-description{color:var(--mr-muted);font-size:16px;line-height:1.7;margin-top:12px!important;max-width:540px}
.mr-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:22px}
.mr-tags span{font-size:12px;color:var(--mr-muted);border:1px solid #383e3b;border-radius:100px;padding:5px 11px}
.mr-project-link{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:14px;font-weight:600;margin-top:22px;padding:14px 0 8px;border-top:1px solid var(--mr-line)}
.mr-project-link span{font-size:24px;font-weight:400;transition:transform .25s;color:var(--mr-accent)}
.mr-project-link:hover span{transform:translate(3px,-3px)}
.mr-featured{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.62fr) minmax(0,1fr);align-items:stretch;border:1px solid var(--mr-line);border-radius:24px;overflow:hidden;background:linear-gradient(135deg,#202824 0%,#171b19 70%)}
.mr-featured .mr-project-image{border-radius:0}
.mr-featured .mr-project-image img{height:100%;object-fit:contain}
.mr-featured .mr-project-copy{padding:clamp(24px,3vw,46px);display:flex;flex-direction:column;justify-content:center}
.mr-featured .mr-project-copy h3{font-size:clamp(36px,4.1vw,58px);margin:18px 0 5px}
.mr-featured .mr-project-link{margin-top:34px}
.mr-gallery-item .mr-project-image{background:#1b1d1e}
.mr-gallery-item img{display:block;width:100%;height:auto;aspect-ratio:5/4;object-fit:cover;object-position:center}
.mr-gallery-caption{display:flex;justify-content:space-between;align-items:baseline;gap:20px;padding:18px 2px}
.mr-gallery-caption h3{font-size:20px;font-weight:500;letter-spacing:-.03em}
.mr-gallery-caption>span{font-size:13px;color:var(--mr-muted);white-space:nowrap}
.mr-footer{width:min(var(--mr-width),calc(100% - 96px));margin:0 auto;color:var(--mr-text);padding:48px 0 28px;border-top:1px solid var(--mr-line)}
.mr-footer-top{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;padding-bottom:48px}
.mr-footer .mr-eyebrow{margin-bottom:12px}
.mr-footer-title{font-size:clamp(24px,3vw,43px);letter-spacing:-.055em;line-height:1.25;display:flex;align-items:center;gap:30px}
.mr-footer-title span{color:var(--mr-accent);transition:transform .25s}
.mr-footer-title:hover span{transform:translate(3px,-3px)}
.mr-email{font-size:15px;color:var(--mr-muted)!important;overflow-wrap:anywhere}
.mr-footer-bottom{display:flex;justify-content:space-between;gap:24px;padding-top:22px;border-top:1px solid var(--mr-line);font-size:13px;color:var(--mr-muted)}
.mr-footer-bottom p{font-size:13px;margin:0}
.mr-footer-bottom nav{display:flex;gap:20px;flex-wrap:wrap}
.mr-footer a:hover{color:var(--mr-accent)}
.mr-lightbox{border:1px solid var(--mr-line);border-radius:18px;padding:54px 24px 18px;background:#141617;color:var(--mr-text);max-width:96vw;max-height:94dvh;overflow:auto}
.mr-lightbox::backdrop{background:#030506e8;backdrop-filter:blur(8px)}
.mr-lightbox img{max-width:88vw;max-height:76dvh;object-fit:contain;margin:auto}
.mr-lightbox p{text-align:center;font-size:14px;margin-top:14px}
.mr-lightbox-close{position:absolute;top:6px;right:12px;width:44px;height:44px;border:0;background:transparent;color:var(--mr-text);font-size:30px!important}
.mr-reveal{opacity:1;transform:none}
.mr-cursor{position:fixed;top:0;left:0;width:28px;height:28px;border-radius:50%;background:var(--mr-accent);opacity:0;pointer-events:none;z-index:10000;will-change:transform;transition:opacity .18s ease}
.mr-cursor.mr-cursor-visible{opacity:.27}
@media(hover:none),(pointer:coarse),(prefers-reduced-motion:reduce){.mr-cursor{display:none}}
@media(prefers-reduced-motion:no-preference){.mr-reveal.mr-pending{opacity:0;transform:translateY(20px)}.mr-reveal.mr-entered{transition:opacity .55s ease,transform .55s cubic-bezier(.2,.8,.2,1)} }
/* Original case-study and resume content, within the refreshed shared frame. */
.mr-legacy .container{padding:0;max-width:none;background:transparent}
.mr-legacy .wrapper{margin:0 auto;padding:0;width:min(1120px,calc(100% - 96px));max-width:none}
.mr-legacy .section{margin:0;padding:45px 0;background:transparent}
.mr-legacy .section>.content{max-width:100%;width:100%;padding:0;margin:0}
.mr-legacy .section.started{height:auto!important;min-height:0;padding:64px 0 36px;margin:0;border-bottom:1px solid var(--mr-line)}
.mr-legacy .section.started .centrize{position:static;height:auto;display:block}
.mr-legacy .section.started .vertical-center{display:block}
.mr-legacy .section.started .started-content{margin:0;max-width:100%}
.mr-legacy .section.started .h-title{font-family:inherit;font-size:clamp(36px,5vw,64px);line-height:1.14;letter-spacing:-.05em;font-weight:500;margin:0;color:var(--mr-text)}
.mr-legacy .section.started .h-subtitles{margin-top:16px}
.mr-legacy .video-bg,.mr-legacy .mouse_btn,.mr-legacy .cursor-follower,.mr-legacy .preloader,.mr-legacy .lines{display:none!important}
.mr-legacy .content-box{background:transparent}
.mr-legacy .single-post-text img{height:auto;max-width:100%;border-radius:12px;display:block}
.mr-legacy .single-post-text{font-family:inherit;font-size:17px;line-height:1.75}
.mr-legacy .single-post-text h1,.mr-legacy .single-post-text h2{line-height:1.25;letter-spacing:-.025em}
.mr-legacy .title_inner{font-family:inherit}
.mr-legacy .mr-footer{margin-top:48px}
.mr-legacy .mr-monogram{width:160px;height:160px;border:1px solid #3b4840;border-radius:28px;background:#202a23;display:flex;align-items:center;justify-content:center;color:var(--mr-accent);font-size:50px;font-weight:600;letter-spacing:-5px}
.mr-legacy .section.about .desc{text-align:left}
.mr-legacy .section.about .image{width:160px}
.mr-legacy .section.about .desc p{font-size:17px;line-height:1.8}
.mr-legacy .service-item{border:1px solid var(--mr-line);border-radius:20px;padding:28px!important;background:#191c1a}
.mr-legacy .service-item .text a{overflow-wrap:anywhere}
.mr-legacy .mr-page-heading{padding:64px 0 36px;margin:0;border-bottom:1px solid var(--mr-line)}
.mr-legacy .mr-page-heading h1{position:static;margin:0;font:500 clamp(36px,5vw,64px)/1.18 Inter,"Helvetica Neue",Arial,sans-serif;letter-spacing:-.05em;color:var(--mr-text);overflow-wrap:break-word}
.mr-breadcrumbs{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 12px;margin-top:24px;font-size:14px;line-height:1.7;color:var(--mr-muted)}
.mr-breadcrumbs a{color:var(--mr-accent)}
.mr-breadcrumbs [aria-current=page]{color:var(--mr-muted)}
.mr-case-study-vira .mr-study-image{display:block;margin-block:32px}
.mr-case-study-vira .gallery-item h2{margin-top:48px;margin-bottom:24px}
@media(max-width:760px){.mr-legacy .mr-page-heading{padding:40px 0 28px}.mr-breadcrumbs{margin-top:20px}.mr-case-study-vira .mr-study-image{margin-block:24px}}
@media(min-width:1700px){.mr-header-inner,.mr-home main,.mr-footer{width:min(1480px,calc(100% - 128px))}}
@media(max-width:1000px){.mr-header-inner,.mr-home main,.mr-footer{width:calc(100% - 56px)}.mr-nav{gap:20px}.mr-brand{font-size:21px}.mr-hero{padding-top:48px}.mr-hero h1{font-size:clamp(48px,7.2vw,76px)}.mr-location{display:none}.mr-featured{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}.mr-featured .mr-project-copy{padding:24px}.mr-featured .mr-project-copy h3{font-size:38px}.mr-project-description{font-size:15px}.mr-tags{margin-top:16px}.mr-featured .mr-project-link{margin-top:20px}.mr-footer-top{align-items:flex-start;flex-direction:column;gap:20px}.mr-footer-bottom{flex-direction:column;gap:16px}.mr-work-heading{align-items:flex-start;flex-direction:column;gap:18px}}
@media(max-width:760px){.mr-header-inner,.mr-home main,.mr-footer{width:calc(100% - 40px)}.mr-header-inner{min-height:76px;flex-wrap:wrap;gap:0}.mr-brand{font-size:21px}.mr-menu-toggle{display:flex;align-items:center;gap:12px;background:transparent;color:var(--mr-text);border:1px solid #414643;border-radius:100px;padding:8px 14px;font-size:14px}.mr-nav{width:100%;flex-wrap:wrap;gap:12px 22px;padding:0 0 20px}.mr-nav a{font-size:15px;padding:10px 0}.mr-nav a.mr-cv{padding:8px 14px}.mr-js .mr-nav{display:none}.mr-js .mr-nav.mr-open{display:flex}.mr-hero{padding:36px 0}.mr-hero-top{align-items:flex-start;gap:16px;flex-direction:column}.mr-hero h1{font-size:clamp(39px,7.8vw,60px);letter-spacing:-.055em;margin:26px 0 24px}.mr-hero-bottom p{font-size:16px}.mr-availability{font-size:13px}.mr-work{padding-top:28px;padding-bottom:48px}.mr-work-heading h2{font-size:24px}.mr-filters{max-width:100%;gap:2px;padding:4px}.mr-filters button{font-size:13px;padding:9px 11px}.mr-filters button span{font-size:11px;margin-left:4px}.mr-grid{grid-template-columns:minmax(0,1fr);gap:36px}.mr-featured{display:block;border-radius:20px}.mr-featured .mr-project-image img{height:auto}.mr-project-image{border-radius:18px}.mr-featured .mr-project-copy{padding:24px}.mr-featured .mr-project-copy h3{font-size:34px;margin-top:10px}.mr-project-copy h3{font-size:30px}.mr-project-description{font-size:16px}.mr-project-copy{padding-top:20px}.mr-project-link{margin-top:20px}.mr-eyebrow{font-size:11px;letter-spacing:.12em}.mr-footer{padding-top:32px}.mr-footer-top{padding-bottom:28px}.mr-footer-title{font-size:29px;gap:20px}.mr-footer-bottom nav{gap:12px 18px}.mr-footer-bottom{padding-top:20px}.mr-email{font-size:14px}.mr-legacy .wrapper{width:calc(100% - 40px)}.mr-legacy .section.started{padding-top:40px}.mr-legacy .section.about .image{width:100%;float:none;margin:0 0 24px}.mr-legacy .section.about .desc{margin-left:0}.mr-legacy .mr-monogram{width:100px;height:100px;font-size:36px;letter-spacing:-3px;border-radius:20px}.mr-legacy .info-list ul li{width:100%}.mr-legacy .service-col{width:100%;padding-left:0;padding-right:0}.mr-legacy .service-item{padding:22px!important}.mr-legacy .single-post-text{font-size:16px}}
@media(max-width:370px){.mr-filters button{padding:9px 10px;font-size:12px}.mr-filters button span{display:none}.mr-footer-title{font-size:25px}.mr-hero h1{font-size:35px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.mr-reveal{opacity:1!important;transform:none!important}}
