/* Editorial redesign — original styling inspired by minimalist photographic portfolios */
:root{--paper:#f1f0eb;--ink:#171816;--accent:#b99a6c}
html{scroll-behavior:smooth}
body.editorial-design{background:var(--paper);color:var(--ink);font-family:"Poppins",sans-serif}
.editorial-topbar{height:84px;padding:0 clamp(22px,5vw,96px);display:flex;align-items:center;justify-content:space-between;background:#f1f0eb;border-bottom:1px solid #d7d4cd}
.editorial-wordmark{font-size:18px;font-weight:600;letter-spacing:.14em;color:#181818;text-decoration:none}
.editorial-wordmark span{font-size:10px;letter-spacing:.12em;font-weight:400;color:#777}
.editorial-toplink{color:#191919;font-size:11px;letter-spacing:.16em;font-weight:600;text-decoration:none}
.editorial-hero{min-height:min(740px,85vh);display:grid;grid-template-columns:1fr 43%;background:#151817;color:#fff;overflow:hidden}
.editorial-hero-inner{padding:clamp(50px,8vw,130px) 6vw 70px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.editorial-eyebrow{font-size:10px;letter-spacing:.24em;color:#c6bca9;margin-bottom:38px}
.editorial-hero h2{font-family:Georgia,serif;font-size:clamp(76px,10vw,180px);font-weight:400;letter-spacing:-.075em;line-height:.88;color:#f5f1e8;margin:0 0 36px}
.editorial-hero h2 em{font-weight:400;color:#c7ad88}
.editorial-hero-desc{font-size:clamp(14px,1.3vw,18px);line-height:1.8;max-width:400px;color:#d2d0ca}
.editorial-hero-cta{display:flex;align-items:center;gap:48px;margin-top:42px;padding:17px 0;border-bottom:1px solid #a89980;color:#fff;font-size:11px;letter-spacing:.18em;text-decoration:none}
.editorial-hero-cta span{font-size:22px}
.editorial-hero-art{position:relative;background:radial-gradient(ellipse at 60% 42%,#65665e 0%,#373d39 37%,#222723 67%,#101411 100%);display:flex;align-items:center;justify-content:center;overflow:hidden}
.editorial-hero-art:before,.editorial-hero-art:after{content:"";position:absolute;width:85%;aspect-ratio:1;border:1px solid #ffffff2b;border-radius:50%;transform:rotate(-25deg) scaleX(.64)}
.editorial-hero-art:after{width:112%;transform:rotate(35deg) scaleX(.67)}
.editorial-hero-art>span{font-family:Georgia,serif;font-size:clamp(130px,22vw,380px);font-weight:400;letter-spacing:-.14em;color:#e5e1d6;text-shadow:20px 28px 55px #0008;transform:translateX(-.06em)}
.editorial-art-caption{position:absolute;bottom:35px;right:35px;font-size:9px;letter-spacing:.22em;color:#ddd6c9}
body.editorial-design main{margin:0 auto;padding:100px 5vw 110px;max-width:1480px;display:grid;grid-template-columns:280px minmax(0,1fr);gap:40px}
body.editorial-design .sidebar,body.editorial-design .main-content{background:#fff;border:1px solid #e1ded7;box-shadow:none;border-radius:0}
body.editorial-design .sidebar{position:sticky;top:22px;align-self:start;max-height:calc(100vh - 44px);overflow:auto}
body.editorial-design .main-content{min-width:0}
body.editorial-design .navbar{background:#f8f7f4;border-radius:0;border-bottom:1px solid #e8e5df}
body.editorial-design .navbar-link.active{color:#a07845}
body.editorial-design .navbar-link:hover{color:#a07845}
body.editorial-design .article-title{color:#191919;font-family:Georgia,serif;font-weight:400;font-size:clamp(35px,4vw,62px)}
body.editorial-design .article-title:after{background:#b99a6c}
body.editorial-design .h3,body.editorial-design .h4,body.editorial-design .name,body.editorial-design .contact-title{color:#222}
body.editorial-design .about-text p,body.editorial-design .timeline-text,body.editorial-design .service-item-text,body.editorial-design .project-status,body.editorial-design .form-text{color:#555}
body.editorial-design .service-item,body.editorial-design .content-card,body.editorial-design .project-item{background:#f6f5f2;border:1px solid #e8e5de;box-shadow:none;border-radius:2px}
body.editorial-design .title,body.editorial-design .icon-box{background:#eae7df;color:#7f684c}
body.editorial-design .timeline-item-title,body.editorial-design .contact-link,body.editorial-design .navbar-link,body.editorial-design .social-link,body.editorial-design address{color:#363636}
body.editorial-design .timeline-list:before{background:#ded8cd}
body.editorial-design .timeline-item:after{background:#b99a6c}
body.editorial-design .timeline-item>span{color:#96764d}
body.editorial-design .avatar-box{background:#ece8df}
body.editorial-design .project-profile-link{color:#84653d}
.editorial-footer{background:#151817;color:#c9c9c3;padding:35px 5vw;display:flex;gap:20px;justify-content:space-between;font-size:10px;letter-spacing:.13em}
.editorial-footer a{color:#e6d5bd;text-decoration:none}
@media(max-width:1000px){body.editorial-design main{grid-template-columns:1fr;padding:50px 4vw}body.editorial-design .sidebar{position:static;max-height:none}.editorial-hero{grid-template-columns:1fr 38%}.editorial-wordmark span{display:none}}
@media(max-width:650px){.editorial-topbar{height:66px}.editorial-wordmark{font-size:14px}.editorial-toplink{font-size:9px}.editorial-hero{grid-template-columns:1fr;min-height:0}.editorial-hero-inner{min-height:520px;padding:65px 7vw}.editorial-hero h2{font-size:clamp(72px,17vw,112px)}.editorial-hero-art{height:260px}.editorial-hero-art>span{font-size:170px}.editorial-art-caption{bottom:18px;right:20px;font-size:8px}body.editorial-design main{padding:35px 14px 70px;gap:20px}.editorial-footer{flex-wrap:wrap;line-height:2}}

/* Readability and accessible contrast overrides */
body.editorial-design .main-content,
body.editorial-design .sidebar{color:#202020}
body.editorial-design .main-content p,
body.editorial-design .sidebar p,
body.editorial-design .timeline-text,
body.editorial-design .service-item-text,
body.editorial-design .project-status,
body.editorial-design .form-text,
body.editorial-design .contact-info address,
body.editorial-design .about-text p{color:#343434!important;line-height:1.8}
body.editorial-design .main-content h2,
body.editorial-design .main-content h3,
body.editorial-design .main-content h4,
body.editorial-design .main-content h5,
body.editorial-design .sidebar h1,
body.editorial-design .sidebar h2{color:#161616!important}
body.editorial-design .navbar-link{color:#282828!important;font-weight:600}
body.editorial-design .navbar-link.active{color:#765321!important}
body.editorial-design .contact-title{color:#555!important}
body.editorial-design .contact-link,
body.editorial-design .social-link,
body.editorial-design .project-profile-link,
body.editorial-design .project-list a{color:#60441f!important}
body.editorial-design .timeline-item>span{color:#765321!important}
body.editorial-design .project-item p,
body.editorial-design .project-item span,
body.editorial-design .skills-item h5{color:#292929!important}
body.editorial-design .form-input,
body.editorial-design textarea{background:#fff!important;color:#171717!important;border:1px solid #777!important}
body.editorial-design .form-input::placeholder,
body.editorial-design textarea::placeholder{color:#595959!important}
body.editorial-design .form-btn{color:#332511!important;background:#e7d2a8!important}
body.editorial-design .editorial-hero h2{color:#f5f1e8!important}
body.editorial-design .editorial-hero-desc{color:#f1eee8!important}
body.editorial-design .editorial-eyebrow{color:#e5d7c1!important}
body.editorial-design a:focus-visible,
body.editorial-design button:focus-visible{outline:3px solid #a47c40;outline-offset:3px}
@media(max-width:650px){body.editorial-design .main-content p,body.editorial-design .sidebar p{font-size:15px}}

/* Photos gallery */
body.editorial-design .navbar-list{flex-wrap:wrap}
body.editorial-design .photo-intro{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin:12px 0 24px}
body.editorial-design .photo-intro p{color:#333;line-height:1.7;max-width:520px}
body.editorial-design .photo-upload-link{display:inline-block;background:#242522;color:#fff;padding:13px 18px;font-size:12px;letter-spacing:.05em;text-decoration:none;border-radius:3px}
body.editorial-design .photo-upload-link:hover{background:#604b2d}
body.editorial-design .photo-status{color:#555;margin:12px 0 24px;font-size:14px}
body.editorial-design .photo-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
body.editorial-design .photo-tile{border:0;padding:0;background:#eceae5;position:relative;aspect-ratio:4/5;cursor:zoom-in;overflow:hidden;text-align:left}
body.editorial-design .photo-tile img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
body.editorial-design .photo-tile:hover img{transform:scale(1.045)}
body.editorial-design .photo-tile span{position:absolute;bottom:0;left:0;right:0;padding:30px 12px 12px;color:white;background:linear-gradient(transparent,#000a);font-size:13px;text-transform:capitalize}
body.editorial-design .photo-lightbox{border:0;border-radius:4px;background:#171717;color:#fff;padding:20px;max-width:min(1000px,94vw);max-height:92vh;position:fixed}
body.editorial-design .photo-lightbox::backdrop{background:#000d}
body.editorial-design .photo-lightbox img{display:block;max-width:100%;max-height:75vh;object-fit:contain;margin:auto}
body.editorial-design .photo-lightbox p{color:#fff!important;text-align:center;margin-top:12px}
body.editorial-design .photo-close{position:absolute;right:10px;top:5px;color:white;background:#000a;border:0;font-size:30px;cursor:pointer;padding:0 10px}
@media(max-width:850px){body.editorial-design .photo-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){body.editorial-design .photo-gallery{grid-template-columns:1fr 1fr;gap:8px}body.editorial-design .photo-tile span{font-size:11px}body.editorial-design .photo-upload-link{width:100%;text-align:center}}

/* Fix contrast on the dark content panel (sidebar stays light). */
body.editorial-design .main-content{background:#1f1f1f!important;color:#f6f6f6!important;border-color:#343434!important}
body.editorial-design .main-content .article-title,
body.editorial-design .main-content .h3,
body.editorial-design .main-content .h4,
body.editorial-design .main-content .h5,
body.editorial-design .main-content h2,
body.editorial-design .main-content h3,
body.editorial-design .main-content h4,
body.editorial-design .main-content h5{color:#fff!important}
body.editorial-design .main-content p,
body.editorial-design .main-content .about-text p,
body.editorial-design .main-content .timeline-text,
body.editorial-design .main-content .service-item-text,
body.editorial-design .main-content .project-status,
body.editorial-design .main-content .form-text,
body.editorial-design .main-content .photo-status,
body.editorial-design .main-content .photo-intro p{color:#e5e5e5!important}
body.editorial-design .main-content .service-item,
body.editorial-design .main-content .content-card,
body.editorial-design .main-content .project-item{background:#2a2a2a!important;border:1px solid #555!important}
body.editorial-design .main-content .project-item p,
body.editorial-design .main-content .project-item span,
body.editorial-design .main-content .skills-item h5{color:#f0f0f0!important}
body.editorial-design .main-content .timeline-item-title{color:#fff!important}
body.editorial-design .main-content .timeline-item>span{color:#f1c783!important}
body.editorial-design .main-content .project-list a,
body.editorial-design .main-content .project-profile-link{color:#f1c783!important}
body.editorial-design .main-content .navbar{background:#f8f7f4!important}
body.editorial-design .main-content .navbar-link{color:#282828!important}
body.editorial-design .main-content .navbar-link.active{color:#765321!important}
body.editorial-design .main-content .form-input{background:#2a2a2a!important;color:#fff!important;border-color:#8a8a8a!important}
body.editorial-design .main-content .form-input::placeholder{color:#ddd!important}
body.editorial-design .main-content .photo-upload-link{background:#e8d6b6;color:#171717!important}

/* Navigation in its own top row — never overlap page titles. */
body.editorial-design .main-content{display:flex!important;flex-direction:column!important;overflow:hidden}
body.editorial-design .main-content .navbar{position:relative!important;inset:auto!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;width:100%!important;max-width:100%!important;flex:none!important;z-index:2!important;box-shadow:none!important;border-radius:0!important;padding:0 18px!important}
body.editorial-design .main-content .navbar-list{display:flex!important;justify-content:flex-end!important;flex-wrap:wrap!important;gap:0 8px!important}
body.editorial-design .main-content .navbar-link{padding:18px 12px!important;white-space:nowrap!important}
body.editorial-design .main-content article{width:100%!important;max-width:100%!important;margin:0!important;box-sizing:border-box!important}
body.editorial-design .main-content article.active{display:block!important}
body.editorial-design .main-content article header{padding-top:12px}
@media(max-width:650px){
body.editorial-design .main-content .navbar{padding:0 8px!important}
body.editorial-design .main-content .navbar-list{justify-content:center!important;gap:0 2px!important}
body.editorial-design .main-content .navbar-link{padding:14px 8px!important;font-size:12px!important}
body.editorial-design .main-content article header{padding-top:8px}
}

/* Engaging homepage refresh */
.editorial-hero{grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);min-height:690px}
.editorial-hero-inner{padding:clamp(60px,7vw,115px) 5vw 55px}
.editorial-hero h2{font-size:clamp(58px,6.5vw,112px);line-height:1.03;letter-spacing:-.065em;max-width:850px}
.editorial-hero-desc{max-width:560px}
.editorial-hero-cta{border:1px solid #c6a36f;border-radius:12px;padding:17px 24px;gap:30px;transition:background .25s,transform .25s}
.editorial-hero-cta:hover{background:#b99a6c;color:#111;transform:translateY(-3px)}
.editorial-hero-art>span{font-size:clamp(130px,19vw,310px)}
.editorial-values{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;padding:20px 5vw 55px;background:#151817}
.editorial-value{padding:22px;border:1px solid #ffffff2b;border-radius:14px;background:linear-gradient(135deg,#ffffff0c,#ffffff03);transition:transform .25s,border-color .25s}
.editorial-value:hover{transform:translateY(-5px);border-color:#c7ad88}
.editorial-value>span{display:block;color:#c7ad88;font-size:30px;margin-bottom:12px}
.editorial-value h3{color:#fff;font-size:19px;margin-bottom:7px}
.editorial-value p{color:#ddd;font-size:13px;line-height:1.6}
.editorial-hero-inner,.editorial-hero-art{animation:hero-reveal .75s ease both}
@keyframes hero-reveal{from{opacity:0;transform:translateY(15px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:850px){.editorial-values{grid-template-columns:repeat(2,minmax(0,1fr))}.editorial-hero h2{font-size:clamp(52px,8vw,84px)}}
@media(max-width:650px){.editorial-hero{grid-template-columns:1fr}.editorial-hero-inner{min-height:440px;padding:55px 7vw 45px}.editorial-hero h2{font-size:clamp(48px,11vw,74px)}.editorial-hero-art{height:220px}.editorial-values{padding:24px 6vw 40px;gap:10px}.editorial-value{padding:16px}.editorial-value h3{font-size:17px}.editorial-value p{font-size:12px}}
@media(prefers-reduced-motion:reduce){.editorial-hero-inner,.editorial-hero-art{animation:none}.editorial-value,.editorial-hero-cta{transition:none}}

/* Cinematic motion system: subtle, performant, and readable */
@keyframes ambient-drift{0%,100%{transform:translate3d(-2%,0,0) scale(1)}50%{transform:translate3d(3%,-2%,0) scale(1.08)}}
@keyframes orbit-slow{from{transform:rotate(0deg) scaleX(.64)}to{transform:rotate(360deg) scaleX(.64)}}
@keyframes glow-pulse{0%,100%{opacity:.35}50%{opacity:.72}}
@keyframes reveal-up{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}
@keyframes arrow-nudge{0%,100%{transform:translate(0,0)}50%{transform:translate(5px,-5px)}}
@keyframes accent-sweep{from{background-position:200% center}to{background-position:-200% center}}
.editorial-hero{isolation:isolate}
.editorial-hero-art{isolation:isolate}
.editorial-hero-art:before{animation:orbit-slow 35s linear infinite;will-change:transform}
.editorial-hero-art:after{animation:orbit-slow 48s linear infinite reverse;will-change:transform}
.editorial-hero-art>span{position:relative;z-index:1;animation:glow-pulse 7s ease-in-out infinite}
.editorial-hero-art .editorial-art-caption{z-index:2}
.editorial-hero-inner>*{animation:reveal-up .8s cubic-bezier(.2,.7,.2,1) both}
.editorial-hero-inner>*:nth-child(2){animation-delay:.12s}
.editorial-hero-inner>*:nth-child(3){animation-delay:.25s}
.editorial-hero-inner>*:nth-child(4){animation-delay:.38s}
.editorial-hero h2 em{background:linear-gradient(100deg,#d9bd91,#fff1d5,#c7ad88,#e9d4ae);background-size:220% auto;background-clip:text;-webkit-background-clip:text;color:transparent!important;-webkit-text-fill-color:transparent;animation:accent-sweep 12s ease-in-out infinite}
.editorial-hero-cta span{display:inline-block;animation:arrow-nudge 2.6s ease-in-out infinite}
.editorial-value{transition:transform .35s cubic-bezier(.2,.7,.2,1),border-color .35s,box-shadow .35s}
.editorial-value:hover{transform:translateY(-8px);box-shadow:0 16px 40px #0005}
body.editorial-design .main-content .service-item,
body.editorial-design .main-content .project-item,
body.editorial-design .photo-tile{transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease}
body.editorial-design .main-content .service-item:hover,
body.editorial-design .main-content .project-item:hover{transform:translateY(-5px);border-color:#c7ad88!important;box-shadow:0 12px 30px #0003}
body.editorial-design .main-content .navbar-link{position:relative;transition:color .25s ease}
body.editorial-design .main-content .navbar-link:after{content:"";position:absolute;bottom:8px;left:12px;right:12px;height:2px;background:#a47c40;transform:scaleX(0);transform-origin:center;transition:transform .3s ease}
body.editorial-design .main-content .navbar-link:hover:after,
body.editorial-design .main-content .navbar-link.active:after{transform:scaleX(1)}
body.editorial-design .main-content article.active{animation:reveal-up .42s ease both}
@media(prefers-reduced-motion:reduce){
.editorial-hero-art:before,.editorial-hero-art:after,.editorial-hero-art>span,
.editorial-hero-inner>*,.editorial-hero h2 em,.editorial-hero-cta span,
body.editorial-design .main-content article.active{animation:none!important}
.editorial-value,body.editorial-design .main-content .service-item,
body.editorial-design .main-content .project-item,
body.editorial-design .main-content .navbar-link,
body.editorial-design .main-content .navbar-link:after{transition:none!important}
.editorial-value:hover,body.editorial-design .main-content .service-item:hover,
body.editorial-design .main-content .project-item:hover{transform:none!important}
}
