/* The professional profile inherits TOSAA's cinematic portrait and open section rhythm. */
/* Match the Actor identity entrance; retain its existing reduced-motion contract. */
@media(prefers-reduced-motion:no-preference){body[data-industry-profile=true] .ip-profile:not(.ip-member-preview) .ip-identity{animation:arrive .65s cubic-bezier(.16,1,.3,1) both}}
/* This noninteractive route focus target must not frame the full profile. */
#shell-page.cw:has(>.ip-profile:not(.ip-member-preview)):focus{outline:0}
.ip-profile{--ip-warm:#393d31;max-width:960px;margin:0 auto}.ip-owner-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0 18px;font-size:12px;color:#d3d6ca}.ip-button{border:1px solid #ffffff38;background:transparent;color:#eeeee6;border-radius:24px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 16px;min-height:44px;font-size:13px;cursor:pointer}.ip-button svg{flex:none}.ip-hero{position:relative;isolation:isolate;min-height:550px;overflow:hidden;background:#34382f}.ip-portrait{display:block;width:100%;height:100%;object-fit:cover}.ip-hero>.ip-portrait{position:absolute;inset:0;z-index:-2}.ip-hero-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#1a1d1bf5 0%,#1a1d1b7d 28%,transparent 62%)}.ip-hero .ip-placeholder{background:linear-gradient(140deg,#535b42,#222822);display:grid;place-items:center}.ip-placeholder span{font-size:150px;font-weight:300;color:#dde4c480}.ip-identity{position:absolute;inset:auto 28px 28px;max-width:700px}.cw .ip-identity h1{font-size:clamp(32px,5.2vw,58px);line-height:1.2;margin:12px 0;color:#faf8ef;font-weight:450;text-wrap:balance}.cw .ip-roles{font-size:12px;color:#e0e7c8;margin:0}.ip-roles span{padding-inline:7px;color:#e0e7c885}.cw .ip-headline{font-size:17px;line-height:1.6;color:#f2efe8;margin:8px 0}.cw .ip-affiliation{font-size:13px;color:#d0d2c8;margin:8px 0 0}.ip-edit{position:absolute;right:18px;top:18px;width:46px;height:46px;border:1px solid #ffffff50;border-radius:50%;background:#20271e99;color:#fff;display:grid;place-items:center;backdrop-filter:blur(8px)}.ip-sections{display:flex;gap:30px;overflow:auto;padding:0 4px;border-bottom:1px solid #ffffff24;margin:0}.ip-sections a{color:#dddcd3;text-decoration:none;padding:21px 0 16px;white-space:nowrap;font-size:14px;min-height:50px}.ip-sections a:hover,.ip-sections a:focus-visible{color:#e3ecc7;text-decoration:underline;text-underline-offset:8px}.ip-content{padding-inline:4px;background:linear-gradient(#30362a66,transparent 320px)}.ip-section{padding:34px 0;border-bottom:1px solid #ffffff20;scroll-margin-top:90px}.cw .ip-section h2,.cw .ip-management h2{font-size:24px;letter-spacing:-.025em;margin:0 0 18px}.cw .ip-bio{font-size:16px;line-height:1.95;color:#d6d8ce;max-width:66ch;white-space:pre-line}.ip-facts{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:28px 0 0}.ip-facts dt{color:#b2b9a8;font-size:12px;margin-bottom:10px}.ip-facts dd{margin:0;color:#e6e8dd;font-size:14px;line-height:1.9;overflow-wrap:anywhere}.ip-credits{padding:0;margin:0;list-style:none}.ip-credits li{display:flex;align-items:start;gap:24px;padding:21px 0;border-top:1px solid #ffffff18}.ip-credits li:first-child{border:0;padding-top:4px}.ip-year{color:#b8c299;font-size:13px;padding-top:6px;min-width:3em;font-variant-numeric:tabular-nums}.cw .ip-credits h3{font-size:21px;font-weight:400;margin:0}.cw .ip-credits p{margin:6px 0 0;color:#bcbfb6;font-size:13px}.ip-credit-link{margin-left:auto;color:#dbe6b5;display:grid;place-items:center;width:44px;height:44px;flex:none}.ip-contact-links{display:flex;flex-direction:column;gap:12px}.ip-contact-links a,.ip-website{color:#dce7b8;text-decoration-color:#a7b588;text-underline-offset:5px;font-size:15px;overflow-wrap:anywhere}.ip-website{display:inline-flex;gap:10px;align-items:center;margin-top:16px;max-width:100%}.ip-website svg{flex:none}.ip-management{margin-top:44px}.ip-management .cw-row>svg{flex:none;color:#b8c5a0}.ip-draft-note{display:flex;justify-content:space-between;align-items:center;gap:16px;background:#31362b;padding:12px 16px;font-size:12px}.ip-draft-note .ip-button{font-size:12px;padding:7px 13px}.ip-editor{max-width:1000px;margin:auto}.cw .ip-editor-head h1{font-size:clamp(28px,4vw,40px)}.ip-editor-head>p{margin-bottom:28px}.ip-editor-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:44px;align-items:start}.ip-photo-editor{position:sticky;top:95px}.ip-photo-preview{aspect-ratio:3/4;background:#33392d;overflow:hidden;border-radius:4px;margin-bottom:18px}.ip-photo-preview .ip-placeholder{height:100%;display:grid;place-items:center}.ip-upload{position:relative;display:flex;width:100%;cursor:pointer}.ip-upload input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.ip-upload:focus-within{outline:2px solid #d9e2b6;outline-offset:4px}.cw .ip-hint{font-size:11px;line-height:1.7;color:#adb5a5;margin:10px 0 20px}.ip-text-button{border:0;text-decoration:underline;text-underline-offset:4px;padding-inline:0;font-size:12px}.ip-preview-button{display:flex;width:100%;margin-top:10px;background:#313729}.cw .ip-editor-section{padding:0 0 30px;margin-bottom:30px;border-bottom:1px solid #ffffff22}.cw .ip-editor-section h2{font-size:23px;margin:0 0 18px}.ip-editor-section .cw-field input,.ip-editor-section .cw-field textarea,.ip-editor-section .cw-field select{font-size:16px}.ip-two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.cw fieldset.ip-role-options,.cw fieldset.ip-work-options{border:0;border-bottom:1px solid #ffffff1c;border-radius:0;padding:10px 0 14px;margin:20px 0}.ip-work-options{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.ip-work-options legend{grid-column:1/-1}.ip-role-options legend,.ip-work-options legend{padding:0}.ip-editor-actions{position:sticky;bottom:calc(var(--shell-nav-clearance,90px) + 4px);display:flex;justify-content:flex-end;gap:12px;padding:16px;background:#1e231ff5;border:1px solid #ffffff22;border-radius:20px;z-index:4;backdrop-filter:blur(12px);margin-top:20px}.ip-editor-actions button{min-width:140px}.ip-credit-editor{margin-bottom:22px}.ip-error:empty{display:none}.ip-member-preview .ip-hero{min-height:510px}.ip-member-preview .ip-identity h1{font-size:34px}.ip-member-preview .ip-content{padding:0 8px}#cw-dialog:has(.ip-member-preview){max-width:850px;padding:18px}#cw-dialog .ip-section h2{font-size:23px}#cw-dialog .ip-profile p{line-height:1.8}.ip-profile a:focus-visible,.ip-button:focus-visible{outline:2px solid #d9e2b6;outline-offset:5px}.ip-profile [hidden],.ip-editor [hidden]{display:none!important}.ip-profile ::selection,.ip-editor ::selection{background:#d9e2b6;color:#20271e}
@media(min-width:760px){.ip-hero{min-height:590px}.ip-hero>.ip-portrait{width:58%;left:auto;object-position:50% 35%}.ip-hero-shade{background:linear-gradient(90deg,#252c24 0%,#252c24 25%,#252c2477 55%,#252c2400 80%),linear-gradient(0deg,#1a1d1b,transparent 40%)}.ip-identity{max-width:53%;bottom:60px;left:34px}.ip-identity h1{font-size:48px}.ip-sections{gap:44px}.ip-content{padding-inline:28px}.ip-member-preview .ip-hero>.ip-portrait{width:100%}.ip-member-preview .ip-hero-shade{background:linear-gradient(0deg,#1a1d1bf5 0%,#1a1d1b40 55%,transparent)}.ip-member-preview .ip-identity{max-width:90%;bottom:28px}}
@media(max-width:759px){.ip-profile{margin-inline:-22px}.ip-owner-bar{padding-inline:22px}.ip-hero{min-height:580px}.ip-identity{left:22px;right:22px;bottom:26px}.ip-sections{padding-inline:22px;gap:28px}.ip-content{padding-inline:22px}.ip-editor-layout{display:block}.ip-photo-editor{position:relative;top:auto;display:grid;grid-template-columns:115px 1fr;gap:0 18px;margin:6px 0 34px}.ip-photo-preview{grid-column:1;grid-row:1/6;margin:0}.ip-photo-editor .ip-upload{grid-column:2;font-size:12px;padding:8px}.ip-photo-editor .ip-hint{grid-column:2;margin:7px 0}.ip-photo-editor .cw-field{grid-column:2;margin:5px 0}.ip-photo-editor .cw-field>span{font-size:11px;margin:0}.ip-photo-editor .cw-field input{min-height:28px;padding:0}.ip-photo-editor .ip-text-button{grid-column:2;justify-self:start;min-height:30px;padding:0}.ip-photo-editor .ip-preview-button{grid-column:1/-1;margin-top:18px}.ip-editor-actions{gap:8px;padding:12px;margin-inline:-10px}.ip-editor-actions button{flex:1;min-width:0;font-size:13px;padding:10px}.ip-two{gap:10px}.cw .ip-credits h3{font-size:19px}.ip-credits li{gap:18px}.ip-facts{grid-template-columns:1fr}.ip-member-preview{margin:0}.ip-member-preview .ip-hero{min-height:450px}}
@media(max-width:360px){.ip-hero{min-height:540px}.cw .ip-identity h1{font-size:30px}.ip-owner-bar{gap:6px}.ip-owner-bar>span{font-size:11px}.ip-owner-bar .ip-button{padding:8px 10px;font-size:11px}.ip-two{grid-template-columns:1fr}.ip-work-options{grid-template-columns:1fr}.ip-sections{gap:24px}.ip-sections a{font-size:13px}}
@media(prefers-reduced-motion:reduce){.ip-profile *,.ip-editor *{scroll-behavior:auto!important}}
@media(max-width:360px){.cw>.ip-profile{margin-inline:-16px}}

@media(max-height:550px) and (min-width:760px){.ip-photo-editor{position:static;top:auto}.ip-photo-preview{height:220px;aspect-ratio:auto;max-width:165px;margin-inline:auto}.ip-editor-layout{grid-template-columns:240px minmax(0,1fr);gap:28px}.ip-editor-actions{padding:8px}.ip-editor-actions .cw-btn{min-height:40px;padding:7px 14px}}
@media(min-width:760px) and (min-height:701px){.ip-photo-editor .ip-photo-preview{height:clamp(140px,calc(100dvh - 600px),360px);aspect-ratio:auto}.ip-photo-preview img{object-fit:contain;background:#232820}} @media(max-height:700px) and (min-width:760px){.ip-photo-editor{position:static;top:auto}}
@media(min-width:760px){.ip-photo-editor{display:flex;flex-direction:column}.ip-photo-editor .ip-preview-button{order:-1;margin:0 0 14px}.ip-photo-preview img{object-fit:cover}.ip-photo-preview{width:100%}}

/* FB01 / FB03: the actor profile's portrait rhythm, with professional content. */
.ip-profile{--ip-ink:#eeeae4;--ip-muted:#c6c7bf;max-width:1180px;color:var(--ip-ink)}
.ip-overview,.ip-details{min-width:0}
.ip-edit{position:fixed;inset:auto max(18px,env(safe-area-inset-right)) calc(var(--shell-nav-clearance,76px) + 72px) auto;width:48px;height:48px;z-index:30;background:#252727e8;border-color:#ffffff80;cursor:pointer}
.ip-edit:hover{background:#40433c}.ip-edit:focus-visible{outline:2px solid #e3ecc7;outline-offset:4px}
body:has(dialog[open]) .ip-edit,body.dialog-open .ip-edit{visibility:hidden}
.ip-owner-bar{padding:18px 0;flex-wrap:wrap;color:var(--ip-muted)}
.ip-content{background:none;padding:0}.ip-section{padding:30px 0}
.cw .ip-section h2,.cw .ip-management h2{font-size:22px;font-weight:550;margin-bottom:18px}
.cw .ip-bio{font-size:15px;line-height:1.9;margin:0;color:var(--ip-muted)}
.ip-facts{gap:20px;margin-top:26px}.ip-facts dt{color:#c1c4b9}.ip-facts dd{line-height:1.8}
.ip-sections{gap:24px;border:1px solid #ffffff26;border-radius:16px;padding:0 16px;background:#ffffff04}
.ip-sections a{padding:14px 0;font-size:13px;line-height:22px;min-height:50px}
.ip-credits li{gap:18px;padding:18px 0}.cw .ip-credits h3{font-size:19px;line-height:1.5;overflow-wrap:anywhere}
.ip-credits li>div{min-width:0}.ip-management{margin-top:32px}.ip-management .cw-row{background:none;border-radius:0;border-width:0 0 1px;padding:18px 0}
.ip-draft-note{flex-wrap:wrap;margin-bottom:18px;border-radius:12px}
@media(min-width:760px){
 .ip-profile{display:grid;grid-template-columns:minmax(260px,36%) minmax(0,1fr);gap:26px;align-items:start}
 .ip-hero{min-height:610px;border-radius:22px;background:#343831}
 .ip-hero>.ip-portrait{width:100%;left:0;object-position:50% 35%}
 .ip-hero-shade{background:linear-gradient(0deg,#292d29 0%,#292d29e8 14%,#292d2980 36%,transparent 70%)}
 .ip-identity{inset:auto 22px 28px;max-width:none;text-align:center}
 .cw .ip-identity h1{font-size:clamp(28px,3.5vw,40px);line-height:1.35;margin:12px 0;overflow-wrap:anywhere}
 .cw .ip-headline{font-size:15px;line-height:1.7}.cw .ip-roles{font-size:11px;line-height:1.8}
 .ip-facts{grid-template-columns:1fr}.ip-owner-bar{gap:10px}.ip-owner-bar .ip-button{padding:9px 12px;font-size:12px}
 .ip-member-preview{display:block}.ip-member-preview .ip-content{padding:0 12px}.ip-member-preview .ip-hero{border-radius:14px}
}
@media(min-width:1100px){.ip-profile{gap:42px;grid-template-columns:minmax(300px,34%) minmax(0,1fr)}.ip-facts{grid-template-columns:1fr 1fr}.ip-hero{min-height:680px}}
@media(max-width:759px){
 .cw>.ip-profile{margin-top:-24px}.ip-hero{min-height:610px}
 .ip-hero-shade{background:linear-gradient(0deg,#171a1b 0%,#171a1be8 9%,#171a1b80 32%,transparent 62%)}
 .ip-identity{inset:auto 26px 28px;text-align:center}.cw .ip-identity h1{font-size:32px;line-height:1.35;overflow-wrap:anywhere}
 .cw .ip-headline{font-size:16px}.cw .ip-roles{font-size:12px;line-height:1.8}
 .ip-owner-bar{padding:16px 22px 22px}.ip-details{padding:0 22px}.ip-content{padding:0}
 .ip-sections{gap:26px;justify-content:space-between;padding-inline:16px}.ip-facts{grid-template-columns:1fr 1fr}
 .ip-member-preview .ip-details{padding:0}.ip-member-preview .ip-content{padding:0 12px}
}
@media(max-width:360px){.ip-hero{min-height:560px}.ip-details{padding-inline:16px}.ip-owner-bar{padding-inline:16px}.cw .ip-identity h1{font-size:28px}.ip-facts{grid-template-columns:1fr}.ip-sections{gap:14px;padding-inline:12px}}
/* FB03 shares PortraitTheme's exact sampling/mixing, with isolated variables. */
body[data-industry-profile=true]{isolation:isolate;background:#17191c}
body[data-industry-profile=true]::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse 1000px 760px at 23% 170px,var(--industry-glow,#55504a),transparent 80%),linear-gradient(180deg,var(--industry-ground,#272626),#17191c 85%);background-size:100% max(1100px,100%);background-repeat:no-repeat}
body[data-industry-profile=true] #app-header{background:linear-gradient(180deg,var(--industry-bar,#292827),color-mix(in srgb,var(--industry-bar,#292827) 72%,transparent) 45%,transparent)}
body[data-industry-profile=true] .ip-hero{background:var(--industry-ground,#292d29)}
body[data-industry-profile=true] .ip-hero-shade{background:linear-gradient(0deg,var(--industry-ground,#292d29),color-mix(in srgb,var(--industry-ground,#292d29) 90%,transparent) 14%,color-mix(in srgb,var(--industry-ground,#292d29) 50%,transparent) 36%,transparent 70%)}
/* FB24: extend the portrait under the shared header and dissolve its top/bottom
   into the sampled page palette. Preserve the editor's own crop geometry. */
body[data-industry-profile=true] .ip-profile:not(.ip-member-preview)>.ip-overview>.ip-hero{overflow:visible;border-radius:0;background:transparent}
body[data-industry-profile=true] .ip-profile:not(.ip-member-preview)>.ip-overview>.ip-hero>.ip-portrait{top:calc(-1 * var(--industry-portrait-top,60px));height:calc(100% + var(--industry-portrait-top,60px));border-radius:0;mask-image:linear-gradient(to bottom,transparent 0%,#000c 8%,#000 20%,#000 57%,#000b 75%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000c 8%,#000 20%,#000 57%,#000b 75%,transparent 100%)}
body[data-industry-profile=true] .ip-profile:not(.ip-member-preview)>.ip-overview>.ip-hero>.ip-hero-shade{top:calc(-1 * var(--industry-portrait-top,60px));bottom:0;background:linear-gradient(to bottom,transparent 55%,color-mix(in srgb,var(--industry-ground,#292d29) 40%,transparent) 78%,transparent)}
@media(orientation:landscape) and (max-height:600px){body[data-industry-profile=true] .ip-profile:not(.ip-member-preview)>.ip-overview>.ip-hero{min-height:calc(100dvh - var(--industry-portrait-top,48px))}body[data-industry-profile=true] .ip-profile:not(.ip-member-preview)>.ip-overview>.ip-hero>.ip-portrait{mask-image:linear-gradient(to bottom,#000c,#000 20%,#000 65%,transparent);-webkit-mask-image:linear-gradient(to bottom,#000c,#000 20%,#000 65%,transparent)}.ip-profile:not(.ip-member-preview) .ip-identity{inset:auto 12px 12px}.cw .ip-profile:not(.ip-member-preview) .ip-identity h1{font-size:26px}.cw .ip-profile:not(.ip-member-preview) .ip-headline{font-size:13px}.cw .ip-profile:not(.ip-member-preview) .ip-roles{font-size:10px}}

@media(orientation:landscape) and (max-height:600px){body[data-industry-profile=true] .ip-profile:not(.ip-member-preview)>.ip-overview>.ip-hero>.ip-portrait{left:calc(-1 * var(--industry-page-inset,0px));width:calc(100% + var(--industry-page-inset,0px));height:100dvh}body[data-industry-profile=true] .ip-profile:not(.ip-member-preview) .ip-hero-shade{left:calc(-1 * var(--industry-page-inset,0px))}}
@media(orientation:landscape) and (max-height:600px){.ip-profile:not(.ip-member-preview) .ip-identity{bottom:86px}}
.ip-member-preview .ip-hero{border-radius:0;background:transparent}.ip-member-preview .ip-hero>.ip-portrait{mask-image:linear-gradient(to bottom,transparent,#000 12%,#000 60%,transparent);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 12%,#000 60%,transparent)}
/* FB35: same 33vw portrait rail and right-edge radius as the rendered Actor landscape.
   Identity is normal document flow: long names and all role text remain scrollable. */
@media(orientation:landscape) and (min-width:568px) and (max-height:600px){
 body[data-industry-profile=true] .ip-profile:not(.ip-member-preview){display:block;margin:0 0 0 calc(33vw + 24px - var(--industry-page-inset,0px));max-width:none;min-width:0}
 body[data-industry-profile=true] .ip-profile:not(.ip-member-preview)>.ip-overview>.ip-hero{display:block;min-height:0;height:auto;overflow:visible;isolation:auto;background:transparent;border-radius:0}
 body[data-industry-profile=true] .ip-profile:not(.ip-member-preview)>.ip-overview>.ip-hero>.ip-portrait{position:fixed;inset:0 auto auto 0;width:33vw;height:100dvh;border-radius:0 28px 28px 0;z-index:-1;mask-image:linear-gradient(to bottom,#000e,#000 14%,#000 83%,#000c);-webkit-mask-image:linear-gradient(to bottom,#000e,#000 14%,#000 83%,#000c)}
 body[data-industry-profile=true] .ip-profile:not(.ip-member-preview) .ip-hero-shade{display:none}
 body[data-industry-profile=true] .ip-profile:not(.ip-member-preview) .ip-identity{position:relative;inset:auto;max-width:none;text-align:left;padding:10px 0 18px;overflow-wrap:anywhere}
 body[data-industry-profile=true] .cw .ip-profile:not(.ip-member-preview) .ip-identity h1{font-size:clamp(24px,3.2vw,30px);line-height:1.45;margin:10px 0}
 body[data-industry-profile=true] .cw .ip-profile:not(.ip-member-preview) .ip-roles{font-size:12px;line-height:1.8}
 body[data-industry-profile=true] .cw .ip-profile:not(.ip-member-preview) .ip-headline{font-size:14px;line-height:1.8}
 body[data-industry-profile=true] .ip-profile:not(.ip-member-preview) .ip-details{padding:0}
 body[data-industry-profile=true] .ip-profile:not(.ip-member-preview) .ip-owner-bar{padding:12px 0}
 body[data-industry-profile=true] .ip-profile:not(.ip-member-preview) .ip-sections{gap:14px;flex-wrap:wrap}
 body[data-industry-profile=true] .ip-profile:not(.ip-member-preview) .ip-facts{grid-template-columns:1fr}
}
@media(orientation:landscape) and (min-width:568px) and (max-height:600px){
 body[data-industry-profile=true] #shell-page:has(>.ip-profile:not(.ip-member-preview)){padding-left:calc(33vw + 24px);padding-right:24px}
 body[data-industry-profile=true] .ip-profile:not(.ip-member-preview){margin:0}
}
/* Reserve the existing floating edit axis instead of placing controls beneath it. */
@media(orientation:landscape) and (min-width:568px) and (max-height:600px){
 body[data-industry-profile=true] .ip-profile:not(.ip-member-preview){padding-right:64px;box-sizing:border-box}
 body[data-industry-profile=true] .ip-profile:not(.ip-member-preview) :is(button,a,select,.ip-headline){scroll-margin-block:70px 90px}
 html:has(body[data-industry-profile=true]){scroll-padding-top:64px;scroll-padding-bottom:90px}
}

/* FB58: each approved role stays whole; narrow profiles use an intentional list. */
.ip-profile .ip-overview{container-type:inline-size}
.ip-profile .ip-roles{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 16px;font-size:13px;line-height:1.6}
.ip-profile .ip-roles .ip-role{padding:0;color:inherit;white-space:nowrap}
@container(max-width:600px){.ip-profile .ip-roles{flex-direction:column;align-items:center;font-size:13px!important;gap:2px}}
@media(orientation:landscape) and (max-height:600px){.ip-profile .ip-roles{justify-content:flex-start}}
/* Owner 31 Oct 2026 (FIX-LIST section 1 item 9 / B-38): the creator profile photo is 4:5 like every profile photo (sample photo 1122x1402).
   The crop frame in the editor is a fixed 4:5 at every screen size (the existing up-down / left-right / zoom sliders, no ratio choice, no
   free crop), and the hero and member-view portraits show the same 4:5 frame at the top, fading into the page below, so what the member
   crops is what is shown. Was: a 3:4 crop frame (free height at max-height 550px, letterboxed with object-fit:contain at min-height 701px)
   and a portrait stretched to the whole hero (390x669 on a phone, 352x748 on a desktop) or 100dvh rails in short landscape. */
.ip-photo-preview{aspect-ratio:4/5}
.ip-hero>.ip-portrait{bottom:auto;height:auto;aspect-ratio:4/5}
body[data-industry-profile=true] .ip-profile:not(.ip-member-preview)>.ip-overview>.ip-hero>.ip-portrait{height:auto;aspect-ratio:4/5}
@media(max-height:550px) and (min-width:760px){.ip-photo-editor .ip-photo-preview{height:220px;width:auto;max-width:none;aspect-ratio:4/5;margin-inline:auto}}
@media(min-width:760px) and (min-height:701px){.ip-photo-editor .ip-photo-preview{width:auto;max-width:100%;aspect-ratio:4/5;margin-inline:auto}.ip-photo-editor .ip-photo-preview img{object-fit:cover;background:none}}
@media(orientation:landscape) and (max-height:600px){body[data-industry-profile=true] .ip-profile:not(.ip-member-preview)>.ip-overview>.ip-hero>.ip-portrait{width:min(calc(100% + var(--industry-page-inset,0px)),80dvh)}}
@media(orientation:landscape) and (min-width:568px) and (max-height:600px){body[data-industry-profile=true] .ip-profile:not(.ip-member-preview)>.ip-overview>.ip-hero>.ip-portrait{width:min(33vw,80dvh)}}
