/* East Power — homepage photo layout.
   Brand colours and typography come from visual-tokens.css.
   Shared navigation and form behaviour remain in the existing styles and scripts. */
:root{--color-hero-shade:rgba(10,39,43,.96);--color-hero-mid:rgba(10,39,43,.83);--color-clear:rgba(10,39,43,0);--color-panel-shadow:rgba(20,46,50,.13)}
html,body{overflow-x:clip}
/* Keep the message readable while leaving the team visible on the right. */
.ep-photo-concept .eastpower-team-scene{position:relative;isolation:isolate;display:flex;align-items:center;min-height:640px;padding:58px var(--page-gutter) 120px;background:var(--color-dark)}
.ep-photo-concept .eastpower-team-scene .eastpower-team-scene__photo{position:absolute;inset:0;z-index:-2;min-height:0;width:100%;height:100%;overflow:hidden}
.ep-photo-concept .eastpower-team-scene .eastpower-team-scene__photo img{width:76%;left:auto;right:0;height:100%;object-fit:cover;object-position:55% 28%;animation:eastpower-photo-settle 1.1s ease-out both}
.ep-photo-concept .eastpower-team-scene:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,var(--color-hero-shade) 0%,var(--color-hero-mid) 39%,var(--color-clear) 76%)}
.ep-photo-concept .eastpower-team-scene .eastpower-team-scene__message{padding:0;max-width:650px;width:53%;align-self:center;color:var(--color-white);animation:eastpower-message-enter .6s ease-out both}
.ep-photo-concept .eastpower-team-scene .eyebrow{color:var(--color-white);font-size:11px;max-width:54ch;line-height:1.7;opacity:.85}
.ep-photo-concept .eastpower-team-scene h1{color:var(--color-white);font-size:clamp(38px,4vw,64px);line-height:1.1;font-weight:500;letter-spacing:-.04em;max-width:19ch;overflow-wrap:anywhere;min-width:0}
.ep-photo-concept .eastpower-team-scene .answer{color:var(--color-white);max-width:43ch;font-size:16px;line-height:1.65;margin-top:24px}
.ep-photo-concept .eastpower-team-scene .hero-actions{flex-wrap:wrap;gap:18px;margin-top:24px}.ep-photo-concept .eastpower-team-scene .text-link{color:var(--color-white);font-size:13px;white-space:nowrap}.ep-photo-concept .eastpower-team-scene .button{white-space:nowrap}
.ep-photo-concept .eastpower-team-scene figcaption{display:none}
/* The enquiry panel bridges the photograph and the page content. */
.ep-photo-concept .eastpower-staffing-desk{position:relative;z-index:2;max-width:1296px;width:calc(100% - 2 * var(--page-gutter));margin:-66px auto 0;padding:28px 32px 24px;background:var(--color-paper);color:var(--color-ink);display:block;box-shadow:0 16px 40px var(--color-panel-shadow);border-top:4px solid var(--color-accent)}
.ep-photo-concept .eastpower-staffing-desk__intro{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 24px;margin-bottom:20px}.ep-photo-concept .eastpower-staffing-desk__intro .ep-kicker{display:none}.ep-photo-concept .eastpower-staffing-desk__intro h2{max-width:none;font-size:25px}.ep-photo-concept .eastpower-staffing-desk__intro>p:last-child{color:var(--color-muted);font-size:13px;max-width:none;margin:0}
.ep-photo-concept .eastpower-staffing-desk label{font-size:13px;font-weight:600}.ep-photo-concept .eastpower-staffing-desk input,.ep-photo-concept .eastpower-staffing-desk select{border:1px solid var(--color-rule);background:var(--color-wash);height:52px;font-size:14px;margin-top:8px;border-radius:var(--radius-sm)}
.ep-photo-concept .ep-staff-finder__summary{color:var(--color-muted);font-size:12px}.ep-photo-concept .ep-staff-finder__submit{background:var(--color-accent);color:var(--color-white);font-size:14px;padding:14px 24px;border:1px solid var(--color-accent);white-space:nowrap}.ep-photo-concept .ep-staff-finder__submit:hover{background:var(--color-dark)}
.ep-photo-concept .eastpower-company-intro{padding-top:48px;padding-bottom:20px}.eastpower-company-intro p{max-width:100ch;font-size:16px;line-height:1.85;white-space:pre-line;color:var(--color-muted)}
@keyframes eastpower-photo-settle{from{transform:scale(1.035)}to{transform:scale(1)}}@keyframes eastpower-message-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1600px){.ep-photo-concept .eastpower-team-scene{padding-left:max(72px,calc((100vw - 1296px)/2))}}
@media(max-width:1000px){.ep-photo-concept .eastpower-team-scene{min-height:600px}.ep-photo-concept .eastpower-team-scene .eastpower-team-scene__message{width:58%}.ep-photo-concept .eastpower-team-scene h1{font-size:42px}.ep-photo-concept .eastpower-team-scene .hero-actions{display:grid;justify-items:start}.ep-photo-concept .ep-staff-finder__fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* On phones, show the photograph above the message and stack the form fields. */
@media(max-width:600px){.ep-photo-concept .eastpower-team-scene{display:flex;align-items:flex-end;min-height:720px;padding:300px var(--page-gutter) 42px}.ep-photo-concept .eastpower-team-scene .eastpower-team-scene__photo img{width:100%;height:390px;object-position:52% 20%}.ep-photo-concept .eastpower-team-scene:after{background:linear-gradient(0deg,var(--color-dark) 0%,var(--color-hero-shade) 47%,var(--color-clear) 80%)}.ep-photo-concept .eastpower-team-scene .eastpower-team-scene__message{width:100%;max-width:none}.ep-photo-concept .eastpower-team-scene h1{font-size:36px;max-width:20ch}.ep-photo-concept .eastpower-team-scene .eyebrow{font-size:10px}.ep-photo-concept .eastpower-team-scene .answer{font-size:15px;margin-top:18px}.ep-photo-concept .eastpower-team-scene .hero-actions{gap:14px}.ep-photo-concept .eastpower-staffing-desk{margin:0 auto;padding:24px 20px;box-shadow:none}.ep-photo-concept .ep-staff-finder__fields{grid-template-columns:minmax(0,1fr)}.ep-photo-concept .ep-staff-finder__bottom{flex-direction:column}.ep-photo-concept .ep-staff-finder__submit{width:100%}.ep-photo-concept .eastpower-staffing-desk__intro h2{font-size:24px}.ep-photo-concept .eastpower-company-intro{padding-top:28px}}
@media(prefers-reduced-motion:reduce){.ep-photo-concept .eastpower-team-scene .eastpower-team-scene__photo img,.ep-photo-concept .eastpower-team-scene .eastpower-team-scene__message{animation:none}}
