/* Gallery adapter for the Services design. Photo data and interactions are untouched. */
:root{--bg:#111313;--panel:#1a1c1c;--line:#343737;--text:#f2f0e9;--muted:#b6bab8;--accent:#ec351f;--red:#ec351f;--pad:clamp(22px,5vw,88px);--max:1320px}
body.eg-unified-shell{background:var(--bg);color:var(--text);font:400 16px/1.65 Arial,Helvetica,sans-serif}
body.eg-unified-shell :is(main,dialog) :is(h1,h2,h3),body.eg-unified-shell .hero-caption strong{font-family:'Arial Narrow','Roboto Condensed',Impact,Arial,sans-serif;font-stretch:condensed;font-weight:900;line-height:1.04;letter-spacing:-.035em;color:var(--text)}
body.eg-unified-shell main h1{font-size:clamp(54px,6.6vw,100px);margin:26px 0;max-width:800px}
body.eg-unified-shell main h2{font-size:clamp(39px,4.7vw,66px)}
body.eg-unified-shell main h3{font-size:clamp(27px,2.5vw,38px)}
body.eg-unified-shell main .hero{min-height:640px}
body.eg-unified-shell .hero-content{padding:72px var(--pad) 130px;width:100%;max-width:1496px;margin:auto}
body.eg-unified-shell .hero-content .eyebrow{font:700 11px/1.65 Arial,sans-serif;letter-spacing:.18em;color:#d9ddd8}
body.eg-unified-shell .hero-intro{font-size:17px;line-height:1.7;color:#d1d3cd;max-width:560px;margin:26px 0 32px}
body.eg-unified-shell .hero-shade{background:linear-gradient(90deg,rgba(8,10,10,.96) 0%,rgba(8,10,10,.83) 26%,rgba(8,10,10,.2) 68%),linear-gradient(0deg,#111313 0%,transparent 25%)}
body.eg-unified-shell .primary{display:inline-flex;align-items:center;justify-content:space-between;gap:32px;padding:17px 23px;min-height:55px;background:var(--red);border:1px solid transparent;border-radius:0;color:#fff;font:700 13px/1.65 Arial,sans-serif}
body.eg-unified-shell .primary:hover{background:#c92716}
body.eg-unified-shell .primary span{font-size:22px}
body.eg-unified-shell .hero-caption{background:#111313d9;border-color:#59605b;border-radius:0;right:var(--pad);max-width:280px}
body.eg-unified-shell .hero-caption strong{font-size:27px;line-height:1.12}
body.eg-unified-shell .hero-bottom{left:var(--pad);right:var(--pad)}
body.eg-unified-shell .hero-controls{right:var(--pad)}
body.eg-unified-shell .gallery{width:min(calc(100% - 2*var(--pad)),var(--max));max-width:none;padding:100px 0;margin:auto}
body.eg-unified-shell .section-head{gap:60px;align-items:flex-end;margin-bottom:45px}
body.eg-unified-shell .section-head>p{font-size:16px;line-height:1.65;max-width:370px;color:var(--muted)}
body.eg-unified-shell .filters{padding:24px 0;gap:20px}
body.eg-unified-shell .chips{flex-wrap:wrap;gap:8px}
body.eg-unified-shell .chips button{min-height:44px;padding:12px 18px;font:600 12px/1.5 Arial,sans-serif;border-radius:0;border-color:var(--line)}
body.eg-unified-shell .chips button.selected{background:var(--red);border-color:var(--red)}
body.eg-unified-shell :is(.search,select,input){border-radius:0}
body.eg-unified-shell .searches :is(input,select){min-height:44px;font-size:14px}
body.eg-unified-shell .result-line{font-size:12px;margin:20px 0 28px}
body.eg-unified-shell .cards{gap:28px}
body.eg-unified-shell .card{background:var(--panel);border:1px solid var(--line);border-radius:0}
body.eg-unified-shell .card:hover{transform:none;border-color:#68726b}
body.eg-unified-shell .card:hover img{transform:scale(1.025)}
body.eg-unified-shell .card-image{aspect-ratio:4/3}
body.eg-unified-shell .card-info{padding:30px 28px 27px}
body.eg-unified-shell .card h3{font-size:clamp(25px,2.4vw,34px);line-height:1.08;margin:12px 0 22px}
body.eg-unified-shell .card .owner{font-size:12px;color:var(--muted)}
body.eg-unified-shell .card-specs span{font-size:11px;background:#242a26;color:#d6dcd5}
body.eg-unified-shell .card-bottom{font-size:12px;margin-top:24px;padding-top:18px}
body.eg-unified-shell .closing{padding:75px var(--pad);background:var(--red);color:#fff;border:0}
body.eg-unified-shell .closing h2{color:#fff}
body.eg-unified-shell .closing p:not(.eyebrow){color:#fff0e8;font-size:16px;line-height:1.7}
body.eg-unified-shell .closing .primary{background:#101313}
body.eg-unified-shell .closing .primary:hover{background:#292e29}
body.eg-unified-shell>footer{background:var(--bg);border-top:1px solid var(--line);padding:45px var(--pad);color:var(--muted)}
body.eg-unified-shell .privacy-contact{padding:28px var(--pad);color:var(--muted);border-color:var(--line)}
body.eg-unified-shell dialog{background:var(--bg);color:var(--text);border:1px solid #465049;border-radius:0}
body.eg-unified-shell .dialog-top{background:#111313f5}
body.eg-unified-shell .detail-content h2{font-size:clamp(32px,3.5vw,46px);line-height:1.08}
body.eg-unified-shell .detail-content h3{font-size:28px}
body.eg-unified-shell .spec-row{font-size:13px;line-height:1.65}
body.eg-unified-shell .project-story{background:var(--panel)}
body.eg-unified-shell .project-story>p{font-size:16px}
@media(max-width:1000px){body.eg-unified-shell .section-head{align-items:flex-start;gap:25px}body.eg-unified-shell .gallery{padding:75px 0}}
@media(max-width:760px){
 body.eg-unified-shell main .hero{min-height:640px;align-items:flex-end}
 body.eg-unified-shell .hero-photo{height:68%;top:0;object-position:59% 40%}
 body.eg-unified-shell .hero-shade{background:linear-gradient(0deg,#111313 10%,rgba(17,19,19,.94) 35%,rgba(17,19,19,.26) 80%),linear-gradient(90deg,#11131355,transparent)}
 body.eg-unified-shell .hero-content{padding:235px var(--pad) 135px}
 body.eg-unified-shell main h1{font-size:clamp(48px,11vw,75px);margin:19px 0}
 body.eg-unified-shell .hero-intro{font-size:15px;max-width:400px}
 body.eg-unified-shell .primary{padding:15px 18px;font-size:12px;gap:22px}
 body.eg-unified-shell .hero-controls{left:var(--pad);right:auto}
 body.eg-unified-shell .gallery{padding:65px 0}
 body.eg-unified-shell .section-head{display:block;margin-bottom:30px}
 body.eg-unified-shell .section-head>p{margin-top:25px;max-width:100%;font-size:15px}
 body.eg-unified-shell .cards{grid-template-columns:1fr;gap:20px}
 body.eg-unified-shell .card-info{padding:25px}
 body.eg-unified-shell .card h3{font-size:29px}
 body.eg-unified-shell .closing{padding:65px var(--pad)}
 body.eg-unified-shell .closing h2{font-size:42px}
 body.eg-unified-shell .detail-content h2{font-size:34px;overflow-wrap:anywhere}
 body.eg-unified-shell .spec-row{grid-template-columns:1fr 1.6fr;overflow-wrap:anywhere}
}
