/* One photographic environment, with live text above a dedicated contrast layer. */
.consulting-hero { position:relative; isolation:isolate; background:#0c0c0c; color:#fff; border-bottom:1px solid #9a7a37; }
.consulting-hero::before { content:none; }
.consulting-hero::after { content:''; position:absolute; z-index:1; inset:0; pointer-events:none; background:linear-gradient(90deg,rgba(8,8,8,.97) 0%,rgba(8,8,8,.92) 34%,rgba(8,8,8,.73) 53%,rgba(8,8,8,.16) 76%,rgba(8,8,8,.08) 100%); }
.consulting-hero-grid { position:relative; z-index:2; display:flex; align-items:center; min-height:500px; padding-block:52px; }
.consulting-hero-copy { width:min(100%,700px); }
.consulting-hero-label { display:flex; align-items:center; gap:14px; margin:0 0 22px; color:#e4c782; font-size:.75rem; font-weight:650; line-height:1.5; letter-spacing:.1em; text-transform:uppercase; }
.consulting-hero-label::before { content:none; }
.consulting-hero-copy h1 { margin:0; color:#fffdf6; font-size:clamp(2.5rem,3.6vw,3.3rem); font-weight:650; line-height:1.12; letter-spacing:-.045em; text-wrap:balance; }
.consulting-hero-copy h1 span { color:#e5c77e; }
.consulting-hero-intro { max-width:49ch; margin:24px 0 28px; color:#f1f1ea; font-size:1.125rem; line-height:1.65; }
.consulting-hero-actions { display:flex; flex-wrap:wrap; align-items:center; gap:16px 24px; }
.consulting-hero-actions .btn { min-height:50px; padding:14px 20px; font-size:.9375rem; }
.consulting-hero-services { display:inline-flex; align-items:center; gap:18px; min-height:48px; color:#fffdf6; font-size:.9375rem; font-weight:600; text-decoration:underline; text-underline-offset:6px; text-decoration-color:#b9a36b; }
.consulting-hero-services:hover { color:#e5c77e; text-decoration-color:currentColor; }
.consulting-hero-actions a:focus-visible { outline:3px solid #f0d598; outline-offset:5px; }
.consulting-hero-photo { position:absolute; z-index:0; inset:0; margin:0; overflow:hidden; opacity:0; transition:opacity 900ms ease; }
.consulting-hero-photo img { display:block; width:100%; height:100%; object-fit:cover; object-position:58% 50%; filter:grayscale(1) sepia(.6) saturate(.8); }
@media(min-width:641px) and (max-width:1100px) {
 .consulting-hero-grid { padding-block:40px; min-height:480px; }
 .consulting-hero-copy { width:60%; }
 .consulting-hero-copy h1 { font-size:clamp(2rem,4vw,2.6rem); }
 .consulting-hero-intro { font-size:1rem; }
 .consulting-hero-photo img { object-position:65% 50%; }
}
@media(max-width:640px) {
 .consulting-hero-grid { min-height:0; padding-block:32px 260px; }
 .consulting-hero-copy { width:100%; }
 .consulting-hero-label { margin-bottom:18px; font-size:.625rem; letter-spacing:.08em; gap:10px; }

 .consulting-hero-copy h1 { max-width:520px; font-size:clamp(2rem,8.3vw,2.65rem); line-height:1.12; letter-spacing:-.04em; text-wrap:pretty; }
 .consulting-hero-intro { font-size:1rem; line-height:1.6; margin:20px 0 22px; }
 .consulting-hero-actions { gap:8px 20px; }
 .consulting-hero-actions .btn,.consulting-hero-services { font-size:.875rem; }
 .consulting-hero-photo { top:auto; height:340px; }
 .consulting-hero-photo img { object-position:65% 50%; }
 .consulting-hero::after { background:linear-gradient(180deg,#0c0c0c 0%,#0c0c0c 48%,rgba(12,12,12,.97) 56%,rgba(12,12,12,.7) 64%,rgba(12,12,12,.08) 83%,rgba(12,12,12,.1) 100%); }
}

.consulting-hero-photo.is-current { opacity:1; }
@media(prefers-reduced-motion:reduce) { .consulting-hero-photo { transition:none; } }


.consulting-hero-photo img { object-position:var(--hero-photo-position,58% 50%); }
@media(min-width:1101px) {
 .consulting-hero-photo { left:auto; right:0; width:64%; max-width:1000px; }
}
@media(max-width:640px) {
 .consulting-hero-photo img { object-position:var(--hero-mobile-photo-position,65% 50%); }
}
@media(min-width:1101px) {
 .consulting-hero-photo { mask-image:linear-gradient(90deg,transparent,#000 28%); }
}

/* Attach the small-screen blend to the image, independent of copy height. */
@media(max-width:640px) {
 .consulting-hero::after { content:none; }
 .consulting-hero-photo::after { content:''; position:absolute; inset:0; pointer-events:none; background:linear-gradient(180deg,#0c0c0c 0%,rgba(12,12,12,.96) 12%,rgba(12,12,12,.64) 29%,rgba(12,12,12,.18) 53%,rgba(12,12,12,.04) 72%); }
}
@media(min-width:641px) and (max-width:1100px) {
 .consulting-hero .wrap { width:calc(100% - 40px); }
 .consulting-hero-copy { width:62%; }
 .consulting-hero-photo { left:auto; right:0; width:76%; mask-image:linear-gradient(90deg,transparent 0%,#000 32%); }
 .consulting-hero::after { background:linear-gradient(90deg,#0c0c0c 0%,rgba(12,12,12,.96) 22%,rgba(12,12,12,.88) 40%,rgba(12,12,12,.54) 62%,rgba(12,12,12,.08) 86%); }
}
