/* Rivendell profile direction: emerald, ivory and gold. */
:root{--green:#104538;--deep:#092d26;--gold:#d6b468;--cream:#f7f3eb;--muted:#56645c;--line:#b294533d}
body{background:#f7f3eb;color:#193b31}
.header{background:linear-gradient(105deg,#07362c,#17503f);border-top:3px solid #d6b468;border-bottom:1px solid #d6b468;color:#f7f3eb;height:124px}
.header .brand img{height:104px;width:62px}.header nav{color:#f7f3eb}
.hero{background:#171915;color:#fff8ec;isolation:isolate}
.hero-shade{background:linear-gradient(90deg,#0b100dd9,#0b100d66 58%,#0b100d14),linear-gradient(0deg,#12151066,transparent 45%)}
.hero::after{content:'';position:absolute;right:-55px;top:-50px;width:170px;height:130%;transform:rotate(20deg);border-left:1px solid #d6b468b3;background:linear-gradient(100deg,#11191438,#08120c9c);pointer-events:none;z-index:0}
.hero-copy{z-index:1}.hero .intro{color:#f1f0e6}.hero .eyebrow{color:#e2c583}
.work,.expertise,.studio{background:#f7f3eb;color:#193b31;position:relative;isolation:isolate}
.work{border-bottom:1px solid #b2945352}.work::before,.studio::before{content:'';position:absolute;inset:0 auto 0 0;width:min(25vw,320px);background:linear-gradient(68deg,transparent 49.5%,#b294532b 50%,#fff7 50.5%,transparent 78%),linear-gradient(112deg,#e5dfd247,transparent 68%);pointer-events:none;z-index:-1}
.work .eyebrow,.studio .eyebrow,.expertise .eyebrow,.project-meta{color:#76602c}
.work em,.studio em,.expertise em{color:#82652d}
.section-top .text-link{color:#193b31}.project-caption h3{color:#173f32}.project-caption span{color:#76602c}.project>p{color:#56645c}.project-open{background:#e8e3d9}.image-arrow{background:#f7f3eb;color:#193b31;border:1px solid #b2945352}
.studio{background:#eee9df;border-bottom:1px solid #b294533d}.studio-copy>p,.studio-copy .lead{color:#294638}
.section-note,.service-list p{color:#536257}.service-list>a{border-color:#b2945366}.service-list>a:last-child{border-color:#b2945366}.service-list>a>span,.service-list b{color:#80652c}.service-list a:hover h3{color:#80652c}.service-list>a:hover{background:#d4c39612}
.contact{position:relative;overflow:hidden;background:linear-gradient(120deg,#0a352b,#15523f);color:#f7f3eb;border-top:2px solid #c8a453;border-bottom:1px solid #c8a453}.contact::before{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(65deg,transparent 75%,#d6b46830 75.1%,transparent 75.3%),linear-gradient(115deg,transparent 85%,#ffffff08 85.1%,transparent 86%)}.contact>*{position:relative}.contact-details,.contact .eyebrow{color:#e1d9c4}.contact em{color:#e1c27c}
footer{background:#082e25;color:#dadcca;border-top:0}.footer-brand{color:#f7f3eb}
.project-detail{color:#193b31}.project-detail h1{color:#193b31}.project-detail .entry a{color:#715920;text-decoration:underline}.project-detail .entry img{height:auto;max-width:100%}
#project-dialog,#editor{background:#f7f3eb;color:#193b31}#project-dialog .eyebrow{color:#76602c}#editor>p{color:#536257}#editor .edit-row{border-color:#b2945352}#editor .edit-row button{color:#193b31}#editor .editor-actions{background:#f7f3eb}.dialog-copy em{color:#76602c}
@media(prefers-reduced-motion:no-preference){.header{animation:rv-frame-enter .7s ease-out both}.hero::after{animation:rv-panel-enter 1.2s ease-out both}@keyframes rv-frame-enter{from{border-bottom-color:transparent}to{border-bottom-color:#d6b468}}@keyframes rv-panel-enter{from{opacity:0;translate:35px 0}to{opacity:1;translate:0 0}}}
@media(max-width:800px){.header{height:106px}.header .brand img{height:89px;width:53px}.header nav{top:106px;background:#0a352b}.hero::after{display:none}.work::before,.studio::before{width:80px;opacity:.5}.menu{border-color:#d6b46888;color:#f7f3eb}}
@media(prefers-reduced-motion:reduce){.header,.hero::after{animation:none!important}}
.hero-copy{max-width:860px}.hero h1{font-size:clamp(46px,5.8vw,82px);max-width:820px}.hero .intro{max-width:530px}.hero{height:auto;min-height:680px}.project-detail .entry h2,.project-detail .entry h3{margin:30px 0 18px}
@media(max-width:800px){.hero{min-height:650px;padding-top:65px;padding-bottom:75px}.hero h1{font-size:clamp(43px,8vw,64px)}}
/* Deeper profile palette — 3.3.1 */
body{background:#092c24;color:#f4edde}.work,.expertise{background:#0c352b;color:#f4edde}.studio{background:#122f28;color:#f4edde}.work .eyebrow,.studio .eyebrow,.expertise .eyebrow,.project-meta{color:#d6b468}.work em,.studio em,.expertise em{color:#d6b468}.section-top .text-link,.project-caption h3{color:#f4edde}.project-caption span{color:#d6b468}.project>p,.studio-copy>p,.section-note,.service-list p{color:#c1cabe}.studio-copy .lead{color:#f4edde}.service-list>a>span,.service-list b,.service-list a:hover h3{color:#d6b468}.work::before,.studio::before{opacity:.15}.project-detail,.project-detail h1{color:#f4edde}.project-detail .entry a{color:#e0c27e}.project-photos{display:grid;gap:24px;margin:28px 0}.project-photos img{width:100%;height:auto;max-height:760px;object-fit:contain;background:#071e19}#project-dialog,#editor{background:#103a30;color:#f4edde}#project-dialog .eyebrow{color:#d6b468}#editor>p{color:#c1cabe}#editor .edit-row button{color:#f4edde}#editor .editor-actions{background:#103a30}
/* Dark charcoal direction — 3.3.2 */
body,.work,.expertise{background:#101412;color:#f4edde}.studio{background:#151c18;color:#f4edde}.header{background:#08291f}.contact{background:linear-gradient(120deg,#09271e,#10372a)}footer{background:#071d16}.work::before,.studio::before{opacity:.07}.hero-shade{background:linear-gradient(90deg,#070d09eb,#070d0980 60%,#070d0933),linear-gradient(0deg,#070d0970,transparent 55%)}.project-open{background:#121b16}#project-dialog,#editor,#editor .editor-actions{background:#121b16;color:#f4edde}.preview-tools{background:#10281e;color:#f4edde;border-color:#8d7546}.edit-row input,.edit-row textarea{background:#1d3026;color:#f4edde;border-color:#897951}.image-arrow{background:#10281e;color:#dfbf78}
/* Balanced stone and emerald — 3.3.3 */
body{background:#bdb6a5;color:#203c30}.work{background:#bdb6a5;color:#203c30}.expertise{background:#c9c1b0;color:#203c30}.studio{background:#274136;color:#f4edde}.work .eyebrow,.expertise .eyebrow,.project-caption span,.service-list>a>span,.service-list b{color:#654e25}.work .section-top .text-link,.project-caption h3{color:#203c30}.work .project>p,.expertise .section-note,.expertise .service-list p{color:#3c5144}.expertise em,.expertise .service-list a:hover h3{color:#654e25}.project-detail{background:#20392e;color:#f4edde}.work::before{opacity:.2}#dialog-image-2[hidden]{display:none!important}#dialog-image-2{height:auto;max-height:65vh;object-fit:contain;padding-top:16px}
/* 3.4.0: image-led portfolio */
.project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:56px 32px}
.project-grid .project{padding-top:0;grid-column:auto;width:100%;max-width:none;margin:0}
.project-grid .project-open img{height:auto;max-height:none;aspect-ratio:4/3;object-fit:cover}
.project-caption h3{font-size:clamp(28px,3vw,40px);margin-bottom:8px}
.project-caption span{display:none}
.project-grid .project>p{font-size:13px}
.project-detail{max-width:none;margin:0;padding:0;background:#20392e;color:#f4edde}
.project-heading{padding:45px 7% 36px}
.project-heading .eyebrow{margin-top:40px}
.project-heading h1{max-width:1100px;font-size:clamp(48px,7vw,104px)}
.project-detail figure{margin:0}
.project-cover img{width:100%;height:auto;max-height:85svh;object-fit:contain;background:#172c23}
.project-story{display:grid;grid-template-columns:1fr 2fr;gap:8%;padding:60px 7%}
.project-story .entry{margin:0;max-width:760px}
.project-story .entry p{margin-bottom:20px}
.project-facts{margin:0}.project-facts>div{padding:0 0 22px}.project-facts dt{font-size:10px;text-transform:uppercase;letter-spacing:.15em;color:#d3b776}.project-facts dd{margin:6px 0 0}
.project-gallery{padding:0 7%;display:grid;gap:36px}
.project-gallery img{height:auto;max-height:none;object-fit:contain}
.project-gallery figcaption{padding:14px 0;font-size:12px;color:#d0d4c9}
.project-end{padding:80px 7%;display:flex;gap:30px;justify-content:space-between;align-items:center}
.project-end h2{font-size:clamp(34px,4vw,56px);max-width:650px}
#project-dialog{max-width:1250px;width:96%;max-height:95svh}
#project-dialog>img{height:auto;max-height:75svh;object-fit:contain}
.preview-gallery{display:grid;gap:24px;padding:0 4% 40px}.preview-gallery img{height:auto;max-height:none;object-fit:contain}
.edit-gallery{grid-column:1/-1;display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px}
.edit-photo{border:1px solid #aa997b;padding:10px}.edit-photo img{height:130px;object-fit:contain}.edit-photo strong{display:block;margin:8px 0}.edit-photo button{font-size:11px;margin:3px}
@media(max-width:700px){.project-grid{grid-template-columns:1fr;gap:36px}.project-story{grid-template-columns:1fr;gap:24px}.project-facts{display:grid;grid-template-columns:1fr 1fr;gap:16px}.project-end{display:block}.project-end .button{margin-top:25px}}

