
:root{
  --ink:#1c1a18; --cream:#f4efe7; --paper:#fffdf9; --taupe:#cbbdab;
  --sage:#6e7766; --clay:#a56f52; --line:#d9d1c7; --soft:#e9e2d8;
}
*{box-sizing:border-box}
html{scroll-behavior:auto}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--paper)}
a{text-decoration:none;color:inherit}
img,button,.card,.panel,input,textarea,select{border-radius:0!important}
.wrap{width:min(1180px,92%);margin:auto}
header{background:var(--paper);border-bottom:1px solid var(--line);position:relative;z-index:3}
.head{display:grid;grid-template-columns:220px 1fr auto;align-items:center;min-height:84px;gap:22px}
.logo{font-family:Georgia,serif;font-size:28px;letter-spacing:1px}
.logo small{display:block;font:10px Arial,sans-serif;letter-spacing:3px;margin-top:6px}
nav{display:flex;justify-content:center;flex-wrap:nowrap}
nav a{padding:31px 13px 27px;border-bottom:4px solid transparent;font-size:13px;text-transform:uppercase;letter-spacing:1px}
nav a.active,nav a:hover{border-bottom-color:var(--clay)}
.cta{background:var(--ink);color:white;padding:15px 20px;display:inline-block;text-transform:uppercase;font-size:12px;letter-spacing:1px}
.hero{display:grid;grid-template-columns:minmax(460px,50%) 1fr;min-height:600px;background:var(--cream)}
.hero-copy{padding:76px clamp(38px,5vw,82px);display:flex;flex-direction:column;justify-content:center}
.kicker{text-transform:uppercase;letter-spacing:4px;font-size:12px;color:var(--clay);font-weight:700}
h1,h2,h3{font-family:Georgia,serif;font-weight:500}
h1{font-size:clamp(48px,4.4vw,68px);line-height:1.06;margin:14px 0;max-width:720px;text-wrap:balance}
h1,h2,h3{overflow-wrap:normal;word-break:normal}
h2{font-size:42px;margin:8px 0 18px}
h3{font-size:26px;margin:6px 0 12px}
.lead{font-size:18px;line-height:1.6;color:#514c47}
.btn{display:inline-block;background:var(--clay);color:white;padding:15px 22px;text-transform:uppercase;letter-spacing:1.5px;font-size:12px;border:0}
.room-art{position:relative;overflow:hidden;background:linear-gradient(90deg,rgba(28,26,24,.08),rgba(28,26,24,0))}
.room-art:before,.room-art:after{display:none;content:none}
.page-index .room-art>img,.page-index .mood>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.page-index .room-art>.photo-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(28,26,24,.08),rgba(28,26,24,0))}
.page-index .room-art:after{
 display:block;content:"";position:absolute;inset:0;pointer-events:none;
 background:radial-gradient(ellipse 8% 14% at 13% 47%,rgba(255,211,111,.28),rgba(255,130,38,.15) 55%,transparent 100%),radial-gradient(ellipse 13% 22% at 13% 47%,rgba(255,131,42,.12),transparent 100%);
 mix-blend-mode:screen;transform-origin:13% 47%;animation:fireplace-flicker 1.4s ease-in-out infinite alternate;
}
.page-index .mood{background-image:none}
.page-index .mood>img{filter:saturate(1.1) contrast(1.04)}
.page-index .mood>span{z-index:1}
.art-lines{display:none;position:absolute;inset:0;background:
linear-gradient(90deg,transparent 0 72%,rgba(255,255,255,.6) 72% 73%,transparent 73%),
linear-gradient(0deg,transparent 0 72%,rgba(255,255,255,.6) 72% 73%,transparent 73%)}
.stats{display:grid;grid-template-columns:repeat(4,1fr);background:var(--ink);color:white}
.stat{padding:24px;text-align:center;border-right:1px solid #4c4945}
.stat strong{display:block;font-family:Georgia,serif;font-size:28px}
.section{padding:72px 0}
.intro{display:grid;grid-template-columns:.85fr 1.15fr;gap:54px;align-items:center}
.mood-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.mood,.gallery-tile{min-height:300px;position:relative;overflow:hidden;border:1px solid var(--line);background-color:#ddd}
.mood.one{background:url('style-warm-minimal.png') center/cover no-repeat}
.mood.two{background:url('style-organic-modern.png') center/cover no-repeat}
.mood.three{background:url('style-collected-classic.png') center/cover no-repeat}
.mood.four{background:url('style-moody-refined.png') center/cover no-repeat}
.mood>span,.gallery-tile>span{position:absolute;left:0;right:0;bottom:0;background:rgba(255,253,249,.96);padding:12px 15px;font-family:Georgia,serif;display:flex;align-items:center;justify-content:space-between;gap:12px}
.palette{display:flex;gap:5px;margin-left:auto}
.palette i{display:block;width:16px;height:16px;border:1px solid rgba(28,26,24,.2)}
.one .palette i:nth-child(1){background:#efe2cd}.one .palette i:nth-child(2){background:#bd7554}.one .palette i:nth-child(3){background:#98704e}.one .palette i:nth-child(4){background:#67704e}
.two .palette i:nth-child(1){background:#66704b}.two .palette i:nth-child(2){background:#9b8566}.two .palette i:nth-child(3){background:#dbc8a7}.two .palette i:nth-child(4){background:#704728}
.three .palette i:nth-child(1){background:#203e60}.three .palette i:nth-child(2){background:#aa563d}.three .palette i:nth-child(3){background:#d7aa71}.three .palette i:nth-child(4){background:#5b713d}
.four .palette i:nth-child(1){background:#252421}.four .palette i:nth-child(2){background:#7b3e22}.four .palette i:nth-child(3){background:#9b743c}.four .palette i:nth-child(4){background:#455238}
.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line)}
.card{background:var(--paper);padding:34px;min-height:250px}
.card .num{font-family:Georgia,serif;color:var(--clay);font-size:46px}
.card p{line-height:1.6;color:#5e5852}
.band{background:var(--sage);color:white}
.band .wrap{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center}
.quote{font:italic 34px/1.3 Georgia,serif}
.page-hero{padding:90px 0;background:linear-gradient(90deg,var(--cream),#e3d8cb)}
.page-hero h1{font-size:56px;max-width:800px}
.two-col{display:grid;grid-template-columns:1.25fr .75fr;gap:45px}
.sidebar{background:var(--cream);padding:28px;border-left:5px solid var(--clay)}
.process{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.step{padding:25px;background:var(--cream);border-top:4px solid var(--clay)}
.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.gallery-tile{min-height:290px}
.gallery-tile:nth-child(1){background:linear-gradient(135deg,#d4c7b7,#f3ede5)}
.gallery-tile:nth-child(2){background:linear-gradient(135deg,#8e8b7e,#dcd9cc)}
.gallery-tile:nth-child(3){background:linear-gradient(135deg,#b88669,#ead8c6)}
.gallery-tile:nth-child(4){background:linear-gradient(135deg,#d7d2c9,#a69484)}
.gallery-tile:nth-child(5){background:linear-gradient(135deg,#686157,#d5c5b5)}
.gallery-tile:nth-child(6){background:linear-gradient(135deg,#a8b09c,#ede8de)}
.gallery-tile:nth-child(7){background:linear-gradient(135deg,#cfb8a0,#f1e9df)}
.gallery-tile:nth-child(8){background:linear-gradient(135deg,#454746,#c5c2b9)}
.gallery-tile:nth-child(9){background:linear-gradient(135deg,#b1785b,#e7d9c9)}
.contact{display:grid;grid-template-columns:.8fr 1.2fr;gap:50px}
.form{display:grid;grid-template-columns:1fr 1fr;gap:14px}
input,textarea,select{width:100%;padding:14px;border:1px solid var(--line);font:inherit;background:#fff}
textarea{min-height:160px}
.full{grid-column:1/-1}
.legal h2{font-size:28px;margin-top:34px}
.legal p,.legal li{line-height:1.75;color:#4d4843}
footer{background:var(--ink);color:white;margin-top:0}
.footer{display:grid;grid-template-columns:1.1fr .8fr .8fr 1.2fr;gap:30px;padding:44px 0}
.footer a{display:block;color:#d9d4cc;margin:7px 0}
.copy{border-top:1px solid #504c47;padding:18px 0;color:#cfc8bf;font-size:12px}
.copy:after{content:"Promotional website concept by Video Productions by Zeus. Atelier Nest Interiors is a sample brand.";display:block;margin-top:8px;color:#aaa39a}
.notice{display:none;grid-column:1/-1;padding:12px;background:#eee7dc;border:1px solid var(--taupe)}
@media(max-width:850px){
 .head{grid-template-columns:1fr;text-align:center;padding-top:14px}.head .cta{margin:0 auto 15px}
 .hero,.intro,.band .wrap,.two-col,.contact{grid-template-columns:1fr}
 .hero-copy{padding:52px 6vw}.room-art{min-height:420px;background-position:center}
 .service-grid,.gallery,.process,.stats,.footer{grid-template-columns:1fr 1fr}
}
@media(max-width:560px){
 h1{font-size:clamp(34px,10.5vw,40px);line-height:1.1}.page-hero h1{font-size:clamp(34px,10.5vw,40px)}
 .service-grid,.gallery,.process,.stats,.footer,.form{grid-template-columns:1fr}
 .full{grid-column:auto}
}

/* Finished photographic treatment across interior pages */
.page-hero{position:relative;isolation:isolate;background-position:center;background-size:cover;color:#fff;min-height:360px;display:flex;align-items:center}
.page-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(20,18,16,.82),rgba(20,18,16,.28));z-index:-1;pointer-events:none}
.page-hero .lead{color:#fff}
.page-services .page-hero{background-image:none}
.page-services .page-hero:before{background:radial-gradient(ellipse at 78% 38%,rgba(225,184,132,.2),transparent 42%),linear-gradient(90deg,rgba(20,18,16,.54),rgba(20,18,16,.1));pointer-events:none}
.page-services .page-hero:after{
 background:radial-gradient(ellipse 8% 14% at 66% 19%,rgba(255,211,111,.24),rgba(255,130,38,.13) 55%,transparent 100%),radial-gradient(ellipse 14% 23% at 66% 19%,rgba(255,131,42,.1),transparent 100%),linear-gradient(125deg,rgba(255,255,255,.13),transparent 44%,rgba(0,0,0,.05));
 transform-origin:66% 19%;animation:fireplace-flicker 1.5s ease-in-out infinite alternate
}
.page-services .service-hero-photo{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;background:none;cursor:zoom-in;z-index:-2}
.page-services .service-hero-photo img{display:block;width:100%;height:100%;object-fit:cover;filter:brightness(1.09) contrast(1.12) saturate(1.2)}
.page-about .page-hero{background-image:url('style-collected-classic-lit.png')}
.page-about .page-hero:before{background:linear-gradient(90deg,rgba(20,18,16,.58),rgba(20,18,16,.18))}
.page-about .page-hero:after{
 background:
  radial-gradient(ellipse 8% 14% at 66% 49%,rgba(255,213,112,.24),rgba(255,164,62,.13) 55%,transparent 100%),
  radial-gradient(ellipse 14% 23% at 66% 49%,rgba(255,132,40,.11),transparent 100%),
  linear-gradient(125deg,rgba(255,255,255,.08),transparent 45%,rgba(0,0,0,.08));
 transform-origin:66% 49%;
 animation:fireplace-flicker 1.55s ease-in-out infinite alternate;
}
.page-portfolio .page-hero{background-image:url('style-moody-refined-lit.png')}
.page-portfolio .page-hero:after{
 background:radial-gradient(ellipse 8% 15% at 66% 55%,rgba(255,211,111,.24),rgba(255,130,38,.13) 55%,transparent 100%),radial-gradient(ellipse 14% 24% at 66% 55%,rgba(255,131,42,.1),transparent 100%),linear-gradient(125deg,rgba(255,255,255,.08),transparent 45%,rgba(0,0,0,.08));
 transform-origin:66% 55%;animation:fireplace-flicker 1.6s ease-in-out infinite alternate
}
.page-contact .page-hero{background-image:url('style-warm-minimal.png')}
.page-privacy .page-hero{background-image:url('atelier-hero.png')}
.page-terms .page-hero{background-image:url('style-organic-modern.png')}
.page-privacy .page-hero:after{
 background:radial-gradient(ellipse 8% 14% at 13% 49%,rgba(255,211,111,.26),rgba(255,130,38,.14) 55%,transparent 100%),radial-gradient(ellipse 14% 23% at 13% 49%,rgba(255,131,42,.11),transparent 100%),linear-gradient(125deg,rgba(255,255,255,.08),transparent 45%,rgba(0,0,0,.08));
 transform-origin:13% 49%;animation:fireplace-flicker 1.45s ease-in-out infinite alternate
}
.page-terms .page-hero:after{
 background:radial-gradient(ellipse 8% 14% at 66% 19%,rgba(255,211,111,.24),rgba(255,130,38,.13) 55%,transparent 100%),radial-gradient(ellipse 14% 23% at 66% 19%,rgba(255,131,42,.1),transparent 100%),linear-gradient(125deg,rgba(255,255,255,.08),transparent 45%,rgba(0,0,0,.08));
 transform-origin:66% 19%;animation:fireplace-flicker 1.5s ease-in-out infinite alternate
}
.page-services .service-grid .card{padding:0 0 30px;overflow:hidden;box-shadow:0 16px 34px rgba(28,26,24,.12)}
.page-services .service-photo{display:block;width:calc(100% - 60px);height:190px;margin:0 30px 25px;padding:0;border:0;background:#eee7dc;overflow:hidden;cursor:zoom-in;box-shadow:0 18px 38px rgba(28,26,24,.22),inset 0 0 0 1px rgba(255,255,255,.26)}
.page-services .service-photo img{display:block;width:100%;height:100%;object-fit:contain;filter:brightness(1.06) contrast(1.12) saturate(1.18)}
.page-services .service-photo:hover img{filter:brightness(1.1) contrast(1.14) saturate(1.24)}
/* Give service photo 05 a restrained polished finish without replacing it. */
.page-services .service-grid .card:nth-child(5) .service-photo{position:relative}
.page-services .service-grid .card:nth-child(5) .service-photo img{filter:brightness(1.09) contrast(1.16) saturate(1.22)}
.page-services .service-grid .card:nth-child(5) .service-photo:after{
 content:"";
 position:absolute;
 inset:0;
 pointer-events:none;
 background:linear-gradient(128deg,rgba(255,255,255,.14),transparent 38%,rgba(255,213,151,.07) 68%,transparent 100%);
 mix-blend-mode:screen;
 opacity:.72;
}
.page-services .service-photo:focus-visible,.page-services .service-hero-photo:focus-visible{outline:3px solid #e3b779;outline-offset:-5px}
.page-services .service-grid .card>*{margin-left:30px;margin-right:30px}
.service-lightbox{position:fixed;width:min(94vw,1200px);max-width:none;max-height:92vh;padding:56px 20px 20px;border:1px solid rgba(255,255,255,.25);background:#171614;color:#fff;box-shadow:0 24px 80px rgba(0,0,0,.52);overflow:auto}
.service-lightbox::backdrop{background:rgba(12,11,10,.88)}
.service-lightbox>img{display:block;width:auto;height:auto;max-width:100%;max-height:calc(92vh - 78px);object-fit:contain;margin:auto}
.service-lightbox-close{position:absolute;top:8px;right:8px;width:42px;height:42px;border:1px solid rgba(255,255,255,.55);background:#292723;color:white;font:30px/1 Arial,sans-serif;cursor:pointer}
.service-lightbox-close:hover{background:#a56f52}
.page-about .sidebar:before,.page-contact .contact>div:first-child:before{content:"";display:block;height:230px;margin:-28px -28px 26px;background:url('style-warm-minimal.png') center/cover no-repeat;filter:saturate(1.12) contrast(1.05)}
.page-contact .contact>div:first-child:before{margin:0 0 26px;background-image:url('style-organic-modern-lit.png')}
.gallery-tile{box-shadow:0 14px 28px rgba(28,26,24,.14);filter:saturate(1.1) contrast(1.04)}
.gallery-tile:nth-child(4n+1){background-image:url('style-warm-minimal.png')}.gallery-tile:nth-child(4n+2){background-image:url('style-organic-modern.png')}.gallery-tile:nth-child(4n+3){background-image:url('style-collected-classic.png')}.gallery-tile:nth-child(4n+4){background-image:url('style-moody-refined.png')}

/* Distinct photography for every service and portfolio item. */
.page-portfolio .gallery-tile:nth-child(1){background-image:url('atelier-hero-lit.png')}
.page-portfolio .gallery-tile:nth-child(2){background-image:url('portfolio-soft-bedroom.png')}
.page-portfolio .gallery-tile:nth-child(3){background-image:url('portfolio-collected-dining-services-lit.jpg')}
.page-portfolio .gallery-tile:nth-child(4){background-image:url('portfolio-organic-kitchen-services-lit.jpg')}
.page-portfolio .gallery-tile:nth-child(5){background-image:url('room-home-office.png')}
.page-portfolio .gallery-tile:nth-child(6){background-image:url('portfolio-layered-entry.png')}
.page-portfolio .gallery-tile:nth-child(7){background-image:url('room-coastal-dining.png')}
.page-portfolio .gallery-tile:nth-child(8){background-image:url('room-primary-bedroom.png')}
.page-portfolio .gallery-tile:nth-child(9){background-image:url('style-moody-refined-lit.png')}
.page-portfolio .gallery-tile{background-color:#eee7dc;background-position:center;background-size:contain;background-repeat:no-repeat}

.page-terms .page-hero{background-image:none}
.page-terms .page-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}

/* Final photograph finish: crisp highlights, deeper shadows, and richer room color. */
.page-index .room-art>img,
.page-index .mood>img,
.page-terms .page-hero>img{
 filter:brightness(1.04) contrast(1.10) saturate(1.14);
}
.page-index .room-art,
.page-index .mood,
.page-services .service-photo,
.page-about .sidebar:before,
.page-contact .contact>div:first-child:before,
.page-portfolio .gallery-tile{
 box-shadow:0 18px 38px rgba(28,26,24,.22),inset 0 0 0 1px rgba(255,255,255,.26);
}
.page-about .sidebar:before,
.page-contact .contact>div:first-child:before{
 filter:brightness(1.04) contrast(1.10) saturate(1.14);
}
.page-portfolio .gallery-tile{
 filter:brightness(1.035) contrast(1.08) saturate(1.12);
}
.page-hero:after{
 content:"";
 position:absolute;
 inset:0;
 background:linear-gradient(125deg,rgba(255,255,255,.08),transparent 45%,rgba(0,0,0,.08));
 pointer-events:none;
 z-index:-1;
}

/* Click to enlarge every room photo across the site. */
img[role="button"],.site-photo-background{cursor:zoom-in}
.page-services .page-hero:before{pointer-events:none}
.site-photo-background{position:absolute;display:block;padding:0;border:0;border-radius:0;background:#eee7dc;overflow:hidden}
.site-photo-background img{display:block;width:100%;height:100%;object-fit:cover;filter:brightness(1.08) contrast(1.12) saturate(1.2)}
.page-hero>.site-photo-background{inset:0;z-index:-2}
.gallery-tile>.site-photo-background{inset:0;z-index:0}
.gallery-tile>span{z-index:2;pointer-events:none}
.page-about .sidebar,.page-contact .contact>div:first-child{position:relative}
.page-about .sidebar>.site-photo-background{top:-28px;left:-28px;width:calc(100% + 56px);height:230px;z-index:1}
.page-contact .contact>div:first-child>.site-photo-background{top:0;left:0;width:100%;height:230px;z-index:1}

/* A small, localized firelight lift on the existing Contact consultation photo. */
.page-contact .contact>div:first-child>.site-photo-background:before,
.service-lightbox.contact-consult-lightbox .lightbox-photo-stage:before{
 content:"";
 position:absolute;
 inset:0;
 z-index:2;
 pointer-events:none;
 background:
  radial-gradient(ellipse .75% 3.6% at 8.6% 74%,rgba(255,255,255,.55),rgba(255,250,239,.22) 54%,transparent 100%),
  radial-gradient(ellipse .9% 4.2% at 9.35% 70.5%,rgba(255,255,255,.47),rgba(255,250,239,.2) 54%,transparent 100%),
  radial-gradient(ellipse .72% 3.5% at 8.8% 67%,rgba(255,255,255,.4),rgba(255,250,239,.17) 54%,transparent 100%),
  radial-gradient(ellipse .68% 2.8% at 9.45% 63.8%,rgba(255,255,255,.32),rgba(255,250,239,.13) 54%,transparent 100%);
 mix-blend-mode:screen;
 filter:blur(.45px);
 transform-origin:9% 75%;
 animation:contact-steam-rise 3.2s ease-in-out infinite;
}
.page-contact .contact>div:first-child>.site-photo-background:after,
.service-lightbox.contact-consult-lightbox .lightbox-photo-stage:after{
 content:"";
 position:absolute;
 inset:0;
 pointer-events:none;
 background:
  radial-gradient(ellipse 10% 14% at 68% 38%,rgba(255,207,132,.26),rgba(255,145,62,.12) 58%,transparent 100%),
  radial-gradient(ellipse 17% 24% at 68% 39%,rgba(255,175,83,.09),transparent 100%);
 mix-blend-mode:screen;
 transform-origin:68% 38%;
 animation:fireplace-flicker 1.25s ease-in-out infinite alternate;
}
.service-lightbox.site-hero-fireplace-left .lightbox-photo-stage:after,
.service-lightbox.site-hero-fireplace-organic .lightbox-photo-stage:after,
.service-lightbox.site-hero-fireplace-classic .lightbox-photo-stage:after,
.service-lightbox.site-hero-fireplace-moody .lightbox-photo-stage:after{
 content:"";
 position:absolute;
 inset:0;
 pointer-events:none;
 background:
  radial-gradient(ellipse 8% 14% at var(--fire-x,66%) var(--fire-y,40%),rgba(255,213,112,.24),rgba(255,164,62,.13) 55%,transparent 100%),
  radial-gradient(ellipse 14% 23% at var(--fire-x,66%) var(--fire-y,40%),rgba(255,132,40,.11),transparent 100%);
 mix-blend-mode:screen;
 transform-origin:var(--fire-x,66%) var(--fire-y,40%);
 animation:fireplace-flicker 1.5s ease-in-out infinite alternate;
}
.service-lightbox.site-hero-fireplace-left .lightbox-photo-stage:after{--fire-x:13%;--fire-y:49%}
.service-lightbox.site-hero-fireplace-organic .lightbox-photo-stage:after{--fire-x:66%;--fire-y:39%}
.service-lightbox.site-hero-fireplace-classic .lightbox-photo-stage:after{--fire-x:66%;--fire-y:49%}
.service-lightbox.site-hero-fireplace-moody .lightbox-photo-stage:after{--fire-x:66%;--fire-y:55%}
.service-lightbox{position:fixed;width:min(94vw,1400px);max-width:none;max-height:94vh;padding:56px 20px 20px;border:1px solid rgba(255,255,255,.3);background:#171614;color:#fff;box-shadow:0 24px 80px rgba(0,0,0,.58);overflow:auto}
.service-lightbox::backdrop{background:rgba(12,11,10,.9)}
.service-lightbox>img{display:block;width:auto;height:auto;max-width:100%;max-height:calc(94vh - 78px);object-fit:contain;margin:auto}
.service-lightbox-close{position:absolute;top:8px;right:8px;width:46px;height:46px;border:1px solid rgba(255,255,255,.65);background:#292723;color:white;font:30px/1 Arial,sans-serif;cursor:pointer}
.service-lightbox-close:hover{background:#a56f52}

@keyframes contact-steam-rise{
 0%{transform:translate3d(0,0,0) scaleX(.84);opacity:.28}
 35%{transform:translate3d(2px,-4px,0) scaleX(1.08);opacity:.86}
 72%{transform:translate3d(-1px,-9px,0) scaleX(.92);opacity:.46}
 100%{transform:translate3d(1px,-12px,0) scaleX(1.02);opacity:0}
}
@keyframes fireplace-flicker{
 0%{transform:translate3d(-1px,1px,0) scale(.96);opacity:.72}
 38%{transform:translate3d(1px,-1px,0) scale(1.04);opacity:.98}
 71%{transform:translate3d(0,1px,0) scale(.99);opacity:.8}
 100%{transform:translate3d(1px,0,0) scale(1.03);opacity:.94}
}
@media(prefers-reduced-motion:reduce){
 .page-contact .contact>div:first-child>.site-photo-background:before,
 .service-lightbox.contact-consult-lightbox .lightbox-photo-stage:before,
 .page-about .page-hero:after,
 .page-index .room-art:after,
 .page-services .page-hero:after,
 .page-portfolio .page-hero:after,
 .page-privacy .page-hero:after,
 .page-terms .page-hero:after,
 .page-contact .contact>div:first-child>.site-photo-background:after,
 .service-lightbox.contact-consult-lightbox .lightbox-photo-stage:after,
 .service-lightbox.site-hero-fireplace-left .lightbox-photo-stage:after,
 .service-lightbox.site-hero-fireplace-organic .lightbox-photo-stage:after,
 .service-lightbox.site-hero-fireplace-classic .lightbox-photo-stage:after,
 .service-lightbox.site-hero-fireplace-moody .lightbox-photo-stage:after{animation:none}
}
.site-photo-background:focus-visible,img[role="button"]:focus-visible{outline:3px solid #e3b779;outline-offset:-5px}

.service-lightbox .lightbox-photo-stage{display:block;position:relative;width:fit-content;max-width:100%;margin:auto;overflow:hidden}
.service-lightbox .lightbox-photo-stage>img{display:block;width:auto;height:auto;max-width:100%;max-height:calc(94vh - 78px);object-fit:contain}

/* Keep the existing About and other page hero photos visible behind their text. */
.page-hero:before{z-index:1}
.page-hero:after{z-index:1}
.page-hero>.site-photo-background{z-index:0}
.page-hero>.wrap{position:relative;z-index:2}
.page-services .page-hero>.service-hero-photo{z-index:0}
.page-services .page-hero>.wrap{position:relative;z-index:2}

/* Warm lift for the About page's existing studio room photograph. */
.page-about .sidebar>.site-photo-background:after,
.service-lightbox.about-studio-lightbox .lightbox-photo-stage:after{
 content:"";
 position:absolute;
 inset:0;
 pointer-events:none;
 background:
  radial-gradient(ellipse 13% 15% at 31% 23%,rgba(255,239,194,.76),rgba(255,220,158,.3) 56%,transparent 100%),
  radial-gradient(ellipse 33% 26% at 38% 39%,rgba(255,226,177,.24),rgba(255,222,169,.1) 62%,transparent 100%);
 mix-blend-mode:screen;
}

/* Render the About studio photo as a visible photo control, with a warm lamp lift. */
.page-about .sidebar:before{content:none;background:none}
.page-about .sidebar>.about-studio-photo{position:relative;display:block;width:calc(100% + 56px);height:230px;margin:-28px -28px 26px;padding:0;border:0;background:#eee7dc;overflow:hidden;cursor:zoom-in}
.page-about .sidebar>.about-studio-photo>img{display:block;width:100%;height:100%;object-fit:cover;filter:brightness(1.1) contrast(1.12) saturate(1.2)}
.page-about .sidebar>.about-studio-photo:after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse 13% 15% at 31% 23%,rgba(255,239,194,.76),rgba(255,220,158,.3) 56%,transparent 100%),radial-gradient(ellipse 33% 26% at 38% 39%,rgba(255,226,177,.24),rgba(255,222,169,.1) 62%,transparent 100%);mix-blend-mode:screen}
.page-about .about-studio-photo:focus-visible{outline:3px solid #e3b779;outline-offset:-5px}

/* Portfolio gallery: add a soft warm glow to the family-room chandelier and table. */
.page-portfolio .gallery-tile:nth-child(7):after,
.service-lightbox.portfolio-family-lightbox .lightbox-photo-stage:after{
 content:"";position:absolute;inset:0;pointer-events:none;
 background:
  radial-gradient(ellipse 17% 17% at 53% 22%,rgba(255,231,180,.65),rgba(255,224,166,.28) 58%,transparent 100%),
  radial-gradient(ellipse 10% 18% at 90% 35%,rgba(255,238,198,.72),rgba(255,222,158,.28) 60%,transparent 100%),
  radial-gradient(ellipse 40% 25% at 53% 57%,rgba(255,228,185,.2),rgba(255,222,169,.08) 65%,transparent 100%);
 mix-blend-mode:screen;
}
.page-portfolio .gallery-tile:nth-child(7):after{z-index:1}

/* Add a discreet pair of overhead light pools to the moody shelves scene. */
.page-portfolio .gallery-tile:nth-child(9):after,
.page-portfolio .page-hero:after,
.service-lightbox.portfolio-shelves-lightbox .lightbox-photo-stage:after{
 content:"";position:absolute;inset:0;pointer-events:none;
 background:
  radial-gradient(ellipse 3% 3% at 40% 7%,rgba(255,244,217,.95),rgba(255,228,171,.62) 48%,transparent 100%),
  radial-gradient(ellipse 3% 3% at 67% 7%,rgba(255,244,217,.92),rgba(255,228,171,.58) 48%,transparent 100%),
  radial-gradient(ellipse 12% 22% at 40% 19%,rgba(255,222,158,.21),transparent 100%),
  radial-gradient(ellipse 12% 22% at 67% 19%,rgba(255,222,158,.2),transparent 100%);
 mix-blend-mode:screen;
}
.page-portfolio .gallery-tile:nth-child(9):after{z-index:1}
.page-portfolio .gallery-tile>.site-photo-background img{object-fit:contain}

/* Remove artificial orbs from the bottom-right Portfolio photo. */
.page-portfolio .gallery-tile:nth-child(9):after,
.service-lightbox.portfolio-shelves-lightbox .lightbox-photo-stage:after{content:none;background:none}

/* Remove the two artificial light orbs from the Portfolio hero. */
.page-portfolio .page-hero:after{content:none;background:none;animation:none}
