/* Full viewport hero. Content and images remain native Elementor widgets. */
.cp-reference-hero.elementor-element {
  --hero-height:calc(100svh - var(--cp-header-height,108px) - var(--wp-admin--admin-bar--height,0px));
  height:var(--hero-height); min-height:0; width:100%; max-width:none;
  padding:0 var(--cp-gutter); position:relative; isolation:isolate; overflow:hidden;
  background:radial-gradient(ellipse at 54% 92%,#64141b26,transparent 48%),#0b0b0d;
}
.cp-reference-hero .elementor-widget {min-width:0;margin:0;--widgets-spacing:0;}
.cp-reference-hero .cp-hero-kicker.elementor-element {
  position:absolute;inset:2.2% var(--cp-gutter) auto;display:flex;flex-direction:row;
  justify-content:space-between;gap:12px;z-index:3;width:auto;height:auto;
}
.cp-hero-kicker .elementor-heading-title {font:9px/1.4 Arial,Helvetica,sans-serif!important;letter-spacing:.13em!important;color:#a6a2a7!important;}
.cp-hero-kicker>.elementor-widget {width:auto;}
.cp-reference-hero .cp-hero-backdrop {position:absolute;inset:7% 0 auto;width:100%;z-index:0;text-align:center;pointer-events:none;}
.cp-hero-backdrop .elementor-heading-title {
  font-family:Impact,'Arial Narrow',sans-serif!important;font-size:13.1vw!important;
  font-weight:400!important;line-height:.95!important;letter-spacing:-.025em!important;
  color:#ec293d!important;background:linear-gradient(180deg,#fa3546 5%,#e1263a 58%,#611025 100%);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
  -webkit-text-stroke:0;white-space:nowrap;margin:0;
}
.cp-reference-hero .cp-hero-stage.elementor-element {position:absolute;inset:17% var(--cp-gutter) 0;width:auto;height:auto;display:grid;grid-template-columns:31% 47% 22%;gap:0;align-items:end;}
.cp-reference-hero .cp-hero-introduction.elementor-element {z-index:3;align-self:center;gap:clamp(9px,1.7vh,22px);padding:0 0 5vh;width:100%;}
.cp-hero-greeting .elementor-heading-title {font:italic clamp(23px,3.4vw,58px)/1 Georgia,serif!important;letter-spacing:-.055em!important;color:#fff!important;}
.cp-hero-name .elementor-heading-title {font:400 clamp(34px,5.3vw,104px)/.95 Impact,'Arial Narrow',sans-serif!important;letter-spacing:-.025em!important;color:#fff!important;background:none;padding:0;}
.cp-hero-role .elementor-heading-title {font:600 clamp(11px,1.2vw,20px)/1.2 Arial,sans-serif!important;letter-spacing:-.02em!important;color:#e6e2e5!important;}
.cp-hero-description {max-width:30ch;}
.cp-hero-description p {font-size:clamp(12px,.95vw,17px);line-height:1.55;margin:0;color:#b8b3bb;}
.cp-reference-hero .cp-hero-cta .elementor-button {padding:clamp(13px,1.8vh,20px) clamp(14px,1.5vw,30px);font-size:clamp(9px,.7vw,13px);background:#ed3043;border-color:#ed3043;min-height:44px;}
.cp-hero-work .elementor-heading-title {font:9px/1.5 Arial,Helvetica,sans-serif!important;letter-spacing:.12em!important;color:#b8b3bb!important;}
.cp-reference-hero .cp-hero-figure.elementor-element {position:relative;z-index:2;width:120%;margin-inline:-10%;height:100%;padding:0;pointer-events:none;}
.cp-reference-hero .cp-hero-photo.elementor-element {height:100%;width:100%;margin:0;align-self:stretch;}
.cp-hero-photo>.elementor-widget-container {height:100%;}
.cp-reference-hero .cp-hero-photo img {display:block;height:100%;width:100%;max-height:100%;object-fit:contain;object-position:center bottom;filter:drop-shadow(10px 0 20px #b8132d24);}
.cp-reference-hero .cp-hero-services.elementor-element {align-self:center;z-index:3;gap:0;padding:10vh 0 5vh 15%;width:100%;}
.cp-reference-hero .cp-hero-service-row.elementor-element {display:flex;flex-direction:row;align-items:center;gap:clamp(10px,1vw,22px);padding:clamp(16px,2.4vh,32px) 0;border-top:1px solid #4b3036;width:100%;}
.cp-hero-number {width:auto!important;flex-shrink:0;}
.cp-hero-number .elementor-heading-title {font:400 clamp(30px,3vw,62px)/1 Impact,'Arial Narrow',sans-serif!important;color:#f23a4e!important;letter-spacing:-.03em!important;}
.cp-reference-hero .cp-hero-service-copy.elementor-element {gap:6px;width:auto;}
.cp-hero-service .elementor-heading-title {font:600 clamp(10px,.9vw,16px)/1.2 Arial,sans-serif!important;letter-spacing:.02em!important;}
.cp-hero-detail p {font:clamp(10px,.75vw,14px)/1.4 Arial,sans-serif;margin:0;color:#aaa1ad;}
@media(max-width:1100px) and (min-width:701px) {
  .cp-reference-hero .cp-hero-stage.elementor-element {grid-template-columns:34% 44% 22%;top:20%;}
  .cp-reference-hero .cp-hero-services.elementor-element {padding-left:5%;}
  .cp-hero-description {max-width:24ch;}
  .cp-hero-number .elementor-heading-title {font-size:30px!important;}
}
@media(max-width:700px) {
  .cp-reference-hero.elementor-element {--hero-height:calc(100svh - var(--cp-header-height,160px) - var(--wp-admin--admin-bar--height,0px));}
  .cp-reference-hero .cp-hero-kicker.elementor-element {top:2%;}
  .cp-hero-kicker .elementor-heading-title {font-size:7px!important;letter-spacing:.05em!important;}
  .cp-hero-kicker>.elementor-widget:last-child {max-width:44%;text-align:right;}
  .cp-reference-hero .cp-hero-backdrop {top:7%;padding:0 3%;}
  .cp-hero-backdrop .elementor-heading-title {white-space:normal;font-size:19vw!important;line-height:.87!important;}
  .cp-reference-hero .cp-hero-stage.elementor-element {inset:22% var(--cp-gutter) 0;display:grid;grid-template-columns:56% 44%;grid-template-rows:minmax(0,1fr) auto;}
  .cp-reference-hero .cp-hero-introduction.elementor-element {align-self:center;gap:clamp(9px,1.4vh,15px);padding:0 0 2vh;}
  .cp-hero-greeting .elementor-heading-title {font-size:clamp(21px,6vw,34px)!important;}
  .cp-hero-name .elementor-heading-title {font-size:clamp(30px,9vw,59px)!important;}
  .cp-hero-role .elementor-heading-title {font-size:clamp(10px,2.6vw,15px)!important;}
  .cp-hero-description p {font-size:clamp(11px,2.8vw,14px);line-height:1.4;}
  .cp-reference-hero .cp-hero-cta .elementor-button {font-size:8px;padding:12px 10px;}
  .cp-hero-work .elementor-heading-title {font-size:8px!important;letter-spacing:.03em!important;}
  .cp-reference-hero .cp-hero-figure.elementor-element {position:absolute;width:72%;height:90%;right:-18%;bottom:0;margin:0;z-index:1;}
  .cp-reference-hero .cp-hero-photo img {object-fit:cover;object-position:center bottom;}
  .cp-reference-hero .cp-hero-services.elementor-element {grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:12px 0 18px;align-self:end;background:linear-gradient(0deg,#0b0b0d 75%,#0b0b0de8);}
  .cp-reference-hero .cp-hero-service-row.elementor-element {flex-direction:column;align-items:flex-start;gap:6px;padding:12px 0 0;}
  .cp-hero-number .elementor-heading-title {font-size:25px!important;}
  .cp-hero-service .elementor-heading-title {font-size:9px!important;}
  .cp-hero-detail p {font-size:9px;line-height:1.3;}
}
@media(max-height:720px) and (min-width:701px) {
  .cp-reference-hero .cp-hero-stage.elementor-element {top:16%;}
  .cp-reference-hero .cp-hero-introduction.elementor-element {gap:10px;padding-bottom:1vh;}
  .cp-hero-greeting .elementor-heading-title {font-size:26px!important;}
  .cp-hero-name .elementor-heading-title {font-size:clamp(32px,4.5vw,64px)!important;}
  .cp-hero-role .elementor-heading-title {font-size:11px!important;}
  .cp-hero-description p {font-size:12px;line-height:1.4;}
  .cp-reference-hero .cp-hero-services.elementor-element {padding-top:4vh;padding-bottom:2vh;}
  .cp-reference-hero .cp-hero-service-row.elementor-element {padding:12px 0;}
  .cp-hero-number .elementor-heading-title {font-size:32px!important;}
}
@media(max-height:740px) and (max-width:700px) {
  .cp-reference-hero .cp-hero-stage.elementor-element {top:18%;}
  .cp-reference-hero .cp-hero-introduction.elementor-element {gap:8px;}
  .cp-hero-description p {font-size:10px;}
  .cp-hero-greeting .elementor-heading-title {font-size:21px!important;}
  .cp-hero-name .elementor-heading-title {font-size:32px!important;}
  .cp-reference-hero .cp-hero-services.elementor-element {padding-bottom:12px;gap:10px;}
  .cp-reference-hero .cp-hero-service-row.elementor-element {padding-top:8px;gap:5px;}
  .cp-hero-number .elementor-heading-title {font-size:22px!important;}
}
/* Let the editor grow naturally so every widget is easy to select. */
.elementor-editor-active .cp-reference-hero {min-height:650px;}

/* Reference composition: tall lettering sits behind the full approved portrait. */
.cp-reference-hero.elementor-element {height:min(var(--hero-height),56vw);min-height:540px;}
.cp-reference-hero .cp-hero-backdrop {top:10%;transform:scaleY(1.95);transform-origin:50% 0;}
.cp-reference-hero .cp-hero-stage.elementor-element {inset:7% var(--cp-gutter) 0;padding:0;grid-template-columns:30% 46% 24%;grid-template-rows:minmax(0,1fr);}
.cp-reference-hero .cp-hero-introduction.elementor-element {align-self:start;padding:4vh 0 0;gap:clamp(12px,2vh,24px);}
.cp-reference-hero .cp-hero-figure.elementor-element {height:100%;min-height:0;width:112%;margin-inline:-6%;}
.cp-reference-hero .cp-hero-photo.elementor-element {min-height:0;}
.cp-reference-hero .cp-hero-photo img {filter:none;object-fit:contain;}
.cp-reference-hero .cp-hero-services.elementor-element {padding:10vh 0 0 12%;}
.cp-reference-hero .cp-hero-service-copy.elementor-element {padding:0;}
.cp-hero-description p {color:#d1cbd3;}
.cp-hero-detail p {color:#c0b7c3;}
@media(max-width:1100px) and (min-width:701px) {
  .cp-reference-hero .cp-hero-introduction.elementor-element {gap:13px;padding-top:3vh;}
  .cp-reference-hero .cp-hero-services.elementor-element {padding-left:6%;}
}
@media(max-width:700px) {
  .cp-reference-hero.elementor-element {height:var(--hero-height);min-height:650px;}
  .cp-reference-hero .cp-hero-kicker.elementor-element {top:3%;}
  .cp-hero-kicker .elementor-heading-title {font-size:6px!important;letter-spacing:0!important;}
  .cp-reference-hero .cp-hero-backdrop {top:14%;padding:0;transform:scaleY(2.6);}
  .cp-hero-backdrop .elementor-heading-title {font-size:13.1vw!important;line-height:.95!important;white-space:nowrap;}
  .cp-reference-hero .cp-hero-stage.elementor-element {inset:0 var(--cp-gutter);display:block;}
  .cp-reference-hero .cp-hero-introduction.elementor-element {position:absolute;top:20%;left:0;width:54%;padding:0;gap:12px;}
  .cp-hero-greeting .elementor-heading-title {font-size:clamp(24px,6vw,36px)!important;}
  .cp-hero-name .elementor-heading-title {font-size:clamp(34px,9vw,60px)!important;}
  .cp-hero-description p {font-size:clamp(11px,2.8vw,15px);line-height:1.45;}
  .cp-reference-hero .cp-hero-figure.elementor-element {position:absolute;top:13%;bottom:auto;right:-15%;width:82%;height:auto;margin:0;z-index:2;}
  .cp-reference-hero .cp-hero-photo.elementor-element,
  .cp-reference-hero .cp-hero-photo>.elementor-widget-container {height:auto;}
  .cp-reference-hero .cp-hero-photo img {height:auto;max-height:none;object-fit:contain;}
  .cp-reference-hero .cp-hero-services.elementor-element {position:absolute;bottom:24px;left:0;padding:14px 0 22px;z-index:3;background:linear-gradient(0deg,#0b0b0d 75%,#0b0b0d00);}
  .cp-reference-hero .cp-hero-service-row.elementor-element {padding-top:12px;gap:6px;}
  .cp-hero-number .elementor-heading-title {font-size:27px!important;}
}
@media(min-width:701px) and (max-height:720px) {
  .cp-reference-hero .cp-hero-introduction.elementor-element {gap:12px;padding-top:2vh;}
  .cp-hero-greeting .elementor-heading-title {font-size:30px!important;}
  .cp-hero-name .elementor-heading-title {font-size:clamp(40px,5vw,74px)!important;}
  .cp-reference-hero .cp-hero-services.elementor-element {padding-top:4vh;}
}

/* Keep every hero element inside the available screen, with copy below the title. */
.cp-reference-hero.elementor-element {
  --hero-type:16.4vw;--hero-stretch:1.4;
  height:min(var(--hero-height),max(520px,56vw));min-height:0;
}
.cp-reference-hero .cp-hero-backdrop {top:4%;transform:scaleY(var(--hero-stretch));}
.cp-hero-backdrop .elementor-heading-title {font-size:var(--hero-type)!important;}
.cp-reference-hero .cp-hero-stage.elementor-element {inset:0 var(--cp-gutter);display:block;}
.cp-reference-hero .cp-hero-figure.elementor-element {position:absolute;inset:4% auto 0 29%;height:96%;width:46%;margin:0;}
.cp-reference-hero .cp-hero-photo img {object-position:center top;}
.cp-reference-hero .cp-hero-introduction.elementor-element {
  position:absolute;top:calc(4% + var(--hero-type) * .95 * var(--hero-stretch) + 14px);left:0;width:29%;padding:0;
  gap:clamp(7px,1.2svh,15px);
}
.cp-reference-hero .cp-hero-services.elementor-element {
  position:absolute;top:calc(4% + var(--hero-type) * .95 * var(--hero-stretch) + 14px);right:0;bottom:auto;left:auto;
  width:24%;padding:0;background:none;display:flex;flex-direction:column;
}
.cp-hero-greeting .elementor-heading-title {font-size:clamp(23px,3vw,46px)!important;}
.cp-hero-name .elementor-heading-title {font-size:clamp(32px,4.5vw,80px)!important;}
.cp-reference-hero .cp-hero-service-row.elementor-element {padding:clamp(10px,1.8svh,22px) 0;}
@media(max-width:700px) {
  .cp-reference-hero.elementor-element {--hero-type:16.4vw;--hero-stretch:1.6;height:min(var(--hero-height),max(460px,150vw));}
  .cp-reference-hero .cp-hero-kicker.elementor-element {top:2%;}
  .cp-reference-hero .cp-hero-backdrop {top:7%;transform:scaleY(var(--hero-stretch));}
  .cp-reference-hero .cp-hero-figure.elementor-element {inset:6% auto auto 25%;width:56%;height:auto;}
  .cp-reference-hero .cp-hero-photo.elementor-element,
  .cp-reference-hero .cp-hero-photo>.elementor-widget-container {height:auto;}
  .cp-reference-hero .cp-hero-photo img {height:auto;}
  .cp-reference-hero .cp-hero-introduction.elementor-element {top:calc(7% + var(--hero-type) * 1.52 + 14px);width:36%;gap:9px;}
  .cp-reference-hero .cp-hero-services.elementor-element {top:calc(7% + var(--hero-type) * 1.52 + 14px);width:25%;gap:0;}
  .cp-hero-greeting .elementor-heading-title {font-size:clamp(18px,5vw,30px)!important;}
  .cp-hero-name .elementor-heading-title {font-size:clamp(25px,7.3vw,46px)!important;}
  .cp-hero-role .elementor-heading-title {font-size:clamp(8px,2.2vw,13px)!important;}
  .cp-hero-description p {font-size:clamp(9px,2.5vw,13px);line-height:1.35;}
  .cp-reference-hero .cp-hero-cta .elementor-button {font-size:7px;letter-spacing:0;padding:8px 5px;min-height:44px;}
  .cp-hero-work .elementor-heading-title {font-size:7px!important;letter-spacing:0!important;}
  .cp-reference-hero .cp-hero-service-row.elementor-element {padding:6px 0;gap:3px;flex-direction:column;align-items:flex-start;}
  .cp-reference-hero .cp-hero-service-copy.elementor-element {min-width:0;gap:4px;}
  .cp-hero-number .elementor-heading-title {font-size:22px!important;}
  .cp-hero-service .elementor-heading-title {font-size:8px!important;}
  .cp-hero-detail p {font-size:7.5px;line-height:1.3;}
  .cp-hud {bottom:4px;font-size:7px;padding:4px 7px;gap:6px;}
}
@media(max-width:360px) {
  .cp-reference-hero .cp-hero-introduction.elementor-element {top:calc(7% + var(--hero-type) * 1.52 + 2px);gap:7px;}
  .cp-reference-hero .cp-hero-services.elementor-element {top:calc(7% + var(--hero-type) * 1.52 + 2px);}
}
@media(max-height:650px) and (min-width:701px) {
  .cp-reference-hero.elementor-element {--hero-stretch:.85;}
  .cp-reference-hero .cp-hero-introduction.elementor-element {gap:5px;}
  .cp-hero-greeting .elementor-heading-title {font-size:21px!important;}
  .cp-hero-name .elementor-heading-title {font-size:32px!important;}
  .cp-hero-description p {font-size:11px;line-height:1.3;}
  .cp-reference-hero .cp-hero-service-row.elementor-element {padding:8px 0;}
  .cp-reference-hero .cp-hero-cta .elementor-button {padding:10px;font-size:9px;}
}
@media(max-height:500px) and (min-width:701px) {
  .cp-reference-hero.elementor-element {--hero-stretch:.45;}
  .cp-reference-hero .cp-hero-introduction.elementor-element {gap:3px;}
  .cp-hero-greeting .elementor-heading-title {font-size:18px!important;}
  .cp-hero-name .elementor-heading-title {font-size:26px!important;}
  .cp-hero-role .elementor-heading-title {font-size:9px!important;}
  .cp-hero-description p {font-size:10px;}
  .cp-reference-hero .cp-hero-service-row.elementor-element {padding:4px 0;}
  .cp-hero-number .elementor-heading-title {font-size:24px!important;}
}

/* Phones: portrait/introduction fill the opening screen; service columns follow. */
@media(max-width:700px) {
  .cp-reference-hero.elementor-element {height:auto;min-height:0;}
  .cp-reference-hero .cp-hero-kicker.elementor-element {top:calc(var(--hero-height) * .02);}
  .cp-reference-hero .cp-hero-backdrop {top:calc(var(--hero-height) * .07);}
  .cp-reference-hero .cp-hero-stage.elementor-element {
    position:relative;inset:auto;width:100%;height:auto;min-height:0;
    padding:var(--hero-height) 0 0;margin:0;
  }
  .cp-reference-hero .cp-hero-figure.elementor-element {
    inset:calc(var(--hero-height) * .06) auto auto -20%;width:140%;height:calc(var(--hero-height) * .94);
  }
  .cp-reference-hero .cp-hero-photo.elementor-element,
  .cp-reference-hero .cp-hero-photo>.elementor-widget-container {height:100%;}
  .cp-reference-hero .cp-hero-photo img {height:100%;max-height:100%;object-fit:contain;object-position:center top;}
  .cp-reference-hero .cp-hero-introduction.elementor-element {
    top:auto;bottom:calc(100% - var(--hero-height) + 24px);
    width:100%;gap:clamp(8px,1.2svh,13px);
  }
  .cp-hero-greeting .elementor-heading-title {font-size:clamp(21px,6vw,32px)!important;}
  .cp-hero-name .elementor-heading-title {font-size:clamp(32px,10vw,56px)!important;}
  .cp-hero-role .elementor-heading-title {font-size:clamp(10px,2.6vw,15px)!important;}
  .cp-hero-description p {font-size:clamp(11px,3vw,15px);line-height:1.4;}
  .cp-reference-hero .cp-hero-description {max-width:none;}
  .cp-reference-hero .cp-hero-cta .elementor-button {font-size:8px;padding:10px 8px;}
  .cp-hero-work .elementor-heading-title {font-size:8px!important;}
  .cp-reference-hero .cp-hero-services.elementor-element {
    position:relative;inset:auto;width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;padding:22px 0 38px;background:#0b0b0d;
  }
  .cp-reference-hero .cp-hero-service-row.elementor-element {flex-direction:column;align-items:flex-start;flex-wrap:nowrap;padding:14px 0 0;gap:10px;}
  .cp-reference-hero .cp-hero-service-copy.elementor-element {width:100%;gap:8px;}
  .cp-hero-number .elementor-heading-title {font-size:34px!important;}
  .cp-hero-service .elementor-heading-title {font-size:10px!important;}
  .cp-hero-detail p {font-size:11px;line-height:1.4;}
}
@media(max-width:360px) {
  .cp-reference-hero .cp-hero-introduction.elementor-element {gap:7px;}
  .cp-hero-greeting .elementor-heading-title {font-size:20px!important;}
  .cp-hero-name .elementor-heading-title {font-size:32px!important;}
}
/* Small actions remain readable with the shared sans-serif typography. */
.cp-reference-hero .cp-hero-cta .elementor-button{font-size:11px;}
.cp-hero-work .elementor-heading-title{font-size:10px!important;}
