/* ReMa editorial redesign — public pages only. */
body:not(.admin-page){--bg:#faf9f6;--ink:#272624;--muted:#6c6962;--line:#e0ddd6;--page-gutter:clamp(20px,5vw,88px);--tile-gap:clamp(12px,1.5vw,25px);background:var(--bg);color:var(--ink);}
body:not(.admin-page) .site-header{direction:ltr;display:flex;align-items:center;justify-content:flex-end;gap:24px;background:var(--bg);padding:18px var(--page-gutter);min-height:76px;}
html[dir=rtl] body:not(.admin-page) .site-header{direction:ltr;}
body:not(.admin-page) .site-header .brand{margin-right:auto;flex:none;direction:ltr;}
body:not(.admin-page) .site-header .main-nav{margin-left:auto;gap:clamp(14px,2vw,30px);align-items:center;justify-content:flex-end;}
body:not(.admin-page) .site-header .language-toggle{margin:0;border:0;border-left:1px solid var(--line);padding:8px 0 8px 14px;flex:none;}
body:not(.admin-page) .site-header:after{inset-inline:var(--page-gutter);}
body:not(.admin-page) .intro{padding:var(--site-header-height,76px) 0 0;min-height:0;}
body:not(.admin-page) main#top{max-width:none;}
body:not(.admin-page) .hero-image-wrap{display:block;position:relative;width:100%;height:calc(100svh - var(--site-header-height,76px));min-height:400px;max-height:1000px;background:#dedbd2;}
body:not(.admin-page) .hero-image{position:absolute;inset:0;display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;filter:none;transform:none!important;transition:opacity .55s ease;opacity:.4;}
body:not(.admin-page) .hero-image.is-ready{opacity:1;}
body:not(.admin-page) .hero-shade{display:block;position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.47),transparent 43%);pointer-events:none;}
body:not(.admin-page) .hero-caption{position:absolute;inset:auto var(--page-gutter) 44px;display:flex;flex-direction:row;justify-content:space-between;align-items:flex-end;padding:0;gap:20px;color:white;pointer-events:none;}
body:not(.admin-page) .intro h1{font-size:clamp(28px,3.7vw,57px);font-weight:400;line-height:1.06;color:#fff;letter-spacing:-.035em;}
body:not(.admin-page) #hero-eyebrow{color:#fff;font-size:10px;margin:0 0 12px;}
body:not(.admin-page) .hero-side{margin:0 0 45px;align-items:flex-end;gap:8px;pointer-events:auto;}
body:not(.admin-page) .hero-side p{color:#fff;max-width:290px;}
body:not(.admin-page) .scroll-link{color:#fff;border-color:#fff;white-space:nowrap;}
.hero-controls{direction:ltr;position:absolute;z-index:5;bottom:16px;right:var(--page-gutter);display:flex;align-items:center;gap:9px;color:white;font-size:11px;font-variant-numeric:tabular-nums;}
.hero-controls button{border:1px solid #ffffff80;border-radius:50%;width:34px;height:34px;color:white;background:#0002;cursor:pointer;font:inherit;font-size:15px;}
.hero-controls button:hover{background:#fff;color:#272624;}
body:not(.admin-page) #work{max-width:1600px;margin:auto;padding-top:clamp(55px,8vw,120px)!important;}
.work-intro{max-width:760px;margin:0 auto clamp(42px,6vw,84px);text-align:center;}
#work-kicker{font-size:10px;letter-spacing:.15em;color:var(--muted);}
#work-belief{font-size:clamp(32px,4.5vw,64px);line-height:1.08;font-weight:400;letter-spacing:-.045em;margin:18px 0 20px;text-wrap:balance;}
#work-belief-copy{font-size:clamp(15px,1.35vw,19px);line-height:1.65;color:var(--muted);margin:0 auto;max-width:630px;text-wrap:pretty;}
body:not(.admin-page) #work .work-toolbar{background:var(--bg)!important;position:relative!important;top:auto!important;box-shadow:none!important;}
body:not(.admin-page) #work .project-open{color:inherit;text-decoration:none;}
body:not(.admin-page) #work .project-open:hover .project-image{transform:scale(1.035);}
body:not(.admin-page) #work .project-overlay{background:rgba(30,29,27,.64);}
body:not(.admin-page) #work .project-list > .category-heading{font-weight:400;letter-spacing:.09em;}
body:not(.admin-page) #work .project-meta{max-width:100%;}
body:not(.admin-page) #work .project-open:focus-visible{outline:2px solid var(--ink);outline-offset:4px;}
@media(max-width:800px){body:not(.admin-page) .site-header{display:grid;grid-template-columns:1fr auto;gap:4px 12px;min-height:0;padding:12px var(--page-gutter) 8px;}body:not(.admin-page) .site-header .brand{grid-column:1;grid-row:1;}body:not(.admin-page) .site-header .language-toggle{grid-column:2;grid-row:1;}body:not(.admin-page) .site-header .main-nav{grid-column:1/-1;grid-row:2;justify-content:flex-start;gap:15px;margin:0;max-width:100%;overflow:auto;white-space:nowrap;}body:not(.admin-page) .hero-image-wrap{height:calc(80svh - var(--site-header-height,115px));min-height:350px;}body:not(.admin-page) .hero-caption{inset:auto var(--page-gutter) 57px;align-items:flex-start;flex-direction:column;gap:14px;}body:not(.admin-page) .hero-side{margin:0;align-items:flex-start;}body:not(.admin-page) .hero-controls{bottom:12px;}body:not(.admin-page) #work{padding-top:54px!important;}}
@media(hover:none),(pointer:coarse){body:not(.admin-page) #work .project-overlay{background:linear-gradient(transparent,rgba(30,28,24,.83));}body:not(.admin-page) #work .project-meta{display:block;text-align:start;font-size:9px;}body:not(.admin-page) #work .project-title{font-size:23px;}}
@media(prefers-reduced-motion:reduce){body:not(.admin-page) .hero-image{transition:none;}body:not(.admin-page) #work .project-open:hover .project-image{transform:none;}}
